Update Guide GA v5 to GA v5.1
-
@bugsounet
doesn’t work for me -
@Raf ```
pi@raspberrypi:~ $ cd ~/MagicMirror/modules/MMM-GoogleAssistant npm run update > MMM-GoogleAssistant@5.1.0 update > installer/update.sh Welcome to MMM-GoogleAssistant v5.1.0 Checking OS... OS Detected: linux-gnueabihf (raspbian 11 aarch64) Updating... HEAD is now at 958e04a GA v5.1 hint: Pulling without specifying how to reconcile divergent branches is hint: discouraged. You can squelch this message by running one of the following hint: commands sometime before your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. Already up to date. Deleting ALL @bugsounet libraries... Ready for Installing... > MMM-GoogleAssistant@5.1.0 preinstall > installer/preinstall.sh Welcome to MMM-GoogleAssistant v5.1.0 No root checking... Checking MMM-GoogleAssistant: pi/pi Checking MagicMirror: pi/pi Checking OS... OS Detected: linux-gnueabihf (raspbian 11 aarch64) Installing all npm libraries... > MMM-GoogleAssistant@5.1.0 postinstall > installer/postinstall.sh Minify Main code Found: 18 files to minify Process File: ../MMM-GoogleAssistant.js Process File: ../node_helper.js Process File: ../components/shellExec.js Process File: ../components/screenParser.js Process File: ../components/recipes.js Process File: ../components/platform.js Process File: ../components/parseData.js Process File: ../components/loadLibraries.js Process File: ../components/googleSearch.js Process File: ../components/configMerge.js Process File: ../components/assistantSearch.js Process File: ../components/assistantResponse.js Process File: ../components/assistant.js Process File: ../components/activateProcess.js Process File: ../components/activateAssistant.js Process File: ../components/Hooks.js Process File: ../components/Gateway.js Process File: ../components/GAConfig.js Done Support is now moved in a dedicated Server: https://forum.bugsounet.fr @bugsounet MMM-GoogleAssistant is now installed ! added 3 packages, and audited 223 packages in 7s 37 packages are looking for funding run `npm fund` for details 2 moderate severity vulnerabilities Some issues need review, and may require choosing a different dependency. Run `npm audit` for details. pi@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $ cd pi@raspberrypi:~ $ cd ~/MagicMirror/modules/Gateway npm run update > Gateway@3.1.0 update > installer/update.sh Welcome to Gateway v3.1.0 Checking OS... OS Detected: linux-gnueabihf (raspbian 11 aarch64) Updating... HEAD is now at b56f640 GW v3.1 hint: Pulling without specifying how to reconcile divergent branches is hint: discouraged. You can squelch this message by running one of the following hint: commands sometime before your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. Already up to date. Deleting ALL @bugsounet libraries... Ready for Installing... > Gateway@3.1.0 preinstall > installer/preinstall.sh Welcome to Gateway v3.1.0 No root checking... Checking Gateway: pi/pi Checking MagicMirror: pi/pi Checking OS... OS Detected: linux-gnueabihf (raspbian 11 aarch64) Checking all dependencies... All Dependencies needed are installed ! Installing all npm libraries... > Gateway@3.1.0 postinstall > installer/postinstall.sh Minify Main code... Found: 19 files to minify Process File: ../Gateway.js Process File: ../node_helper.js Process File: ../components/translations.js Process File: ../components/parseData.js Process File: ../components/loadLibraries.js Process File: ../components/hyperwatch.js Process File: ../components/homegraph.js Process File: ../components/callbacks.js Process File: ../components/actionsOnGoogle.js Process File: ../components/SmartHomeMiddleware.js Process File: ../components/SHTools.js Process File: ../components/SHCallbacks.js Process File: ../components/OthersRules.js Process File: ../components/GatewayMiddleware.js Process File: ../components/GWTools.js Process File: ../components/GWDatabase.js Process File: ../components/DeviceManagement.js Process File: ../components/AssistantActions.js Process File: ../components/ActionsOnEXT.js Done Rebuild MagicMirror... Done Support is now moved in a dedicated Server: https://forum.bugsounet.fr @bugsounet Gateway is now installed ! added 1 package, and audited 482 packages in 12s 57 packages are looking for funding run `npm fund` for details found 0 vulnerabilities pi@raspberrypi:~/MagicMirror/modules/Gateway $ cd pi@raspberrypi:~ $ cd ~/MagicMirror/modules/EXT-UpdateNotification npmrun update bash: npmrun: opdracht niet gevonden pi@raspberrypi:~/MagicMirror/modules/EXT-UpdateNotification $ cd ~/MagicMirror/modules/EXT-UpdateNotification npm run update > EXT-UpdateNotification@2.0.0 update > installer/update.sh Welcome to EXT-UpdateNotification v2.0.0 Checking OS... OS Detected: linux-gnueabihf (raspbian 11 aarch64) Updating... HEAD is now at a2c2050 v2 hint: Pulling without specifying how to reconcile divergent branches is hint: discouraged. You can squelch this message by running one of the following hint: commands sometime before your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. Already up to date. Deleting ALL @bugsounet libraries... Ready for Installing... > EXT-UpdateNotification@2.0.0 preinstall > installer/preinstall.sh Welcome to EXT-UpdateNotification v2.0.0 No root checking... Checking EXT-UpdateNotification: pi/pi Checking MagicMirror: pi/pi Checking OS... OS Detected: linux-gnueabihf (raspbian 11 aarch64) Installing all npm libraries... > EXT-UpdateNotification@2.0.0 postinstall > installer/postinstall.sh Minify Main code Found: 9 files to minify Process File: ../EXT-UpdateNotification.js Process File: ../node_helper.js Process File: ../components/update.js Process File: ../components/tools.js Process File: ../components/parseData.js Process File: ../components/npmCheck.js Process File: ../components/loadLibraries.js Process File: ../components/gitCheck.js Process File: ../components/check.js Done Support is now moved in a dedicated Server: https://forum.bugsounet.fr @bugsounet EXT-UpdateNotification is now installed ! up to date, audited 267 packages in 6s 37 packages are looking for funding run `npm fund` for details found 0 vulnerabilities pi@raspberrypi:~/MagicMirror/modules/EXT-UpdateNotification $
-
and this:
cd ~/MagicMirror/modules/EXT-Alert npm run update
give me result ?
and try this too:
cd ~/MagicMirror/modules/EXT-GooglePhotos npm run update
and give result
-
pi@raspberrypi:~ $ cd ~/MagicMirror/modules/EXT-Alert npm run update > EXT-Alert@1.2.0 update > installer/update.sh Welcome to EXT-Alert v1.2.0 Checking OS... OS Detected: linux-gnueabihf (raspbian 11 aarch64) Updating... HEAD is now at 35fe30a v1.2 hint: Pulling without specifying how to reconcile divergent branches is hint: discouraged. You can squelch this message by running one of the following hint: commands sometime before your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. Already up to date. Deleting ALL @bugsounet libraries... Ready for Installing... > EXT-Alert@1.2.0 preinstall > installer/preinstall.sh Welcome to EXT-Alert v1.2.0 No root checking... Checking EXT-Alert: pi/pi Checking MagicMirror: pi/pi Checking OS... OS Detected: linux-gnueabihf (raspbian 11 aarch64) Installing all npm libraries... > EXT-Alert@1.2.0 postinstall > installer/postinstall.sh Minify Main code Found: 5 files to minify Process File: ../EXT-Alert.js Process File: ../node_helper.js Process File: ../components/AlertInit.js Process File: ../components/AlertDisplay.js Process File: ../components/AlertCommander.js Done Support is now moved in a dedicated Server: https://forum.bugsounet.fr @bugsounet EXT-Alert is now installed ! up to date, audited 62 packages in 4s 13 packages are looking for funding run `npm fund` for details found 0 vulnerabilities pi@raspberrypi:~/MagicMirror/modules/EXT-Alert $
-
and try this too:
cd ~/MagicMirror/modules/EXT-GooglePhotos npm run update
and give result
after this:
cd ~/MagicMirror/modules/EXT-Detector npm run update
give result too
-
pi@raspberrypi:~ $ cd ~/MagicMirror/modules/EXT-GooglePhotos npm run update > EXT-GooglePhotos@1.2.0 update > installer/update.sh Welcome to EXT-GooglePhotos v1.2.0 Checking OS... OS Detected: linux-gnueabihf (raspbian 11 aarch64) Updating... HEAD is now at 997f4b4 v1.2 hint: Pulling without specifying how to reconcile divergent branches is hint: discouraged. You can squelch this message by running one of the following hint: commands sometime before your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. remote: Enumerating objects: 14, done. remote: Counting objects: 100% (14/14), done. remote: Compressing objects: 100% (2/2), done. remote: Total 8 (delta 6), reused 7 (delta 6), pack-reused 0 Unpacking objects: 100% (8/8), 1.31 KiB | 111.00 KiB/s, done. From https://github.com/bugsounet/EXT-GooglePhotos 997f4b4..8585380 master -> origin/master 7253ec0..92e78c0 dev -> origin/dev Updating 997f4b4..8585380 Fast-forward EXT-GooglePhotos.js | 8 ++++---- installer/auth_GPhotos.js | 10 +++------- node_helper.js | 8 ++------ package.json | 4 ++-- 4 files changed, 11 insertions(+), 19 deletions(-) Deleting ALL @bugsounet libraries... Ready for Installing... > EXT-GooglePhotos@1.2.1 preinstall > installer/preinstall.sh Welcome to EXT-GooglePhotos v1.2.1 No root checking... Checking EXT-GooglePhotos: pi/pi Checking MagicMirror: pi/pi Checking OS... OS Detected: linux-gnueabihf (raspbian 11 aarch64) Installing all npm libraries... > EXT-GooglePhotos@1.2.1 postinstall > installer/postinstall.sh Minify Main code Found: 3 files to minify Process File: ../EXT-GooglePhotos.js Process File: ../node_helper.js Process File: ../components/GooglePhotosLib.js Done Support is now moved in a dedicated Server: https://forum.bugsounet.fr @bugsounet EXT-GooglePhotos is now installed ! up to date, audited 96 packages in 5s 17 packages are looking for funding run `npm fund` for details found 0 vulnerabilities pi@raspberrypi:~/MagicMirror/modules/EXT-GooglePhotos $ cd pi@raspberrypi:~ $ cd ~/MagicMirror/modules/EXT-Detector npm run update > EXT-Detector@2.1.0 update > installer/update.sh Welcome to EXT-Detector updater ! Updating... HEAD is now at 245c383 v2.1 hint: Pulling without specifying how to reconcile divergent branches is hint: discouraged. You can squelch this message by running one of the following hint: commands sometime before your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. Already up to date. Updated 0 paths from the index Deleting ALL @bugsounet libraries... Ready for Installing... > EXT-Detector@2.1.0 preinstall > installer/preinstall.sh Welcome to EXT-Detector v2.1.0 Checking OS... OS Detected: linux-gnueabihf (raspbian 11 aarch64) Checking all dependencies... All Dependencies needed are installed ! Installing all npm libraries... > EXT-Detector@2.1.0 postinstall > installer/postinstall.sh Minify Main code... Process File: ../node_helper.js Process File: ../EXT-Detector.js Process File: ../components/platform.js Process File: ../components/loadLibraries.js Process File: ../components/parseData.js Process File: ../components/porcupine.js Process File: ../components/rules.js Process File: ../components/visual.js Done Rebuild MagicMirror... Rebuild Failed npm ERR! code 255 npm ERR! path /home/pi/MagicMirror/modules/EXT-Detector npm ERR! command failed npm ERR! command sh -c -- installer/postinstall.sh npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2023-03-29T16_55_23_398Z-debug-0.log pi@raspberrypi:~/MagicMirror/modules/EXT-Detector $
-
Rebuild MagicMirror…
Rebuild Failed ??? -
can you try this:
cd ~/MagicMirror/modules/EXT-Detector ./node_modules/.bin/MagicMirror-rebuild
past content ?
-
@bugsounet said in Update Guide GA v5 to GA v5.1:
cd ~/MagicMirror/modules/EXT-Detector
./node_modules/.bin/MagicMirror-rebuildpi@raspberrypi:~ $ cd ~/MagicMirror/modules/EXT-Detector npm run update > EXT-Detector@2.1.0 update > installer/update.sh Welcome to EXT-Detector updater ! Updating... HEAD is now at 245c383 v2.1 hint: Pulling without specifying how to reconcile divergent branches is hint: discouraged. You can squelch this message by running one of the following hint: commands sometime before your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. Already up to date. Updated 0 paths from the index Deleting ALL @bugsounet libraries... Ready for Installing... > EXT-Detector@2.1.0 preinstall > installer/preinstall.sh Welcome to EXT-Detector v2.1.0 Checking OS... OS Detected: linux-gnueabihf (raspbian 11 aarch64) Checking all dependencies... All Dependencies needed are installed ! Installing all npm libraries... > EXT-Detector@2.1.0 postinstall > installer/postinstall.sh Minify Main code... Process File: ../node_helper.js Process File: ../EXT-Detector.js Process File: ../components/platform.js Process File: ../components/loadLibraries.js Process File: ../components/parseData.js Process File: ../components/porcupine.js Process File: ../components/rules.js Process File: ../components/visual.js Done Rebuild MagicMirror... make: Map '/home/pi/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/build' wordt binnengegaan CXX(target) Release/obj.target/snowboy/lib/snowboy.o SOLINK_MODULE(target) Release/obj.target/snowboy.node COPY Release/snowboy.node COPY /home/pi/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/lib/node/binding/Release/electron-v22.0-linux-arm/snowboy.node TOUCH Release/obj.target/action_after_build.stamp make: Map '/home/pi/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/build' wordt verlaten Done Support is now moved in a dedicated Server: https://forum.bugsounet.fr @bugsounet EXT-Detector is now installed ! added 2 packages, and audited 238 packages in 36s 37 packages are looking for funding run `npm fund` for details found 0 vulnerabilities pi@raspberrypi:~/MagicMirror/modules/EXT-Detector $ cd pi@raspberrypi:~ $ cd ~/MagicMirror/modules/EXT-Detector ./node_modules/.bin/MagicMirror-rebuild ✔ MagicMirror Rebuild Complete pi@raspberrypi:~/MagicMirror/modules/EXT-Detector $
-
he’s working again !!!
-
don"t understand all …
-
me neither
anyway thank you very much -
the mysteries of computing … level 1
Happy that it’s works again !
-
-
Hi bugs, I did the 3 manual update as you said in first post, but all other updates didn’t happen. I tried to wait, I tried to reboot, tried to do a \scan command from telegrambot but updatenotification said that there is no update.
I think that all other modules need to be updated (I have ext-governor, ext-screen, ext-pir and so on…)How can I check installed version of all ext?
Thanks -
@bugsounet Once again you were right. Now I get it. It seems to work but after the automatic update from the EXT-UpdateNotification MM does not restart and I do it manually. Below is the error I am getting:
0|mm | [29.03.2023 21:50.39.146] [LOG] [UN] [UPDATE] Updating EXT-RadioPlayer... 0|mm | [29.03.2023 21:50.57.007] [LOG] [UN] Update logs of EXT-RadioPlayer: 0|mm | > EXT-RadioPlayer@1.0.4 update 0|mm | > installer/update.sh 0|mm | Welcome to EXT-RadioPlayer v1.0.4 0|mm | Checking OS... 0|mm | OS Detected: linux-gnueabihf (raspbian 11 aarch64) 0|mm | Updating... 0|mm | HEAD is now at 03bd1cc Update README.md 0|mm | Updating 03bd1cc..eb28dc5 0|mm | Fast-forward 0|mm | EXT-RadioPlayer.js | 26 +++++++++---------- 0|mm | README.md | 4 +-- 0|mm | installer/minify.js | 66 ++++++++++++++++++++++++++++++++++++++++++++++++ 0|mm | installer/postinstall.sh | 5 ++++ 0|mm | installer/preinstall.sh | 2 +- 0|mm | node_helper.js | 58 ++++++++++++++++++------------------------ 0|mm | package.json | 13 +++++++--- 0|mm | 7 files changed, 120 insertions(+), 54 deletions(-) 0|mm | create mode 100644 installer/minify.js 0|mm | Deleting ALL @bugsounet libraries... 0|mm | Ready for Installing... 0|mm | > EXT-RadioPlayer@1.1.0 preinstall 0|mm | > installer/preinstall.sh 0|mm | Welcome to EXT-RadioPlayer v1.1.0 0|mm | No root checking... 0|mm | Checking EXT-RadioPlayer: anthony/anthony 0|mm | Checking MagicMirror: anthony/anthony 0|mm | Checking OS... 0|mm | OS Detected: linux-gnueabihf (raspbian 11 aarch64) 0|mm | Installing all npm libraries... 0|mm | > EXT-RadioPlayer@1.1.0 postinstall 0|mm | > installer/postinstall.sh 0|mm | Minify Main code 0|mm | Found: 2 files to minify 0|mm | Process File: ../EXT-RadioPlayer.js 0|mm | Process File: ../node_helper.js 0|mm | Done 0|mm | Support is now moved in a dedicated Server: https://forum.bugsounet.fr 0|mm | @bugsounet 0|mm | EXT-RadioPlayer is now installed ! 0|mm | added 61 packages, and audited 69 packages in 13s 0|mm | 13 packages are looking for funding 0|mm | run `npm fund` for details 0|mm | found 0 vulnerabilities 0|mm | [29.03.2023 21:51.00.015] [ERROR] Whoops! There was an uncaught exception... 0|mm | [29.03.2023 21:51.00.020] [ERROR] TypeError: this.doRestart is not a function 0|mm | at Update.restart (/home/anthony/MagicMirror/modules/EXT-UpdateNotification/components/tools.js:1:365) 0|mm | at Timeout._onTimeout (/home/anthony/MagicMirror/modules/EXT-UpdateNotification/components/update.js:1:1504) 0|mm | at listOnTimeout (node:internal/timers:559:17) 0|mm | at process.processTimers (node:internal/timers:502:7) 0|mm | [29.03.2023 21:51.00.020] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|mm | [29.03.2023 21:51.00.020] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
-
thx, will inspect
-
@Anthony : fixed on v2.0.1
So you have to update it manually with
npm run update
confirm me that update is done,
when done and updated, i will push a fake update for testing (tomorrow) -
@bugsounet You mean I have to update manually the EXT-UpdateNotification? OK. I will do it when I go home from work and I let you know. I also will post the logs for you to check that all updates have been done. Thank you for your time and quick response.
-
ok, I will push update on EXT-Volume (I saw that you use it)
tell me if update process is ok for you