My Servers - Flash backup error 'fatal: .git/index: index file smaller than expected'


Recommended Posts

I installed and setup the My Servers plugin in April and all was good.  I hadn't thought about it for a while, so I opened up the plug-in and saw that the flash backup (which originally was working fine) was now showing "fatal: .git/index: index file smaller than expected", as you can see in the screenshot I'm including.  I have rebooted my server, signed out and back into My Servers, uninstall and re-installed the plug-in, and so on.  All the while My Servers shows that it's online.  I've also not been able to find any posts on the community or internet in general regarding this error.  I'm hoping someone here is able to help, as a regular flash backup would definitely help me sleep easier at night!  Thanks in advance.

 

P.S. I'm running 6.9.2.

2021-05-21_5-58-10.png

Link to comment

@ljm42 I think it had to do with this being a reinstall. I can't recall the status of my backup before but it's possibly related. 

I just fixed it for myself. I did the following steps to get it working:

*wiped the /boot/.git directory

*removed /var/local/emhttp/flashbackup.ini

* then manually initialized with  php /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup.php activate

 

Perhaps more checks are needed on a reinstall to remove the .git directory and any leftovers from a previous install to prevent this?

 

Edit: the last step may have been unnecessary to manually activate from the CLI. I did not refresh the myservers page in the GUI to see if it would work automatically. I can say for sure that just removing the .git folder under boot was not enough, though.

Edited by ionred
clarification
  • Like 2
Link to comment
6 hours ago, ionred said:

@ljm42 I think it had to do with this being a reinstall. I can't recall the status of my backup before but it's possibly related. 

I just fixed it for myself. I did the following steps to get it working:

*wiped the /boot/.git directory

*removed /var/local/emhttp/flashbackup.ini

* then manually initialized with  php /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup.php activate

 

Perhaps more checks are needed on a reinstall to remove the .git directory and any leftovers from a previous install to prevent this?

 

Edit: the last step may have been unnecessary to manually activate from the CLI. I did not refresh the myservers page in the GUI to see if it would work automatically. I can say for sure that just removing the .git folder under boot was not enough, though.

Just followed this and it worked for me.  Flash backup is not functioning!  Woohoo!  Thanks.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.