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.

    no autostart magic Mirror after new setup

    Scheduled Pinned Locked Moved Solved Troubleshooting
    8 Posts 2 Posters 1.4k 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.
    • M Offline
      Miked180
      last edited by

      I have make a new setup now it will not start after autostart. I have make the same as last timer and from tutorial
      https://www.doityourself.rocks/magicmirror/diy-magic-mirror-3-magic-mirror-software-installieren-und-konfigurieren/

      if i command: pm2 start mm.sh -_> it starts

      or

      command: pm2 update -_> it starts

      1: i have create file mm.sh
      2. pm2 startup
      3. pm2 start mm.sh
      4. sudo pm2 save

      mostly comes the message , use: pm2 save --force

      and after sudo reboot its the same , no autostart.

      Last setup this works normaly

      1 Reply Last reply Reply Quote 0
      • M Offline
        Miked180
        last edited by

        I have solved:

        After command pm2 startup --> i have add teh command ( listen as info aofter this entered)

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

        now it works, better read from my side :)

        S 1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil @Miked180
          last edited by

          @Miked180 did u use my setup/install script?

          It makes that change if needed

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • M Offline
            Miked180
            last edited by Miked180

            yes, i used the install script from : https://www.doityourself.rocks/magicmirror/diy-magic-mirror-3-magic-mirror-software-installieren-und-konfigurieren/

            bash -c ‚$"(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
            

            Is thsi your script or whats your script ? Link :

            S 1 Reply Last reply Reply Quote 0
            • S Away
              sdetweil @Miked180
              last edited by sdetweil

              @Miked180 all of my scripts are here

              https://github.com/sdetweil/MagicMirror_scripts

              the one on MM site is broken… and will be removed completely in v 2.11

              the doc now references optional installers…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • M Offline
                Miked180
                last edited by

                Ok thanks, i use this git in future

                My Problem with black screen was really the modul : MMM-Motion Detection,

                S 1 Reply Last reply Reply Quote 0
                • S Away
                  sdetweil @Miked180
                  last edited by

                  @Miked180 glad u found the black screen problem!

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    Miked180
                    last edited by

                    Thanks for your very n1 support

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • 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