@sdetweil Ok, I installed and executed your update script
pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
point-rpi
Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
Die folgenden Pakete werden ENTFERNT:
nodejs*
0 aktualisiert, 0 neu installiert, 1 zu entfernen und 439 nicht aktualisiert.
Nach dieser Operation werden 177 MB Plattenplatz freigegeben.
(Lese Datenbank ... 99530 Dateien und Verzeichnisse sind derzeit installiert.)
Entfernen von nodejs (18.18.0-1nodesource1) ...
dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules« nicht leer, wird daher nicht gelöscht
Trigger für man-db (2.8.5-2) werden verarbeitet ...
OK:1 http://archive.raspberrypi.org/debian buster InRelease
OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Paketlisten werden gelesen... Fertig
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
ca-certificates ist schon die neueste Version (20200601~deb10u2).
curl ist schon die neueste Version (7.64.0-4+deb10u6).
gnupg ist schon die neueste Version (2.2.12-1+rpi1+deb10u1).
Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
point-rpi
Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 439 nicht aktualisiert.
deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
OK:1 http://archive.raspberrypi.org/debian buster InRelease
OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Holen:3 https://deb.nodesource.com/node_18.x nodistro InRelease [12,1 kB]
Holen:4 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages [5.267 B]
Es wurden 17,4 kB in 1 s geholt (12,6 kB/s).
Paketlisten werden gelesen... Fertig
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
point-rpi
Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
Die folgenden NEUEN Pakete werden installiert:
nodejs
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 439 nicht aktualisiert.
Es müssen noch 0 B von 26,8 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 177 MB Plattenplatz zusätzlich benutzt.
Vormals nicht ausgewähltes Paket nodejs wird gewählt.
(Lese Datenbank ... 93906 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../nodejs_18.18.0-1nodesource1_armhf.deb ...
Entpacken von nodejs (18.18.0-1nodesource1) ...
nodejs (18.18.0-1nodesource1) wird eingerichtet ...
Trigger für man-db (2.8.5-2) werden verarbeitet ...
doing test run = false
update log will be in /home/pi/MagicMirror/installers/upgrade.log
Check current Node installation ...
Node currently installed. Checking version number.
Minimum Node version: v18.18.0
Installed Node version: v18.18.0
No Node.js upgrade necessary.
Check current NPM installation ...
NPM currently installed. Checking version number.
Minimum npm version: V9.8.1
Installed npm version: V9.8.1
No npm upgrade necessary.
upgrading from version 2.25.0 to 2.25.0
fetching latest revisions
updating MagicMirror runtime, please wait
> magicmirror@2.25.0 postinstall
> npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully!
> "
> magicmirror@2.25.0 install-vendor
> echo "Installing vendor files ...
> " && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
Installing vendor files ...
added 1 package, and changed 3 packages in 25s
> magicmirror@2.25.0 install-fonts
> echo "Installing fonts ...
> " && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
Installing fonts ...
changed 2 packages in 9s
MagicMirror² installation finished successfully!
> magicmirror@2.25.0 prepare
> [ -f node_modules/.bin/husky ] && husky install || echo no husky installed.
no husky installed.
added 334 packages in 5m
97 packages are looking for funding
run `npm fund` for details
npm notice
npm notice New major version of npm available! 9.8.1 -> 10.2.0
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.0>
npm notice Run `npm install -g npm@10.2.0` to update!
npm notice
Checking for modules with removed libraries
processing dependency changes for active modules with package.json files
processing for module MMM-OpenWeatherMapForecast please wait
----------------------------------
added 7 packages, and audited 8 packages in 14s
found 0 vulnerabilities
processing complete for module MMM-OpenWeatherMapForecast
processing for module MMM-OnThisDay please wait
----------------------------------
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.3: this library is no longer supported
npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
added 99 packages, and audited 100 packages in 25s
2 packages are looking for funding
run `npm fund` for details
8 vulnerabilities (7 moderate, 1 high)
To address all issues, run:
npm audit fix
Run `npm audit` for details.
processing complete for module MMM-OnThisDay
processing for module MMM-DWD-Pollen please wait
----------------------------------
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
added 47 packages, and audited 48 packages in 8s
2 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.
processing complete for module MMM-DWD-Pollen
processing for module MMM-NINA please wait
----------------------------------
added 4 packages, and audited 5 packages in 4s
found 0 vulnerabilities
processing complete for module MMM-NINA
processing for module MMM-DWD-WarnWeather please wait
----------------------------------
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
added 47 packages, and audited 48 packages in 7s
2 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.
processing complete for module MMM-DWD-WarnWeather
but unfortunately it does not start again
When the MM start the following error message occur
pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 npm start
> magicmirror@2.25.0 start
> DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
[04.10.2023 17:08.09.512] [LOG] Starting MagicMirror: v2.25.0
[04.10.2023 17:08.09.521] [LOG] Loading config ...
[04.10.2023 17:08.09.531] [DEBUG] config template file not exists, no envsubst
[04.10.2023 17:08.09.547] [LOG] Loading module helpers ...
[04.10.2023 17:08.09.550] [LOG] No helper found for module: alert.
[04.10.2023 17:08.09.612] [LOG] Initializing new module helper ...
[04.10.2023 17:08.09.613] [LOG] Module helper loaded: updatenotification
[04.10.2023 17:08.09.615] [LOG] No helper found for module: clock.
[04.10.2023 17:08.09.714] [LOG] Initializing new module helper ...
[04.10.2023 17:08.09.716] [LOG] Module helper loaded: MMM-OpenWeatherMapForecast
[04.10.2023 17:08.10.146] [LOG] Initializing new module helper ...
[04.10.2023 17:08.10.147] [LOG] Module helper loaded: calendar
[04.10.2023 17:08.13.995] [LOG] Initializing new module helper ...
[04.10.2023 17:08.13.997] [LOG] Module helper loaded: MMM-OnThisDay
[04.10.2023 17:08.14.646] [LOG] Initializing new module helper ...
[04.10.2023 17:08.14.647] [LOG] Module helper loaded: MMM-DWD-Pollen
[04.10.2023 17:08.14.808] [LOG] Initializing new module helper ...
[04.10.2023 17:08.14.809] [LOG] Module helper loaded: MMM-NINA
[04.10.2023 17:08.14.831] [ERROR] (node:17281) UnhandledPromiseRejectionWarning: Error: Cannot find module 'node-fetch'
Require stack:
- /home/pi/MagicMirror/modules/MMM-DWD-WarnWeather/node_helper.js
- /home/pi/MagicMirror/js/app.js
- /home/pi/MagicMirror/js/electron.js
- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
-
at node:internal/modules/cjs/loader:1084:15
at Function.<anonymous> (node:electron/js2c/browser_init:2:117419)
at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
at node:internal/modules/cjs/loader:929:27
at Function._load (node:electron/js2c/asar_bundle:2:13327)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-DWD-WarnWeather/node_helper.js:12:15)
at Module._compile (node:internal/modules/cjs/loader:1271:14)
at Object..js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12
at Function._load (node:electron/js2c/asar_bundle:2:13327)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at require (node:internal/modules/cjs/helpers:110:18)
at loadModule (/home/pi/MagicMirror/js/app.js:180:19)
(Use `electron --trace-warnings ...` to show where the warning was created)
[04.10.2023 17:08.14.833] [ERROR] (node:17281) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
[17281:1004/170815.752475:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
[17316:1004/170817.472544:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization