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 auf 2.13.0

    Scheduled Pinned Locked Moved General Discussion
    65 Posts 4 Posters 24.9k 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.
    • kusselinK Offline
      kusselin
      last edited by kusselin

      @sdetweil said in Update auf 2.13.0:

      git remote prune origin

      pi@raspberrypi:~/MagicMirror $ git gc --prune=now
      fatal: bad object refs/tags/v2.12.0
      fatal: failed to run repack
      pi@raspberrypi:~/MagicMirror $ git remote prune origin
      pi@raspberrypi:~/MagicMirror $ 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.9.0 to 2.13.0
      fetching latest revisions
      error: cannot lock ref 'refs/tags/v2.12.0': unable to resolve reference 'refs/tags/v2.12.0': reference broken
      From https://github.com/MichMich/MagicMirror
       ! [new tag]           v2.12.0    -> v2.12.0  (unable to update local ref)
      MagicMirror git fetch failed
      restoring custom.css
      
      

      Wo ist das Problem…ist klar…bei mir läuft nie was auf Anhieb :-(

      der Pi ist auf aktuellem Stand mit update && upgrade

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

        something has happened to the git repo, it has lost a reference

        we are trying to clean it up

        one more time (note there is a dot in front of git/)

        mv .git/refs/remotes/origin/HEAD /tmp
        git gc --prune=now
        git remote prune origin
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil said in Update auf 2.13.0:

          git remote prune origin

          the same :-(

          pi@raspberrypi:~/MagicMirror $ mv .git/refs/remotes/origin/HEAD /tmp
          pi@raspberrypi:~/MagicMirror $ git gc --prune=now
          fatal: bad object refs/tags/v2.12.0
          fatal: failed to run repack
          pi@raspberrypi:~/MagicMirror $ git remote prune origin
          pi@raspberrypi:~/MagicMirror $ 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.9.0 to 2.13.0
          fetching latest revisions
          error: cannot lock ref 'refs/tags/v2.12.0': unable to resolve reference 'refs/tags/v2.12.0': reference broken
          From https://github.com/MichMich/MagicMirror
           ! [new tag]           v2.12.0    -> v2.12.0  (unable to update local ref)
          MagicMirror git fetch failed
          restoring custom.css
          
          
          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @kusselin
            last edited by

            @kusselin ok… show me results of

            git branch
            git remote -v 
            

            I’m not a git guru, so struggling to find solution

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              You are the best!!!

              pi@raspberrypi:~/MagicMirror $ git branch
              * master
              pi@raspberrypi:~/MagicMirror $ git remote -v
              origin  https://github.com/MichMich/MagicMirror.git (fetch)
              origin  https://github.com/MichMich/MagicMirror.git (push)
              
              
              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @kusselin
                last edited by

                @kusselin ok, ONE more try

                git update-ref -d 'refs/remotes/origin/HEAD'
                git prune
                git gc
                

                then try again

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @sdetweil said in Update auf 2.13.0:

                  git gc

                  pi@raspberrypi:~/MagicMirror $ git update-ref -d 'refs/remotes/origin/HEAD'
                  pi@raspberrypi:~/MagicMirror $ git prune
                  fatal: Konnte Objekt 'refs/tags/v2.12.0' nicht parsen.
                  pi@raspberrypi:~/MagicMirror $ git gc
                  fatal: bad object refs/tags/v2.12.0
                  fatal: failed to run repack
                  pi@raspberrypi:~/MagicMirror $ 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.9.0 to 2.13.0
                  fetching latest revisions
                  error: cannot lock ref 'refs/tags/v2.12.0': unable to resolve reference 'refs/tags/v2.12.0': reference broken
                  From https://github.com/MichMich/MagicMirror
                   ! [new tag]           v2.12.0    -> v2.12.0  (unable to update local ref)
                  MagicMirror git fetch failed
                  restoring custom.css
                  
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @kusselin
                    last edited by

                    @kusselin said in Update auf 2.13.0:

                    refs/tags/v2.12.0
                    man, what a challenge

                    rm -rf .git/refs/tags/v2.12.0
                    git prune
                    git gc
                    

                    then try again

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil said in Update auf 2.13.0:

                      git gc

                      Should i save this file now??

                      this comes in the console now…

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

                        @kusselin i don’t understand?

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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

                          Zwischenablage01.jpg

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

                            @kusselin looks like u might have changed compliments.js for some reason…

                            unless u applied a fix, you should never change the code in the module folders…
                            (else u run into this problem)…

                            I would say no, and figure out what needs to be saved and then restart it…
                            (this is test mode, so we are not changing anything)

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

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

                              @sdetweil said in Update auf 2.13.0:

                              looks like u might have changed compliments.js for some reason…
                              unless u applied a fix, you should never change the code in the module folders…
                              (else u run into this problem)…
                              I would say no, and figure out what needs to be saved and then restart it…
                              (this is test mode, so we are not changing anything)

                              o.k. look:

                              pi@raspberrypi:~/MagicMirror $ rm -rf .git/refs/tags/v2.12.0
                              pi@raspberrypi:~/MagicMirror $ git prune
                              Prüfe Konnektivität: 16017, Fertig.
                              pi@raspberrypi:~/MagicMirror $ git gc
                              Objekte aufzählen: 16017, Fertig.
                              Zähle Objekte: 100% (16017/16017), Fertig.
                              Delta-Kompression verwendet bis zu 4 Threads.
                              Komprimiere Objekte: 100% (5873/5873), Fertig.
                              Schreibe Objekte: 100% (16017/16017), Fertig.
                              Gesamt 16017 (Delta 9849), Wiederverwendet 15910 (Delta 9746)
                              pi@raspberrypi:~/MagicMirror $ 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.9.0 to 2.13.0
                              fetching latest revisions
                              From https://github.com/MichMich/MagicMirror
                               * [new tag]         v2.12.0    -> v2.12.0
                              there are 2 local files that are different than the master repo
                              
                                 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)?n
                              skipping restore for modules/default/compliments/compliments.js, doing test run
                              skipping restore for package-lock.json, doing test run
                              processing dependency changes for active modules with package.json files
                              
                              processing for module MMM-Remote-Control please wait
                              ----------------------------------
                              skipped processing for MMM-Remote-Control, doing test run
                              processing complete for module MMM-Remote-Control
                              
                              processing for module MMM-SoccerLiveScore please wait
                              ----------------------------------
                              skipped processing for MMM-SoccerLiveScore, doing test run
                              processing complete for module MMM-SoccerLiveScore
                              
                              processing for module MMM-SmartWebDisplay please wait
                              ----------------------------------
                              skipped processing for MMM-SmartWebDisplay, doing test run
                              processing complete for module MMM-SmartWebDisplay
                              
                              processing for module MMM-ioBroker please wait
                              ----------------------------------
                              skipped processing for MMM-ioBroker, doing test run
                              processing complete for module MMM-ioBroker
                              
                              processing for module MMM-FRITZ-Box-Callmonitor please wait
                              ----------------------------------
                              skipped processing for MMM-FRITZ-Box-Callmonitor, doing test run
                              processing complete for module MMM-FRITZ-Box-Callmonitor
                              
                              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-PublicTransportHafas please wait
                              ----------------------------------
                              skipped processing for MMM-PublicTransportHafas, doing test run
                              processing complete for module MMM-PublicTransportHafas
                              
                              processing for module MMM-Tools please wait
                              ----------------------------------
                              skipped processing for MMM-Tools, doing test run
                              processing complete for module MMM-Tools
                              
                              restoring custom.css
                              pi@raspberrypi:~/MagicMirror $ 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.9.0 to 2.13.0
                              fetching latest revisions
                              there are 2 local files that are different than the master repo
                              
                                 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)?n
                              skipping restore for modules/default/compliments/compliments.js, doing test run
                              skipping restore for package-lock.json, doing test run
                              processing dependency changes for active modules with package.json files
                              
                              processing for module MMM-Remote-Control please wait
                              ----------------------------------
                              skipped processing for MMM-Remote-Control, doing test run
                              processing complete for module MMM-Remote-Control
                              
                              processing for module MMM-SoccerLiveScore please wait
                              ----------------------------------
                              skipped processing for MMM-SoccerLiveScore, doing test run
                              processing complete for module MMM-SoccerLiveScore
                              
                              processing for module MMM-SmartWebDisplay please wait
                              ----------------------------------
                              skipped processing for MMM-SmartWebDisplay, doing test run
                              processing complete for module MMM-SmartWebDisplay
                              
                              processing for module MMM-ioBroker please wait
                              ----------------------------------
                              skipped processing for MMM-ioBroker, doing test run
                              processing complete for module MMM-ioBroker
                              
                              processing for module MMM-FRITZ-Box-Callmonitor please wait
                              ----------------------------------
                              skipped processing for MMM-FRITZ-Box-Callmonitor, doing test run
                              processing complete for module MMM-FRITZ-Box-Callmonitor
                              
                              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-PublicTransportHafas please wait
                              ----------------------------------
                              skipped processing for MMM-PublicTransportHafas, doing test run
                              processing complete for module MMM-PublicTransportHafas
                              
                              processing for module MMM-Tools please wait
                              ----------------------------------
                              skipped processing for MMM-Tools, doing test run
                              processing complete for module MMM-Tools
                              
                              restoring custom.css
                              
                              

                              it look good so or?

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

                                @kusselin well, you still need to resolve the problem with compliments.js…

                                if u don’t save it, then u lose whatever changes u made (but it might not matter)
                                if u DO save it, (and restore it) then it might not work anymore, or cause problems…

                                the test run warns that there WILL be a problem u need to fix first… (or understand how to resolve later)

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

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

                                  o.k. but one question…must i update my magic mirror? now it runs good…an i know there is a statement:

                                  “NEVER CHANGE A RUNNING SYSTEM”

                                  what you say?

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

                                    @kusselin you do NOT HAVE to update, unless u have a problem , or unless u need a new feature…

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

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

                                      i risk it … with “SAVE” now …pleas wait while updating… i will get back to you soon

                                      How long does the update while?

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

                                        @kusselin maybe 30 minutes

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

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

                                          ui …ok. thats a house number…

                                          i will back then

                                          for you first thanks a lot :-)

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

                                            look…can you say something about this installation now?

                                            pi@raspberrypi:~/MagicMirror $ bash -c  "$(curl -sL https://raw.githubuserconten        t.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
                                            No LSB modules are available.
                                            doing test run = false
                                            update log will be in /home/pi/MagicMirror/installers/upgrade.log
                                            
                                            saving custom.css
                                            upgrading from version 2.9.0 to 2.13.0
                                            fetching latest revisions
                                            there are 2 local files that are different than the master repo
                                            
                                               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
                                            updating MagicMirror runtime, please wait
                                            
                                            > console-stamp@0.2.9 postinstall /home/pi/MagicMirror/node_modules/console-stam        p
                                            > node ./msg.js
                                            
                                            Attention
                                                Console-stamp version 3.0.0 Release Candidate is out. Install by using the t        ag '@next'. NB: Breaking changes.
                                                For more details goto: https://www.npmjs.com/package/console-stamp/v/next
                                            
                                            
                                            > electron@6.1.12 postinstall /home/pi/MagicMirror/node_modules/electron
                                            > node install.js
                                            
                                            Downloading tmp-16303-1-SHASUMS256.txt-6.1.12
                                            [============================================>] 100.0% of 5.62 kB (5.62 kB/s)
                                            
                                            > magicmirror@2.13.0 install /home/pi/MagicMirror
                                            > echo "Installing vendor files ...
                                            " && cd vendor && npm install --loglevel=error
                                            
                                            Installing vendor files ...
                                            
                                            added 3 packages from 3 contributors, removed 62 packages, updated 17 packages and audited 24 packages in 38.077s
                                            
                                            1 package is looking for funding
                                              run `npm fund` for details
                                            
                                            found 0 vulnerabilities
                                            
                                            
                                            > magicmirror@2.13.0 postinstall /home/pi/MagicMirror
                                            > npm run install-fonts && echo "MagicMirror installation finished successfully!
                                            "
                                            
                                            
                                            > magicmirror@2.13.0 install-fonts /home/pi/MagicMirror
                                            > echo "Installing fonts ...
                                            " && cd fonts && npm install --loglevel=error
                                            
                                            Installing fonts ...
                                            
                                            updated 1 package and audited 1 package in 8.1s
                                            found 0 vulnerabilities
                                            
                                            MagicMirror installation finished successfully!
                                            
                                            added 81 packages from 60 contributors, removed 340 packages, updated 119 packages and audited 1164 packages in 928.05s
                                            
                                            9 packages are looking for funding
                                              run `npm fund` for details
                                            
                                            found 3 low severity vulnerabilities
                                              run `npm audit fix` to fix them, or `npm audit` for details
                                            processing dependency changes for active modules with package.json files
                                            
                                            processing for module MMM-Remote-Control please wait
                                            ----------------------------------
                                            npm notice created a lockfile as package-lock.json. You should commit this file.
                                            added 30 packages from 24 contributors and audited 30 packages in 22.948s
                                            found 0 vulnerabilities
                                            
                                            processing complete for module MMM-Remote-Control
                                            
                                            processing for module MMM-SoccerLiveScore please wait
                                            ----------------------------------
                                            npm notice created a lockfile as package-lock.json. You should commit this file.
                                            up to date in 2.55s
                                            found 0 vulnerabilities
                                            
                                            processing complete for module MMM-SoccerLiveScore
                                            
                                            processing for module MMM-SmartWebDisplay please wait
                                            ----------------------------------
                                            npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                                            npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                                            npm notice created a lockfile as package-lock.json. You should commit this file.
                                            added 93 packages from 86 contributors and audited 94 packages in 49.515s
                                            
                                            1 package is looking for funding
                                              run `npm fund` for details
                                            
                                            found 0 vulnerabilities
                                            
                                            processing complete for module MMM-SmartWebDisplay
                                            
                                            processing for module MMM-ioBroker please wait
                                            ----------------------------------
                                            npm notice created a lockfile as package-lock.json. You should commit this file.
                                            added 41 packages from 465 contributors and audited 41 packages in 32.545s
                                            
                                            2 packages are looking for funding
                                              run `npm fund` for details
                                            
                                            found 1 low severity vulnerability
                                              run `npm audit fix` to fix them, or `npm audit` for details
                                            processing complete for module MMM-ioBroker
                                            
                                            processing for module MMM-FRITZ-Box-Callmonitor please wait
                                            ----------------------------------
                                            npm notice created a lockfile as package-lock.json. You should commit this file.
                                            added 11 packages from 64 contributors and audited 11 packages in 15.02s
                                            found 0 vulnerabilities
                                            
                                            processing complete for module MMM-FRITZ-Box-Callmonitor
                                            
                                            processing for module MMM-Fuel please wait
                                            ----------------------------------
                                            npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
                                            npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
                                            npm notice created a lockfile as package-lock.json. You should commit this file.
                                            npm WARN eslint-config-recommended@4.1.0 requires a peer of eslint@^6.0.0 but none is installed. You must install peer dependencies yourself.
                                            npm WARN eslint-config-esnext@4.1.0 requires a peer of eslint@^6.0.0 but none is installed. You must install peer dependencies yourself.
                                            npm WARN eslint-config-node@4.1.0 requires a peer of eslint@^6.0.0 but none is installed. You must install peer dependencies yourself.
                                            npm WARN eslint-config-react-native@4.1.0 requires a peer of eslint@^6.0.0 but none is installed. You must install peer dependencies yourself.
                                            
                                            added 584 packages from 375 contributors and audited 584 packages in 366.594s
                                            
                                            38 packages are looking for funding
                                              run `npm fund` for details
                                            
                                            found 1 low severity vulnerability
                                              run `npm audit fix` to fix them, or `npm audit` for details
                                            processing complete for module MMM-Fuel
                                            
                                            processing for module MMM-PublicTransportHafas please wait
                                            ----------------------------------
                                            npm notice created a lockfile as package-lock.json. You should commit this file.
                                            added 33 packages from 23 contributors and audited 33 packages in 25.836s
                                            
                                            2 packages are looking for funding
                                              run `npm fund` for details
                                            
                                            found 0 vulnerabilities
                                            
                                            processing complete for module MMM-PublicTransportHafas
                                            
                                            processing for module MMM-Tools please wait
                                            ----------------------------------
                                            npm notice created a lockfile as package-lock.json. You should commit this file.
                                            added 3 packages from 3 contributors and audited 3 packages in 8.165s
                                            
                                            1 package is looking for funding
                                              run `npm fund` for details
                                            
                                            found 0 vulnerabilities
                                            
                                            processing complete for module MMM-Tools
                                            
                                            restoring custom.css
                                            we stashed a set of files that appear changed from the latest repo versions. you should review them
                                            see installers/stashed_files for the list
                                            
                                            you can use git checkout stash@{0} -- filename to extract one file from the stash
                                            
                                            or git stash pop to restore them all
                                            
                                            WARNING..
                                            WARNING.. either will overlay the file just installed by the update
                                            WARNING..
                                            
                                            
                                            S 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
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • 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