Read the statement by Michael Teeuw here.
Update auf 2.13.0
-
Hallo Zusammen, war schon länger nicht mehr hier…
Wenn ich das Update mache…kann ich das einfach mit dem Befehl über Putty zb mit “git pull && npm install” machen?Oder muss ich da noch was beachten?
Über ne kurze Info herzlichen Dank.
Gruss
Kussel -
@kusselin Ich würde mein Upgrade-Skript von hier aus ausführen
https://github.com/sdetweil/MagicMirror_scriptsSiehe die Anweisungen, es ist ein zweistufiger Prozess, Test (keine Änderungen) und die Anwendung, wenn alles gut ist
-
@kusselin Hallo, ich empfehle dir auch das Update Script von Sam zu nutzen, das funktioniert super und deine ganzen Änderungen werden wieder mit übernommen…wenn du das mit dem (apply) machst.
Ich mach das auch immer.
Kannst ja vorher vorsichtshalber deinen MagicMirror Ordner kopieren und irgendwo sichern, falls doch was schiefgeht. -
O.K. danke Dir
-
habe eben probiert das update zu machen mit folgendem Befehl:
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" applydann kommt aber folgende Melsung:
pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetwe il/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 error: cannot lock ref 'refs/tags/v2.12.0': unable to resolve reference 'refs/ta gs/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.cssWo ist mein Fehler?
Gruss
-
@kusselin let me look. can u send me the upgrade.log from the installers folder?
my email in this same userid at gmail
-
@sdetweil said in Update auf 2.13.0:
@kusselin let me look. can u send me the upgrade.log from the installers folder?
my email in this same userid at gmailUpgrade started - So Nov 15 12:26:19 CET 2020 system is Linux raspberrypi 5.4.72-v7+ #1356 SMP Thu Oct 22 13:56:54 BST 2020 armv7l GNU/Linux the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster user requested to apply changes doing test run = false saving custom.css remote name = origin upgrading from version 2.9.0 to 2.13.0 fetching latest revisions git fetch rc=1 MagicMirror git fetch failed restoring custom.css removing git alias Upgrade ended - So Nov 15 12:26:23 CET 2020 Upgrade started - So Nov 15 12:26:55 CET 2020 system is Linux raspberrypi 5.4.72-v7+ #1356 SMP Thu Oct 22 13:56:54 BST 2020 armv7l GNU/Linux the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster user requested to apply changes doing test run = false saving custom.css remote name = origin upgrading from version 2.9.0 to 2.13.0 fetching latest revisions git fetch rc=1 MagicMirror git fetch failed restoring custom.css removing git alias Upgrade ended - So Nov 15 12:26:59 CET 2020 Upgrade started - So Nov 15 12:27:33 CET 2020 system is Linux raspberrypi 5.4.72-v7+ #1356 SMP Thu Oct 22 13:56:54 BST 2020 armv7l GNU/Linux the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster doing test run = true, NO updates will be applied! saving custom.css remote name = origin upgrading from version 2.9.0 to 2.13.0 fetching latest revisions git fetch rc=1 MagicMirror git fetch failed restoring custom.css removing git alias Upgrade ended - So Nov 15 12:27:37 CET 2020 -
-
@sdetweil said in Update auf 2.13.0:
git remote prune origin
hi sdetweil schau hier:
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.cssdas gleiche wieder :-(
-
@kusselin said in Update auf 2.13.0:
reference broken
ok, one more time
git gc --prune=now git remote prune originthen script again
-
@sdetweil said in Update auf 2.13.0:
git remote prune origin
pi@raspberrypi:~ $ cd MagicMirror 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 -
ok, another try
git remote set-head origin --auto git gc --prune=now git remote prune origin -
@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.cssWo ist das Problem…ist klar…bei mir läuft nie was auf Anhieb :-(
der Pi ist auf aktuellem Stand mit update && upgrade
-
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 -
@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 -
@kusselin ok… show me results of
git branch git remote -vI’m not a git guru, so struggling to find solution
-
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) -
@kusselin ok, ONE more try
git update-ref -d 'refs/remotes/origin/HEAD' git prune git gcthen try again
-
@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 -
@kusselin said in Update auf 2.13.0:
refs/tags/v2.12.0
man, what a challengerm -rf .git/refs/tags/v2.12.0 git prune git gcthen try again
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