Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

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

+1 Bump. Just reinstalled after having it uninstalled for a month. Same issue as OP.

@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

  • Author
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.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.