MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Cannot start after reboot?

    Troubleshooting
    4
    4
    679
    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.
    • S
      Smedegaard last edited by Smedegaard

      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
      

      UPDATE:

      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   │
      └─────────────┴────┴───────┴────────┴────────┴─────┴────────┴───────────┘
      
      1 Reply Last reply Reply Quote 0
      • A
        AxLed Module Developer last edited by

        @Smedegaard
        Can you please post the output of

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

        and

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

        AxLED

        bhepler 1 Reply Last reply Reply Quote 0
        • bhepler
          bhepler Project Sponsor @AxLed last edited by

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

          1 Reply Last reply Reply Quote 0
          • R
            rts58 last edited by

            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
            

            and

            tail -30 ~/.pm2/logs/mm-error.log
            
            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy