Read the statement by Michael Teeuw here.
Update to v2.25.0
-
@MZ-BER I have updated my upgrade-script to recognize more removed libraries.
make sure to run thru the test run to see if any modules are affected. no changes are made in the test run cycle
-
@MZ-BER MMM-NINA and MMM-Jast will work with v2.25.0 :smiling_face_with_sunglasses:
-
@Jalibu Well, I didn’t expect anything different from you. :D
-
@sdetweil Thanks you! This is my upgrade.log.
pgrade started - Tue Oct 24 10:52:06 CEST 2023 system is Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye n (node version manager tool) not installed, doing test run, install skipped doing test run = true, NO updates will be applied! [96mCheck current Node installation ...[0m [0mNode currently installed. Checking version number. [0mMinimum Node version: [1mv20.8.0[0m [0mInstalled Node version: [1mv16.20.2[0m [96mNode should be upgraded.[0m [92mNode.js upgrade defered, doing test run[0m [96mCheck current NPM installation ...[0m [0mNPM currently installed. Checking version number. [0mMinimum npm version: [1mV10.1.0[0m [0mInstalled npm version: [1mV8.19.4[0m [96mnpm should be upgraded.[0m [96mnpm upgrade defered, doing test run ...[90m saving custom.css remote name = origin upgrading from version 2.24.0 to 2.25.0 fetching latest revisions git fetch rc=0 current branch = master On branch master Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded. (use "git pull" to update your local branch) Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) modified: css/main.css Untracked files: (use "git add <file>..." to include in what will be committed) core css/save_custom.css installers/mm_temp.sh installers/pm2_MagicMirror.json installers/pm2_MagicMirror_new.json run-start.sh no changes added to commit (use "git add" and/or "git commit -a") there are 1 local files that are different than the master repo css/main.css save/restore files selection = y erasing lock files Saved working directory and index state WIP on master: e87f50e Release 2.24.0 (#3141) test merge result rc='' , if empty, no conflicts skipping merge, only test run Checking for modules with removed libraries package.json not found for module MMM-MyCalendar bypass adding package.json for module MMM-MyCalendar, doing test run package.json not found for module MMM-GoogleSheets bypass adding package.json for module MMM-GoogleSheets, doing test run downloading dumpactivemodules script processing dependency changes for active modules with package.json files processing for module MMM-Wallpaper please wait ---------------------------------- skipped processing for MMM-Wallpaper, doing test run processing complete for module MMM-Wallpaper processing for module MMM-CountDown please wait ---------------------------------- skipped processing for MMM-CountDown, doing test run processing complete for module MMM-CountDown processing for module MMM-OpenWeatherForecast please wait ---------------------------------- skipped processing for MMM-OpenWeatherForecast, doing test run processing complete for module MMM-OpenWeatherForecast processing for module MMM-NINA please wait ---------------------------------- skipped processing for MMM-NINA, doing test run processing complete for module MMM-NINA processing for module MMM-PublicTransportHafas please wait ---------------------------------- skipped processing for MMM-PublicTransportHafas, doing test run processing complete for module MMM-PublicTransportHafas processing for module MMM-Fuel please wait ---------------------------------- skipped processing for MMM-Fuel, doing test run processing complete for module MMM-Fuel processing for module MMM-MyVolvo please wait ---------------------------------- skipped processing for MMM-MyVolvo, doing test run processing complete for module MMM-MyVolvo processing for module MMM-PIR-Sensor-Lite please wait ---------------------------------- skipped processing for MMM-PIR-Sensor-Lite, doing test run processing complete for module MMM-PIR-Sensor-Lite processing for module MMM-NowPlayingOnSpotify please wait ---------------------------------- skipped processing for MMM-NowPlayingOnSpotify, doing test run processing complete for module MMM-NowPlayingOnSpotify processing for module MMM-Todoist please wait ---------------------------------- skipped processing for MMM-Todoist, doing test run processing complete for module MMM-Todoist processing for module MMM-Jast please wait ---------------------------------- skipped processing for MMM-Jast, doing test run processing complete for module MMM-Jast processing for module MMM-NewsAPI please wait ---------------------------------- skipped processing for MMM-NewsAPI, doing test run processing complete for module MMM-NewsAPI restoring custom.css removing git alias test run, restoring files stashed Removing vendor/package-lock.json Removing package-lock.json Removing fonts/package-lock.json On branch master Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded. (use "git pull" to update your local branch) Changes not staged for commit: (use "git add/rm <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) modified: css/main.css deleted: fonts/package-lock.json deleted: package-lock.json deleted: vendor/package-lock.json Untracked files: (use "git add <file>..." to include in what will be committed) core installers/mm_temp.sh installers/pm2_MagicMirror.json installers/pm2_MagicMirror_new.json run-start.sh no changes added to commit (use "git add" and/or "git commit -a") Dropped refs/stash@{0} (c2cb1efe09ca1e3538f822bd9f6caccf74e510ec) Upgrade ended - Tue Oct 24 10:52:38 CEST 2023
As expected Node and NPM needs to be upgraded and Im aware of the CSS file. But Im a bit confused about the results regarding the modules. Are they fine after the upgrade or not? The log is not clear for me.
Thank you in advance!
-
Hi @sdetweil, does the log tell me I have to only check MMM-MyCalendar & MMM-GoogleSheets, and all of the other modules are okay?
-
@MZ-BER sorry for not replying sooner.
I need to improve the messages.
those two modules are impacted by the removal of libraries. and would fail , stopping MagicMirror.
the upgrade script will fix them.
-
@sdetweil No worries at all. Thanks for responding. I was able to upgrade with your script. Only MMM-NewsAPI and MMM-MyCalendar needed some attention.
For MMM-NewsAPI I had to install
fetch-node
and for MMM-MyCalendar I applied the workaround. -
@MZ-BER but, you KNEW about it before you started the ACTUAL upgrade, and so you were prepared.
that’s the whole point of the two pass approach.
awesome feedback. thanks.
-
@MZ-BER for MMM-NewsApi, the upgrade should have fixed that for you. (it’s node-fetch)
but, in addition, he has a module upgrade that fixes it natively without the extra npm install…
-
@MZ-BER what do you think of these new messages
Checking for modules with removed libraries require for node-fetch in module MMM-NewsAPI not found in package.json bypass installing node-fetch for module MMM-NewsAPI , doing test run updating dependencies for active modules with package.json files processing for module birthdaylist please wait ---------------------------------- skipped processing for birthdaylist, doing test run processing complete for module birthdaylist