Read the statement by Michael Teeuw here.
Update MMM
-
@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: -
@Stoffbeuteluwe
Same for me, keep up the good work @sdetweil!