Read the statement by Michael Teeuw here.
new update/upgrade script, ready for testing
-
@sdetweil /MagicMirror/installers/mm.sh
/MagicMirror/modules/default/calendar/calendar.js
/MagicMirror/modules/default/currentweather/currentweather.js
/MagicMirror/modules/default/weather/weather.js /MagicMirror/modules/default/weatherforecast/weatherforecast.js
/MagicMirror/package-lock.json
/MagicMirror/run-start.sh
when updating, your script asked to save these files or not. if I wrote yes, it was not updated, if I wrote no, the update went fine but the mirror stopped working. I just moved these files, updated the mirror, and put them back in place. and the mirror works -
@bobwilliams Ok. I put a fix in for Save=yes. Save=No should replace them w local repo version…and then upgrade.
Will have to build test. Really want to see the upgrade log, and pm2 logs for why it stoppexy
-
@sdetweil sent by mail
-
@bobwilliams got them thanks… you didn’t happen to save that ‘failing’ MagicMirror folder did you?
-
@sdetweil no, it didn’t work out
-
@sdetweil Have you looked at what was the problem?
-
@bobwilliams yes, the merge returns an error i don’t handle… but I don’t know what the error means…
so was hoping u had the folder saved, so I could get a copy to test with… -
I have submitted this script as part of pull request 1789
-
@sdetweil Idk why or if this is even the case but I updated MMM-EventHorizon and now I get a black screen and server shows errored below…any ideas how to fix?
pi@raspberrypi:~ $ pm2 restart mm Use --update-env to update environment variables [PM2] Applying action restartProcessId on app [mm](ids: 1) [PM2] [mm](1) ✓ ┌─────────────┬────┬──────┬────────┬─────────┬─────┬────────┬──────────┐ │ Name │ id │ mode │ status │ ↺ │ cpu │ memory │ ├─────────────┼────┼──────┼────────┼─────────┼─────┼────────┼──────────┤ │ mm │ 1 │ N/A │ fork │ online │ 5 │ 0% │ 2.5 MB │ │ omx_stream1 │ 2 │ N/A │ fork │ online │ 28 │ 0% │ 2.8 MB │ │ omx_stream2 │ 3 │ N/A │ fork │ online │ 28 │ 0% │ 2.7 MB │ │ omx_stream3 │ 4 │ N/A │ fork │ online │ 28 │ 0% │ 2.7 MB │ │ server │ 0 │ N/A │ fork │ errored │ 0 │ 0% │ 0 B │
-
@sdetweil Actually idk what the issue is…black screen even though all show online. Odd