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.
    • swvalentiS Offline
      swvalenti Project Sponsor @JerryP
      last edited by

      @JerryP said in After update 2.23.0 crash:

      @sdetweil

      pi@raspberrypi:~/MagicMirror $ ls
       CHANGELOG.md   Collaboration.md   core  'DISPLAY=:0'   index.html   jest.config.js   jsconfig.json   magicmirror@2.23.0   module-types.ts   oud         run-start.sh   splashscreen   th.json        vendor
       clientonly     config             css    fonts         installers   js               LICENSE.md      modules              node_modules      README.md   serveronly     tests          translations
      pi@raspberrypi:~/MagicMirror $ npm install
      npm ERR! code ENOTEMPTY
      npm ERR! syscall rename
      npm ERR! path /home/pi/MagicMirror/node_modules/acorn
      npm ERR! dest /home/pi/MagicMirror/node_modules/.acorn-pnTZ3fig
      npm ERR! errno -39
      npm ERR! ENOTEMPTY: directory not empty, rename '/home/pi/MagicMirror/node_modules/acorn' -> '/home/pi/MagicMirror/node_modules/.acorn-pnTZ3fig'
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2023-04-04T20_43_20_803Z-debug-0.log
      

      That didn’t work, no worries I will revert

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

        @swvalenti what didn’t work?

        u are supposed to be doing the npm install of the missing libs in the module (MMM-PGA) folder

        i don’t think revert will help, the undocumented libraries were deleted by npm… not us

        that .acorn file needs to be deleted

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • swvalentiS Offline
          swvalenti Project Sponsor @swvalenti
          last edited by

          @swvalenti said in After update 2.23.0 crash:

          @JerryP said in After update 2.23.0 crash:

          @sdetweil

          pi@raspberrypi:~/MagicMirror $ ls
           CHANGELOG.md   Collaboration.md   core  'DISPLAY=:0'   index.html   jest.config.js   jsconfig.json   magicmirror@2.23.0   module-types.ts   oud         run-start.sh   splashscreen   th.json        vendor
           clientonly     config             css    fonts         installers   js               LICENSE.md      modules              node_modules      README.md   serveronly     tests          translations
          pi@raspberrypi:~/MagicMirror $ npm install
          npm ERR! code ENOTEMPTY
          npm ERR! syscall rename
          npm ERR! path /home/pi/MagicMirror/node_modules/acorn
          npm ERR! dest /home/pi/MagicMirror/node_modules/.acorn-pnTZ3fig
          npm ERR! errno -39
          npm ERR! ENOTEMPTY: directory not empty, rename '/home/pi/MagicMirror/node_modules/acorn' -> '/home/pi/MagicMirror/node_modules/.acorn-pnTZ3fig'
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/pi/.npm/_logs/2023-04-04T20_43_20_803Z-debug-0.log
          

          That didn’t work, no worries I will revert

          The package.json showed no issue with that command. It worked when I reverted no issue.

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

            @swvalenti how did you revert?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            swvalentiS 1 Reply Last reply Reply Quote 0
            • swvalentiS Offline
              swvalenti Project Sponsor @sdetweil
              last edited by

              @sdetweil said in After update 2.23.0 crash:

              @swvalenti how did you revert?

              Copied original file and renamed before using your script.

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

                @swvalenti got it…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                swvalentiS 1 Reply Last reply Reply Quote 0
                • swvalentiS Offline
                  swvalenti Project Sponsor @sdetweil
                  last edited by

                  @sdetweil said in After update 2.23.0 crash:

                  @swvalenti got it…

                  Thought maybe the script would catch it. Ha. Oh well thanks for all your help and work.

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

                    @swvalenti the script DID catch for request, but not jsdom…

                    these are the undocumented libs used

                    OWGR.js:const request = require('request');
                    OWGR.js:const jsdom = require("jsdom");
                    

                    I just added that to the upgrade script list of missing libs

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    swvalentiS 1 Reply Last reply Reply Quote 0
                    • swvalentiS Offline
                      swvalenti Project Sponsor @sdetweil
                      last edited by

                      @sdetweil said in After update 2.23.0 crash:

                      @swvalenti the script DID catch for request, but not jsdom…

                      these are the undocumented libs used

                      OWGR.js:const request = require('request');
                      OWGR.js:const jsdom = require("jsdom");
                      

                      I just added that to the upgrade script list of missing libs

                      Cool so if I update it will work?

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

                        @swvalenti should…

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        swvalentiS 1 Reply Last reply Reply Quote 0
                        • swvalentiS Offline
                          swvalenti Project Sponsor @sdetweil
                          last edited by

                          @sdetweil said in After update 2.23.0 crash:

                          @swvalenti should…

                          Thanks Sam I’ll report back

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

                            @swvalenti nope it wont work as it is… looks only in the node_helper… oops…

                            working on fix…

                            pushed a fix

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            swvalentiS 1 Reply Last reply Reply Quote 0
                            • swvalentiS Offline
                              swvalenti Project Sponsor @sdetweil
                              last edited by

                              @sdetweil said in After update 2.23.0 crash:

                              @swvalenti nope it wont work as it is… looks only in the node_helper… oops…

                              working on fix…

                              pushed a fix

                              Ran upgrade script but still didn’t work same error

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

                                @swvalenti can u post the ~/MagicMirror/installers/upgrade.log

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                swvalentiS 1 Reply Last reply Reply Quote 0
                                • swvalentiS Offline
                                  swvalenti Project Sponsor @sdetweil
                                  last edited by

                                  @sdetweil Here ya go
                                  https://drive.google.com/file/d/1L5ORoBJlEV6lYSLzJC7VhHM1S1P-jRWy/view?usp=share_link

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

                                    @swvalenti ok , because you had already done upgrade on this instance. apply doesnt do anything

                                    do force
                                    at the end instead of apply

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    swvalentiS 1 Reply Last reply Reply Quote 1
                                    • swvalentiS Offline
                                      swvalenti Project Sponsor @sdetweil
                                      last edited by

                                      @sdetweil You are the man worked like a charm. Only thing I noticed when running on windows “alt” does not bring the toolbar up in order to quit MM. Did anything change?

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

                                        @swvalenti alt-spacebar, or ctrl-m

                                        ctrl-q to quit, if not using pm2.
                                        pm2 will just restart it

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        swvalentiS 1 Reply Last reply Reply Quote 0
                                        • swvalentiS Offline
                                          swvalenti Project Sponsor @sdetweil
                                          last edited by

                                          @sdetweil ctrl m worked thanks Sam!

                                          1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            JoeFranz
                                            last edited by

                                            Same here, error after Update :-(
                                            @sdetweil Update with your script

                                            (Use electron --trace-warnings ... to show where the warning was created)
                                            [05.04.2023 07:02.12.571] [ERROR] (node:4893) 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: 2)
                                            [4932:0405/070214.077646:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
                                            [4962:0405/070214.418104:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.

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