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 MagicMirror² v2.13.0 failed

    Scheduled Pinned Locked Moved General Discussion
    14 Posts 5 Posters 4.0k 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.
    • C Offline
      ColinT
      last edited by sdetweil

      Just run git pull to update from v2.12.0 and it did the update but would not run afterwards. I had to do a clean install of v2.13.0 and copy the config and modules I had installed over to the new install and it now runs fine. Anyone any ideas why it would not run? Might be useful to anyone else with problems.

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

        @ColinT no idea… but I made a script to handle upgrades a year ago now…

        https://github.com/sdetweil/MagicMirror_scripts

        the ‘best’ part is the log file, so we can see what went on…

        many times u have to do an npm install in the module folders too

        wait,I re-read your post…

        after git pull, you did npm install , right?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 1
        • StoffbeuteluweS Offline
          Stoffbeuteluwe Project Sponsor
          last edited by

          Hallo, I used Sams upgrade script and it works fine …

          Thank you sam for your work and help.

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

            @Stoffbeuteluwe my pleasure… one failure was a module problem, the other my be network… unknown

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            StoffbeuteluweS 1 Reply Last reply Reply Quote 0
            • StoffbeuteluweS Offline
              Stoffbeuteluwe Project Sponsor @sdetweil
              last edited by

              This post is deleted!
              S 1 Reply Last reply Reply Quote 1
              • S Offline
                sdetweil @Stoffbeuteluwe
                last edited by

                @Stoffbeuteluwe what module is that?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                StoffbeuteluweS 2 Replies Last reply Reply Quote 0
                • StoffbeuteluweS Offline
                  Stoffbeuteluwe Project Sponsor @sdetweil
                  last edited by

                  @sdetweil default current weather

                  1 Reply Last reply Reply Quote 0
                  • StoffbeuteluweS Offline
                    Stoffbeuteluwe Project Sponsor @sdetweil
                    last edited by

                    @sdetweil i have it…

                    appendLocationNameToHeader: false,
                    
                    1 Reply Last reply Reply Quote 0
                    • swvalentiS Offline
                      swvalenti Project Sponsor
                      last edited by

                      Sam using your script and this is the output…this all that needs to be done?

                      pi@raspberrypi:~ $ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
                      No LSB modules are available.
                      
                      doing test run = true, NO updates will be applied!
                      
                      update log will be in /home/pi/MagicMirror/installers/upgrade.log
                      
                      saving custom.css
                      upgrading from version 2.12.0 to 2.13.0
                      fetching latest revisions
                      there are 3 local files that are different than the master repo
                      
                         installers/mm.sh
                         modules/default/compliments/compliments.js
                         package-lock.json
                      
                      any *-lock.json files do not need to be saved
                      do you want to save these files for later   (Y/n)?y
                      processing dependency changes for active modules with package.json files
                      
                      processing for module MMM-EARTH please wait
                      ----------------------------------
                      skipped processing for MMM-EARTH, doing test run
                      processing complete for module MMM-EARTH
                      
                      processing for module MMM-FlightRadarTracker please wait
                      ----------------------------------
                      skipped processing for MMM-FlightRadarTracker, doing test run
                      processing complete for module MMM-FlightRadarTracker
                      
                      processing for module MMM-DarkSkyForecast please wait
                      ----------------------------------
                      skipped processing for MMM-DarkSkyForecast, doing test run
                      processing complete for module MMM-DarkSkyForecast
                      
                      restoring custom.css
                      test run, restoring files stashed
                      pi@raspberrypi:~ $
                      
                      
                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @swvalenti
                        last edited by sdetweil

                        @swvalenti said in Update to MagicMirror² v2.13.0 failed:

                        doing test run = true,

                        there are TWO passes… one in test mode
                        and one with apply

                        what is wrong with my doc?

                        upgrade-script.sh will do the git pull and npm install, and refresh npm setup for any modules that might need it
                        it should handle all the work… and give you a trial run of all that…
                        
                        only applying changes if u request them
                        
                        give it a try this works on Mac as well, cut/paste this line into the terminal window on your device
                        
                        bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
                        no changes are made to the local repo or the working copy
                        
                        if you WANT to actually apply the changes, cut/paste this line into the terminal window on your device 
                        
                        bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
                        there is a log file (upgrade.log) in the MagicMirror/installers folder…
                        
                        
                        

                        i don’t understand how everyone misses this

                        if you WANT to actually apply the changes, cut/paste this line into the terminal window on your device
                        

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

                          I updated the doc again to try to make the processes more visible

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

                            Thanks Sam

                            1 Reply Last reply Reply Quote 0
                            • cowboysdudeC Offline
                              cowboysdude Module Developer
                              last edited by

                              The more things change… the more they stay the same…LOL

                              1 Reply Last reply Reply Quote 1
                              • C Offline
                                ColinT
                                last edited by

                                Sorry I forgot all about the script been so busy with other stuff since I 1st installed it. Thanks for the reply.

                                Colin

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