Read the statement by Michael Teeuw here.
PM2 does not start the Magic Mirror
-
pm2 status is
pi@raspberrypi:~ $ pm2 status │ Name │ id │ mode │ status │ ↺ │ cpu │ memory │ MagicMirror │ 0 │ 2.6.0 │ fork │ online │ 799 │ 0% │ 16.8 MB │ Use `pm2 show <id|name>` to get more details about an app
and in pm2 log I get this every two seconds
pi@raspberrypi:~/.pm2 $ tail -f pm2.log 2019-02-15T15:36:47: PM2 log: App [MagicMirror:0] online 2019-02-15T15:36:48: PM2 log: App [MagicMirror:0] exited with code [1] via signal [SIGINT]
I tried the complete guide with creating an .sh-File and so on. But unfortenately with the same effect.
-
@klinge can you first do
pm2 stop all
and then
cd ~/MagicMirror npm start dev
Maybe you can see what happens there.
It seems that pm2 is running the magicmirror start script but MagicMirror won’t start -
@lavolp3 starting it manually does work. but with PM2 not.
-
Thank you for your help.
But suddenly a miracle happened.
Tomorrow morning I switched on my monitor and the MM runs. And I did not do anything. And I really haven´t a intelligent reason.
Now, when I reboot the Raspberry, the MM starts automatically.
Thank you for your time.
-
@klinge said in PM2 does not start the Magic Mirror:
Tomorrow morning I switched on my monitor and the MM runs
MMM-TimeMachine? ;-)
I’m glad you got it working correctly. :thumbsup:
-
@klinge Yeah I hacked into your RasPi from here and fixed it … I will have done it next Thursday when I will have had some time.
Better change your password from standard “raspberry”.
yaaaawwwn -
Hey Guys!
it works now!
i did it as described with the mm script here: https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirrorthank you for all your replies!
Regards
Dario