MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    SOLVED no autostart magic Mirror after new setup

    Troubleshooting
    2
    8
    934
    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
      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
        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
        • M
          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
            sdetweil @Miked180 last edited by

            @Miked180 did u use my setup/install script?

            It makes that change if needed

            Sam

            Create a working config
            How to add modules

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

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • M
                  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
                    sdetweil @Miked180 last edited by

                    @Miked180 glad u found the black screen problem!

                    Sam

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • M
                      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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy