SOLVED I think I Broke my MagicMirror
-
My MagicMirror was working and I was doing some customizing of the css ect. all went as planned. UNTIL, I ran “sudo apt-get update && sudo apt-get upgrade -y” and when it was finished, “sudo reboot” Now I cannot get MM to start.
So I ran “npm outdated” and found electron missing.
So I found bugsounets electron install on GitHub.
“npm install magicmirror-rebuild --save” and ran it.
another “sudo reboot” still cannot get MM to start. pm2 shows it loaded and when I go into VNC , Using ctrl+m I see , electron instead of MagicMirror is minimised. What did I do wrong this is a fresh install a couple days ago.
pi@MM:~/MagicMirror $ npm -v
8.11.0
pi@MM:~/MagicMirror $ node -v
v16.16.0
pi@MM:~/MagicMirror $ npx electron -v
v19.0.9
pi@MM:~/MagicMirror $
Here are my electron, npm and node versions.HELP…
-
@sdetweil Well that got me no where. I still have the black screen and when I ctrl+m it says electron instead of MagicMirror.
So I just renamed MagicMirror to MM and reinstalled with your script I have the backup restore module saved so I can reinstall my modules quickly and with minimal effort. The mirror looks better already… -
@plainbroke yeesh…
don’t run upgrades unless you know how to work thru the issues.MagicMirror-rebuild is for some modules. not the base.
do this
stop MagicMirrorcd ~ rm -rf .config/Electron
note the dot in front of config
then run my upgrade script w
force
as the parameter, instead of apply
see
https://github.com/sdetweil/MagicMirror_scriptsit does all the steps (not mm-rebuild tho)
-
@sdetweil Well that got me no where. I still have the black screen and when I ctrl+m it says electron instead of MagicMirror.
So I just renamed MagicMirror to MM and reinstalled with your script I have the backup restore module saved so I can reinstall my modules quickly and with minimal effort. The mirror looks better already… -
@plainbroke I would, at this point, back up your custom files, (config.js and custom.css), then delete and reinstall, or reformat and install on a fresh OS install.
-
@plainbroke can u send me the MM/installers/upgrade.log
if u still have itsame userid at gmail.
glad u got it running again
-
@sdetweil
I went all out and started fresh, I have the backups of all files that are not “default”. My modified files are backed up to 3 places after having an issue when my OpenMediaVault somehow became corrupted. Now I run a simple Samba file server. Really all I needed in the first place. Short answer is I wiped it SSD drive, so no upgrade.log to send you. -
@plainbroke
reloading 36 modules and getting them all to work as expected ,takes some time. Almost there today. MMM-RSTPStream is being difficult not wanting to play nice with vlc for some reason this round… Guess 5 different instances is too many. eventhough I have them spread out in the list of modules that carousel runs for me…