Unable to index Git repository
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
Unable to index a Git repository
The following appears in the atlassian-fisheye-<date>.log
:
1
2
3
4
5
6
7
2013-09-30 09:55:31,337 WARN [IncrementalPinger3 ] fisheye IndexingPingRequest-doRequest - Exception during FishEye Incremental Indexing of REPO: com.cenqua.fisheye.config.ConfigException: Unable to fetch from remote repository: http://admin@server.name:7990/scm/repo/repo.git
- [error: object file ./objects/ea/a85e94c252014fdda040c5d7fc61175c67461d is empty, fatal: loose object eaa85e94c252014fdda040c5d7fc61175c67461d (stored in ./objects/ea/a85e94c252014fdda040c5d7fc61175c67461d) is corrupt, fatal: The remote end hung up unexpectedly]
OR
2014-08-19 08:04:23,273 DEBUG [InitialPinger3 ] fisheye IndexingPingRequest-doRequest - Exception during FishEye Incremental Indexing of REPO: com.cenqua.fisheye.config.ConfigException: Unable to fetch from remote repository: http://admin@server.name:7990/scm/repo/repo.git
- [error: unable to unpack e5cd227b76c3989252fc9c2515b2b04c2590c290 header, error: inflateEnd: stream consistency error (no message), fatal: loose object e5cd227b76c3989252fc9c2515b2b04c2590c290 (stored in ./objects/e5/cd227b76c3989252fc9c2515b2b04c2590c290) is corrupt, fatal: The remote end hung up unexpectedly]
Cause
The clone repository in Fisheye/Crucible is corrupted.
Resolution
Re-clone and re-index the repository at Administration > Repository Settings > Repositories > <reponame> > Maintenance > Re-clone and Re-index
Was this helpful?