MagicMirror² v2.14.0 is available! For more information about this release, check out this topic.

Cannot start after reboot?

  • Hi,

    I cannot start the MagicMirror after reboot. When i type:

    pm2 start MagicMirror

    I 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/MagicMirror


    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 MagicMirror

    I 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   │

  • Module Developer

    Can you please post the output of

    tail -f ~/.pm2/logs/MagicMirror-out-0.log


    tail -f ~/.pm2/logs/MagicMirror-error-0.log


  • Project Sponsor

    @axled - The -f flag on the tail command 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.log which 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.log


    tail -30 ~/.pm2/logs/mm-error.log

Log in to reply