• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MM does not boot when starting my raspberry

Scheduled Pinned Locked Moved Troubleshooting
12 Posts 4 Posters 7.4k Views 4 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.
  • A Offline
    asquelo
    last edited by May 2, 2017, 2:33 PM

    I installed MM without problems. It works !
    But, MM does not boot when starting my raspberry.
    How to do ?

    Bisous
    Thx !

    R 1 Reply Last reply May 2, 2017, 3:23 PM Reply Quote 0
    • R Offline
      romain @asquelo
      last edited by May 2, 2017, 3:23 PM

      @asquelo You need to follow the following instruction: Auto Starting MagicMirror

      1 Reply Last reply Reply Quote 0
      • A Offline
        asquelo
        last edited by May 2, 2017, 3:33 PM

        I have installed AUTOSTART
        And I followed the instructions
        but it does not work

        R 1 Reply Last reply May 3, 2017, 7:17 AM Reply Quote 0
        • R Offline
          romain @asquelo
          last edited by May 3, 2017, 7:17 AM

          @asquelo You probably did it wrong. I did that a lot few weeks ago.
          you need to run pm2 startup as non sudo. then it display a command you have to run. On my pi it’s the following :

          pi@raspberrypi:~ $ pm2 startup
          [PM2] Init System found: systemd
          [PM2] You have to run this command as root. Execute the following command:
          sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi
          

          so you run the command that was display. For me it’s sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi

          Then you pm2 start mm.sh , then you wait until it’s open (not sure if it’s necessary to actually wait). Then while it’s open, you run pm2 save. They you can reboot and see your mirror open.

          I used to run sudo pm2 startup and don’t understand why it wasn’t working back in the day even though the autostart guide didn’t ask to do it…

          O 1 Reply Last reply May 14, 2017, 1:57 PM Reply Quote 1
          • A Offline
            asquelo
            last edited by May 4, 2017, 5:29 AM

            46/5000
            it works ! many thanks !

            1 Reply Last reply Reply Quote 0
            • O Offline
              opensky727 @romain
              last edited by May 14, 2017, 1:57 PM

              @romain I tried that and I have “env: /usr/lib/node_modules/pm2: Permission Denied” Do you know how to have access? Thanks.

              R 1 Reply Last reply May 14, 2017, 5:22 PM Reply Quote 0
              • R Offline
                romain @opensky727
                last edited by May 14, 2017, 5:22 PM

                @opensky727 did you put the sudo at the begining of the command ?
                It should loook like this
                sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi

                You should have the permission as sudo

                O 1 Reply Last reply May 15, 2017, 5:42 PM Reply Quote 1
                • O Offline
                  opensky727 @romain
                  last edited by May 15, 2017, 5:42 PM

                  @romain it worked, thanks a lot.

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    RE_Magic_Mirror
                    last edited by RE_Magic_Mirror May 16, 2017, 5:49 PM May 16, 2017, 4:50 PM

                    This worked for me thank you. There is a delay from when it boots up and MM starts, is there any way to reduce that time so the desktop never shows?

                    R 1 Reply Last reply May 17, 2017, 7:30 AM Reply Quote 0
                    • R Offline
                      romain @RE_Magic_Mirror
                      last edited by May 17, 2017, 7:30 AM

                      @RE_Magic_Mirror Not that I know of but I am not an expert in linux configuration.

                      But if your issue is about “seeing” the desktop, I might have some tricks for you.
                      Maybe you could change you desktop wallpaper to be a black screen for started and take away the trash icon so the desktop part is black and empty.
                      Then you could right click on the panel barr above your screen and enter the panel settings and play around with them to make the barre itself invisible and then take away the unnecessary icons on it.
                      It will not make your mirror start quicker but you won’t see the default wallpaper and menu as much

                      R 1 Reply Last reply May 17, 2017, 1:43 PM Reply Quote 1
                      • 1
                      • 2
                      • 1 / 2
                      • 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