Read the statement by Michael Teeuw here.
Failed Update
-
@sdetweil it goes through the update process successfully, but on the mirror, it still reports that it is 3 updates behind upon reboot
-
@DarkV well then it didn’t do the upgrade
this is a two step process( two links on the page)
test, alert any issues, files might be overwritten, etc
make no changesapply, DO THE UPGRADE
except, if its the same version is already installed.
DON’T DO IT AGAIN…
but if you change the apply parm to force
then it willshow me the ~/MagicMirror/installers/upgrade.log
-
Upgrade started - Sun Oct 2 10:41:43 BST 2022
system is Linux MAGIC-MIRROR 5.15.61-v7l+ #1579 SMP Fri Aug 26 11:13:03 BST 2022 armv7l GNU/Linux
the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye
doing test run = true, NO updates will be applied!
[96mCheck current Node installation …[0m
[0mNode currently installed. Checking version number.
[0mMinimum Node version: [1mv16.9.1[0m
[0mInstalled Node version: [1mv16.17.1[0m
[92mNo Node.js upgrade necessary.[0m
[96mCheck current NPM installation …[0m
[0mNPM currently installed. Checking version number.
[0mMinimum npm version: [1mV7.11.2[0m
[0mInstalled npm version: [1mV8.15.0[0m
[92mNo npm upgrade necessary.[0msaving custom.css
remote name = origin
upgrading from version 2.20.0 to 2.21.0
fetching latest revisions
git fetch rc=0
current branch = master
On branch master
Your branch is behind ‘origin/master’ by 4694 commits, and can be fast-forwarded.
(use “git pull” to update your local branch)Changes not staged for commit:
(use “git add …” to update what will be committed)
(use “git restore …” to discard changes in working directory)
modified: installers/mm.sh
modified: package-lock.jsonUntracked files:
(use “git add …” to include in what will be committed)
0
core
css/save_custom.css
installers/mm_temp.sh
installers/pm2_MagicMirror.json
installers/pm2_MagicMirror_new.json
run-start.shno changes added to commit (use “git add” and/or “git commit -a”)
there are 2 local files that are different than the master repoinstallers/mm.sh
package-lock.jsonsave/restore files selection = y
erasing lock files
Saved working directory and index state WIP on master: 30d5bfe5 Merge pull request #2873 from MichMich/develop
test merge result rc=‘’ , if empty, no conflicts
skipping merge, only test run
Checking for modules with removed libraries
downloading dumpactivemodules scriptprocessing dependency changes for active modules with package.json files
processing for module MMM-Tools please waitskipped processing for MMM-Tools, doing test run
processing complete for module MMM-Tools
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 4694 commits, and can be fast-forwarded.
(use “git pull” to update your local branch)Changes not staged for commit:
(use “git add/rm …” to update what will be committed)
(use “git restore …” to discard changes in working directory)
deleted: fonts/package-lock.json
modified: installers/mm.sh
deleted: package-lock.json
deleted: vendor/package-lock.jsonUntracked files:
(use “git add …” to include in what will be committed)
0
core
installers/mm_temp.sh
installers/pm2_MagicMirror.json
installers/pm2_MagicMirror_new.json
run-start.shno changes added to commit (use “git add” and/or “git commit -a”)
Dropped refs/stash@{0} (0640a953f8283b8d55b598386c17d310f8a75680)
Upgrade ended - Sun Oct 2 10:41:58 BST 2022Upgrade started - Sun Oct 2 10:42:15 BST 2022
system is Linux MAGIC-MIRROR 5.15.61-v7l+ #1579 SMP Fri Aug 26 11:13:03 BST 2022 armv7l GNU/Linux
the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye
user requested to apply changes
doing test run = false
[96mCheck current Node installation …[0m
[0mNode currently installed. Checking version number.
[0mMinimum Node version: [1mv16.9.1[0m
[0mInstalled Node version: [1mv16.17.1[0m
[92mNo Node.js upgrade necessary.[0m
[96mCheck current NPM installation …[0m
[0mNPM currently installed. Checking version number.
[0mMinimum npm version: [1mV7.11.2[0m
[0mInstalled npm version: [1mV8.15.0[0m
[92mNo npm upgrade necessary.[0msaving custom.css
remote name = origin
upgrading from version 2.20.0 to 2.21.0
fetching latest revisions
git fetch rc=0
current branch = master
On branch master
Your branch is behind ‘origin/master’ by 4694 commits, and can be fast-forwarded.
(use “git pull” to update your local branch)Changes not staged for commit:
(use “git add/rm …” to update what will be committed)
(use “git restore …” to discard changes in working directory)
deleted: fonts/package-lock.json
modified: installers/mm.sh
deleted: package-lock.json
deleted: vendor/package-lock.jsonUntracked files:
(use “git add …” to include in what will be committed)
0
core
css/save_custom.css
installers/mm_temp.sh
installers/pm2_MagicMirror.json
installers/pm2_MagicMirror_new.json
run-start.shno changes added to commit (use “git add” and/or “git commit -a”)
there are 1 local files that are different than the master repoinstallers/mm.sh
save/restore files selection = y
erasing lock files
Saved working directory and index state WIP on master: 30d5bfe5 Merge pull request #2873 from MichMich/develop
test merge result rc=‘’ , if empty, no conflicts
executing merge, apply specified
merge result rc= 0
Updating 30d5bfe5…9e029304 Fast-forward .github/ISSUE_TEMPLATE.md
4 ± .github/workflows/automated-tests.yaml
4 ± .github/workflows/codecov-test-suites.yaml
2 ± CHANGELOG.md
100 ± LICENSE.md
2 ± css/main.css
18 ± fonts/package-lock.json
28 ± fonts/package.json
4 ± js/node_helper.js
17 ± modules/default/calendar/README.md
0 modules/default/calendar/calendar.js
21 ± modules/default/calendar/calendarutils.js
37 ± modules/default/calendar/node_helper.js
8 + modules/default/currentweather/currentweather.js
33 - modules/default/defaultmodules.js
2 ± modules/default/newsfeed/newsfeedfetcher.js
13 + modules/default/weather/README.md
2 ± modules/default/weather/current.njk
0 modules/default/weather/providers/README.md
0 modules/default/weather/providers/darksky.js
0 …/default/weather/providers/openweathermap.js
0 modules/default/weather/providers/smhi.js
61 ± modules/default/weather/providers/ukmetoffice.js
0 modules/default/weather/providers/weatherbit.js
26 ± modules/default/weather/providers/weathergov.js
0 modules/default/weather/weatherobject.js
0 modules/default/weatherforecast/weatherforecast.js
33 - package-lock.json
3885 ++++++++++±-------- package.json
38 ± tests/configs/data/calendar_test_recurring.ics
2 ± tests/e2e/env_spec.js
17 ± tests/e2e/global-setup.js
57 ± tests/e2e/modules/alert_spec.js
9 ± tests/e2e/modules/calendar_spec.js
111 ± tests/e2e/modules/clock_es_spec.js
47 ± tests/e2e/modules/clock_spec.js
77 ± tests/e2e/modules/compliments_spec.js
60 ± tests/e2e/modules/helloworld_spec.js
18 ± tests/e2e/modules/newsfeed_spec.js
48 ± tests/e2e/modules/weather_spec.js
225 ± tests/e2e/modules_display_spec.js
10 ± tests/e2e/modules_position_spec.js
9 ± tests/e2e/translations_spec.js
6 ± tests/e2e/without_modules.js
12 ± …/snapshots/updatenotification_spec.js.snap
6 ± translations/en.json
1 - vendor/package-lock.json
42 ± vendor/package.json
6 ± vendor/vendor.js
0 49 files changed, 2858 insertions(+), 2243 deletions(-)
mode change 100755 => 100644 modules/default/calendar/README.md
mode change 100755 => 100644 modules/default/calendar/calendar.js delete mode 100644 modules/default/currentweather/currentweather.js
mode change 100755 => 100644 modules/default/weather/README.md
mode change 100755 => 100644 modules/default/weather/current.njk
mode change 100755 => 100644 modules/default/weather/providers/README.md
mode change 100755 => 100644 modules/default/weather/providers/darksky.js
mode change 100755 => 100644 modules/default/weather/providers/openweathermap.js
mode change 100755 => 100644 modules/default/weather/providers/ukmetoffice.js
mode change 100755 => 100644 modules/default/weather/providers/weathergov.js
mode change 100755 => 100644 modules/default/weather/weatherobject.js delete mode 100644 modules/default/weatherforecast/weatherforecast.js
mode change 100755 => 100644 vendor/package.json
mode change 100755 => 100644 vendor/vendor.js
processor architecture is armv7l
updating MagicMirror runtime, please wait
npm WARN invalid config omit=“dev --no-audit --no-fund --no-update-notifier” set in command line options
npm WARN invalid config Must be one or more of: dev, optional, peermagicmirror@2.21.0 postinstall
npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully!
"magicmirror@2.21.0 install-vendor
echo "Installing vendor files …
" && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifierInstalling vendor files …
changed 3 packages in 9s
magicmirror@2.21.0 install-fonts
echo "Installing fonts …
" && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifierInstalling fonts …
changed 2 packages in 4s
MagicMirror² installation finished successfully!magicmirror@2.21.0 prepare
[ -f node_modules/.bin/husky ] && husky install || echo no husky installed.husky - Git hooks installed
added 455 packages, removed 3 packages, changed 13 packages, and audited 754 packages in 3m
91 packages are looking for funding
runnpm fund
for details3 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --forceRun
npm audit
for details.
npm install completed - Sun Oct 2 10:45:27 BST 2022 on base
fixing sandbox permissions
Checking for modules with removed libraries
downloading dumpactivemodules scriptprocessing dependency changes for active modules with package.json files
processing for module MMM-Tools please waitnpm WARN invalid config omit=“dev --no-audit --no-fund --no-update-notifier” set in command line options
npm WARN invalid config Must be one or more of: dev, optional, peeradded 3 packages, and audited 4 packages in 3s
1 package is looking for funding
runnpm fund
for detailsfound 0 vulnerabilities
processing complete for module MMM-Tools
restoring custom.css
removing git alias
we stashed a set of files that appear changed from the latest repo versions. you should review them
Upgrade ended - Sun Oct 2 10:45:33 BST 2022Upgrade started - Tue Oct 17 12:57:21 BST 2023
system is Linux MAGIC-MIRROR 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
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
[91mA Node process is currently running. Can’t upgrade.
Please quit all Node processes and restart the update.
junior 18317 18316 0 Oct07 0 00:00:00 node ./node_modules/.bin/electron js/electron.jsUpgrade started - Tue Oct 17 12:58:30 BST 2023
system is Linux MAGIC-MIRROR 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
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
[91mA Node process is currently running. Can’t upgrade.
Please quit all Node processes and restart the update.
junior 8378 8377 5 12:58 0 00:00:00 node ./node_modules/.bin/electron js/electron.jsUpgrade started - Tue Oct 17 13:04:45 BST 2023
system is Linux MAGIC-MIRROR 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
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
[91mA Node process is currently running. Can’t upgrade.
Please quit all Node processes and restart the update.
junior 8378 8377 0 12:58 ? 00:00:00 node ./node_modules/.bin/electron js/electron.jsUpgrade started - Sun Oct 22 09:24:16 BST 2023
system is Linux MAGIC-MIRROR 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
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
[91mA Node process is currently running. Can’t upgrade.
Please quit all Node processes and restart the update.
junior 3451 3450 0 Oct17 ? 00:00:00 node ./node_modules/.bin/electron js/electron.jsUpgrade started - Tue Oct 24 11:04:00 BST 2023
system is Linux MAGIC-MIRROR 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
[91mA Node process is currently running. Can’t upgrade.
Please quit all Node processes and restart the update.
junior 3451 3450 0 Oct17 ? 00:00:00 node ./node_modules/.bin/electron js/electron.jsUpgrade started - Tue Oct 24 11:04:44 BST 2023
system is Linux MAGIC-MIRROR 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
user requested to apply changes
the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseyeadded 1 package, and audited 2 packages in 2s
found 0 vulnerabilities
npm notice
npm notice New major version of npm available! 8.19.4 -> 10.2.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.1
npm notice Runnpm install -g npm@10.2.1
to update!
npm notice
installing : node-v20.8.0
mkdir : /usr/local/n/versions/node/20.8.0
fetch : https://nodejs.org/dist/v20.8.0/node-v20.8.0-linux-arm64.tar.xz
copying : node/20.8.0
installed : (with npm 10.1.0)Note: the node command changed location and the old location may be remembered in your current shell.
old : /usr/bin/node
new : /usr/local/bin/node
If “node --version” shows the old version then start a new shell, or reset the location hash with:
hash -r (for bash, zsh, ash, dash, and ksh)
rehash (for csh and tcsh)
doing test run = false
[96mCheck current Node installation …[0m
[0mNode currently installed. Checking version number.
forcing low Node version
[0mMinimum Node version: [1mv20.8.0[0m
[0mInstalled Node version: [1mV1.0.0[0m
[96mNode should be upgraded.[0m
[91mA Node process is currently running. Can’t upgrade.
Please quit all Node processes and restart the update.
junior 3451 3450 0 Oct17 ? 00:00:00 node ./node_modules/.bin/electron js/electron.jsUpgrade started - Tue Oct 24 13:23:22 BST 2023
system is Linux MAGIC-MIRROR 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
user requested to apply changes
the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye
node not installed, trying via apt-get
Reading package lists… Building dependency tree… Reading state information… nodejs is already the newest version (16.20.2-deb-1nodesource1). The following packages were automatically installed and are no longer required: libfuse2 raspinfo Use ‘sudo apt autoremove’ to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
npm not installed, trying via apt-get
doing test run = false
[96mCheck current Node installation …[0m
[0mNode currently installed. Checking version number.
forcing low Node version
[0mMinimum Node version: [1mv20.8.0[0m
[0mInstalled Node version: [1mV1.0.0[0m
[96mNode should be upgraded.[0m
[96mInstalling Node.js …[90m
Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:3 https://deb.nodesource.com/node_10.x bullseye InRelease
Reading package lists…
Node release info = ================================================================================ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ================================================================================ SCRIPT DEPRECATION WARNING This script, located at https://deb.nodesource.com/setup_X, used to install Node.js is deprecated now and will eventually be made inactive. Please visit the NodeSource distributions Github and follow the instructions to migrate your repo. https://github.com/nodesource/distributions The NodeSource Node.js Linux distributions GitHub repository contains information about which versions of Node.js and which Linux distributions are supported and how to install it. https://github.com/nodesource/distributions SCRIPT DEPRECATION WARNING ================================================================================ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ================================================================================ TO AVOID THIS WAIT MIGRATE THE SCRIPT Continuing in 60 seconds (press Ctrl-C to abort) … ## Installing the NodeSource Node.js 20.x repo… ## Populating apt-get cache… + apt-get update Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Hit:3 https://deb.nodesource.com/node_10.x bullseye InRelease Reading package lists… ## Confirming “bullseye” is supported… + curl -sLf -o /dev/null ‘https://deb.nodesource.com/node_20.x/dists/bullseye/Release’ ## Adding the NodeSource signing key to your keyring… + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null ## Creating apt sources list file for the NodeSource Node.js 20.x repo… + echo ‘deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x bullseye main’ > /etc/apt/sources.list.d/nodesource.list + echo ‘deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x bullseye main’ >> /etc/apt/sources.list.d/nodesource.list ## Runningapt-get update
for you… + apt-get update Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Get:3 https://deb.nodesource.com/node_20.x bullseye InRelease [4,586 B] Get:4 https://deb.nodesource.com/node_20.x bullseye/main armhf Packages [783 B] Fetched 5,369 B in 1s (4,513 B/s) Reading package lists… ## Runsudo apt-get install -y nodejs
to install Node.js 20.x and npm ## You may also need development tools to build native addons: sudo apt-get install gcc g++ make ## To install the Yarn package manager, run: curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null echo “deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main” | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update && sudo apt-get install yarn
[92mNode.js installation Done! version=[0m
pm2 installed, checking version 5.2.0 vs 5.3.0
pm2 same major version, so updatingadded 4 packages, removed 30 packages, and changed 153 packages in 18s
13 packages are looking for funding
runnpm fund
for details
Be sure to have the latest version by doingnpm install pm2@latest -g
before doing this procedure.In-memory PM2 is out-of-date, do:
$ pm2 update
In memory PM2 version: 5.2.0
Local PM2 version: 5.3.0-------------
██████╗ ███╗ ███╗██████╗ ██╗ ██╗ ██████╗
██╔══██╗████╗ ████║╚════██╗ ██║ ██╔╝██╔═══██╗
██████╔╝██╔████╔██║ █████╔╝ ██║ ██╔╝ ██║ ██║
██╔═══╝ ██║╚██╔╝██║██╔═══╝ ██║ ██╔╝ ██║ ██║
██║ ██║ ╚═╝ ██║███████╗ ██║██╔╝ ╚██████╔╝
╚═╝ ╚═╝ ╚═╝╚══════╝ ╚═╝╚═╝ ╚═════╝https://pm2.io/ Harden your Node.js Production Environment - Real-time Monitoring Web Interface - Pro Active Alerting System - Production Profiling for Memory and CPU - PM2 Runtime High Availability Fallback Start using it by typing: $ pm2 plus -------------
[PM2] Applying action deleteProcessId on app [all](ids: [ 0 ])
[PM2] MagicMirror ✓
[PM2] [v] All Applications Stopped
[PM2] [v] PM2 Daemon Stopped
[PM2] Spawning PM2 daemon with pm2_home=/home/junior/.pm2
[PM2] Restoring processes located in /home/junior/.pm2/dump.pm2
[PM2] Process /home/junior/MagicMirror/installers/mm.sh restoredPM2 updated
Upgrade started - Tue Oct 24 13:56:39 BST 2023
system is Linux MAGIC-MIRROR 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
node not installed, trying via apt-get
node not installed, doing test run, install skipped
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.
forcing low Node version
[0mMinimum Node version: [1mv20.8.0[0m
[0mInstalled Node version: [1mV1.0.0[0m
[96mNode should be upgraded.[0m
[91mA Node process is currently running. Can’t upgrade.
Please quit all Node processes and restart the update.
junior 1519 1518 0 13:37 ? 00:00:00 node ./node_modules/.bin/electron js/electron.jsUpgrade started - Tue Oct 24 13:57:20 BST 2023
system is Linux MAGIC-MIRROR 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
node not installed, trying via apt-get
node not installed, doing test run, install skipped
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.
forcing low Node version
[0mMinimum Node version: [1mv20.8.0[0m
[0mInstalled Node version: [1mV1.0.0[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: [1mV10.1.0[0m
[92mNo npm upgrade necessary.[0msaving custom.css
remote name = origin
upgrading from version 2.22.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 3 commits, and can be fast-forwarded.
(use “git pull” to update your local branch)Changes not staged for commit:
(use “git add …” to update what will be committed)
(use “git restore …” to discard changes in working directory)
modified: installers/mm.shUntracked files:
(use “git add …” to include in what will be committed)
0
core
css/save_custom.css
installers/mm_temp.sh
installers/pm2_MagicMirror.json
installers/pm2_MagicMirror_new.json
installers/stashed_files
run-start.shno changes added to commit (use “git add” and/or “git commit -a”)
there are 1 local files that are different than the master repoinstallers/mm.sh
save/restore files selection = y
erasing lock files
Saved working directory and index state WIP on master: f14e9561 Create Thai Language file (#3028)
test merge result rc=‘’ , if empty, no conflicts
skipping merge, only test run
Checking for modules with removed libraries
downloading dumpactivemodules script
no modules found needing npm refresh
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 3 commits, and can be fast-forwarded.
(use “git pull” to update your local branch)Changes not staged for commit:
(use “git add/rm …” to update what will be committed)
(use “git restore …” to discard changes in working directory)
deleted: fonts/package-lock.json
modified: installers/mm.sh
deleted: package-lock.json
deleted: vendor/package-lock.jsonUntracked files:
(use “git add …” to include in what will be committed)
0
core
installers/mm_temp.sh
installers/pm2_MagicMirror.json
installers/pm2_MagicMirror_new.json
installers/stashed_files
run-start.shno changes added to commit (use “git add” and/or “git commit -a”)
Dropped refs/stash@{0} (c813d55595387ff98151af075aa3d1f202d8f8c3)
Upgrade ended - Tue Oct 24 13:57:34 BST 2023Upgrade started - Tue Oct 24 13:57:52 BST 2023
system is Linux MAGIC-MIRROR 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
user requested to apply changes
the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye
node not installed, trying via apt-get
Reading package lists… Building dependency tree… Reading state information… nodejs is already the newest version (20.5.1-deb-1nodesource1). The following packages were automatically installed and are no longer required: libfuse2 raspinfo Use ‘sudo apt autoremove’ to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
npm not installed, trying via apt-get
doing test run = false
[96mCheck current Node installation …[0m
[0mNode currently installed. Checking version number.
forcing low Node version
[0mMinimum Node version: [1mv20.8.0[0m
[0mInstalled Node version: [1mV1.0.0[0m
[96mNode should be upgraded.[0m
[96mInstalling Node.js …[90m
Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:3 https://deb.nodesource.com/node_20.x bullseye InRelease
Reading package lists…
Node release info = ================================================================================ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ================================================================================ SCRIPT DEPRECATION WARNING This script, located at https://deb.nodesource.com/setup_X, used to install Node.js is deprecated now and will eventually be made inactive. Please visit the NodeSource distributions Github and follow the instructions to migrate your repo. https://github.com/nodesource/distributions The NodeSource Node.js Linux distributions GitHub repository contains information about which versions of Node.js and which Linux distributions are supported and how to install it. https://github.com/nodesource/distributions SCRIPT DEPRECATION WARNING ================================================================================ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ================================================================================ TO AVOID THIS WAIT MIGRATE THE SCRIPT Continuing in 60 seconds (press Ctrl-C to abort) … ## Installing the NodeSource Node.js 20.x repo… ## Populating apt-get cache… + apt-get update Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Hit:3 https://deb.nodesource.com/node_20.x bullseye InRelease Reading package lists… ## Confirming “bullseye” is supported… + curl -sLf -o /dev/null ‘https://deb.nodesource.com/node_20.x/dists/bullseye/Release’ ## Adding the NodeSource signing key to your keyring… + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null ## Creating apt sources list file for the NodeSource Node.js 20.x repo… + echo ‘deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x bullseye main’ > /etc/apt/sources.list.d/nodesource.list + echo ‘deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x bullseye main’ >> /etc/apt/sources.list.d/nodesource.list ## Runningapt-get update
for you… + apt-get update Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:3 https://deb.nodesource.com/node_20.x bullseye InRelease Reading package lists… ## Runsudo apt-get install -y nodejs
to install Node.js 20.x and npm ## You may also need development tools to build native addons: sudo apt-get install gcc g++ make ## To install the Yarn package manager, run: curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null echo “deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main” | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update && sudo apt-get install yarn
[92mNode.js installation Done! version=[0m
pm2 installed, checking version 5.3.0 vs 5.3.0
pm2 same major version, so updatingchanged 157 packages in 15s
13 packages are looking for funding
runnpm fund
for details
Be sure to have the latest version by doingnpm install pm2@latest -g
before doing this procedure.
[PM2] Applying action deleteProcessId on app [all](ids: [ 0 ])
[PM2] MagicMirror ✓
[PM2] [v] All Applications Stopped
[PM2] [v] PM2 Daemon Stopped
[PM2] Spawning PM2 daemon with pm2_home=/home/junior/.pm2
[PM2] Restoring processes located in /home/junior/.pm2/dump.pm2
[PM2] Process /home/junior/MagicMirror/installers/mm.sh restoredPM2 updated
-
Upgrade started - Sun Oct 2 10:41:43 BST 2022
system is Linux MAGIC-MIRROR 5.15.61-v7l+ #1579 SMP Fri Aug 26 11:13:03 BST 2022 armv7l GNU/Linux
the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye
doing test run = true, NO updates will be applied!
[96mCheck current Node installation …[0m
[0mNode currently installed. Checking version number.
[0mMinimum Node version: [1mv16.9.1[0m
[0mInstalled Node version: [1mv16.17.1[0m
[92mNo Node.js upgrade necessary.[0m
[96mCheck current NPM installation …[0m
[0mNPM currently installed. Checking version number.
[0mMinimum npm version: [1mV7.11.2[0m
[0mInstalled npm version: [1mV8.15.0[0m
[92mNo npm upgrade necessary.[0msaving custom.css
remote name = origin
upgrading from version 2.20.0 to 2.21.0
fetching latest revisions
git fetch rc=0
current branch = master
On branch master
Your branch is behind ‘origin/master’ by 4694 commits, and can be fast-forwarded.
(use “git pull” to update your local branch)Changes not staged for commit:
(use “git add …” to update what will be committed)
(use “git restore …” to discard changes in working directory)
modified: installers/mm.sh
modified: package-lock.jsonUntracked files:
(use “git add …” to include in what will be committed)
0
core
css/save_custom.css
installers/mm_temp.sh
installers/pm2_MagicMirror.json
installers/pm2_MagicMirror_new.json
run-start.shno changes added to commit (use “git add” and/or “git commit -a”)
there are 2 local files that are different than the master repoinstallers/mm.sh
package-lock.jsonsave/restore files selection = y
erasing lock files
Saved working directory and index state WIP on master: 30d5bfe5 Merge pull request #2873 from MichMich/develop
test merge result rc=‘’ , if empty, no conflicts
skipping merge, only test run
Checking for modules with removed libraries
downloading dumpactivemodules scriptprocessing dependency changes for active modules with package.json files
processing for module MMM-Tools please waitskipped processing for MMM-Tools, doing test run
processing complete for module MMM-Tools
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 4694 commits, and can be fast-forwarded.
(use “git pull” to update your local branch)Changes not staged for commit:
(use “git add/rm …” to update what will be committed)
(use “git restore …” to discard changes in working directory)
deleted: fonts/package-lock.json
modified: installers/mm.sh
deleted: package-lock.json
deleted: vendor/package-lock.jsonUntracked files:
(use “git add …” to include in what will be committed)
0
core
installers/mm_temp.sh
installers/pm2_MagicMirror.json
installers/pm2_MagicMirror_new.json
run-start.shno changes added to commit (use “git add” and/or “git commit -a”)
Dropped refs/stash@{0} (0640a953f8283b8d55b598386c17d310f8a75680)
Upgrade ended - Sun Oct 2 10:41:58 BST 2022Upgrade started - Sun Oct 2 10:42:15 BST 2022
system is Linux MAGIC-MIRROR 5.15.61-v7l+ #1579 SMP Fri Aug 26 11:13:03 BST 2022 armv7l GNU/Linux
the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye
user requested to apply changes
doing test run = false
[96mCheck current Node installation …[0m
[0mNode currently installed. Checking version number.
[0mMinimum Node version: [1mv16.9.1[0m
[0mInstalled Node version: [1mv16.17.1[0m
[92mNo Node.js upgrade necessary.[0m
[96mCheck current NPM installation …[0m
[0mNPM currently installed. Checking version number.
[0mMinimum npm version: [1mV7.11.2[0m
[0mInstalled npm version: [1mV8.15.0[0m
[92mNo npm upgrade necessary.[0msaving custom.css
remote name = origin
upgrading from version 2.20.0 to 2.21.0
fetching latest revisions
git fetch rc=0
current branch = master
On branch master
Your branch is behind ‘origin/master’ by 4694 commits, and can be fast-forwarded.
(use “git pull” to update your local branch)Changes not staged for commit:
(use “git add/rm …” to update what will be committed)
(use “git restore …” to discard changes in working directory)
deleted: fonts/package-lock.json
modified: installers/mm.sh
deleted: package-lock.json
deleted: vendor/package-lock.jsonUntracked files:
(use “git add …” to include in what will be committed)
0
core
css/save_custom.css
installers/mm_temp.sh
installers/pm2_MagicMirror.json
installers/pm2_MagicMirror_new.json
run-start.shno changes added to commit (use “git add” and/or “git commit -a”)
there are 1 local files that are different than the master repoinstallers/mm.sh
save/restore files selection = y
erasing lock files
Saved working directory and index state WIP on master: 30d5bfe5 Merge pull request #2873 from MichMich/develop
test merge result rc=‘’ , if empty, no conflicts
executing merge, apply specified
merge result rc= 0
Updating 30d5bfe5…9e029304 Fast-forward .github/ISSUE_TEMPLATE.md
4 ± .github/workflows/automated-tests.yaml
4 ± .github/workflows/codecov-test-suites.yaml
2 ± CHANGELOG.md
100 ± LICENSE.md
2 ± css/main.css
18 ± fonts/package-lock.json
28 ± fonts/package.json
4 ± js/node_helper.js
17 ± modules/default/calendar/README.md
0 modules/default/calendar/calendar.js
21 ± modules/default/calendar/calendarutils.js
37 ± modules/default/calendar/node_helper.js
8 + modules/default/currentweather/currentweather.js
33 - modules/default/defaultmodules.js
2 ± modules/default/newsfeed/newsfeedfetcher.js
13 + modules/default/weather/README.md
2 ± modules/default/weather/current.njk
0 modules/default/weather/providers/README.md
0 modules/default/weather/providers/darksky.js
0 …/default/weather/providers/openweathermap.js
0 modules/default/weather/providers/smhi.js
61 ± modules/default/weather/providers/ukmetoffice.js
0 modules/default/weather/providers/weatherbit.js
26 ± modules/default/weather/providers/weathergov.js
0 modules/default/weather/weatherobject.js
0 modules/default/weatherforecast/weatherforecast.js
33 - package-lock.json
3885 ++++++++++±-------- package.json
38 ± tests/configs/data/calendar_test_recurring.ics
2 ± tests/e2e/env_spec.js
17 ± tests/e2e/global-setup.js
57 ± tests/e2e/modules/alert_spec.js
9 ± tests/e2e/modules/calendar_spec.js
111 ± tests/e2e/modules/clock_es_spec.js
47 ± tests/e2e/modules/clock_spec.js
77 ± tests/e2e/modules/compliments_spec.js
60 ± tests/e2e/modules/helloworld_spec.js
18 ± tests/e2e/modules/newsfeed_spec.js
48 ± tests/e2e/modules/weather_spec.js
225 ± tests/e2e/modules_display_spec.js
10 ± tests/e2e/modules_position_spec.js
9 ± tests/e2e/translations_spec.js
6 ± tests/e2e/without_modules.js
12 ± …/snapshots/updatenotification_spec.js.snap
6 ± translations/en.json
1 - vendor/package-lock.json
42 ± vendor/package.json
6 ± vendor/vendor.js
0 49 files changed, 2858 insertions(+), 2243 deletions(-)
mode change 100755 => 100644 modules/default/calendar/README.md
mode change 100755 => 100644 modules/default/calendar/calendar.js delete mode 100644 modules/default/currentweather/currentweather.js
mode change 100755 => 100644 modules/default/weather/README.md
mode change 100755 => 100644 modules/default/weather/current.njk
mode change 100755 => 100644 modules/default/weather/providers/README.md
mode change 100755 => 100644 modules/default/weather/providers/darksky.js
mode change 100755 => 100644 modules/default/weather/providers/openweathermap.js
mode change 100755 => 100644 modules/default/weather/providers/ukmetoffice.js
mode change 100755 => 100644 modules/default/weather/providers/weathergov.js
mode change 100755 => 100644 modules/default/weather/weatherobject.js delete mode 100644 modules/default/weatherforecast/weatherforecast.js
mode change 100755 => 100644 vendor/package.json
mode change 100755 => 100644 vendor/vendor.js
processor architecture is armv7l
updating MagicMirror runtime, please wait
npm WARN invalid config omit=“dev --no-audit --no-fund --no-update-notifier” set in command line options
npm WARN invalid config Must be one or more of: dev, optional, peermagicmirror@2.21.0 postinstall
npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully!
"magicmirror@2.21.0 install-vendor
echo "Installing vendor files …
" && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifierInstalling vendor files …
changed 3 packages in 9s
magicmirror@2.21.0 install-fonts
echo "Installing fonts …
" && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifierInstalling fonts …
changed 2 packages in 4s
MagicMirror² installation finished successfully!magicmirror@2.21.0 prepare
[ -f node_modules/.bin/husky ] && husky install || echo no husky installed.husky - Git hooks installed
added 455 packages, removed 3 packages, changed 13 packages, and audited 754 packages in 3m
91 packages are looking for funding
runnpm fund
for details3 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --forceRun
npm audit
for details.
npm install completed - Sun Oct 2 10:45:27 BST 2022 on base
fixing sandbox permissions
Checking for modules with removed libraries
downloading dumpactivemodules scriptprocessing dependency changes for active modules with package.json files
processing for module MMM-Tools please waitnpm WARN invalid config omit=“dev --no-audit --no-fund --no-update-notifier” set in command line options
npm WARN invalid config Must be one or more of: dev, optional, peeradded 3 packages, and audited 4 packages in 3s
1 package is looking for funding
runnpm fund
for detailsfound 0 vulnerabilities
processing complete for module MMM-Tools
restoring custom.css
removing git alias
we stashed a set of files that appear changed from the latest repo versions. you should review them
Upgrade ended - Sun Oct 2 10:45:33 BST 2022Upgrade started - Tue Oct 17 12:57:21 BST 2023
system is Linux MAGIC-MIRROR 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
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
[91mA Node process is currently running. Can’t upgrade.
Please quit all Node processes and restart the update.
junior 18317 18316 0 Oct07 0 00:00:00 node ./node_modules/.bin/electron js/electron.jsUpgrade started - Tue Oct 17 12:58:30 BST 2023
system is Linux MAGIC-MIRROR 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
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
[91mA Node process is currently running. Can’t upgrade.
Please quit all Node processes and restart the update.
junior 8378 8377 5 12:58 0 00:00:00 node ./node_modules/.bin/electron js/electron.jsUpgrade started - Tue Oct 17 13:04:45 BST 2023
system is Linux MAGIC-MIRROR 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
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
[91mA Node process is currently running. Can’t upgrade.
Please quit all Node processes and restart the update.
junior 8378 8377 0 12:58 ? 00:00:00 node ./node_modules/.bin/electron js/electron.jsUpgrade started - Sun Oct 22 09:24:16 BST 2023
system is Linux MAGIC-MIRROR 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
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
[91mA Node process is currently running. Can’t upgrade.
Please quit all Node processes and restart the update.
junior 3451 3450 0 Oct17 ? 00:00:00 node ./node_modules/.bin/electron js/electron.jsUpgrade started - Tue Oct 24 11:04:00 BST 2023
system is Linux MAGIC-MIRROR 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
[91mA Node process is currently running. Can’t upgrade.
Please quit all Node processes and restart the update.
junior 3451 3450 0 Oct17 ? 00:00:00 node ./node_modules/.bin/electron js/electron.jsUpgrade started - Tue Oct 24 11:04:44 BST 2023
system is Linux MAGIC-MIRROR 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
user requested to apply changes
the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseyeadded 1 package, and audited 2 packages in 2s
found 0 vulnerabilities
npm notice
npm notice New major version of npm available! 8.19.4 -> 10.2.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.1
npm notice Runnpm install -g npm@10.2.1
to update!
npm notice
installing : node-v20.8.0
mkdir : /usr/local/n/versions/node/20.8.0
fetch : https://nodejs.org/dist/v20.8.0/node-v20.8.0-linux-arm64.tar.xz
copying : node/20.8.0
installed : (with npm 10.1.0)Note: the node command changed location and the old location may be remembered in your current shell.
old : /usr/bin/node
new : /usr/local/bin/node
If “node --version” shows the old version then start a new shell, or reset the location hash with:
hash -r (for bash, zsh, ash, dash, and ksh)
rehash (for csh and tcsh)
doing test run = false
[96mCheck current Node installation …[0m
[0mNode currently installed. Checking version number.
forcing low Node version
[0mMinimum Node version: [1mv20.8.0[0m
[0mInstalled Node version: [1mV1.0.0[0m
[96mNode should be upgraded.[0m
[91mA Node process is currently running. Can’t upgrade.
Please quit all Node processes and restart the update.
junior 3451 3450 0 Oct17 ? 00:00:00 node ./node_modules/.bin/electron js/electron.jsUpgrade started - Tue Oct 24 13:23:22 BST 2023
system is Linux MAGIC-MIRROR 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
user requested to apply changes
the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye
node not installed, trying via apt-get
Reading package lists… Building dependency tree… Reading state information… nodejs is already the newest version (16.20.2-deb-1nodesource1). The following packages were automatically installed and are no longer required: libfuse2 raspinfo Use ‘sudo apt autoremove’ to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
npm not installed, trying via apt-get
doing test run = false
[96mCheck current Node installation …[0m
[0mNode currently installed. Checking version number.
forcing low Node version
[0mMinimum Node version: [1mv20.8.0[0m
[0mInstalled Node version: [1mV1.0.0[0m
[96mNode should be upgraded.[0m
[96mInstalling Node.js …[90m
Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:3 https://deb.nodesource.com/node_10.x bullseye InRelease
Reading package lists…
Node release info = ================================================================================ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ================================================================================ SCRIPT DEPRECATION WARNING This script, located at https://deb.nodesource.com/setup_X, used to install Node.js is deprecated now and will eventually be made inactive. Please visit the NodeSource distributions Github and follow the instructions to migrate your repo. https://github.com/nodesource/distributions The NodeSource Node.js Linux distributions GitHub repository contains information about which versions of Node.js and which Linux distributions are supported and how to install it. https://github.com/nodesource/distributions SCRIPT DEPRECATION WARNING ================================================================================ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ================================================================================ TO AVOID THIS WAIT MIGRATE THE SCRIPT Continuing in 60 seconds (press Ctrl-C to abort) … ## Installing the NodeSource Node.js 20.x repo… ## Populating apt-get cache… + apt-get update Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Hit:3 https://deb.nodesource.com/node_10.x bullseye InRelease Reading package lists… ## Confirming “bullseye” is supported… + curl -sLf -o /dev/null ‘https://deb.nodesource.com/node_20.x/dists/bullseye/Release’ ## Adding the NodeSource signing key to your keyring… + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null ## Creating apt sources list file for the NodeSource Node.js 20.x repo… + echo ‘deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x bullseye main’ > /etc/apt/sources.list.d/nodesource.list + echo ‘deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x bullseye main’ >> /etc/apt/sources.list.d/nodesource.list ## Runningapt-get update
for you… + apt-get update Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Get:3 https://deb.nodesource.com/node_20.x bullseye InRelease [4,586 B] Get:4 https://deb.nodesource.com/node_20.x bullseye/main armhf Packages [783 B] Fetched 5,369 B in 1s (4,513 B/s) Reading package lists… ## Runsudo apt-get install -y nodejs
to install Node.js 20.x and npm ## You may also need development tools to build native addons: sudo apt-get install gcc g++ make ## To install the Yarn package manager, run: curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null echo “deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main” | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update && sudo apt-get install yarn
[92mNode.js installation Done! version=[0m
pm2 installed, checking version 5.2.0 vs 5.3.0
pm2 same major version, so updatingadded 4 packages, removed 30 packages, and changed 153 packages in 18s
13 packages are looking for funding
runnpm fund
for details
Be sure to have the latest version by doingnpm install pm2@latest -g
before doing this procedure.In-memory PM2 is out-of-date, do:
$ pm2 update
In memory PM2 version: 5.2.0
Local PM2 version: 5.3.0-------------
██████╗ ███╗ ███╗██████╗ ██╗ ██╗ ██████╗
██╔══██╗████╗ ████║╚════██╗ ██║ ██╔╝██╔═══██╗
██████╔╝██╔████╔██║ █████╔╝ ██║ ██╔╝ ██║ ██║
██╔═══╝ ██║╚██╔╝██║██╔═══╝ ██║ ██╔╝ ██║ ██║
██║ ██║ ╚═╝ ██║███████╗ ██║██╔╝ ╚██████╔╝
╚═╝ ╚═╝ ╚═╝╚══════╝ ╚═╝╚═╝ ╚═════╝https://pm2.io/ Harden your Node.js Production Environment - Real-time Monitoring Web Interface - Pro Active Alerting System - Production Profiling for Memory and CPU - PM2 Runtime High Availability Fallback Start using it by typing: $ pm2 plus -------------
[PM2] Applying action deleteProcessId on app [all](ids: [ 0 ])
[PM2] MagicMirror ✓
[PM2] [v] All Applications Stopped
[PM2] [v] PM2 Daemon Stopped
[PM2] Spawning PM2 daemon with pm2_home=/home/junior/.pm2
[PM2] Restoring processes located in /home/junior/.pm2/dump.pm2
[PM2] Process /home/junior/MagicMirror/installers/mm.sh restoredPM2 updated
Upgrade started - Tue Oct 24 13:56:39 BST 2023
system is Linux MAGIC-MIRROR 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
node not installed, trying via apt-get
node not installed, doing test run, install skipped
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.
forcing low Node version
[0mMinimum Node version: [1mv20.8.0[0m
[0mInstalled Node version: [1mV1.0.0[0m
[96mNode should be upgraded.[0m
[91mA Node process is currently running. Can’t upgrade.
Please quit all Node processes and restart the update.
junior 1519 1518 0 13:37 ? 00:00:00 node ./node_modules/.bin/electron js/electron.jsUpgrade started - Tue Oct 24 13:57:20 BST 2023
system is Linux MAGIC-MIRROR 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
node not installed, trying via apt-get
node not installed, doing test run, install skipped
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.
forcing low Node version
[0mMinimum Node version: [1mv20.8.0[0m
[0mInstalled Node version: [1mV1.0.0[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: [1mV10.1.0[0m
[92mNo npm upgrade necessary.[0msaving custom.css
remote name = origin
upgrading from version 2.22.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 3 commits, and can be fast-forwarded.
(use “git pull” to update your local branch)Changes not staged for commit:
(use “git add …” to update what will be committed)
(use “git restore …” to discard changes in working directory)
modified: installers/mm.shUntracked files:
(use “git add …” to include in what will be committed)
0
core
css/save_custom.css
installers/mm_temp.sh
installers/pm2_MagicMirror.json
installers/pm2_MagicMirror_new.json
installers/stashed_files
run-start.shno changes added to commit (use “git add” and/or “git commit -a”)
there are 1 local files that are different than the master repoinstallers/mm.sh
save/restore files selection = y
erasing lock files
Saved working directory and index state WIP on master: f14e9561 Create Thai Language file (#3028)
test merge result rc=‘’ , if empty, no conflicts
skipping merge, only test run
Checking for modules with removed libraries
downloading dumpactivemodules script
no modules found needing npm refresh
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 3 commits, and can be fast-forwarded.
(use “git pull” to update your local branch)Changes not staged for commit:
(use “git add/rm …” to update what will be committed)
(use “git restore …” to discard changes in working directory)
deleted: fonts/package-lock.json
modified: installers/mm.sh
deleted: package-lock.json
deleted: vendor/package-lock.jsonUntracked files:
(use “git add …” to include in what will be committed)
0
core
installers/mm_temp.sh
installers/pm2_MagicMirror.json
installers/pm2_MagicMirror_new.json
installers/stashed_files
run-start.shno changes added to commit (use “git add” and/or “git commit -a”)
Dropped refs/stash@{0} (c813d55595387ff98151af075aa3d1f202d8f8c3)
Upgrade ended - Tue Oct 24 13:57:34 BST 2023Upgrade started - Tue Oct 24 13:57:52 BST 2023
system is Linux MAGIC-MIRROR 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
user requested to apply changes
the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye
node not installed, trying via apt-get
Reading package lists… Building dependency tree… Reading state information… nodejs is already the newest version (20.5.1-deb-1nodesource1). The following packages were automatically installed and are no longer required: libfuse2 raspinfo Use ‘sudo apt autoremove’ to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
npm not installed, trying via apt-get
doing test run = false
[96mCheck current Node installation …[0m
[0mNode currently installed. Checking version number.
forcing low Node version
[0mMinimum Node version: [1mv20.8.0[0m
[0mInstalled Node version: [1mV1.0.0[0m
[96mNode should be upgraded.[0m
[96mInstalling Node.js …[90m
Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:3 https://deb.nodesource.com/node_20.x bullseye InRelease
Reading package lists…
Node release info = ================================================================================ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ================================================================================ SCRIPT DEPRECATION WARNING This script, located at https://deb.nodesource.com/setup_X, used to install Node.js is deprecated now and will eventually be made inactive. Please visit the NodeSource distributions Github and follow the instructions to migrate your repo. https://github.com/nodesource/distributions The NodeSource Node.js Linux distributions GitHub repository contains information about which versions of Node.js and which Linux distributions are supported and how to install it. https://github.com/nodesource/distributions SCRIPT DEPRECATION WARNING ================================================================================ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ================================================================================ TO AVOID THIS WAIT MIGRATE THE SCRIPT Continuing in 60 seconds (press Ctrl-C to abort) … ## Installing the NodeSource Node.js 20.x repo… ## Populating apt-get cache… + apt-get update Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Hit:3 https://deb.nodesource.com/node_20.x bullseye InRelease Reading package lists… ## Confirming “bullseye” is supported… + curl -sLf -o /dev/null ‘https://deb.nodesource.com/node_20.x/dists/bullseye/Release’ ## Adding the NodeSource signing key to your keyring… + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null ## Creating apt sources list file for the NodeSource Node.js 20.x repo… + echo ‘deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x bullseye main’ > /etc/apt/sources.list.d/nodesource.list + echo ‘deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x bullseye main’ >> /etc/apt/sources.list.d/nodesource.list ## Runningapt-get update
for you… + apt-get update Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:3 https://deb.nodesource.com/node_20.x bullseye InRelease Reading package lists… ## Runsudo apt-get install -y nodejs
to install Node.js 20.x and npm ## You may also need development tools to build native addons: sudo apt-get install gcc g++ make ## To install the Yarn package manager, run: curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null echo “deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main” | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update && sudo apt-get install yarn
[92mNode.js installation Done! version=[0m
pm2 installed, checking version 5.3.0 vs 5.3.0
pm2 same major version, so updatingchanged 157 packages in 15s
13 packages are looking for funding
runnpm fund
for details
Be sure to have the latest version by doingnpm install pm2@latest -g
before doing this procedure.
[PM2] Applying action deleteProcessId on app [all](ids: [ 0 ])
[PM2] MagicMirror ✓
[PM2] [v] All Applications Stopped
[PM2] [v] PM2 Daemon Stopped
[PM2] Spawning PM2 daemon with pm2_home=/home/junior/.pm2
[PM2] Restoring processes located in /home/junior/.pm2/dump.pm2
[PM2] Process /home/junior/MagicMirror/installers/mm.sh restoredPM2 updated
-
@DarkV said in Failed Update:
/gpgkey/nodesource.gpg.key | gpg --dearmor
that is not in my repo currently
did you git clone the MagicMirror_scripts repo and are executing from the clone??
don’t do that… execute by copy/paste the lines on the github page
-
@DarkV has node 20.5.1
that is the bad version
sudo apt-get remove nodejs npm -y
rename the log file out of the way. we don’t need info from Oct 2 now
new log will be created
-
@sdetweil Processing triggers for man-db (2.9.4-2) …
junior@MAGIC-MIRROR:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”doing test run = true, NO updates will be applied!
update log will be in /home/junior/MagicMirror/installers/upgrade.log
Check current Node installation …
Node currently installed. Checking version number.
bash: line 209: /usr/local/bin/node: No such file or directory
Minimum Node version: v20.8.0
Installed Node version: V1.0.0
Node should be upgraded.
/usr/bin/env: ‘node’: No such file or directory
junior@MAGIC-MIRROR:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)” applyapply: line 176: /usr/local/bin/node: No such file or directory
doing test run = false
update log will be in /home/junior/MagicMirror/installers/upgrade.log
Check current Node installation …
Node currently installed. Checking version number.
apply: line 209: /usr/local/bin/node: No such file or directory
Minimum Node version: v20.8.0
Installed Node version: V1.0.0
Node should be upgraded.
MagicMirror running under control of PM2, stopping
junior@MAGIC-MIRROR:~ $
junior@MAGIC-MIRROR:~ $ -
@DarkV show me the ~/MagicMirror/installers/upgrade.log
looks like this is a hybrid os… 64 bit kernel and 32 bit runtime… and the wrong architecture node was installed
so, again do this,
hash -r sudo apt-get remove nodejs npm -y hash -r node -v
should get not found
then dowhich node
show the results, nothing means not found
if there is a result do
node -v -
@sdetweil Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Package ‘npm’ is not installed, so not removed
The following packages were automatically installed and are no longer required:
libfuse2 raspinfo
Use ‘sudo apt autoremove’ to remove them.
The following packages will be REMOVED:
nodejs
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 183 MB disk space will be freed.
(Reading database … 108415 files and directories currently installed.)
Removing nodejs (20.5.1-deb-1nodesource1) …
dpkg: warning: while removing nodejs, directory ‘/usr/lib/node_modules’ not empty so not removed
Processing triggers for man-db (2.9.4-2) …
junior@MAGIC-MIRROR:~ $ hash -r
junior@MAGIC-MIRROR:~ $ node -v
-bash: /usr/local/bin/node: No such file or directory
junior@MAGIC-MIRROR:~ $ which node
/usr/local/bin/node
junior@MAGIC-MIRROR:~ $ node -v
-bash: /usr/local/bin/node: No such file or directory
junior@MAGIC-MIRROR:~ $ -
@DarkV oh such joy
sudo n ls sudo n prune sudo n uninstall hash -r which node ``