@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!