• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MM Update - GIT error

Scheduled Pinned Locked Moved Solved Troubleshooting
17 Posts 4 Posters 6.0k 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.
  • A Offline
    AxLed Module Developer
    last edited by Oct 23, 2018, 5:28 PM

    @Pakmann
    2 ideas:

    • in which folder are you trying to run the pull? It should be /MagicMirror/
    • do it without sudo rights

    AxLED

    1 Reply Last reply Reply Quote 0
    • P Offline
      Pakmann
      last edited by Pakmann Oct 23, 2018, 8:33 PM Oct 23, 2018, 8:08 PM

      @AxLed
      strange behaviour… i am in my root folder for MagicMirror: /home/pi/MagicMirror/

      without sudo command same result

      J 1 Reply Last reply Oct 23, 2018, 8:38 PM Reply Quote 0
      • J Offline
        justjim1220 Module Developer @Pakmann
        last edited by Oct 23, 2018, 8:38 PM

        @pakmann

        delete the file giving he error…

        .git/objects/5d/fba0b834306cc81693307ab0d1bf24e798a46a is empty

        "Life's Too Short To Dance With Ugly People"
        Jim Hallock - 1995

        1 Reply Last reply Reply Quote 0
        • P Offline
          Pakmann
          last edited by Oct 23, 2018, 9:03 PM

          @justjim1220

          thanks a lot! This works, but now the next issue -.-

          git pull && npm install
          error: refs/remotes/origin/develop does not point to a valid object!
          error: refs/remotes/origin/develop does not point to a valid object!
          error: refs/remotes/origin/develop does not point to a valid object!
          error: refs/remotes/origin/develop does not point to a valid object!
          remote: Enumerating objects: 507, done.
          remote: Counting objects: 100% (507/507), done.
          error: object file .git/objects/36/766f9a0089766d4a0e164f3f0b198dadcf60c4 is empty
          fatal: SHA1 KOLLISION MIT 36766f9a0089766d4a0e164f3f0b198dadcf60c4 GEFUNDEN !
          fatal: index-pack fehlgeschlagen
          
          
          J 1 Reply Last reply Oct 23, 2018, 9:05 PM Reply Quote 0
          • J Offline
            justjim1220 Module Developer @Pakmann
            last edited by Oct 23, 2018, 9:05 PM

            @pakmann

            try…

            npm rebuild
            from the MagicMirror directory

            then reboot your system

            "Life's Too Short To Dance With Ugly People"
            Jim Hallock - 1995

            P 1 Reply Last reply Oct 23, 2018, 9:35 PM Reply Quote 0
            • P Offline
              Pakmann @justjim1220
              last edited by Oct 23, 2018, 9:35 PM

              @justjim1220 said in MM Update - GIT error:

              @pakmann

              try…

              npm rebuild
              from the MagicMirror directory

              then reboot your system

              rebuild was sucessfull, but not working. Problem still alive

              J 1 Reply Last reply Oct 23, 2018, 9:40 PM Reply Quote 0
              • J Offline
                justjim1220 Module Developer @Pakmann
                last edited by Oct 23, 2018, 9:40 PM

                @pakmann

                delete the file causing new error…

                .git/objects/36/766f9a0089766d4a0e164f3f0b198dadcf60c4 is empty

                Then rebuild again…

                npm rebuild

                then reboot again

                if this doesn’t work, you may need to do the git pull && npm install again

                "Life's Too Short To Dance With Ugly People"
                Jim Hallock - 1995

                P 1 Reply Last reply Oct 23, 2018, 9:57 PM Reply Quote 0
                • P Offline
                  Pakmann @justjim1220
                  last edited by Oct 23, 2018, 9:57 PM

                  @justjim1220 said in MM Update - GIT error:

                  git pull && npm install

                  • detele file: check
                  • npm rebuild: check
                  • reboot: check
                  • new request for git pull && npm install: same behaviour…
                  git pull && npm install
                  error: refs/remotes/origin/develop does not point to a valid object!
                  error: refs/remotes/origin/develop does not point to a valid object!
                  error: refs/remotes/origin/develop does not point to a valid object!
                  error: refs/remotes/origin/develop does not point to a valid object!
                  remote: Enumerating objects: 507, done.
                  remote: Counting objects: 100% (507/507), done.
                  remote: Total 1591 (delta 507), reused 507 (delta 507), pack-reused 1084
                  Empfange Objekte: 100% (1591/1591), 691.80 KiB | 463.00 KiB/s, Fertig.
                  error: object file .git/objects/df/fc042df5d96cc8f7a956c12a2e002004d4cf7d is empty
                  fatal: SHA1 KOLLISION MIT dffc042df5d96cc8f7a956c12a2e002004d4cf7d GEFUNDEN !
                  fatal: index-pack fehlgeschlagen
                  
                  
                  J 2 Replies Last reply Oct 23, 2018, 9:58 PM Reply Quote 0
                  • J Offline
                    justjim1220 Module Developer @Pakmann
                    last edited by Oct 23, 2018, 9:58 PM

                    @pakmann

                    Well, I am not sure what is happening…
                    My best guess is to delete the .git folder then redo the git pull && npm install

                    "Life's Too Short To Dance With Ugly People"
                    Jim Hallock - 1995

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      justjim1220 Module Developer @Pakmann
                      last edited by Oct 23, 2018, 10:03 PM

                      @pakmann

                      OR…
                      Rename your MagicMirror folder to MM-BAK

                      then git clone MagicMirror for a fresh install

                      Then move your modules folder, config.js, and custom.css files over to the fresh install

                      might also need to move the package.json and package-lock.json files from the bak to the fresh install

                      And, anytime I have dealt with anything like this, I always have to rebuild, or reboot, or both

                      "Life's Too Short To Dance With Ugly People"
                      Jim Hallock - 1995

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        6/17
                        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