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 modules

    Scheduled Pinned Locked Moved Solved Troubleshooting
    4 Posts 2 Posters 5.1k 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.
    • K Offline
      kurt
      last edited by

      Hi
      I tried to update the MMM-Fuelwith the MMM Remote Control modul, but got an error message.
      So I did it by VNC and got the message to remove a file manually, but don’t know where to find this file to remove it…

      pi@raspberrypi:~/MagicMirror/modules/MMM-Fuel $ git pull
      Aktualisiere b973f7a..3b84d47
      fatal: Unable to create '/home/pi/MagicMirror/modules/MMM-Fuel/.git/index.lock': Die Datei existiert bereits.
      
      If no other git process is currently running, this probably means a
      git process crashed in this repository earlier. Make sure no other git
      process is running and remove the file manually to continue. 
      

      Thank you

      1 Reply Last reply Reply Quote 0
      • tosti007T Offline
        tosti007 Module Developer
        last edited by

        Hello @kurt,
        It’s an error that shouldn’t be happening often, but luckily the solution is simple.
        First go to the module folder. Then type rm -f .git/index.lock, this removes the file that causes problems. After that you should be able to do your git pull without a problem :D

        If there is anything don't hesitate to contact me!
        ProfileSwitcher, TouchNotifications

        K 1 Reply Last reply Reply Quote 3
        • K Offline
          kurt @tosti007
          last edited by

          @tosti007
          Thank you for the quick help, problem removed, git pull done.

          tosti007T 1 Reply Last reply Reply Quote 1
          • tosti007T Offline
            tosti007 Module Developer @kurt
            last edited by

            @kurt Good to hear!

            If there is anything don't hesitate to contact me!
            ProfileSwitcher, TouchNotifications

            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