MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    Update auf 2.13.0

    General Discussion
    4
    65
    4198
    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.
    • kusselin
      kusselin last edited by

      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

      S Stoffbeuteluwe 2 Replies Last reply Reply Quote 0
      • S
        sdetweil @kusselin last edited by

        @kusselin Ich würde mein Upgrade-Skript von hier aus ausführen
        https://github.com/sdetweil/MagicMirror_scripts

        Siehe die Anweisungen, es ist ein zweistufiger Prozess, Test (keine Änderungen) und die Anwendung, wenn alles gut ist

        Sam

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • Stoffbeuteluwe
          Stoffbeuteluwe Project Sponsor @kusselin last edited by

          @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.

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

            O.K. danke Dir

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

              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)" apply
              

              dann 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.css
              

              Wo ist mein Fehler?

              Gruss

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

                @kusselin let me look. can u send me the upgrade.log from the installers folder?

                my email in this same userid at gmail

                Sam

                Create a working config
                How to add modules

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

                  @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 gmail

                  Upgrade 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
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sdetweil @kusselin last edited by

                    @kusselin try this

                    git remote prune origin
                    

                    then run in test mode (no apply param)

                    Sam

                    Create a working config
                    How to add modules

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

                      @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.css
                      
                      

                      das gleiche wieder 😞

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

                        @kusselin said in Update auf 2.13.0:

                        reference broken

                        ok, one more time

                        git gc --prune=now
                        git remote prune origin
                        

                        then script again

                        Sam

                        Create a working config
                        How to add modules

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 1 / 7
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy