MagicMirror² v2.4.1 is available! For more information about this release, check out this topic.
Please read the release notes carefully since this update requires adjustments to your Raspberry Pi configuration!

PM2 startup Autostart didn't work

  • Hey there,
    I almost finish with my Magic Mirror but there is a little problem with the autostart. I did this with these manual:
    But i still don’t work. I read a lot in the Internet but I didnt’ get the rigth information.
    I recognized by trying sudo pm2 startup
    There is an error "[PM2][ERROR] No processes saved; DUMP file doesn’t exist"
    But i saved the state with the command pm2 save.
    I’ve no idea were my misstace is.
    I hope you can held me 🙂
    Thank you all 🙂

  • I think the issue is that the command you need to run isn’t “sudo pm2 startup”.
    If you run “pm2 startup”, the real command you’ll need to run appear

    pi@raspberrypi:~ $ pm2 startup
    [PM2] Init System found: systemd
    [PM2] You have to run this command as root. Execute the following command:
    sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi

  • This post is deleted!