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.

    After update 2.23.0 crash

    Scheduled Pinned Locked Moved Bug Hunt
    56 Posts 9 Posters 26.9k Views 8 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 Do not disturb
      sdetweil @Wenike
      last edited by

      @Wenike do this

      from a terminal window

      ps -ef | grep node
      

      this will show you the node processes running and parms to what they are running (file path)

      if all looks understandable and u can’t terminate them thru app shutdown (pm2 stop all will stop all.managed apps, mm included), do

      ps -ef | grep node | awk '{ print $2 }' | xargs kill -9
      

      this will hard kill all the node processes

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      W 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @JoeFranz
        last edited by sdetweil

        @JoeFranz

        the script does a new npm install in modules that have a package.json

        but I know the post install process is wrong for this module

        my fork fixes that
        https://github.com/sdetweil/MMM-PIR-Sensor

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • W Offline
          Wenike @sdetweil
          last edited by

          @sdetweil Perfect, fixed it. Thanks!

          1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @JerryP
            last edited by

            @JerryP said in After update 2.23.0 crash:

            sudo git pull

            just one more thing

            NEVER use sudo with MM no need for it.
            all it does is lead to trouble

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • H Offline
              hrjmsh @sdetweil
              last edited by hrjmsh

              @sdetweil Thank you very much. Had the same error (cannot find module envsub) on updating the MagicMirror to the new version and this step (rm -rf node_modules and then npm install again) solved the issue for me.

              S T 2 Replies Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @hrjmsh
                last edited by

                @hrjmsh you should use my upgrade script

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                H 1 Reply Last reply Reply Quote 0
                • H Offline
                  hrjmsh @sdetweil
                  last edited by

                  @sdetweil I did, both with and without changes applied. Unfortunately, it didn’t work for me. The only thing that worked was the solution you provided by removing the node_modules and then reinstalling npm.

                  S 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @hrjmsh
                    last edited by

                    @hrjmsh can u send me the MagicMirror/installers/upgrade.log

                    same userid at gmail

                    never seen this problem

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      Techneek @hrjmsh
                      last edited by

                      @hrjmsh Thank you so much!!! (rm -rf node_modules and then npm install again) worked like a charm!

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        DanClarkCBET3
                        last edited by

                        After installing the latest update (04/11/2023 10:00) I can not get Magic Mirror to start on my Windows systems. In this case I’m using the default CSS and config with no added modules. See attached photo. Please help.MM2_23.png

                        S 2 Replies Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @DanClarkCBET3
                          last edited by

                          @DanClarkCBET3 yes, there is a reported issue on Windows
                          https://github.com/MichMich/MagicMirror/issues/3083

                          I was able to change some code (listed) to resolve it, but so far it only fails on windows. so we are not sure of the cause.

                          no fix currently planned

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          D 1 Reply Last reply Reply Quote 0
                          • D Offline
                            DanClarkCBET3 @sdetweil
                            last edited by

                            @sdetweil Thanks for the link. The suggested changes corrected my problem. Now the only problem I have is that the Alt key is not working but that is not a big problem.

                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @DanClarkCBET3
                              last edited by

                              @DanClarkCBET3 ctrl-m will minimize

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @DanClarkCBET3
                                last edited by

                                @DanClarkCBET3 a fix has been pushed to the develop branch for the next release. the code is different

                                to test the develop branch see
                                https://forum.magicmirror.builders/topic/14327/testing-new-fixes-or-solving-current-problems-with-next-release-code

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply Reply Quote 0

                                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
                                • 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