Read the statement by Michael Teeuw here.
MM stuck on boot up - cant connect via remote
-
@Kastore said in MM stuck on boot up - cant connect via remote:
The software MagicMirror 2 is stuck in “Booting” and has rc-services.local on the bottom right
the console is still showing and i cant exit it (The CTRL+ALT+F1)‘booting’ is another word… that means from hardware power on…
so, it sounds like the hardware boot is failing, but u say u can access…
rc-services.local that has nothing to do with MagicMirror, it is an OS file…
the console is still shown?
so, are you booting your pi in console mode? use raspi-config to change that back to Desktop mode
-
@sdetweil said in MM stuck on boot up - cant connect via remote:
@Kastore said in MM stuck on boot up - cant connect via remote:
The software MagicMirror 2 is stuck in “Booting” and has rc-services.local on the bottom right
the console is still showing and i cant exit it (The CTRL+ALT+F1)‘booting’ is another word… that means from hardware power on…
Just quoting what it says on the screen. The Pi is starting and running (sub 5% on idle - 40% on npm installs). After restarting the 4 berries show, the starting screen shows (“desktop”) quick and then the MagicMirror 2 application launches.
The APP however displays “MagicMirror 2 - booting” and keeps being stuck in this state
(did that clear it up?)
so, it sounds like the hardware boot is failing, but u say u can access…
rc-services.local that has nothing to do with MagicMirror, it is an OS file…
Again - just citing what it shows
the console is still shown?
so, are you booting your pi in console mode? use raspi-config to change that back to Desktop mode
Aaaaaah! And I thought I need to press some fancy combinations -.-’
Went to
sudo raspi-config and changed the setting.
So only the “booting” issue is still active
-
@Kastore said in MM stuck on boot up - cant connect via remote:
The APP however displays “MagicMirror 2 - booting” and keeps being stuck in this state
how does MM start at boot? from using pm2? or some other mechanism?
mine use pm2, and I have never seen that message
a search on google shows that its probably a bad edit of /etc/rc.local (my guess is to add start at boot)
https://www.raspberrypi.org/forums/viewtopic.php?t=246236
restore the rc.local and use the pm2 setup script here https://github.com/sdetweil/MagicMirror_scriptsI have seen the splash screen that says booting, but the desktop hasn’t started yet…
-
@sdetweil Yes excatly that one shows up and didnt go anywhere.
HOWEVER - Problems resolved.
–
I am using pm2 so i went and redid the autostart file (mm.sh and so on) [the shell script?]
After that I restarted and the Pi
- started
- showed the splash (see above)
- showed the desktop
[I got that wrong apparently] - loaded the MagicMirror 2 app [bit slow but it loaded]
I really got no idea as to why it now works again :D
–
regarding the pm2-flush. You said that is a big issue? Any idea how i can maintain the Pi properly?
-
@Kastore said in MM stuck on boot up - cant connect via remote:
I really got no idea as to why it now works again
i bet it was because you were in console mode… raspi-config fixed that
I would build a regular set of steps to logon and check where disk is used
this will give u top 5du -a / 2>/dev/null | sort -n -r | head -n 5
but if the pm2 logs are the disk space consumer, u need a bigger memory card
u should generally not run all the time over 75-80% usage
-
@sdetweil
Well the issue with the Pi being stuck at the splash was already happening before the console… maybe it was multiple things?The pi started up and forced me to log in suddenly (no clue why). That is what got me started on checking the SD card. Since i didnt get access via remote (“wrong” username) I had to swap to console, deleted files and couldnt figure out how to get back.
It works again ^^
–
Regarding the disk-space. I got a 16 gb sd card.
However it was the 3-4 previous versions of MM2 I forgot to delete from the bin.
I will keep an eye on it and hopefully never run into that problem ^^’
–
Really appreciate the help! Thanks alot and big thumbs up to the community here!
Also added the “solutions” to the first post so people may be able to find a quick solution as well.