• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 2.3k 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 Oct 1, 2020, 4:33 PM Oct 1, 2020, 2:16 PM

    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 Oct 1, 2020, 2:29 PM Reply Quote 0
    • S Offline
      sdetweil @ColinT
      last edited by sdetweil Oct 1, 2020, 2:30 PM Oct 1, 2020, 2:29 PM

      @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
      • S Offline
        Stoffbeuteluwe Project Sponsor
        last edited by Oct 1, 2020, 7:01 PM

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

        Thank you sam for your work and help.

        S 1 Reply Last reply Oct 1, 2020, 7:03 PM Reply Quote 0
        • S Offline
          sdetweil @Stoffbeuteluwe
          last edited by Oct 1, 2020, 7:03 PM

          @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

          S 1 Reply Last reply Oct 1, 2020, 7:11 PM Reply Quote 0
          • S Offline
            Stoffbeuteluwe Project Sponsor @sdetweil
            last edited by Oct 1, 2020, 7:11 PM

            This post is deleted!
            S 1 Reply Last reply Oct 1, 2020, 7:12 PM Reply Quote 1
            • S Offline
              sdetweil @Stoffbeuteluwe
              last edited by Oct 1, 2020, 7:12 PM

              @Stoffbeuteluwe what module is that?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              S 2 Replies Last reply Oct 1, 2020, 7:13 PM Reply Quote 0
              • S Offline
                Stoffbeuteluwe Project Sponsor @sdetweil
                last edited by Oct 1, 2020, 7:13 PM

                @sdetweil default current weather

                1 Reply Last reply Reply Quote 0
                • S Offline
                  Stoffbeuteluwe Project Sponsor @sdetweil
                  last edited by Oct 1, 2020, 7:19 PM

                  @sdetweil i have it…

                  appendLocationNameToHeader: false,
                  
                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    swvalenti Project Sponsor
                    last edited by Oct 1, 2020, 7:36 PM

                    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 Oct 1, 2020, 7:43 PM Reply Quote 0
                    • S Offline
                      sdetweil @swvalenti
                      last edited by sdetweil Oct 1, 2020, 7:44 PM Oct 1, 2020, 7:43 PM

                      @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
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        1/14
                        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