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.9.0 fail

    Scheduled Pinned Locked Moved Solved Troubleshooting
    48 Posts 3 Posters 18.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.
    • S Offline
      sdetweil @bdream
      last edited by

      @bdream u should use my script…

      instructions here

      https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • B Offline
        bdream
        last edited by

        I tried u script but get further message update available even I restarted mm

        pm2 start mm
        

        the upgrade log here

        
        Upgrade started - Mi Okt 16 14:38:38 CEST 2019
        doing test run = true
        downloading dumpactivemodules script
        
        saving custom.css
        not english or locale not set, set git alias
        remote name = origin
        upgrading from version 2.8.0 to 2.9.0
        fetching latest revisions
        current branch = master
        no files different from github version
        test merge result rc='' , if empty, no conflicts
        skipping merge, only test run
        
        processing dependency changes for active modules with package.json files
        processing for module MMM-Carousel please wait
        ----------------------------------
        skipped processing for MMM-Carousel, doing test run
        processing complete for module MMM-Carousel
        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-PublicTransportHafas please wait
        ----------------------------------
        skipped processing for MMM-PublicTransportHafas, doing test run
        processing complete for module MMM-PublicTransportHafas
        processing for module MMM-PublicTransportHafas please wait
        ----------------------------------
        skipped processing for MMM-PublicTransportHafas, doing test run
        processing complete for module MMM-PublicTransportHafas
        restoring custom.css
        removing git alias
        Upgrade ended - Mi Okt 16 14:38:45 CEST 2019
        
        Upgrade started - Mi Okt 16 14:41:56 CEST 2019
        user requested to apply changes
        doing test run = false
        
        saving custom.css
        not english or locale not set, set git alias
        remote name = origin
        upgrading from version 2.8.0 to 2.9.0
        fetching latest revisions
        current branch = master
        no files different from github version
        test merge result rc='' , if empty, no conflicts
        executing merge, apply specified
        merge result rc= 1
         error: Ihre lokalen Änderungen in den folgenden Dateien würden durch den Merge überschrieben werden: 	package-lock.json Bitte committen oder stashen Sie Ihre Änderungen, bevor Sie mergen. Abbruch Aktualisiere a31546b..500147e
        there were merge errors
        you should examine and resolve them
        using the command git log --oneline --decorate
        a31546b (grafted, HEAD -> master, tag: v2.8.0) Merge pull request #1717 from MichMich/develop
        restoring custom.css
        removing git alias
        Upgrade ended - Mi Okt 16 14:41:58 CEST 2019
        

        –
        cheers, bdream

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

          @bdream fun… can u show me the results of

          alias git='LANGUAGE=en_US.UTF-8 git'
          git status
          unalias git >/dev/null
          

          thanks…

          I had also changed the messaging to english… surprised at the german message…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • B Offline
            bdream
            last edited by

            @sdetweil seems there is a deeper problem!?!

            pi@MagicMirror:~ $ git status
            fatal: not a git repository (or any of the parent directories): .git
            

            what does this mean please?

            unalias git >/dev/null
            

            –
            cheers, bdream

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

              @bdream u need to be in the MagicMirror folder to do those commands

              i set an alias for git to use english messages
              then execute a git command, with english output
              then remove the alias, so back to your configured language

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • B Offline
                bdream
                last edited by

                @sdetweil SORRY!

                pi@MagicMirror:~/MagicMirror $  git status
                On branch master
                Your branch is behind 'origin/master' by 2715 commits, 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 checkout -- <file>..." to discard changes in working directory)
                
                        modified:   css/custom.css
                        modified:   package-lock.json
                
                Untracked files:
                  (use "git add <file>..." to include in what will be committed)
                
                        core
                        installers/dumpactivemodules.js
                        installers/pm2_MagicMirror_new.json
                        mm.sh
                        nohup.out
                
                no changes added to commit (use "git add" and/or "git commit -a")
                

                –
                cheers, bdream

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

                  @bdream weird… says code should handle it

                  try this

                  alias
                  alias git='LANGUAGE=en_US.UTF-8 git'
                  git status | grep modified | awk -F: '{print $2}'
                  unalias git >/dev/null
                  

                  thanks

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bdream
                    last edited by

                    @sdetweil

                    pi@MagicMirror:~/MagicMirror $  alias
                    alias egrep='egrep --color=auto'
                    alias fgrep='fgrep --color=auto'
                    alias git='LANGUAGE=en_US.UTF-8 git'
                    alias grep='grep --color=auto'
                    alias ls='ls --color=auto'
                    pi@MagicMirror:~/MagicMirror $  alias git='LANGUAGE=en_US.UTF-8 git'
                    pi@MagicMirror:~/MagicMirror $  git status | grep modified | awk -F: '{print $2}'
                       css/custom.css
                       package-lock.json
                    pi@MagicMirror:~/MagicMirror $  unalias git >/dev/null
                    
                    

                    –
                    cheers, bdream

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

                      @bdream weird…

                      can u try the script again? i am recording the output of the git status command, manually it detects the file

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        bdream
                        last edited by

                        @sdetweil

                        pi@MagicMirror:~/MagicMirror $   bash -c  "$(curl -sL https://www.dropbox.com/s/lxzwyzohg61sppu/upgrade-script.sh?dl=0)" apply
                        doing test run = false
                        update log will be in /home/pi/MagicMirror/installers/upgrade.log
                        
                        saving custom.css
                        upgrading from version 2.8.0 to 2.9.0
                        fetching latest revisions
                        there were merge errors
                        you should examine and resolve them
                        using the command git log --oneline --decorate
                        a31546b (grafted, HEAD -> master, tag: v2.8.0) Merge pull request #1717 from MichMich/develop
                        restoring custom.css
                        
                        

                        –
                        cheers, bdream

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

                          @bdream can u show me the log again

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            bdream
                            last edited by

                            Upgrade started - Mi Okt 16 15:22:29 CEST 2019
                            user requested to apply changes
                            doing test run = false
                            
                            saving custom.css
                            not english or locale not set, set git alias
                            remote name = origin
                            upgrading from version 2.8.0 to 2.9.0
                            fetching latest revisions
                            current branch = master
                            no files different from github version
                            test merge result rc='' , if empty, no conflicts
                            executing merge, apply specified
                            merge result rc= 1
                             error: Ihre lokalen Änderungen in den folgenden Dateien würden durch den Merge überschrieben werden: 	package-lock.json Bitte committen oder stashen Sie Ihre Änderungen, bevor Sie mergen. Abbruch Aktualisiere a31546b..500147e
                            there were merge errors
                            you should examine and resolve them
                            using the command git log --oneline --decorate
                            a31546b (grafted, HEAD -> master, tag: v2.8.0) Merge pull request #1717 from MichMich/develop
                            restoring custom.css
                            removing git alias
                            Upgrade ended - Mi Okt 16 15:22:31 CEST 2019
                            
                            

                            –
                            cheers, bdream

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

                              @bdream said in Update to v2.9.0 fail:

                              current branch = master
                              ???
                              no files different from github version

                              there is supposed to be output from the git status command right there ???

                              I just made another tiny log reporting change… one more time please

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • B Offline
                                bdream
                                last edited by

                                @sdetweil

                                pi@MagicMirror:~/MagicMirror $   bash -c  "$(curl -sL https://www.dropbox.com/s/lxzwyzohg61sppu/upgrade-script.sh?dl=0)" apply
                                doing test run = false
                                update log will be in /home/pi/MagicMirror/installers/upgrade.log
                                
                                saving custom.css
                                upgrading from version 2.8.0 to 2.9.0
                                fetching latest revisions
                                there were merge errors
                                error: Ihre lokalen Änderungen in den folgenden Dateien würden durch den Merge überschrieben werden:    package-lock.json Bitte committen oder stashen Sie Ihre Änderungen, bevor Sie mergen. Abbruch Aktualisiere a31546b..500147e
                                you should examine and resolve them
                                using the command git log --oneline --decorate
                                a31546b (grafted, HEAD -> master, tag: v2.8.0) Merge pull request #1717 from MichMich/develop
                                restoring custom.css
                                
                                Upgrade started - Mi Okt 16 15:31:26 CEST 2019
                                user requested to apply changes
                                doing test run = false
                                
                                saving custom.css
                                not english or locale not set, set git alias
                                remote name = origin
                                upgrading from version 2.8.0 to 2.9.0
                                fetching latest revisions
                                current branch = master
                                Auf Branch master
                                Ihr Branch ist 2715 Commits hinter 'origin/master', und kann vorgespult werden.
                                  (benutzen Sie "git pull", um Ihren lokalen Branch zu aktualisieren)
                                
                                Änderungen, die nicht zum Commit vorgemerkt sind:
                                  (benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken)
                                  (benutzen Sie "git checkout -- <Datei>...", um die Änderungen im Arbeitsverzeichnis zu verwerfen)
                                
                                	geändert:       css/custom.css
                                	geändert:       package-lock.json
                                
                                Unversionierte Dateien:
                                  (benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken)
                                
                                	core
                                	css/save_custom.css
                                	installers/dumpactivemodules.js
                                	installers/pm2_MagicMirror_new.json
                                	mm.sh
                                	nohup.out
                                
                                keine Änderungen zum Commit vorgemerkt (benutzen Sie "git add" und/oder "git commit -a")
                                no files different from github version
                                test merge result rc='' , if empty, no conflicts
                                executing merge, apply specified
                                merge result rc= 1
                                 error: Ihre lokalen Änderungen in den folgenden Dateien würden durch den Merge überschrieben werden: 	package-lock.json Bitte committen oder stashen Sie Ihre Änderungen, bevor Sie mergen. Abbruch Aktualisiere a31546b..500147e
                                there were merge errors
                                you should examine and resolve them
                                using the command git log --oneline --decorate
                                a31546b (grafted, HEAD -> master, tag: v2.8.0) Merge pull request #1717 from MichMich/develop
                                restoring custom.css
                                removing git alias
                                Upgrade ended - Mi Okt 16 15:31:29 CEST 2019
                                

                                I’m sorry for german within the log :unamused_face:

                                –
                                cheers, bdream

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

                                  @bdream said in Update to v2.9.0 fail:

                                  geändert: css/custom.css
                                  geändert: package-lock.json

                                  that will do it… i search for english ‘modified’, but its not there…

                                  ok, one more time… another reporting change

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  1 Reply Last reply Reply Quote 0
                                  • B Offline
                                    bdream
                                    last edited by

                                    @sdetweil

                                    Upgrade started - Mi Okt 16 15:38:04 CEST 2019
                                    user requested to apply changes
                                    doing test run = false
                                    
                                    saving custom.css
                                    not english or locale not set, set git alias
                                    alias git='LANGUAGE=en_US.UTF-8 git'
                                    remote name = origin
                                    upgrading from version 2.8.0 to 2.9.0
                                    fetching latest revisions
                                    current branch = master
                                    Auf Branch master
                                    Ihr Branch ist 2715 Commits hinter 'origin/master', und kann vorgespult werden.
                                      (benutzen Sie "git pull", um Ihren lokalen Branch zu aktualisieren)
                                    
                                    Änderungen, die nicht zum Commit vorgemerkt sind:
                                      (benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken)
                                      (benutzen Sie "git checkout -- <Datei>...", um die Änderungen im Arbeitsverzeichnis zu verwerfen)
                                    
                                    	geändert:       css/custom.css
                                    	geändert:       package-lock.json
                                    
                                    Unversionierte Dateien:
                                      (benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken)
                                    
                                    	%logfile
                                    	core
                                    	css/save_custom.css
                                    	installers/dumpactivemodules.js
                                    	installers/pm2_MagicMirror_new.json
                                    	mm.sh
                                    	nohup.out
                                    
                                    keine Änderungen zum Commit vorgemerkt (benutzen Sie "git add" und/oder "git commit -a")
                                    no files different from github version
                                    test merge result rc='' , if empty, no conflicts
                                    executing merge, apply specified
                                    merge result rc= 1
                                     error: Ihre lokalen Änderungen in den folgenden Dateien würden durch den Merge überschrieben werden: 	package-lock.json Bitte committen oder stashen Sie Ihre Änderungen, bevor Sie mergen. Abbruch Aktualisiere a31546b..500147e
                                    there were merge errors
                                    you should examine and resolve them
                                    using the command git log --oneline --decorate
                                    a31546b (grafted, HEAD -> master, tag: v2.8.0) Merge pull request #1717 from MichMich/develop
                                    restoring custom.css
                                    removing git alias
                                    Upgrade ended - Mi Okt 16 15:38:06 CEST 2019
                                    
                                    

                                    –
                                    cheers, bdream

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

                                      @bdream cool… do this

                                      shopt | grep expand 
                                      

                                      should see this

                                      expand_aliases  on
                                      

                                      I bet you see this

                                      expand_aliases  off
                                      

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      1 Reply Last reply Reply Quote 0
                                      • B Offline
                                        bdream
                                        last edited by

                                        @sdetweil said in Update to v2.9.0 fail:

                                        I bet you see this
                                        expand_aliases off

                                        pi@MagicMirror:~/MagicMirror $   shopt | grep expand
                                        assoc_expand_once       off
                                        direxpand       off
                                        expand_aliases  on
                                        

                                        –
                                        cheers, bdream

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

                                          @bdream said in Update to v2.9.0 fail:

                                          expand_aliases on

                                          yeh, but it didn’t!!

                                          try script again

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          1 Reply Last reply Reply Quote 0
                                          • B Offline
                                            bdream
                                            last edited by

                                            @sdetweil said in Update to v2.9.0 fail:

                                            try script again

                                            pi@MagicMirror:~/MagicMirror $  bash -c  "$(curl -sL https://www.dropbox.com/s/lxzwyzohg61sppu/upgrade-script.sh?dl=0)" apply
                                            doing test run = false
                                            update log will be in /home/pi/MagicMirror/installers/upgrade.log
                                            
                                            saving custom.css
                                            upgrading from version 2.8.0 to 2.9.0
                                            fetching latest revisions
                                            there are 2 local files that are different than the master repo
                                            
                                               css/custom.css
                                               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
                                            
                                            *** Bitte geben Sie an, wer Sie sind.
                                            
                                            Führen Sie
                                            
                                              git config --global user.email "you@example.com"
                                              git config --global user.name "Your Name"
                                            
                                            aus, um das als Ihre standardmäßige Identität zu setzen.
                                            Lassen Sie die Option "--global" weg, um die Identität nur
                                            für dieses Repository zu setzen.
                                            fatal: Konnte die E-Mail-Adresse nicht automatisch erkennen ('pi@MagicMirror.(none)' erhalten)
                                            Kann den aktuellen Zustand des Index nicht speichern
                                            there were merge errors
                                            error: Your local changes to the following files would be overwritten by merge:         package-lock.json Please commit your changes or stash them before you merge. Aborting Updating a31546b..500147e
                                            you should examine and resolve them
                                            using the command git log --oneline --decorate
                                            a31546b (grafted, HEAD -> master, tag: v2.8.0) Merge pull request #1717 from MichMich/develop
                                            restoring custom.css
                                            we stashed a set of files that appear changed from the latest repo versions. you should review them
                                            Keine Stash-Einträge gefunden.
                                            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..
                                            
                                            

                                            custom.css is realy touched by me but should not be affected by updates I thougt.

                                            *** Bitte geben Sie an, wer Sie sind.
                                            
                                            Führen Sie
                                            
                                              git config --global user.email "you@example.com"
                                              git config --global user.name "Your Name"
                                            
                                            aus, um das als Ihre standardmäßige Identität zu setzen.
                                            Lassen Sie die Option "--global" weg, um die Identität nur
                                            für dieses Repository zu setzen.
                                            fatal: Konnte die E-Mail-Adresse nicht automatisch erkennen ('pi@MagicMirror.(none)' erhalten)
                                            Kann den aktuellen Zustand des Index nicht speichern
                                            

                                            that says about the git configuration is not correct. But I never configured git on the Pi. Do I need to do?
                                            The fatal is about the e-mail was not to get detected automaticly. For sure there was never a e-mail configured for nothing at the Pi.
                                            Index can not be saved.

                                            Keine Stash-Einträge gefunden.
                                            

                                            Says 'no Stash-entries were found. whatever that mens.

                                            –
                                            cheers, bdream

                                            S 2 Replies 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
                                            • 1 / 3
                                            • 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