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
      sdetweil @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 @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
            • 3 / 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