Updating modules



  • 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


  • Module Developer

    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



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


  • Module Developer

    @kurt Good to hear!


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.