Read the statement by Michael Teeuw here.
v2.18.0 update gave black screen, then nothing.
-
@richard238 ok!.. run this to get rid of the sandbox problem
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixsandbox)"
then
cd ~/MagicMirror/modules # save the new default modules folder mv default default.new cd .. # copy all the modules from old install (incl default) preserve ownership and dates, need sudo to copy git info sudo cp -r -p ~/MagicMirror.save/modules/* modules cd modules # remove the copied default modules rm -rf default # restore the saved default mv default.new default
copy your full function config.js to MagicMirror/config
and try it outcd ~/MagicMirror npm start
-
pi@magicmirror:~ $ cd ~/MagicMirror/modules pi@magicmirror:~/MagicMirror/modules $ mv default default.new pi@magicmirror:~/MagicMirror/modules $ sudo cp -r -p ~/MagicMirror.save/modules/* modules cp: target 'modules' is not a directory
Tried it without the space…
pi@magicmirror:~/MagicMirror/modules $ sudo cp -r -p ~/MagicMirror.save/modules/*modules cp: missing destination file operand after '/home/pi/MagicMirror.save/modules/*modules' Try 'cp --help' for more information. pi@magicmirror:~/MagicMirror/modules $
-
I have to leave shortly Sam.
Thank you for all your help with this today, I’ll try again tomorrow.
Richard.
-
@richard238 ok
you forgot the cd …
cd .. # copy all the modules from old install (incl default) preserve ownership and dates, need sudo to copy git info sudo cp -r -p ~/MagicMirror.save/modules/* modules
-
Trying to rename config.js to sample,
Error when getting information for file “/home/pi/MagicMirror/config/config.js”: No such file or directory Error renaming file /home/pi/MagicMirror/config/config.js: No such file or directory
Yet I can see it, I can query it for permissions…
Back tomorrow.
Richard. -
@richard238 said in v2.18.0 update gave black screen, then nothing.:
Error when getting information for file “/home/pi/MagicMirror/config/config.js”
you need to copy from save
cd ~/MagicMirror.save/config cp -p config.js ~/Magicmirror/config
-
Good morning Sam.
Tried that late yesterday, and yes, it works.
And this morning, I copiedcustom.css
from
/home/pi/MagicMirror.save/css
to
/home/pi/MagicMirror/css
This too is working perfectly.
Is there anything else to do, housekeeping maybe, or is that it now?
-
@richard238 if everything is running ok then I think you are done, and can delete the
MagicMirror.save folder -
Ok, I’ll do that then.
Do we know what the cause of all this was, was it something to do with a mismatch in versions of node and npm?
-
@richard238 no idea what caused it.
there clearly was an error somewhere in the upgrade process, maybe reported and missed, or unreported.
but can u send me the MagicMirror.save/installers/upgrade.log