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.

    Updating MM on a PC?

    Scheduled Pinned Locked Moved Troubleshooting
    14 Posts 3 Posters 6.4k Views 2 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @Damian
      last edited by

      @Damian said in Updating MM on a PC?:

      cd MagicMirror -then git pull -then npm install

      That should work. git commands and npm commands should work.

      sudo will not.

      Create a working config
      How to add modules

      D 1 Reply Last reply Reply Quote 1
      • D Offline
        Damian @Mykle1
        last edited by

        @Mykle1

        ā€˜ā€™ā€™
        Damian@KitchenComputer ~/MagicMirror
        $ git pull

        Fatal: not a git repository (or any of the parent firectories): .git
        ā€˜ā€™ā€™

        1 Reply Last reply Reply Quote 0
        • cowboysdudeC Offline
          cowboysdude Module Developer
          last edited by cowboysdude

          try:

          git pull origin master

          If you’re still having problems do this:

          sudo apt-get install git-all

          Then retry ā€˜git pull’…

          D 1 Reply Last reply Reply Quote 1
          • D Offline
            Damian @cowboysdude
            last edited by

            @cowboysdude said in Updating MM on a PC?:

            try:

            git pull origin master

            If you’re still having problems do this:

            sudo apt-get install git-all

            Then retry ā€˜git pull’…

            From ~MagicMirror

            $ git pull origin master
            fatal: Not a git repository (or any of the parent directories): .git

            $ sudo apt-get install git-all
            bash: sudo: command not found

            1 Reply Last reply Reply Quote 0
            • cowboysdudeC Offline
              cowboysdude Module Developer
              last edited by

              @Damian said in Updating MM on a PC?:

              fatal: Not a git repository (or any of the parent directories): .git

              Type ā€˜git init’ then retry ā€˜git pull’

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                Damian @cowboysdude
                last edited by

                @cowboysdude

                $ git init

                Initialized empty git repository in C:/users/Damian/MagicMirror/.git/

                $ git pull
                fatal: no remote repository specified. Please, specify either a url or a remote name from which new revisions should be fetched.

                cowboysdudeC 1 Reply Last reply Reply Quote 0
                • cowboysdudeC Offline
                  cowboysdude Module Developer @Damian
                  last edited by cowboysdude

                  @Damian said in Updating MM on a PC?:

                  fatal: no remote repository specified. Please, specify either a url or a remote name from which new revisions should be fetched.

                  git remote add origin https://github.com/MichMich/MagicMirror.git

                  D 1 Reply Last reply Reply Quote 1
                  • D Offline
                    Damian @cowboysdude
                    last edited by

                    @cowboysdude

                    Thanks will try that out when keyboard recharges, I have run battery flat with all the things I have tried 😮

                    cowboysdudeC 1 Reply Last reply Reply Quote 0
                    • cowboysdudeC Offline
                      cowboysdude Module Developer @Damian
                      last edited by

                      @Damian said in Updating MM on a PC?:

                      @cowboysdude

                      Thanks will try that out when keyboard recharges, I have run battery flat with all the things I have tried 😮

                      Nice Job LOL I have to go to work :) Good luck!

                      D 1 Reply Last reply Reply Quote 1
                      • D Offline
                        Damian @cowboysdude
                        last edited by Damian

                        @cowboysdude

                        😣😟
                        Think I may just delete MM, and start afresh with virgin modules, then try and update again, and start adding my changes… see if it’s maybe me messing around has done something eh?

                        cowboysdudeC 1 Reply Last reply Reply Quote 0
                        • cowboysdudeC Offline
                          cowboysdude Module Developer @Damian
                          last edited by

                          @Damian very possible you could have broke something. If the suggestions I gave you didn’t work… good idea, start over :) This time make backups of the files you are changing before you change them :)

                          D 1 Reply Last reply Reply Quote 1
                          • D Offline
                            Damian @cowboysdude
                            last edited by

                            @cowboysdude

                            Thanks, yeah for sure I will keep a ā€œMaster Files Folderā€ for all originals should something go weird?

                            As an aside, the updated compliments… on my Pi I noticed that they did not color since updating today, had a quick look and on comparing old file with updated file, there was a part missing … racking my brains to think the exact name, but it made reference to the CSS… so when I C&P that section from old file into new file, the compliments colored again!.. was this intentional to omit this or just an oversight from the dev?

                            cowboysdudeC 1 Reply Last reply Reply Quote 0
                            • cowboysdudeC Offline
                              cowboysdude Module Developer @Damian
                              last edited by

                              @Damian said in Updating MM on a PC?:

                              @cowboysdude

                              Thanks, yeah for sure I will keep a ā€œMaster Files Folderā€ for all originals should something go weird?

                              As an aside, the updated compliments… on my Pi I noticed that they did not color since updating today, had a quick look and on comparing old file with updated file, there was a part missing … racking my brains to think the exact name, but it made reference to the CSS… so when I C&P that section from old file into new file, the compliments colored again!.. was this intentional to omit this or just an oversight from the dev?

                              I’m not really sure in all honesty. I have written most of my own modules and use none of the default ones.

                              1 Reply Last reply Reply Quote 1

                              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