Repositories failed after using svn-javahl

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

After setting Fisheye to use svn-javahl, Fisheye failed to access all the SVN repositories. 

The following appears in the fisheye-debug-<date>.log:

2012-10-19 05:21:22,358 ERROR - Exception getting FishEye access control
com.cenqua.fisheye.rep.RepositoryClientException: org.tigris.subversion.javahl.ClientException: Permission denied
svn: Can't open file '/root/.subversion/servers': Permission denied
        at com.cenqua.fisheye.svn.SvnThrottledClient.propertyGet(SvnThrottledClient.java:176)
        at com.cenqua.fisheye.svn.SvnRepositoryTester.pingAndValidateAccess(SvnRepositoryTester.java:145)
        at com.cenqua.fisheye.svn.SvnRepositoryScanner.validateAccess(SvnRepositoryScanner.java:353)
        at com.cenqua.fisheye.svn.SvnRepositoryScanner.validateRepository(SvnRepositoryScanner.java:265)
        at com.cenqua.fisheye.rep.BaseRepositoryScanner.startRepository(BaseRepositoryScanner.java:430)
        at com.cenqua.fisheye.rep.BaseRepositoryScanner.doSlurpTransaction(BaseRepositoryScanner.java:217)
        at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:184)
        at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:92)
...
Caused by: org.tigris.subversion.javahl.ClientException: Permission denied
svn: Can't open file '/root/.subversion/servers': Permission denied
 
        at org.tigris.subversion.javahl.SVNClient.propertyGet(Native Method)
        at com.cenqua.fisheye.svn.SvnThrottledClient.propertyGet(SvnThrottledClient.java:174)

Cause

Somehow, SVN think that the user configuration files are located at /root even though Fisheye is not started by root user

Workaround

Specify the config directory to be used:

svn --config-dir /home/myuser/.subversion checkout <URL>

 

Last modified on Jul 31, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.