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.29.0 PM2 does not work

    Scheduled Pinned Locked Moved Solved Troubleshooting
    20 Posts 4 Posters 5.6k Views 4 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.
    • butchkemperB Offline
      butchkemper
      last edited by

      pi@MagicMirror:~ $ node -v
      v20.17.0
      pi@MagicMirror:~ $
      
      

      Resistance is not Futile!
      It is voltage divided by current.

      1 Reply Last reply Reply Quote 0
      • M Offline
        MarcLandis Module Developer @htilburgs
        last edited by

        @htilburgs said in After update 2.29.0 PM2 does not work:

        VERSIONS: electron: undefined; used node: 20.9.0; installed node: 20.9.0; npm: 10.1.0; pm2: 5.4.2

        for whatever reason MM doesn’t recognises your electron version

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

          @MarcLandis yeh weird.

          @htilburgs can you do
          grep version node_modules/electron/package.json

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • butchkemperB Offline
            butchkemper
            last edited by

            @sdetweil said in After update 2.29.0 PM2 does not work:

            grep version node_modules/electron/package.json

            This is what I get:

            pi@MagicMirror:~/MagicMirror $ sudo grep version node_modules/electron/package.json
              "version": "31.1.0"
            pi@MagicMirror:~/MagicMirror $
            
            

            Resistance is not Futile!
            It is voltage divided by current.

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

              @butchkemper which is the correct value

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • butchkemperB Offline
                butchkemper
                last edited by

                @butchkemper said in After update 2.29.0 PM2 does not work:

                @sdetweil

                Sam, did you see where I mention the problem continues even after I deleted the 2.29.0 MM directory and restored the 2.28.0 directory?

                Also, I am in the DFW area and available by phone if you would like.

                Butch

                Resistance is not Futile!
                It is voltage divided by current.

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

                  @butchkemper i did, but only other thing is nodejs version.

                  can you post the upgrade.log to a new issue for my scripts

                  i have grandchildren duty til tomorrow morning

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  htilburgsH butchkemperB 2 Replies Last reply Reply Quote 0
                  • htilburgsH Offline
                    htilburgs @sdetweil
                    last edited by htilburgs

                    @sdetweil

                    pi@mm:~ $ pm2 delete 0
                    [PM2] Applying action deleteProcessId on app [0](ids: [ '0' ])
                    [PM2] [MagicMirror](0) ✓
                    ┌────┬───────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
                    │ id │ name      │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
                    └────┴───────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
                    [PM2][WARN] Current process list is not synchronized with saved list. App MagicMirror differs. Type 'pm2 save' to synchronize.
                    pi@mm:~ $ pm2 save -f
                    [PM2] Saving current process list...
                    [PM2] Successfully saved in /home/pi/.pm2/dump.pm2
                    pi@mm:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)"
                    the log will be saved in /home/pi/MagicMirror/installers/pm2_setup.log
                    [PM2][WARN] Applications MagicMirror not running, starting...
                    [PM2][ERROR] Error: Script not found: /home/pi/MagicMirror/installers/mm.sh
                    [PM2] Saving current process list...
                    [PM2][WARN] PM2 is not managing any process, skipping save...
                    [PM2][WARN] To force saving use: pm2 save --force
                    
                    pi@mm:~ $ node -v
                    v20.9.0
                    
                    pi@mm:~ $ grep version node_modules/electron/package.json
                      "version": "31.6.0"
                    

                    (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

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

                      @htilburgs arrrrrg
                      we deleted installers folder from the repository
                      didn’t fix the fixup script

                      be a couple hours
                      edit: fixed 17:50 Oct 1

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @sdetweil
                        Oke, no problem.
                        It’s 22:55 in the Netherlands and have to get up at 05:30, so I go to sleep and check in the morning.

                        Enjoy your grandchildren ;-) These are more important than a MagicMirror!

                        (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

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

                          @sdetweil
                          I created the mm.sh script in the /MagicMirror/installers folder (copied from your site) and run the fixuppm2 script again.

                          Now it started MagicMirror as normal.
                          I tried a reboot and it works now.

                          Now only the same on the other MagicMirror screen and I’m happy again.

                          If i have to do anything more or reinstall, let me know.
                          But it seems I’ve a working installation of MagicMirror again.
                          Thanks!!

                          (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

                          S 2 Replies Last reply Reply Quote 1
                          • butchkemperB Offline
                            butchkemper @sdetweil
                            last edited by butchkemper

                            @sdetweil I have posted a new topic in trouble shooting with the error message and the install log.

                            The system would not let me send the file as only graphic files are accepted.

                            Thank you.

                            Butch

                            Resistance is not Futile!
                            It is voltage divided by current.

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

                              @htilburgs awesome, thx

                              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 @htilburgs
                                last edited by

                                @htilburgs I have added the mm.sh to fixuppm2.sh

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply Reply Quote 0
                                • S sdetweil has marked this topic as solved on

                                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