• 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.

MagicMirror does not work at startup

Scheduled Pinned Locked Moved Troubleshooting
19 Posts 6 Posters 16.8k Views 5 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.
  • L Offline
    lucallmon @mpires
    last edited by Mar 5, 2017, 11:43 PM

    @mpires did you get it working with this script?

    1 Reply Last reply Reply Quote 0
    • M Offline
      mpires
      last edited by Mar 5, 2017, 11:45 PM

      I have the script working, but the only way to start mm on boot, was set

      pm2 start mm
      

      on LXSession, but yes now once i boot my Pi, mm start without any problem.

      L 2 Replies Last reply Mar 5, 2017, 11:47 PM Reply Quote 0
      • L Offline
        lucallmon @mpires
        last edited by Mar 5, 2017, 11:47 PM

        @mpires so in the LXSession configuration menu under ‘autostart’, simply add the line ‘pm2 start mm’ and it’ll run at boot?

        1 Reply Last reply Reply Quote 0
        • L Offline
          lucallmon @mpires
          last edited by Mar 5, 2017, 11:48 PM

          @mpires do I need an @ in front of it?

          1 Reply Last reply Reply Quote 0
          • M Offline
            mpires
            last edited by Mar 5, 2017, 11:49 PM

            You have Pm2 install?

            L 2 Replies Last reply Mar 5, 2017, 11:50 PM Reply Quote 0
            • L Offline
              lucallmon @mpires
              last edited by Mar 5, 2017, 11:50 PM

              @mpires Yes.

              1 Reply Last reply Reply Quote 0
              • L Offline
                lucallmon @mpires
                last edited by Mar 5, 2017, 11:52 PM

                @mpires That got it working. I had to add in the directory. Thanks for all your help.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mpires
                  last edited by Mar 5, 2017, 11:53 PM

                  no just put " pm2 start.sh "

                  0_1488758016035_upload-7c9f1bfc-ddec-48c9-9879-941288a3005a

                  1 Reply Last reply Reply Quote 2
                  • M Offline
                    mpires
                    last edited by Mar 5, 2017, 11:56 PM

                    Another happy person :D

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      cassidycaid
                      last edited by cassidycaid Mar 6, 2017, 4:54 AM Mar 6, 2017, 4:48 AM

                      Thanks for the information. Using it I was able to figure out the steps for the command line.

                      cd ~/.config/lxsession/LXDE-pi
                      sudo nano autostart

                      add to the end

                      pm2 start mm.sh

                      Thanks again for helping.

                      M A 2 Replies Last reply Mar 6, 2017, 12:27 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        10/19
                        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