Newsfeed and Weather Not Updating (bad index file causing the issue?)



  • I have been having difficulty with both my Newsfeed and Weather modules.

    The Newsfeed module gets stuck at “loading” and the Weather module will update if I restart the mirror, but won’t update past that. It happen suddenly one day, not after an update or anything.

    I’m not certain if it is related, but I also can’t update MagicMirror. I use cd ~/MagicMirror in the terminal, and when I run git pull it gives me

    “error: bad index file shal signature
    fatal: index file corrupt
    error: bad index file shal signature
    fatal: index file corrupt”

    I’m not certain if these issues are necessarily related. Any help would of course be greatly appreciate. Let me know if there is any other information you might need from me.

    Thank you so much!


  • Module Developer

    Just doing a search for that error it looks like it is probably a problem with your .git/index. You should be able to fix the “bad index” issue by running:

    cd ~/MagicMirror
    rm -rf .git/index
    git reset
    

    You may want to make a backup of your config.js file just in case it does anything weird. I’m not sure if that will solve your module problem. It should allow you to pull the latest MagicMirror version though.


Log in to reply
 

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