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.

    MM-Update doesn´t work

    Scheduled Pinned Locked Moved Solved Troubleshooting
    12 Posts 2 Posters 907 Views 2 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.
    • kusselinK Offline
      kusselin @sdetweil
      last edited by kusselin

      @sdetweil said in MM-Update doesn´t work:

      @kusselin yes, you need a newer node version for this release as documented in the release notes and the published release page here

      if you had used my upgrade script it would have fixed this

      Hi thanks, is this this script

      bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”

      or this

      bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”

      look please:

      mm@MagicMirror-live:~/MagicMirror$ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
      update log will be in /home/mm/MagicMirror/installers/upgrade.log
      doing test run = false
      Node currently installed. Checking version number.
      Minimum Node version: v20.18.1
      Installed Node version: v20.9.0
      installing correct version of node and npm, please wait
      [sudo] password for mm:
      Check current Node installation ...
      Node currently installed. Checking version number.
      Minimum Node version: v20.18.1
      Installed Node version: v20.18.1
      No Node.js upgrade necessary.
      Check current NPM installation ...
      NPM currently installed. Checking version number.
      Minimum npm version: V10.8.2
      Installed npm version: V10.8.2
      No npm upgrade necessary.
      
      saving custom.css
      local version 2.30.0 already same as master 2.30.0
      restoring custom.css
      mm@MagicMirror-live:~/MagicMirror$ npm start server
      
      > magicmirror@2.30.0 start
      > npm run start:x11 server
      
      
      > magicmirror@2.30.0 start:x11
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js server
      
      /home/mm/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
      
      S 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @kusselin
        last edited by sdetweil

        @kusselin raspberry is install new

        upgrade is upgrade w

        apply
        

        as a parameter

        without parameter it does a check but makes no changes

        anyhow, looks like electron has a new dependency, 1st I’ve seen that

        that would take some apt command to install

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @kusselin also apply wont install over same version, you have to use

          force
          

          instead

          i wont let you mess up your system accidentally

          because we aborted before doing the
          npm install, that still isnt done

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          kusselinK 1 Reply Last reply Reply Quote 0
          • kusselinK Offline
            kusselin @sdetweil
            last edited by kusselin

            @sdetweil Hi Sam, I have not installed MM on the Raspi but in a Proxmox container Ubuntu 24…

            Sorry, but I don’t understand anything anymore…

            Can you please tell me step by step what I have to enter ?

            Thank you very much

            mm@MagicMirror-live:~/MagicMirror$ force
            Command 'force' not found, did you mean:
              command 'zforce' from deb gzip (1.12-1ubuntu1)
              command 'forge' from deb snap (2013-11-29-11)
            Try: sudo apt install <deb name>
            
            
            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @kusselin
              last edited by sdetweil

              @kusselin proxmox is same as on pi. (i use vmware workststion)

              run the upgrade script again
              and replace the parm

              apply
              

              with

              force
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              kusselinK 1 Reply Last reply Reply Quote 0
              • kusselinK Offline
                kusselin @sdetweil
                last edited by

                @sdetweil aha ok, I didn’t know that…

                look now… does that fit now?

                mm@MagicMirror-live:~/MagicMirror$ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force
                update log will be in /home/mm/MagicMirror/installers/upgrade.log
                doing test run = false
                Node currently installed. Checking version number.
                Minimum Node version: v20.18.1
                Installed Node version: v20.18.1
                Check current Node installation ...
                Node currently installed. Checking version number.
                Minimum Node version: v20.18.1
                Installed Node version: v20.18.1
                No Node.js upgrade necessary.
                Check current NPM installation ...
                NPM currently installed. Checking version number.
                Minimum npm version: V10.8.2
                Installed npm version: V10.8.2
                No npm upgrade necessary.
                
                saving custom.css
                upgrading from version 2.30.0 to 2.30.0
                fetching latest revisions
                updating MagicMirror runtime, please wait
                
                > magicmirror@2.30.0 postinstall
                > npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully!
                > "
                
                
                > magicmirror@2.30.0 install-vendor
                > echo "Installing vendor files ...
                > " && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
                
                Installing vendor files ...
                
                
                changed 3 packages in 5s
                
                > magicmirror@2.30.0 install-fonts
                > echo "Installing fonts ...
                > " && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
                
                Installing fonts ...
                
                
                changed 2 packages in 3s
                MagicMirror² installation finished successfully!
                
                
                > magicmirror@2.30.0 prepare
                > [ -f node_modules/.bin/husky ] && husky || echo no husky installed.
                
                no husky installed.
                
                added 479 packages in 47s
                
                126 packages are looking for funding
                  run `npm fund` for details
                [sudo] password for mm:
                
                Checking for modules with removed libraries
                
                updating dependencies for active modules with package.json files
                
                
                        processing for module MMM-Fuel please wait
                
                        ----------------------------------
                
                added 17 packages, and audited 18 packages in 5s
                
                8 packages are looking for funding
                  run `npm fund` for details
                
                found 0 vulnerabilities
                
                        processing complete for module MMM-Fuel
                
                
                        processing for module MMM-RNV please wait
                
                        ----------------------------------
                
                added 27 packages, and audited 28 packages in 12s
                
                found 0 vulnerabilities
                
                        processing complete for module MMM-RNV
                
                
                        processing for module MMM-PublicTransportHafas please wait
                
                        ----------------------------------
                
                > mmm-publictransporthafas@3.0.1 prepare
                > [ -f node_modules/.bin/husky ] && husky || echo husky is not installed.
                
                husky is not installed.
                
                added 63 packages, and audited 64 packages in 20s
                
                19 packages are looking for funding
                  run `npm fund` for details
                
                found 0 vulnerabilities
                
                        processing complete for module MMM-PublicTransportHafas
                
                
                        processing for module MMM-ioBroker please wait
                
                        ----------------------------------
                
                added 6 packages, and audited 7 packages in 2s
                
                1 package is looking for funding
                  run `npm fund` for details
                
                found 0 vulnerabilities
                
                        processing complete for module MMM-ioBroker
                
                
                        processing for module MMM-COVID19-AMPEL please wait
                
                        ----------------------------------
                
                added 12 packages, and audited 13 packages in 2s
                
                found 0 vulnerabilities
                
                        processing complete for module MMM-COVID19-AMPEL
                
                
                        processing for module MMM-Carousel please wait
                
                        ----------------------------------
                
                up to date, audited 1 package in 993ms
                
                found 0 vulnerabilities
                
                        processing complete for module MMM-Carousel
                
                
                        processing for module MMM-Remote-Control please wait
                
                        ----------------------------------
                npm warn deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                
                added 54 packages, and audited 55 packages in 6s
                
                12 packages are looking for funding
                  run `npm fund` for details
                
                found 0 vulnerabilities
                
                        processing complete for module MMM-Remote-Control
                
                restoring custom.css
                
                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @kusselin
                  last edited by

                  @kusselin now it should start. unless that library is still a problem

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  kusselinK 1 Reply Last reply Reply Quote 0
                  • kusselinK Offline
                    kusselin @sdetweil
                    last edited by kusselin

                    @sdetweil you are once again my KING

                    it runs after entering npm run server

                    one question…what is a fetcher??

                    [2025-01-14 19:24:04.725] [LOG]   Create new newsfetcher for url: https://www.n-tv.de/rss - Interval:                            300000
                    [2025-01-14 19:24:04.734] [LOG]   Create new newsfetcher for url: http://www.tagesschau.de/xml/rss2 -
                    

                    …and does this mean that the next time I update, I should always replace the script with apply by -force correctly?

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

                      @kusselin fetcher is the code in newsfeed and calendar that gets the data

                      no just use apply, we only do this at most 4 times a year
                      force is only needed to recover from user error

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      kusselinK 1 Reply Last reply Reply Quote 0
                      • kusselinK Offline
                        kusselin @sdetweil
                        last edited by

                        @sdetweil thank you sam…topp service

                        1 Reply Last reply Reply Quote 0
                        • S sdetweil has marked this topic as solved on
                        • 1
                        • 2
                        • 1 / 2
                        • 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