Read the statement by Michael Teeuw here.
updated installer script available for testing
-
I also added to catch the stderr output to the log too
echo pm2 not installed, installing >>$logfile result=$(sudo npm install $up -g pm2 2>&1) echo pm2 install result $result >>$logfile
-
@bhepler could you retest the installer? just rename your current MagicMirror folder out of the way… thanks
course u have pm2 already … never mind
-
@sdetweil - No worries. I have a spare Pi and a SD card I can use. I’ll get it cranked out tonight. I’ll get you that info.
-
@bhepler thanks… i got some new sd cards today, so I will test too.
-
@sdetweil - Brand new Buster installation on a RPi 3B+. Installation script worked as expected.
I had trouble with pm2 on my existing mirror too. I ended up upgrading to the latest pm2 in order to get it to remember to start on boot.
At this point, I think your script is handling it properly. Thanks for the quick replies!
-
@bhepler oh, there is a script for just pm2 as well.
Thx for feedback.
-
Hey sam (@sdetweil ),
Thanks for this, made my life a lot easier.
So, I just did a new build with Buster on a RPI Zero W. All looked good and I have configured mm2 to start on reboot of the Pi. I am start/stop/restart and check the status of mm2 and is looks to be working, the mm2 logs are also good with no error logs.
The problem I am facing is that the magicMirror page via chromium seems to try and load (white screen which changes to a pure black screen) however seems to fail/crash and go back to the Raspbian desktop.
This happens when I reboot the pi and also when I manually try to start/restart the mm2 service.
Anything you think I am missing?
Thanks
-
@NathTheDude if u start the chromium browser from the desktop does it work?
-
U may need to increase the swap space. Pi 0 has very little memory.
https://wpitchoune.net/tricks/raspberry_pi3_increase_swap_size.html
-
Thanks @sdetweil , after a couple of reboots this is now working as expected. Not sure what the issue was, I will have to keep an eye on it. Thanks for the link on swap space, I will also look in that direction if I have any more of the same issues.