Read the statement by Michael Teeuw here.
MM keeps freezing
-
Whole system. So, even a cronjob with sudo reboot every x hours does not help.
As the Pis came bundles with some noname SD cards, I just ordered 2 new cards to rule out any problems with them. -
That would be my first fix.
-
@requiemmg i have started configuring my systems to boot from SD, but RUN from USB disk (SSD is fast an reliable)
https://www.tomshardware.com/news/boot-raspberry-pi-from-usb,39782.html
-
Okay, getting back to this. @sdetweil thanks for the tip, I bought a 32gb usb stick and made my Pi3B+ boot from it. Complete new setup of Raspbian Buster. Boots up fine.
Complete new setup of MM2 with your script, works fine.
Reinstalled modules and config, works fine.Cooling with passive cooling case, Temp not higher than 55°C.
Setup a reboot cronjob every 6 hours.
Still, the system keeps freezing. Sometimes after minutes, sometimes after days.
Only other software installed is the lights-out client (which needs mono). (green-it-software.com/)
I have no idea on what to look for or what to do to fix this :-(
-
Anyone? :-( Both mirrors keep freezing… (whole system).
-
@requiemmg - I have some general troubleshooting suggestions, but unfortunately nothing approaching a solution.
For starters, you can examine the system log at
/var/log/syslog
which may give you some insight to system-level events. My gut tells me it’s a power problem, but my gut is notoriously bad at debugging.Since you have two mirrors, I would back up your
config.js
file on one and sacrifice it to the troubleshooting effort. Reflash the SD card, format the USB and reinstall Raspbian. Perform a barebones Mirror installation on it using @sdetweil’s script. Do not install anything other than the OS and Magic Mirror framework. Then wait and see if the freeze behavior affects the slicked mirror.If the rebuild mirror stays up, start adding things one at a time. I would start with the Lights-Out client as it is unknown to me and I am inherently suspicious of it.
-
Thanks. I have never seen the lightning bolt icon on any of the mirrors displays. I use the USB output of the display controller. Power comes from this https://www.amazon.de/gp/product/B01AA83VHA/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1 and is attached to this display controller: https://www.amazon.de/gp/product/B0756ZBB2G/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1
-
@requiemmg IIRC, the lightning bolt went away with Raspbian Buster.
-
@requiemmg Did I understand correctly that the display controller powers the Pi via its USB port? If so, I very strongly believe that this might be the source for the problem for two reasons:
- The USB port does not provide enough power for the Pi
- If the display controller goes in standby, then probably the power provided via its USB port might also be reduced.
I would always recommend to connect the Pi directly to a dedicated power supply, which can supply min. 2.5A.
-
@Fozi Oooh, good call. Strong power is good power. Part of the reason I upgraded to Pi4’s for most everything, honestly. Got tired of the weak power supplies on the old USB spec, so…