Read the statement by Michael Teeuw here.
Update Electron failed - MagicMirror is broken on physical screen only
-
@Pade2204 said in Update Electron failed - MagicMirror is broken on physical screen only:
6.1.7
@Pade2204 yes, quite old…
can u tell what the message was when you tried to update? and how update?? electron
only thing you could do it reinstall it .
npm install electron@6.1.7
it may not be available anymore…
2.12
we are at 2.27, so 15 cycles later, 4 cycles/year… almost 4 years…just about everything has changed…
need a new OS, new version of node/npm, …so… use my backup script to get all the MM config/css/module list, see
https://github.com/sdetweil/MagicMirror-backup-restore
then copy the ~/MM_backup folder off somewhere, or use the github private repo storage approach.I don’t think you can upgrade MM from there (as we depend on latest stuff, which won’t run on that OS probably)
what os level are you running… this command will tell
lsb_release -a
so, then the best way is flash a new sd card with the latest OS… hm… what pi is this ? 4 years… still a pi 3 probably
and run my install script, see
https://github.com/sdetweil/MagicMirror_scriptsverify MM is working,
then run the restore script from the copied back MM_backup, or same from an external disk, or from github savedthis will get you the closest… some module may still fail due to other problems…
were you just adding photo display?
-
@sdetweil
I just saw a local image in module MMM-globe was not updating on the screen, but on webinterface it updated fine. So I just read that it could be the Electron browser failing. So I tried to update it. It failed, because it said that something was not compatible.And from now on I just tried to install Electron again - and actually 6.1.7 is avaible still, but it didnt solve my problem now.
The Pi just shows the desktop and not MagicMirror when booted up. MagicMirror is just fine on webinterface.
-
@Pade2204 can you show the messages from where npm start is issued?
-
@sdetweil Im not that experienced in Linux, so Im not sure what you mean here.
-
@Pade2204 how do you start MagicMirror?
if it starts at boot, do you use the MagicMirror instructions to create a service or something else?
if you start it manually, what do you doall things lead to the command
npm start
in the MagicMirror folderthat command starts MagicMirror and it outputs a bunch of messages when it’s running. including error messages from some modules
-
Thanks.
I had to reinstall MagicMirror.
-
@Pade2204 did u reinstall the same version?
-
@sdetweil I reinstalled using the guide inhere. So latest version I’m sure.
-
@Pade2204 i’m surprized that its running…
just to check
output of
grep version ~/MagicMirror/node_modules/electron/package.json