Read the statement by Michael Teeuw here.
Update MMM
-
HI all I’m getting the following message on my MM screen “MagicMirror2 update available” then underneath “The current installation is 2994 comments behind on the master branch”
Anyone know how to resolve this issue?
-
@Peter-Leemon run my update script from here
-
@sdetweil run the first script?
-
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…
-
@sdetweil said in Update MMM:
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
sorry a noob here do i run this in terminal?
-
@Peter-Leemon yes, stop MM first of course
-
when I paste bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh) i get no such file or directory
-
@Peter-Leemon dang forum, change the " to wrong character… copy/paste it again
need the trailing quote too
-
pi@raspberrypi:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
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
there are 3 local files that are different than the master repomodules/default/calendar/calendar.js
modules/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)?y
processing dependency changes for active modules with package.json filesprocessing for module MMM-NOAA3 please wait
skipped processing for MMM-NOAA3, doing test run
processing complete for module MMM-NOAA3processing for module MMM-EARTH please wait
skipped processing for MMM-EARTH, doing test run
processing complete for module MMM-EARTHprocessing for module MMM-GooglePhotos please wait
skipped processing for MMM-GooglePhotos, doing test run
processing complete for module MMM-GooglePhotostest run, restoring files stashed
pi@raspberrypi:~ $Is this correct?
-
@Peter-Leemon said in Update MMM:
doing test run = true
yes, now add ‘apply’’
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
BUT
there are 3 local files that are different than the master repo
modules/default/calendar/calendar.js
modules/default/compliments/compliments.js
package-lock.jsonany *-lock.json files do not need to be saved
I assume u might want to save those changed files…