Same issue here
Read the statement by Michael Teeuw here.
Posts
-
RE: So ... to update MagicMirror I would ... ??
@richard238 said in So ... to update MagicMirror I would ... ??:
@MichMich said in So ... to update MagicMirror I would ... ??:
@Richard238 Please share the steps you took to upgrade and the log files which shows errors.
I followed the usual update routine.
I don’t have any logs, as I’ve restored MM from an earlier SD card backup.MM working OK everywhere, it’s just telling me I’m 150 commits out-of-date.
I’ll live with that until the electron black screen issue is resolved.Found the error logs from a backup I forgot I’d taken:
[TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option) /home/pi/.pm2/logs/mm-error-0.log last 15 lines: 0|mm | at Function.Module._load (module.js:424:3) 0|mm | at Module.require (module.js:483:17) 0|mm | at require (internal/module.js:20:19) 0|mm | at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindings/bindings.js:81:44) 0|mm | Error: Module version mismatch. Expected 50, got 57. 0|mm | at Error (native) 0|mm | at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20) 0|mm | at Object.Module._extensions..node (module.js:583:18) 0|mm | at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20) 0|mm | at Module.load (module.js:473:32) 0|mm | at tryModuleLoad (module.js:432:12) 0|mm | at Function.Module._load (module.js:424:3) 0|mm | at Module.require (module.js:483:17) 0|mm | at require (internal/module.js:20:19) 0|mm | at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindings/bindings.js:81:44) /home/pi/.pm2/logs/mm-out-0.log last 15 lines: 0|mm | Initializing new module helper ... 0|mm | Module helper loaded: MMM-MyTemps 0|mm | Initializing new module helper ... 0|mm | Module helper loaded: updatenotification 0|mm | No helper found for module: clock. 0|mm | Initializing new module helper ... 0|mm | Module helper loaded: calendar 0|mm | No helper found for module: compliments. 0|mm | No helper found for module: currentweather. 0|mm | No helper found for module: weatherforecast. 0|mm | No helper found for module: MMM-doomsDay. 0|mm | Whoops! There was an uncaught exception... 0|mm | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|mm | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues 0|mm | Launching application.I hope that helps find what’s wrong, and how to fix it.
Thanks!
-
RE: So ... to update MagicMirror I would ... ??
@MichMich said in So ... to update MagicMirror I would ... ??:
@Richard238 Please share the steps you took to upgrade and the log files which shows errors.
I followed the usual update routine.
I don’t have any logs, as I’ve restored MM from an earlier SD card backup.MM working OK everywhere, it’s just telling me I’m 150 commits out-of-date.
I’ll live with that until the electron black screen issue is resolved. -
RE: So ... to update MagicMirror I would ... ??
Installed MM2.3.1, still got black screen
Installed earlier version electron, still got black screen.Shutdown and restarted.
Now nothing on :8080 either :(
-
RE: So ... to update MagicMirror I would ... ??
Power off & on restores VNC, and LAN access displaying MM. (Hurrah!).
Pi. Electron window is black, but shows cursor.
-
RE: So ... to update MagicMirror I would ... ??
PIR disabled in config (as a precaution, elimination)
Pi shutdown, powered off, and restarted.
MM Still blank on Pi.
MM OK on a LAN PC, via :8080Logs:
pi@raspberrypi:~ $ pm2 log mm [TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option) /home/pi/.pm2/logs/mm-error-0.log last 15 lines: 0|mm | at exports._exceptionWithHostPort (util.js:1047:20) 0|mm | at Server.setupListenHandle [as _listen2] (net.js:1319:14) 0|mm | at listenInCluster (net.js:1367:12) 0|mm | at doListen (net.js:1493:7) 0|mm | at _combinedTickCallback (internal/process/next_tick.js:141:11) 0|mm | at process._tickCallback (internal/process/next_tick.js:180:9) 0|mm | at Function.Module.runMain (module.js:607:11) 0|mm | at startup (bootstrap_node.js:167:16) 0|mm | at bootstrap_node.js:589:3 0|mm | code: 'EADDRINUSE', 0|mm | errno: 'EADDRINUSE', 0|mm | syscall: 'listen', 0|mm | address: '0.0.0.0', 0|mm | port: 8080 } 0|mm | [1745:0401/150319.460996:FATAL:bus.cc(1189)] D-Bus connection was disconnected. Aborting. /home/pi/.pm2/logs/mm-out-0.log last 15 lines: 0|mm | You're using a full whitelist configuration to allow for all IPs 0|mm | Server started ... 0|mm | Connecting socket for: MMM-MyTemps 0|mm | Starting module helper: MMM-MyTemps 0|mm | Connecting socket for: updatenotification 0|mm | Connecting socket for: calendar 0|mm | Starting node helper for: calendar 0|mm | Connecting socket for: newsfeed 0|mm | Starting module: newsfeed 0|mm | Sockets connected & modules started ... 0|mm | Launching application. 0|mm | Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/[###################] Interval: 300000 0|mm | Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/[##############}/basic.ics - Interval: 300000 0|mm | Create new news fetcher for url: http://feeds.reuters.com/reuters/UKTopNews - Interval: 120000 0|mm | Create new news fetcher for url: http://feeds.skynews.com/feeds/rss/world.xml - Interval: 120000 -
RE: So ... to update MagicMirror I would ... ??
I’ve just applied the latest update and get a blank, black screen.
If I kill electron, I get back to the Pi desktop, until electron auto restarts.
Any advice on how to get MM back again, please?
Thanks!
-
RE: PIR gives black screen
That seems to have fixed it, thank you.
There’s now a prompt at the top of MM saying there’s an update available for the PIR module.
How do I go about updating an individual module?