A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Update to v2.9.0 fail
-
@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 -
@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")
-
@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
-
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
-
@bdream weird…
can u try the script again? i am recording the output of the git status command, manually it detects the file
-
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
-
@bdream can u show me the log again
-
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
-
@bdream said in Update to v2.9.0 fail:
current branch = master
???
no files different from github versionthere is supposed to be output from the git status command right there ???
I just made another tiny log reporting change… one more time please
-
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: