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.

    Update to v2.25.0

    Scheduled Pinned Locked Moved Solved Troubleshooting
    11 Posts 3 Posters 1.3k 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.
    • MZ-BERM Offline
      MZ-BER
      last edited by

      Hey there,

      Just finished reading up on all the issues popping up after the MagicMirror² v2.25.0 update, and to be honest, it’s got me a bit spooked about updating. Right now, all my modules are running smoothly and I don’t want to mess that up. But I get it, I can’t dodge the update forever, especially with some of the dependencies retiring.

      I’m thinking about using @sdetweil update script to update the MagicMirror, but I’m not sure how that’s going to affect my modules. If you’ve got any tips or suggestions on how to handle this, I’d really appreciate it.

      Here is the list with my running modules:

      • MMM-Wallpaper
      • MMM-Multimonth
      • MMM-OpenWeatherForecast
      • MMM-MyCalendar
      • MMM-NINA
      • MMM-PublicTransportHafas
      • MMM-Fuel
      • MMM-GoogleSheets
      • MMM-PIR-Sensor-Lite
      • MMM-NowPlayingOnSpotify
      • MMM-Todoist
      • MMM-Jast
      • MMM-NewsAPI
      S JalibuJ 2 Replies Last reply Reply Quote 0
      • S Away
        sdetweil @MZ-BER
        last edited by sdetweil

        @MZ-BER I have updated my upgrade-script to recognize more removed libraries.

        make sure to run thru the test run to see if any modules are affected. no changes are made in the test run cycle

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        MZ-BERM 2 Replies Last reply Reply Quote 0
        • JalibuJ Offline
          Jalibu Module Developer @MZ-BER
          last edited by

          @MZ-BER MMM-NINA and MMM-Jast will work with v2.25.0 :smiling_face_with_sunglasses:

          MZ-BERM 1 Reply Last reply Reply Quote 1
          • MZ-BERM Offline
            MZ-BER @Jalibu
            last edited by

            @Jalibu Well, I didn’t expect anything different from you. :D

            1 Reply Last reply Reply Quote 0
            • MZ-BERM Offline
              MZ-BER @sdetweil
              last edited by

              @sdetweil Thanks you! This is my upgrade.log.

              pgrade started - Tue Oct 24 10:52:06 CEST 2023
              system is Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
              the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye
              n (node version manager tool) not installed, doing test run, install skipped
              doing test run = true, NO updates will be applied!
              Check current Node installation ...
              Node currently installed. Checking version number.
              Minimum Node version: v20.8.0
              Installed Node version: v16.20.2
              Node should be upgraded.
              Node.js upgrade defered, doing test run
              Check current NPM installation ...
              NPM currently installed. Checking version number.
              Minimum npm version: V10.1.0
              Installed npm version: V8.19.4
              npm should be upgraded.
              npm upgrade defered, doing test run  ...
              
              saving custom.css
              remote name = origin
              upgrading from version 2.24.0 to 2.25.0
              fetching latest revisions
              git fetch rc=0
              current branch = master
              On branch master
              Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
                (use "git pull" to update your local branch)
              
              Changes not staged for commit:
                (use "git add <file>..." to update what will be committed)
                (use "git restore <file>..." to discard changes in working directory)
              	modified:   css/main.css
              
              Untracked files:
                (use "git add <file>..." to include in what will be committed)
              	core
              	css/save_custom.css
              	installers/mm_temp.sh
              	installers/pm2_MagicMirror.json
              	installers/pm2_MagicMirror_new.json
              	run-start.sh
              
              no changes added to commit (use "git add" and/or "git commit -a")
              there are 1 local files that are different than the master repo
              
                 css/main.css
              
              save/restore files selection = y
              erasing lock files
              Saved working directory and index state WIP on master: e87f50e Release 2.24.0 (#3141)
              test merge result rc='' , if empty, no conflicts
              skipping merge, only test run
              Checking for modules with removed libraries
               
              	  package.json not found for module MMM-MyCalendar
               
              		 bypass adding package.json for module MMM-MyCalendar, doing test run
               
              	  package.json not found for module MMM-GoogleSheets
               
              		 bypass adding package.json for module MMM-GoogleSheets, doing test run
              downloading dumpactivemodules script
              
              processing dependency changes for active modules with package.json files
              processing for module MMM-Wallpaper please wait
              ----------------------------------
              skipped processing for MMM-Wallpaper, doing test run
              processing complete for module MMM-Wallpaper
              processing for module MMM-CountDown please wait
              ----------------------------------
              skipped processing for MMM-CountDown, doing test run
              processing complete for module MMM-CountDown
              processing for module MMM-OpenWeatherForecast please wait
              ----------------------------------
              skipped processing for MMM-OpenWeatherForecast, doing test run
              processing complete for module MMM-OpenWeatherForecast
              processing for module MMM-NINA please wait
              ----------------------------------
              skipped processing for MMM-NINA, doing test run
              processing complete for module MMM-NINA
              processing for module MMM-PublicTransportHafas please wait
              ----------------------------------
              skipped processing for MMM-PublicTransportHafas, doing test run
              processing complete for module MMM-PublicTransportHafas
              processing for module MMM-Fuel please wait
              ----------------------------------
              skipped processing for MMM-Fuel, doing test run
              processing complete for module MMM-Fuel
              processing for module MMM-MyVolvo please wait
              ----------------------------------
              skipped processing for MMM-MyVolvo, doing test run
              processing complete for module MMM-MyVolvo
              processing for module MMM-PIR-Sensor-Lite please wait
              ----------------------------------
              skipped processing for MMM-PIR-Sensor-Lite, doing test run
              processing complete for module MMM-PIR-Sensor-Lite
              processing for module MMM-NowPlayingOnSpotify please wait
              ----------------------------------
              skipped processing for MMM-NowPlayingOnSpotify, doing test run
              processing complete for module MMM-NowPlayingOnSpotify
              processing for module MMM-Todoist please wait
              ----------------------------------
              skipped processing for MMM-Todoist, doing test run
              processing complete for module MMM-Todoist
              processing for module MMM-Jast please wait
              ----------------------------------
              skipped processing for MMM-Jast, doing test run
              processing complete for module MMM-Jast
              processing for module MMM-NewsAPI please wait
              ----------------------------------
              skipped processing for MMM-NewsAPI, doing test run
              processing complete for module MMM-NewsAPI
              restoring custom.css
              removing git alias
              test run, restoring files stashed
              Removing vendor/package-lock.json
              Removing package-lock.json
              Removing fonts/package-lock.json
              On branch master
              Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
                (use "git pull" to update your local branch)
              
              Changes not staged for commit:
                (use "git add/rm <file>..." to update what will be committed)
                (use "git restore <file>..." to discard changes in working directory)
              	modified:   css/main.css
              	deleted:    fonts/package-lock.json
              	deleted:    package-lock.json
              	deleted:    vendor/package-lock.json
              
              Untracked files:
                (use "git add <file>..." to include in what will be committed)
              	core
              	installers/mm_temp.sh
              	installers/pm2_MagicMirror.json
              	installers/pm2_MagicMirror_new.json
              	run-start.sh
              
              no changes added to commit (use "git add" and/or "git commit -a")
              Dropped refs/stash@{0} (c2cb1efe09ca1e3538f822bd9f6caccf74e510ec)
              Upgrade ended - Tue Oct 24 10:52:38 CEST 2023
              
              

              As expected Node and NPM needs to be upgraded and Im aware of the CSS file. But Im a bit confused about the results regarding the modules. Are they fine after the upgrade or not? The log is not clear for me.

              Thank you in advance!

              1 Reply Last reply Reply Quote 0
              • MZ-BERM Offline
                MZ-BER @sdetweil
                last edited by MZ-BER

                Hi @sdetweil, does the log tell me I have to only check MMM-MyCalendar & MMM-GoogleSheets, and all of the other modules are okay?

                S 1 Reply Last reply Reply Quote 0
                • S Away
                  sdetweil @MZ-BER
                  last edited by sdetweil

                  @MZ-BER sorry for not replying sooner.

                  I need to improve the messages.

                  those two modules are impacted by the removal of libraries. and would fail , stopping MagicMirror.

                  the upgrade script will fix them.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  MZ-BERM 1 Reply Last reply Reply Quote 0
                  • MZ-BERM Offline
                    MZ-BER @sdetweil
                    last edited by

                    @sdetweil No worries at all. Thanks for responding. I was able to upgrade with your script. Only MMM-NewsAPI and MMM-MyCalendar needed some attention.

                    For MMM-NewsAPI I had to install fetch-node and for MMM-MyCalendar I applied the workaround.

                    S 3 Replies Last reply Reply Quote 0
                    • S Away
                      sdetweil @MZ-BER
                      last edited by

                      @MZ-BER but, you KNEW about it before you started the ACTUAL upgrade, and so you were prepared.

                      that’s the whole point of the two pass approach.

                      awesome feedback. thanks.

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • S Away
                        sdetweil @MZ-BER
                        last edited by

                        @MZ-BER for MMM-NewsApi, the upgrade should have fixed that for you. (it’s node-fetch)

                        but, in addition, he has a module upgrade that fixes it natively without the extra npm install…

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 1
                        • 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