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.

    V2.31.0 unable to start

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    29 Posts 3 Posters 674 Views 3 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.
    • htilburgsH Offline
      htilburgs
      last edited by

      After upgrade to v2.31.0 MM will not start.
      PM2 doesn’t show errors, but with NPM START I become this error:

      [2025-04-10 19:35:00.301] [LOG]   Sockets connected & modules started ... 
      Invalid MIT-MAGIC-COOKIE-1 key
      [873086:0410/193500.307514:ERROR:ozone_platform_x11.cc(245)] Missing X server or $DISPLAY
      [873086:0410/193500.308038:ERROR:env.cc(258)] The platform failed to initialize.  Exiting.
      /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV
      

      I did a new install of MM, same error.

      (still trying to learn JS, but not afraid to ask) ☺

      S 2 Replies Last reply Reply Quote 0
      • S Away
        sdetweil @htilburgs
        last edited by sdetweil

        @htilburgs how did you upgrade or install

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        htilburgsH 1 Reply Last reply Reply Quote 0
        • htilburgsH Offline
          htilburgs @sdetweil
          last edited by

          @sdetweil with the script from you

          (still trying to learn JS, but not afraid to ask) ☺

          1 Reply Last reply Reply Quote 0
          • S Away
            sdetweil @htilburgs
            last edited by

            @htilburgs hm

            try

            npm run start:wayland

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            htilburgsH 1 Reply Last reply Reply Quote 0
            • htilburgsH Offline
              htilburgs @sdetweil
              last edited by

              @sdetweil Same error:

              [875833:0410/200935.088653:ERROR:wayland_connection.cc(198)] Failed to connect to Wayland display: No such file or directory (2)
              [875833:0410/200935.088864:ERROR:ozone_platform_wayland.cc(264)] Failed to initialize Wayland platform
              [875833:0410/200935.088893:ERROR:env.cc(258)] The platform failed to initialize.  Exiting.
              /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV
              

              (still trying to learn JS, but not afraid to ask) ☺

              S 1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil @htilburgs
                last edited by

                @htilburgs weird,
                show
                lsb_release -a

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                htilburgsH 1 Reply Last reply Reply Quote 0
                • htilburgsH Offline
                  htilburgs @sdetweil
                  last edited by

                  @sdetweil

                  No LSB modules are available.
                  Distributor ID: Debian
                  Description:    Debian GNU/Linux 12 (bookworm)
                  Release:        12
                  Codename:       bookworm
                  

                  (still trying to learn JS, but not afraid to ask) ☺

                  S 1 Reply Last reply Reply Quote 0
                  • S Away
                    sdetweil @htilburgs
                    last edited by

                    @htilburgs ok, when did you build the sd card?

                    can you show

                    ps -ef | grep way
                    ps -ef | grep labwc

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    htilburgsH 1 Reply Last reply Reply Quote 0
                    • htilburgsH Offline
                      htilburgs @sdetweil
                      last edited by

                      @sdetweil said in V2.31.0 unable to start:

                      ps -ef | grep way
                      ps -ef | grep labwc

                      pi@mm:~/MagicMirror $ ps -ef | grep way
                      vnc          739       1  0 Apr09 ?        00:00:00 /bin/sh /usr/sbin/wayvnc-run.sh
                      vnc          759     739  0 Apr09 ?        00:00:00 wayvnc --render-cursor --detached --gpu --config /etc/wayvnc/config --socket /tmp/wayvnc/wayvncctl.sock
                      root        1605       1  0 Apr09 ?        00:02:02 python /usr/sbin/wayvnc-control.py
                      lightdm   801759  801726  0 19:20 ?        00:00:02 /usr/bin/rpi-connectd -socket /run/user/106/rpi-connect-wayvnc.sock
                      lightdm   801764  801648  0 19:20 ?        00:00:00 /usr/bin/wayfire -c /usr/share/greeter.ini
                      pi        810604     974  0 19:24 ?        00:00:02 /usr/bin/rpi-connectd -socket /run/user/1000/rpi-connect-wayvnc.sock
                      lightdm   870748       1  0 19:32 ?        00:00:00 /usr/bin/Xwayland -auth /home/lightdm/.Xauthority :0 -rootless -core -terminate 10 -listenfd 30 -listenfd 31 -displayfd 59 -wm 56
                      pi        878864  735951  0 21:00 pts/0    00:00:00 grep --color=auto way
                      
                      pi@mm:~/MagicMirror $ ps -ef | grep labwc
                      pi        878897  735951  0 21:00 pts/0    00:00:00 grep --color=auto labwc
                      pi@mm:~/MagicMirror $ 
                      

                      (still trying to learn JS, but not afraid to ask) ☺

                      S 1 Reply Last reply Reply Quote 0
                      • S Away
                        sdetweil @htilburgs
                        last edited by

                        @htilburgs hm. so start:wayland should have worked

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        htilburgsH 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • 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