Read the statement by Michael Teeuw here.
Black screen after update 2.11 (electron)
-
@Blackmirror said in Black screen after update 2.11 (electron):
rebuild electron in cd magicmirror and all modules. and npm install again.
and npm install (in base and module folders) (as this will copy down new files based on the MM changes)
and THEN
electron-rebuildAND you did npm install in MagicMirror folder, BEFORE all modules
-
yes. first cd magicmirror after this the modules
-
@sdetweil maybe run my upgrade script …
from here
https://github.com/sdetweil/MagicMirror_scriptsbash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force
-
@sdetweil said in Black screen after update 2.11 (electron):
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)” force
ok. Now I have no black screnn but the mirror say i must install a config.js, but my old config.js is in the folder.
-
@Blackmirror how did u start mm??? pm2 or npm start?
open the developers window, ctrl-shift-i on keyboard, select the console tab, and scroll up to find any errors (usually red text)…
this same error is displayed in a module crashes hard
-
sorry i have not all // delete from the MMM-Buttons module. It the same blank mirror.
At I get the same errors in the MMM-Buttons module after npm install. Your script have not wrote that it is make npm install at the MMM-Buttons module
-
@Blackmirror said in Black screen after update 2.11 (electron):
MMM-Buttons
it should, there is a package.json file present…
please show me upgrade.log
~/MagicMirror/installers/upgrade.log
-
Yes it have it.
I can not open the log file.
No authorization. -
@Blackmirror eh? was created in user name running the script
please do
ls -laF ~/MagicMirror/installers
show results
-
Okay works if it run in single steps
Upgrade started - Sa Apr 4 17:52:55 CEST 2020 system is Linux Mirror 4.9.22-v7+ #987 SMP Fri Apr 14 23:23:05 BST 2017 armv7l GNU/L$ the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 8.0 (jessie) Rele$ user requested to force apply changes doing test run = false saving custom.css remote name = origin upgrading from version 2.11.0 to 2.11.0 fetching latest revisions git fetch rc=0 current branch = master On branch master Your branch is up-to-date with 'origin/master'. Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: package.json Untracked files: (use "git add <file>..." to include in what will be committed) core css/save_custom.css modules/default/compliments/compliments.json