Read the statement by Michael Teeuw here.
Cannot start after reboot?
-
Hi,
I cannot start the MagicMirror after reboot. When i type:
pm2 start MagicMirrorI get the following error:
[PM2] Spawning PM2 daemon with pm2_home=/home/pi/.pm2 [PM2] PM2 Successfully daemonized [PM2][ERROR] script not found : /opt/aiy/projects-python/MagicMirror script not found : /opt/aiy/projects-python/MagicMirrorUPDATE:
I did an update and now it tells me that it is starting MagicMirror but it does not show after reboot or when entering:
pm2 start MagicMirrorI just get the following lines:
pi@raspberrypi:~/AIY-projects-python $ pm2 start MagicMirror [PM2] Applying action restartProcessId on app [MagicMirror](ids: 0) [PM2] [MagicMirror](0) â [PM2] Process successfully started âââââââââââââââ¬âââââ¬ââââââââ¬âââââââââ¬âââââââââ¬ââââââ¬âââââââââ¬ââââââââââââ â Name â id â mode â status â ⺠â cpu â memory â âââââââââââââââ¼âââââ¼ââââââââ¼âââââââââ¼âââââââââ¼ââââââ¼âââââââââ¼âââââââââââ⤠â MagicMirror â 0 â 2.6.0 â fork â online â 18 â 0% â 13.7 MB â âââââââââââââââ´âââââ´ââââââââ´âââââââââ´âââââââââ´ââââââ´âââââââââ´ââââââââââââ -
@Smedegaard
Can you please post the output oftail -f ~/.pm2/logs/MagicMirror-out-0.logand
tail -f ~/.pm2/logs/MagicMirror-error-0.logAxLED
-
@axled - The
-fflag on thetailcommand will continually follow along with the log file as it gets updated. It may be difficult to capture the logs for copy & paste if they’re continually updating.I would recommend
tail -30 ~/.pm2/logs/MagicMirror-out-0.logwhich will give you the last 30 lines of the log files. -
Not sure why, but on my install these files are called mm-out.log and mm-error.log. So maybe it would be
tail -30 ~/.pm2/logs/mm-out.logand
tail -30 ~/.pm2/logs/mm-error.log
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login