Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

base length incorrect

Jimmi Hjuler June 5, 2018

Hello,

After an upgrade to Jira 7.9.2 we get this error for one of our 3 Git repositories

Receiving objects: 100%Resolving deltas: 30%base length incorrectError while reindexing of ********: base length incorrect

1 answer

0 votes
Mark L. Smith
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 6, 2018

Hi Jimmi,

Is that in the log or are you manually indexing in the UI?

The "base length incorrect" error implies a corrupt repo clone --- it's a message coming out of jgit concerning bad binary deltas.

Which version of Git Integration for Jira add-on are you running?

Jimmi Hjuler June 6, 2018

Hi Mark, 

Thank you for the fast reply.

We are running Version:2.13.6 i updated today to see if that made a difference.

We tried to move the Repository Root to a second disc, but failed in doing so.

Do you have any ideas how to solve it, or should i try to delete it and create it again?

Mark L. Smith
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 6, 2018

If removing and re-adding is easy, just to do that --- it should work itself out (UNLESS the repo is really corrupt at the source in which case that's a different issue altogether...).

Ultimately, the goal is to get that Git repo on disk fixed or recloned. A command line "git fsck" against that repo might do it. You could also just "git clone --mirror" a new clone and put it in place as well.

Jimmi Hjuler June 6, 2018

I will try to delete it and create it again.

Is there any easy way to move the repo folder other than doing git commands on the server?

Mark L. Smith
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 6, 2018

You mean really "move" the repo folder? (like to another disk)

If you do move the repo folder completely, you can tell Git for Jira where to find the repo folder (check the Advanced Settings for the repo --- there's a path textbox for it).

If you're on a platform where symbolic links are an option, you can use those as well.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events