MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. eugekiller
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    E
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 21
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: PM2 MM2 Not starting on start up

      BINGO Got it to work. Not sure if others had a problem with this or its something new. but here it is.

      However, there is a bug on the generated startup script that prevents PM2 from automatically run at startup. You will need to edit /etc/init.d/pm2-init.sh and

      replace: export PM2_HOME=“/root/.pm2”
      with: export PM2_HOME=“/home/pi/.pm2”

      Got this from here: https://bekti.io/automatically-start-a-node-js-application-on-raspberry-pi/

      posted in Troubleshooting
      E
      eugekiller
    • RE: PM2 MM2 Not starting on start up

      Ok so i started doing some more digging. First i have a question PM2 does it actually load MM from a full reboot? meaning power off to RPI and a full start.

      The reason i ask is because
      When i open terminal in RPI and type npm start from MM directory it loads MM without any problems. Then i hit Ctrl Q it quits.
      Then i do PM2 list and gives me 0 apps running.
      Then I do pm2 start mm.sh again loads MM without a problem. Then i hit Ctrl Q it exits MM for about 10sec and then loads it back. During the 10sec I did pm2 list again and it said MM is running.

      So I dont think PM2 is actually loading MM from a full reboot.

      posted in Troubleshooting
      E
      eugekiller
    • RE: PM2 MM2 Not starting on start up

      Ok so i also tryed to do pm2 lists and there is nothing in the list. Does that mean anything?

      posted in Troubleshooting
      E
      eugekiller
    • RE: PM2 MM2 Not starting on start up

      Well Just reinstalled PM2 and still nothing. Using this guide not sure if everything is correct on that. https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror

      Is there a way to see if PM2 is even trying to load MM on start up. Or maybe something wrong with this command:
      cd ~/MagicMirror
      DISPLAY=:0 npm start

      posted in Troubleshooting
      E
      eugekiller
    • RE: PM2 MM2 Not starting on start up

      Yes it did I will try to uninstall and install it back. Thanks B.

      posted in Troubleshooting
      E
      eugekiller
    • RE: PM2 MM2 Not starting on start up

      Noobs is the PI noobs interface almost like a windows (https://www.raspberrypi.org/downloads/noobs/). From there i can select terminal and then i get the pi@raspMirror:~ $. PM2 seems to work and is linked because when i type pm2 start mm.sh it does load MM. So I assume that PM2 is linked with MM since i can load it through PM2. So for some reason PM2 is just not loading it on start up.

      Ok so i did the config option that you said and still no luck. Is there a way to uninstall PM2 so i can try to reload it again?

      posted in Troubleshooting
      E
      eugekiller
    • RE: PM2 MM2 Not starting on start up

      Ok so i figured out how to exit out of MM. But its still not starting after reboot. Can anyone help me or is there anything i can try to do.

      posted in Troubleshooting
      E
      eugekiller
    • PM2 MM2 Not starting on start up

      Ok so i got everything set up installed pm2. I am able to start pm2 and also MM “pm2 start mm.sh” load fine but when i reboot the raspberry pi 3 it doesn’t load in to MM it loads in to NOOB. Not sure what i did wrong.

      The one thing i had a problem with is when starting MM through pm2 your supposed to exit it and save settings. Problem was i didnt know how to exit so i rebooted rpi. So my question here is also how do you exit MM? :(

      posted in Troubleshooting
      E
      eugekiller
    • RE: MMM-Nest

      Hi I was wondering if some one can give me a hand with this Module.
      So i am trying to set this up and have a dum question. How do you “Run getToken.sh”

      How would i put that in to the terminal?

      I Know i would direct it to the MMM-Nest folder and then from there would i put “npm start getToken.sh”

      posted in Utilities
      E
      eugekiller
    • RE: Touch Screen MM??

      Any way you can point me to the module?
      I did order rpi 3 and the camera for it. I am guessing the motion will have to work through that camera.

      posted in General Discussion
      E
      eugekiller
    • 1 / 1