Read the statement by Michael Teeuw here.
Update MMM
-
no update from version 2.10.1 to 2.11.0
in the folder:pi@raspberrypi:~/MagicMirror $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
bash: warning: setlocale: LC_ALL: cannot change locale (it_IT)
the log will be /home/pi/MagicMirror/installers/upgrade.log
No LSB modules are available.
doing test run = true
update log will be in /home/pi/MagicMirror/installers/upgrade.logupgrading from version 2.10.1 to 2.11.0
fetching latest revisions
bash: line 396: warning: setlocale: LC_ALL: cannot change locale (it_IT)
bash: line 396: warning: setlocale: LC_ALL: cannot change locale (it_IT)
there are 2 local files that are different than the master repomodules/default/compliments/compliments.js
package-lock.jsonany *-lock.json files do not need to be saved
do you want to save these files for later (Y/n)?n
skipping restore for modules/default/compliments/compliments.js, doing test run
skipping restore for package-lock.json, doing test run
processing dependency changes for active modules with package.json filesprocessing for module MMM-network-signal please wait
skipped processing for MMM-network-signal, doing test run
processing complete for module MMM-network-signalprocessing for module MMM-GooglePhotos please wait
skipped processing for MMM-GooglePhotos, doing test run
processing complete for module MMM-GooglePhotosprocessing for module MMM-COVID19-SPARKLINE please wait
skipped processing for MMM-COVID19-SPARKLINE, doing test run
processing complete for module MMM-COVID19-SPARKLINEprocessing for module MMM-NowPlayingOnSpotify please wait
skipped processing for MMM-NowPlayingOnSpotify, doing test run
processing complete for module MMM-NowPlayingOnSpotifyprocessing for module MMM-AlexaControl please wait
skipped processing for MMM-AlexaControl, doing test run
processing complete for module MMM-AlexaControl -
@minomit said in Update MMM:
doing test run = true
upgrade-script.sh will do the git pull and npm install, and refresh npm setup for any modules that might need it it should handle all the work… and give you a trial run of all that… only applying changes if u request them give it a try this works on Mac as well bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" no changes are made to the local repo or the working copy **if you WANT to actually apply the changes do** bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply there is a log file (upgrade.log) in the MagicMirror/installers folder…
I built it to TEST first… and not just blindly apply… give u a chance to figure out what to do…
-
notice it highlights a file u might want to look out for
modules/default/compliments/compliments.js
did u change this? if so, your changes might be lost
-
@sdetweil yes, I tried to put the original file too, same problem
-
@minomit which ‘same problem’
if u want the original file back
cd ~/MagicMirror git checkout modules/default/compliments/compliments.js
did u do this
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
-
ok ok, perfect thanks
-
Hello,
after update “npm run start” works, but how can i stop MM ? “npm run stop” did not work.
Thx -
@Zinkeler typically is npm start, then ctrl-c will stop it… if you use pm2, them pm2 start 0, and pm2 stop 0
-
@sdetweil thx, it works
-
@sdetweil Hi, Sam I used you script …it works fine and very easy to upgrade.
Thank you very much for your work :folded_hands_medium-light_skin_tone: