MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Reverting to previous MM Release

    Scheduled Pinned Locked Moved Solved Troubleshooting
    20 Posts 4 Posters 1.2k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sdetweil @BKeyport
      last edited by sdetweil

      @BKeyport it’s just a name. I picked something, could be anything except master and develop as those are already used

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      BKeyportB 1 Reply Last reply Reply Quote 0
      • BKeyportB Offline
        BKeyport Module Developer @sdetweil
        last edited by

        @sdetweil gotcha.

        I’ll likely re-work my entire system(s) after tax season is over, but this will hold until then. Once I have time, I’m mulling a few changes that’ll break everything anyway.

        The "E" in "Javascript" stands for "Easy"

        mumblebajM 1 Reply Last reply Reply Quote 1
        • mumblebajM Offline
          mumblebaj Module Developer @BKeyport
          last edited by

          I have just reverted to the old version as well. Too many issues with electron. Breaking issues for me as well. And I am running Pi5 Trixie. Something about Pi5 Trixie and Electron 41 not playing well together. v2.34.0 ran just fine on Trixie and using Wayland. Now it is breaking.

          Check out my modules at: https://github.com/mumblebaj?tab=repositories
          Check my blog-post: https://mumblebaj.xyz/
          Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @mumblebaj
            last edited by

            @mumblebaj can you articulate the issues?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            mumblebajM 1 Reply Last reply Reply Quote 1
            • S sdetweil has marked this topic as solved on
            • mumblebajM Offline
              mumblebaj Module Developer @sdetweil
              last edited by

              @sdetweil Hi Sam. I upgraded using your upgrade script. Then I saw the following error, /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP. MM shows that it has started but browser does not launch, Electron failing. Tried a bunch of things but nothing seems to help. Switched back to X11 and still getting the dreaded error.

              I have downgraded to 2.34.0 and still same issue now.

              9caf4b95-89e4-468a-8187-06650322ebae-image.jpeg

              960ae42d-776c-4b01-acad-bb83b51cd442-image.jpeg

              I am flashing a new SD card now and will try a fresh install and see how that goes

              Check out my modules at: https://github.com/mumblebaj?tab=repositories
              Check my blog-post: https://mumblebaj.xyz/
              Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

              S jca2112J 2 Replies Last reply Reply Quote 0
              • S Offline
                sdetweil @mumblebaj
                last edited by

                @mumblebaj
                After downgrading, did you run
                npm install again

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                mumblebajM 1 Reply Last reply Reply Quote 0
                • mumblebajM Offline
                  mumblebaj Module Developer @sdetweil
                  last edited by

                  @sdetweil Yes sir. Just got in now. Will work on the new SD card now and advise in a bit.

                  Check out my modules at: https://github.com/mumblebaj?tab=repositories
                  Check my blog-post: https://mumblebaj.xyz/
                  Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @mumblebaj
                    last edited by

                    @mumblebaj ok, thx

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    mumblebajM 1 Reply Last reply Reply Quote 0
                    • mumblebajM Offline
                      mumblebaj Module Developer @sdetweil
                      last edited by

                      @sdetweil Flashed the new card and installed trixie, Did a clean install. Ran your restore script and everything is running just fine.

                      Check out my modules at: https://github.com/mumblebaj?tab=repositories
                      Check my blog-post: https://mumblebaj.xyz/
                      Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                      S 1 Reply Last reply Reply Quote 1
                      • S Offline
                        sdetweil @mumblebaj
                        last edited by

                        @mumblebaj woohoo… at least thats something good!!

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        mumblebajM 1 Reply Last reply Reply Quote 0
                        • mumblebajM Offline
                          mumblebaj Module Developer @sdetweil
                          last edited by

                          @sdetweil For sure. I am suspecting the card may have been flaking. Now to fix my Docker image. 😮‍💨

                          Check out my modules at: https://github.com/mumblebaj?tab=repositories
                          Check my blog-post: https://mumblebaj.xyz/
                          Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                          1 Reply Last reply Reply Quote 0
                          • jca2112J Offline
                            jca2112 @mumblebaj
                            last edited by

                            @sdetweil I ran your upgrade script as well and I also see electron errors in the pm2 logs. The system just loads to a blank/black screen (with cursor), but fails to load beyond that.

                            0|mm  | /home/dietpi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV
                            
                            S 1 Reply Last reply Reply Quote 0
                            • S Offline
                              sdetweil @jca2112
                              last edited by sdetweil

                              @jca2112 when did you run it? today?

                              can you look at ~/MagicMirror/installers/mm.sh

                              and see if
                              npm run start:x11

                              is present on line 9

                              also, can you do

                              pm2 stop all
                              cd ~/MagicMirror
                              

                              and try either

                              npm start 
                              

                              or

                              npm run start:x11
                              

                              is this really a dietpi? what OS version is running

                              lsb_release -a

                              also, can you send me ~/MagicMirror/installers/upgrade.log
                              same userid at gmail

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              jca2112J 1 Reply Last reply Reply Quote 0
                              • jca2112J Offline
                                jca2112 @sdetweil
                                last edited by

                                @jca2112 when did you run it? today?

                                I ran the script yesterday (04/05/2026).

                                can you look at ~/MagicMirror/installers/mm.sh

                                and see if
                                npm run start:x11

                                is present on line 9

                                Here is the mm.sh:

                                #!/bin/bash
                                cd /home/dietpi/MagicMirror
                                
                                if [ $(ps -ef | grep -v grep | grep -i -e xway -e labwc | wc -l) -ne 0 ]; then 
                                   # if WAYLAND_DISPLAYis set, use it, else set to -0
                                   export WAYLAND_DISPLAY=${WAYLAND_DISPLAY:=wayland-0}
                                   npm run start:wayland
                                else
                                   DISPLAY=:0 npm start
                                fi 
                                
                                #DISPLAY=:0 npm start
                                

                                also, can you do

                                pm2 stop all
                                cd ~/MagicMirror
                                

                                and try either

                                npm start 
                                

                                npm output:

                                > magicmirror@2.35.0 start
                                > node --run start:wayland
                                
                                [2026-04-06 09:08:03.511] [LOG]   [app] Starting MagicMirror: v2.35.0
                                [2026-04-06 09:08:03.549] [LOG]   [utils] Loading config ...
                                [2026-04-06 09:08:03.567] [INFO]  [utils] Checking config file /home/dietpi/MagicMirror/config/config.js ...
                                [2026-04-06 09:08:03.945] [INFO]  [utils] Your configuration file doesn't contain syntax errors :)
                                [2026-04-06 09:08:03.949] [INFO]  [utils] Checking modules structure configuration ...
                                [2026-04-06 09:08:04.360] [INFO]  [utils] Your modules structure configuration doesn't contain errors :)
                                [2026-04-06 09:08:04.369] [LOG]   [app] Loading module helpers ...
                                [2026-04-06 09:08:04.377] [LOG]   [app] No helper found for module: alert.
                                [2026-04-06 09:08:04.408] [LOG]   [node_helper] Initializing new module helper ...
                                [2026-04-06 09:08:04.413] [LOG]   [node_helper] Module helper loaded: updatenotification
                                [2026-04-06 09:08:04.417] [LOG]   [app] No helper found for module: clock.
                                [2026-04-06 09:08:05.284] [LOG]   [node_helper] Initializing new module helper ...
                                [2026-04-06 09:08:05.286] [LOG]   [node_helper] Module helper loaded: calendar
                                [2026-04-06 09:08:05.297] [LOG]   [node_helper] Initializing new module helper ...
                                [2026-04-06 09:08:05.300] [LOG]   [node_helper] Module helper loaded: weather
                                [2026-04-06 09:08:05.615] [LOG]   [node_helper] Initializing new module helper ...
                                [2026-04-06 09:08:05.619] [LOG]   [node_helper] Module helper loaded: newsfeed
                                [2026-04-06 09:08:06.334] [INFO]  [systeminformation] 
                                ####  System Information  ####
                                - SYSTEM:   manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 3 Model B Plus Rev 1.3; virtual: false; MM: v2.35.0
                                - OS:       platform: linux; distro: Debian GNU/Linux; release: 13; arch: arm64; kernel: 6.12.75+rpt-rpi-v8
                                - VERSIONS: electron: 41.1.0; used node: 25.2.1; installed node: 25.2.1; npm: 11.6.2; pm2: 6.0.14
                                - ENV:      XDG_SESSION_TYPE: undefined; MM_CONFIG_FILE: undefined
                                            WAYLAND_DISPLAY:  wayland-1; DISPLAY: undefined; ELECTRON_ENABLE_GPU: undefined
                                - RAM:      total: 905.98 MB; free: 524.54 MB; used: 381.45 MB
                                - OTHERS:   uptime: 1192 minutes; timeZone: America/New_York
                                [2026-04-06 09:08:06.353] [LOG]   [node_helper] Initializing new module helper ...
                                [2026-04-06 09:08:06.355] [LOG]   [node_helper] Module helper loaded: MMM-Sonos
                                [2026-04-06 09:08:06.356] [LOG]   [app] All module helpers loaded.
                                [2026-04-06 09:08:06.385] [LOG]   [server] Starting server on port 8080 ... 
                                [2026-04-06 09:08:06.415] [ERROR] [unknown] (node:605210) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                                (Use `electron --trace-deprecation ...` to show where the warning was created)
                                [2026-04-06 09:08:06.477] [LOG]   [app] Server started ...
                                [2026-04-06 09:08:06.480] [LOG]   [node_helper] Connecting socket for: updatenotification
                                [2026-04-06 09:08:06.481] [LOG]   [node_helper] Starting module helper: updatenotification
                                [2026-04-06 09:08:06.483] [LOG]   [node_helper] Connecting socket for: calendar
                                [2026-04-06 09:08:06.485] [LOG]   [calendar] Starting node helper for: calendar
                                [2026-04-06 09:08:06.486] [LOG]   [node_helper] Connecting socket for: weather
                                [2026-04-06 09:08:06.488] [LOG]   [weather] Starting node helper for: weather
                                [2026-04-06 09:08:06.490] [LOG]   [node_helper] Connecting socket for: newsfeed
                                [2026-04-06 09:08:06.491] [LOG]   [newsfeed] Starting node helper for: newsfeed
                                [2026-04-06 09:08:06.493] [LOG]   [node_helper] Connecting socket for: MMM-Sonos
                                [2026-04-06 09:08:06.495] [LOG]   [MMM-Sonos] Sonos helper started ...
                                [2026-04-06 09:08:06.496] [LOG]   [app] Sockets connected & modules started ...
                                error: XDG_RUNTIME_DIR is invalid or not set in the environment.
                                [605210:0406/090806.501637:ERROR:ui/ozone/platform/wayland/host/wayland_connection.cc:202] Failed to connect to Wayland display: No such file or directory (2)
                                [605210:0406/090806.502006:ERROR:ui/ozone/platform/wayland/ozone_platform_wayland.cc:281] Failed to initialize Wayland platform
                                [605210:0406/090806.502155:ERROR:ui/aura/env.cc:246] The platform failed to initialize.  Exiting.
                                /home/dietpi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV
                                

                                is this really a dietpi? what OS version is running

                                DietPi v10.2.3 (I believe that is the latest version)

                                also, can you send me ~/MagicMirror/installers/upgrade.log
                                same userid at gmail

                                Email sent.

                                Thanks for all your help!

                                S 2 Replies Last reply Reply Quote 0
                                • S Offline
                                  sdetweil @jca2112
                                  last edited by

                                  @jca2112 ok edit the mm.sh
                                  and change

                                  npm start 
                                  

                                  to

                                  npm run start:x11
                                  

                                  I know why… I fixed the script on saturday, but didn’t catch that on my mac I was on a different branch, so the master branch didn’t get updated til about 9pm central last night.
                                  I drove all day yesterday, and fixed it again on master…

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  jca2112J 1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    sdetweil @jca2112
                                    last edited by

                                    @jca2112 from the log,

                                    saved translations/en.json

                                    make sure you check on this change, as it was stashed but not re-applied…

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    1 Reply Last reply Reply Quote 0
                                    • jca2112J Offline
                                      jca2112 @sdetweil
                                      last edited by

                                      @sdetweil Yup, it’s working now. Awesome, thank you so much.

                                      (The translations/en.json is just a single word change, so easy to fix manually without being stashed.)

                                      1 Reply Last reply Reply Quote 1

                                      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
                                      • 1 / 1
                                      • First post
                                        Last post
                                      Enjoying MagicMirror? Please consider a donation!
                                      MagicMirror created by Michael Teeuw.
                                      Forum managed by Sam, technical setup by Karsten.
                                      This forum is using NodeBB as its core | Contributors
                                      Contact | Privacy Policy