× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: Subversion addon - connection refused

Lionelv00
Aspirant

Subversion addon - connection refused

Hi all,

 

readynas ultra 2

 

I've installed the subversion addon from rnxtras. Now when I try to checkout I get connection refused. Here are the steps I followed:

 

On the readnas:

NetgearNAS:/opt# svnadmin create /opt/subversion/SVNTest
NetgearNAS:/opt# chown -R admin:admin /opt/subversion/*

 

On my local machine:

~> svn checkout svn://192.168.1.100/SVNTest
svn: E000111: Unable to connect to a repository at URL 'svn://192.168.1.100/SVNTest'
svn: E000111: Can't connect to host '192.168.1.100': Connection refused

 

I have EnableRootSSH installed.

 

Any ideas how I can get it to work?

Message 1 of 7

Accepted Solutions
WhoCares_
Mentor

Re: Subversion addon - connection refused

Sorry for the late reply, still trying to get used to the new "forums".

Actually, you were already close. You created the SVN repo correctly but the correct command to checkout a repo from the ReadyNAS would be

 

svn checkout https://192.168.1.100/svn/SVNTest

Two things to note here: For accessing the Repo you have to either use the HTTP or the HTTPS protocol, not SVN. And for the path to the repo you habe to prefix the repo's name with "/svn/".

When pushing changes to the ReadyNAS you'll have to authenticate using a valid username/password combination as defined on the ReadyNAS.

 

-Stefan

View solution in original post

Message 4 of 7

All Replies
JennC
NETGEAR Employee Retired

Re: Subversion addon - connection refused

Hello Lionelv00,

 

You may want to check this article Hosting Subversion service on the ReadyNAS

 

I hope this helps.

 

Regards,

Message 2 of 7
Lionelv00
Aspirant

Re: Subversion addon - connection refused

Thanks for the response. So seems the rnxtras subversion addon already added SUBVERSION.conf so the module was already loaded.

 

After that, the command:

 

# /etc/init.d/frontview restart

 

Does not exist, it didn't matter anyway since svn was already loaded, but I ran maybe the equivalent?

 

apache2 -f /etc/frontview/apache/httpd.conf -k restart

 

But I'm still having no luck:

 

svn checkout http://192.168.1.100/SVNTest
svn: E120108: Unable to connect to a repository at URL 'http://192.168.1.100/SVNTest'
svn: E120108: Error running context: The server unexpectedly closed the connection.

 

svn checkout http://192.168.1.100/opt/subversion SVNTest
svn: E120108: Unable to connect to a repository at URL 'http://192.168.1.100/opt/subversion'
svn: E120108: Error running context: The server unexpectedly closed the connection.
svn checkout svn://192.168.1.100/opt/subversion SVNTest
svn: E000111: Unable to connect to a repository at URL 'svn://192.168.1.100/opt/subversion'
svn: E000111: Can't connect to host '192.168.1.100': Connection refused

Are there logs anywhere that might give clues?

 

 

Message 3 of 7
WhoCares_
Mentor

Re: Subversion addon - connection refused

Sorry for the late reply, still trying to get used to the new "forums".

Actually, you were already close. You created the SVN repo correctly but the correct command to checkout a repo from the ReadyNAS would be

 

svn checkout https://192.168.1.100/svn/SVNTest

Two things to note here: For accessing the Repo you have to either use the HTTP or the HTTPS protocol, not SVN. And for the path to the repo you habe to prefix the repo's name with "/svn/".

When pushing changes to the ReadyNAS you'll have to authenticate using a valid username/password combination as defined on the ReadyNAS.

 

-Stefan

Message 4 of 7
Lionelv00
Aspirant

Re: Subversion addon - connection refused

Thanks for the response, but still no joy 😞

 

This is the error:

 

svn: E170013: Unable to connect to a repository at URL 'http://192.168.1.100/svn/SVNTest'
svn: E120108: Error running context: The server unexpectedly closed the connection.

Are there decent logs anywhere showing why?

Message 5 of 7
WhoCares_
Mentor

Re: Subversion addon - connection refused

You could try /var/log/frontview/error.log and /var/log/syslog

That said, for testing I followed your steps and it worked for me one the first try. Any chance that you made some other modifications while trying to get it to work?

 

-Stefan

Message 6 of 7
Lionelv00
Aspirant

Re: Subversion addon - connection refused

Worked with https instead of http! Thanks!

 

Message 7 of 7
Top Contributors
Discussion stats
  • 6 replies
  • 16970 views
  • 0 kudos
  • 3 in conversation
Announcements