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 a module whit git pull didn't work...

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    12 Posts 4 Posters 10.7k Views 4 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.
    • G Offline
      gismo2006
      last edited by

      Hi, everybody

      after a long time I am working again on my Magic Mirror. :-)

      But today I have a little problem…

      i like to update one module. I think no problem. I can use “git pull”. I change into the modul folder and write git pull. But now they will update magic mirror and not the module. OK i checked if i really in the module folder. Ok i am right. Then i searched in this forum and Iam found only thread about updating all module at the same time or that i should use git pull. But that I have used.

      Have somebody a idea what i do wrong?

      greets gismo

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

        @gismo2006 Are you trying to run “git pull” from the specific module’s folder? You need to cd inside before “git pull” will work.

        1 Reply Last reply Reply Quote 0
        • G Offline
          gismo2006
          last edited by

          hey @Burner911

          yes, i have try git pull from specific folder. at my problem the modul was called MMM-Remote-Control So i write.

          cd MagigMirror
          cd modules
          cd MMM-Remote-Control
          git pull

          but nothing. my pi like to update mm² and not the modul.

          greets gismo2006

          strawberry 3.141S 1 Reply Last reply Reply Quote 0
          • strawberry 3.141S Offline
            strawberry 3.141 Project Sponsor Module Developer @gismo2006
            last edited by

            @gismo2006 sounds like the directory isnt a git repo. did you use git clone to install the module or did you manually download the files etc.

            Please create a github issue if you need help, so I can keep track

            1 Reply Last reply Reply Quote 0
            • G Offline
              gismo2006
              last edited by

              ok i have tested it now again. after i write git pull my pi write this…

              remote: Counting objects: 24, done.
              remote: Compressing objects: 100% (10/10), done.
              remote: Total 24 (delta 11), reused 9 (delta 9), pack-reused 5
              Entpacke Objekte: 100% (24/24), Fertig.
              Von https://github.com/MichMich/MagicMirror
              5d63065…9bd42ac develop -> origin/develop
              Already up-to-date.

              And because this link i think it like to update mm² and not the module. https://github.com/MichMich/MagicMirror

              B 1 Reply Last reply Reply Quote 0
              • B Offline
                Burner911 @gismo2006
                last edited by

                @gismo2006 I think I am actually having a similar issue as you. I updated the same module last night using git pull, but the module is not functioning properly. @strawberry-3-141 any chance we need to npm install inside the folder again?

                strawberry 3.141S 1 Reply Last reply Reply Quote 0
                • G Offline
                  gismo2006
                  last edited by

                  @strawberry-3-141

                  I have to lie to answer this question.

                  I think i have install it with git clone. but iam not realy sure. but i think you are right that can be the misstake… :-)

                  greets gismo

                  1 Reply Last reply Reply Quote 0
                  • strawberry 3.141S Offline
                    strawberry 3.141 Project Sponsor Module Developer @Burner911
                    last edited by

                    @Burner911 only if the dependencies have changed

                    Please create a github issue if you need help, so I can keep track

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      gismo2006
                      last edited by gismo2006

                      Okay I have a new Problem. Because git pull didn’t work, i Download the git Repo as an zip file and extract into my module folder. I change the name to the correct module name and rename the old remote Modul folder. Then I restart mm2 and I only see a white page and my pi crashes. But I remember i have seen this Problem in this forum in a post too. But now I’ll decide to go sleep i will check this tomorrow.

                      So good night good morning or whatever is right now :-)

                      strawberry 3.141S 1 Reply Last reply Reply Quote 0
                      • strawberry 3.141S Offline
                        strawberry 3.141 Project Sponsor Module Developer @gismo2006
                        last edited by

                        @gismo2006 well, you will have the same problem again next time when you have downloaded it manually

                        did you install the dependencies?

                        Please create a github issue if you need help, so I can keep track

                        1 Reply Last reply Reply Quote 1
                        • G Offline
                          gismo2006
                          last edited by

                          @strawberry-3-141 i think I have, because it works fine till this update. But I found maybe a solution in this post: https://forum.magicmirror.builders/topic/1561/white-screen-after-mmm-remote-control-update/7

                          I will test it later…

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            PeppaPigKilla
                            last edited by

                            This post is deleted!
                            1 Reply 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 / 1
                            • 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