Unable to get info for the repository root
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
Problem
When trying to integrate SVN with Fisheye/Crucible the following error is shown:
1
2
3
Unable to get info for the repository root
403 Forbidden
Unable to get Repository Root URL
Alternatively the following can be found in the fisheye-atlassian-YYYY-MM-DD.log
file:
1
2
3
4
5
6
7
8
9
WARN [InitPing3 <repository_name> ] fisheye SvnRepositoryTester-getServerRootURL - Unable to get Repository Root URL for <repository_name>:file:///repository_root/folder/
ERROR [InitPing3 <repository_name> ] fisheye SvnRepositoryTester-pingAndValidateAccess - Exception getting FishEye access control
com.cenqua.fisheye.rep.RepositoryClientException: org.apache.subversion.javahl.ClientException: svn: Unable to open an ra_local session to URL
...
Caused by: org.apache.subversion.javahl.ClientException: svn: Unable to open an ra_local session to URL
at org.apache.subversion.javahl.ClientException.fromException(ClientException.java:68) [svnkit-javahl16-1.8.11.jar:?]
...
Caused by: org.tmatesoft.svn.core.SVNException: svn: Unable to open an ra_local session to URL
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) [svnkit.jar:?]
Cause
Cause #1 - unexpected trailing slash
A trailing slash has been added incorrectly to the SVN URL during the configuration of the repository. For example: https://svn.your.server/svn/project/
Cause #2 - missing execute permissions on jsvn command
Unless the native client is used, Fisheye uses the jsvn
command to perform SVN command which can be found in the <FishEye installation directory>/lib/svn
folder.
If the user running Fisheye does not have execute permissions on the jsvn
command, Fisheye will not be able to connect to the repository.
Resolution
Resolution #1 - unexpected trailing slash
Remove the trailing slash from the SVN URL and save. For example (considering the example above):
https://svn.your.server/svn/project
Resolution #2 - missing execute permissions on jsvn command
Add the execute permissions on the jsvn
command.
Was this helpful?