Read the statement by Michael Teeuw here.
MM don't start after update
-
Hi,
I used @sdetweil update script to update my MM. This worked “fine”, but the MM did not show up after reboot.
pm2 status says:
│ id │ name │ mode │ ↺ │ status │ cpu │ memory │ ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤ │ 0 │ MagicMirror │ fork │ 1 │ stopped │ 0% │ 0b │and
npm start saysnpm start > magicmirror@2.25.0 start > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [20.12.2023 13:59.51.204] [LOG] Starting MagicMirror: v2.25.0 [20.12.2023 13:59.51.211] [LOG] Loading config ... [20.12.2023 13:59.51.215] [DEBUG] config template file not exists, no envsubst [20.12.2023 13:59.51.222] [LOG] Loading module helpers ... [20.12.2023 13:59.51.224] [LOG] No helper found for module: alert. [20.12.2023 13:59.51.239] [LOG] Initializing new module helper ... [20.12.2023 13:59.51.241] [LOG] Module helper loaded: updatenotification [20.12.2023 13:59.51.684] [LOG] Initializing new module helper ... [20.12.2023 13:59.51.685] [LOG] Module helper loaded: MMM-BackgroundSlideshow [20.12.2023 13:59.51.687] [LOG] No helper found for module: clock. [20.12.2023 13:59.51.785] [ERROR] (node:1886) UnhandledPromiseRejectionWarning: Error [ERR_REQUIRE_ESM]: require() of ES Module /home/pi/MagicMirror/modules/MMM-DWD-WarnWeather/node_modules/node-fetch/src/index.js from /home/pi/MagicMirror/modules/MMM-DWD-WarnWeather/node_helper.js not supported. Instead change the require of index.js in /home/pi/MagicMirror/modules/MMM-DWD-WarnWeather/node_helper.js to a dynamic import() which is available in all CommonJS modules. at f._load (node:electron/js2c/asar_bundle:2:13330) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-DWD-WarnWeather/node_helper.js:12:15) at f._load (node:electron/js2c/asar_bundle:2:13330) at loadModule (/home/pi/MagicMirror/js/app.js:180:19) at loadModules (/home/pi/MagicMirror/js/app.js:210:10) at async App.start (/home/pi/MagicMirror/js/app.js:258:3) (Use `electron --trace-warnings ...` to show where the warning was created) [20.12.2023 13:59.51.786] [ERROR] (node:1886) 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) MESA-LOADER: failed to retrieve device information MESA-LOADER: failed to retrieve device information MESA-LOADER: failed to retrieve device information MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: Kann die Shared-Object-Datei nicht öffnen: Keine Berechtigung (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri) failed to load driver: kms_swrast MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: Kann die Shared-Object-Datei nicht öffnen: Keine Berechtigung (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri) failed to load swrast driverI don’t know what to do. Any ideas?
-
@MajorC download the update to MMM-DWD-WarnWeather
cd ~/MagicMirror/modules/MMM-DWD-WarnWeather git pull npm installthen restart magic mirror
-
@sdetweil Thank you, that was the correct actions.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login