MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Magic mirror does not start automatically when booting

    Scheduled Pinned Locked Moved Solved Troubleshooting
    24 Posts 2 Posters 7.5k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sil3ntstorm @sdetweil
      last edited by sil3ntstorm

      @sdetweil That worked very well this time. Magic Mirror finally starts. Thank you very much for your script.
      I would now like to know whether I can install my modules normally like before, or whether there are still difficulties with calendar modules (I have often read this week that calendar modules cause problems)?

      I had these modules on it before and would install everything again, or should I leave some out because there are problems with the new MM update/version?

      0228d839-f99a-432f-b47b-59d9c2ac3c2b-grafik.png

      Edit: After I rebooted, Magic Mirror doesn’t start automatically, then I entered this command:

      bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)”

      It then starts immediately, but after restarting the Pi starts without MM.

      50c08bc4-5f7e-484c-a131-ed01d8b1f824-grafik.png

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil Admin @sil3ntstorm
        last edited by

        @sil3ntstorm yes the pm2 script has done trouble

        do this

        pm2 startup
        

        it will output a command, copy paste that

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sil3ntstorm @sdetweil
          last edited by

          @sdetweil
          Did I do it right? If so, it will appear as a message

          8617b984-212e-4359-a91d-98fdb926d2ea-grafik.png

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil Admin @sil3ntstorm
            last edited by

            @sil3ntstorm need all of the command everything that it outputs, you didn’t copy about 30 characters

            then

            pm2 start ~/MagicMirror/installers/pm2_MagicMirror.json
            pm2 save
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S 1 Reply Last reply Reply Quote 1
            • S Offline
              sil3ntstorm @sdetweil
              last edited by

              @sdetweil

              Wooooooooooooow it works, thank you very much

              This worked after I typed this:

              sudo env PATH=$PATH:/usr/local/bin /usr/local/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi

              then that:

              pm2 start ~/MagicMirror/installers/pm2_MagicMirror.json
              pm2 save

              1 Reply Last reply Reply Quote 1
              • 1
              • 2
              • 3
              • 2 / 3
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy