Closed rejas closed 4 years ago
was mm running when u rebooted? what OS version are u running? that info is at the top of the log?
i haven't burned a new sd card to test with since March.. (testing with buster at that time)
Operating System: Raspbian GNU/Linux 10 (buster)
Kernel: Linux 4.19.118-v7l+
and if its running now before reboot?
at the request of a couple users i added a stmt to the installer to close the first run MM to allow the user to get back to the commandline.. this may have impacted the pm2 startup results..
from the very top of the log
install starting - Sun Mar 22 09:01:14 CDT 2020
installing on x86_64 processor system
the os is Distributor ID: Ubuntu Description: Ubuntu 18.04.4 LTS Release: 18.04 Codename: bionic
If its running now and then I reboot, it doesnt start up. It was a fresh install, so there wasnt any MM installed or running on the pi.
install starting - Fr Mai 29 21:48:22 CEST 2020
installing on armv7l processor system
the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
Where would one manually add the autostart code/routine in the system? Maybe there is something different if raspbian is runnign on a pi4.
i just tested on my odroid, and now testing on my pi..
the pm2 setup for autostart is to do pm2 startup it will give you the command to do the setup
can u show the output of pm2 logs --lines=200 those files are also in the ~/.pm2/logs folder my pi4 just booted with new install and pm2 setup and MM started on 1st boot..
can u run the fixuppm2 script from here and see if it makes a difference?
The fixuppm2 script helped. Now it starts on bootup too. Thx.
Hi @sdetweil tried to freshly install with your scripts on my new pi4, alas they dont manage to make the mirror software start automatically on bootup. pm2 entry is generated so once the pi is up a
pm2 start MagicMirror
works. The install.log looks at the end like this: