Unable to Fetch from Remote 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
Error from the log:
1
[java] com.cenqua.fisheye.config.ConfigException: Unable to fetch from remote repository: /Users/mg/work/crucible/fe-hg - [transaction abort!, rollback completed, abort: data/src/content/WEB-INF/classes/xwork-crucible.xml.i@bb83fe00bd3a: unknown parent!]
Cause
Mercurial repository can sometimes invalid.
Resolution
Use the "hg verify" command to verify the integrity of the repository. If it returns an error, please try the following steps in Fisheye:
Stop your mercurial repository completely
Locate the mercurial repository cache directory e.g
FISHEYE_INST/var/cache/hg-repo/
Remove the clone directory
Restart the mercurial repository so Fisheye will re-clone the repository. Note that you don't need to perform a reindex, it should back to normal after that.
Was this helpful?