NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
nexus2
Apr 05, 2009Follower
Subversion ( SVN ) Add-on
Hello,
Super-Poussin removed the SVN add-on and I was hoping someone (or Super-Poussin) could please update it and bring it back. What was outdated with the old one anyway? I ask because I really don't want to manually enable Root SSH and go through all the steps (I've got a few machines I need to do it on).
Thanks in advance,
Nexus2
Super-Poussin removed the SVN add-on and I was hoping someone (or Super-Poussin) could please update it and bring it back. What was outdated with the old one anyway? I ask because I really don't want to manually enable Root SSH and go through all the steps (I've got a few machines I need to do it on).
Thanks in advance,
Nexus2
108 Replies
Replies have been turned off for this discussion
- EOneAspirantDoh...I downloaded it again and saw I already downloaded also the PRO version. Accidentally installed that one.
Now installed to one for my ReadyNAS DUO.
I have now the following error when going to https://mynas/websvn
Unable to find 'svn' tool at location '/opt/rfw/bin/svn'
Do I need to change an option or something?
edit: btw, I have SVN 1.6.0 installed. Dont know yet how to upgrade to 1.6.5 if needed.
edit2: it seems that I have it at /usr/local/bin/svn (tried command whereis svn, that gave me that answer). Still relearning linux commands :)
edit3: Change the line according to that svn location in the config.php to my path. Now the web page is showing but no repositories (yet). I suppose somewhere in the config.php I need to set my path to the root dir of my repositories (/d/data/Servers/Subversion/Repositories)?
Edit4: After reading the config.php a bit I found that one too :) Now I see my rerositories.
I have a question for Super-Poussin. I now use a 'batch' that creates my repository and does some other things for user rights and makes some ln's in the created repository. Is it possibile that I set it the interface to use that file to also run?
Just a thought. - WhoCares_Mentor
EOne wrote: edit: btw, I have SVN 1.6.0 installed. Dont know yet how to upgrade to 1.6.5 if needed.
Actually, the easiest way for you would have been to install the subversion addon first, then WebSVN and afterwards either move or symlink your repos to /opt/subversion. Or maybe to even install WebSVN manually like you did with Subversion 1.6.0. Either way would have saved you a lot of troubles I guess.EOne wrote: I now use a 'batch' that creates my repository and does some other things for user rights and makes some ln's in the created repository. Is it possibile that I set it the interface to use that file to also run?
Of course. Since you already quite ripped apart everything else, I'm quite confident you'll find where to patch that in, too ;)
Regards,
Stefan - PettaxAspirant
WhoCares? wrote: Ok, I just finished creating the latest version for SVN support on the ReadyNAS. For the moment these Addons are Sparc-only (Duo, NV, NV+, 1100, X6), versions for the Intel based systems are in the making.
Absolutely splendid. Installed it and it works like a charm. One question though. When accessing the repository over https it seems like I only need to enter my credentials when I am writing to the repository, i.e. reading from it does not require credentials. Is this a setting somewhere?
Thanks,
Pettax - WhoCares_Mentor
Pettax wrote: When accessing the repository over https it seems like I only need to enter my credentials when I am writing to the repository, i.e. reading from it does not require credentials. Is this a setting somewhere?
If I'd be Microsoft, I'd say "works as designed" ;)
Actually, you can change that behavior, but you have to make these changes manually.
SSH to your ReadyNAS, there change to the directory /etc/frontview/apache/addons/. There you'll find the file SUBVERSION.conf. Within this file, just comment the <LimitExcept ...> and the </LimitExcept> lines by putting a # in front of them. Save and check the new config using "apache2 -t -f /etc/frontview/apache/httpd.conf". If this results in a "Syntax OK" message, restart the web server of your ReadyNAS using "killall -USR1 apache-ssl". Wait for about 60 seconds while Apache reloads its config. Now you should be asked for your credentials even when only displaying or checking out the repositories.
Regards,
-Stefan - warrenbuckleyAspirantStefan sounds like you have done some good work. Not being used to SSH and the likes.
Is it possible to give in depth step by step tutorial on how to set this up, as this all still sounds slightly scary at the moment.
Thanks,
Warren - WhoCares_MentorWarren,
Basically, all you need to do is install the Subversion and the WebSVN .bin files through the Update function of Frontview. The SSH things are just neccessary if you want to change some of the underlying settings (e.g. if you don't like the defaults I provided with the Addons).
Would this and that be good enough as additional info for the moment, or do you need some more details? If so, just go ahead and ask what you want to know.
Regards,
Stefan - PettaxAspirant
WhoCares? wrote: SSH to your ReadyNAS, there change to the directory /etc/frontview/apache/addons/. There you'll find the file SUBVERSION.conf. Within this file, just comment the <LimitExcept ...> and the </LimitExcept> lines by putting a # in front of them. Save and check the new config using "apache2 -t -f /etc/frontview/apache/httpd.conf". If this results in a "Syntax OK" message, restart the web server of your ReadyNAS using "killall -USR1 apache-ssl". Wait for about 60 seconds while Apache reloads its config. Now you should be asked for your credentials even when only displaying or checking out the repositories.
Thanks again! Works as expected (on my ReadyNAS Duo for the record).
/Pettax - jcouvretAspirantI didn't see anyone else discussing this issue - if you use the ReadyNAS device as a subversion server, how do you backup your repositories? I currently use two external hard drives, rotated weekly, as offsite backup of critical data on the ReadyNAS device. I use the backup settings on the FrontView to set up those backups. I don't see any way to access the /opt/subversion path using the FrontView backup settings. Is anyone else backing up their subversion repositories? My best guess is that I will have to use a rsync cron task, but I wanted to know if anyone else has tackled this yet? If not, I could also use help scripting the rsync to an external hard drive attached to the front backup port of the ReadyNAS Pro. Thanks!
- efalskenAspirant
jcouvret wrote: I didn't see anyone else discussing this issue - if you use the ReadyNAS device as a subversion server, how do you backup your repositories? I currently use two external hard drives, rotated weekly, as offsite backup of critical data on the ReadyNAS device. I use the backup settings on the FrontView to set up those backups. I don't see any way to access the /opt/subversion path using the FrontView backup settings. Is anyone else backing up their subversion repositories? My best guess is that I will have to use a rsync cron task, but I wanted to know if anyone else has tackled this yet? If not, I could also use help scripting the rsync to an external hard drive attached to the front backup port of the ReadyNAS Pro. Thanks!
You can usesvnadmin dump /path/to/reponame > /tmp/reponame.dump
to pull a backup of your repository at any time. Simply put the dump into your /c/sharename folder and it will be simple matter to have it backed up along with any other backup process you might have in place. The command can also be scripted and scheduled. For more robust svn backup, look into the "hot-backup.py" script available from the SVN team. - moozaadAspirantI get an error backing up my svn, file not found but I've given absolute paths and it works if ran manually
0 0 * * * root /opt/rfw/bin/svnadmin dump /opt/subversion/neopeon > "/c/Neopeon/Neopeon Limited/svn backup/svnbackup.svn" 2>/var/log/cron.svn.log
Basically cron can't find /opt/rfw/bin/svnadmin but it's definitely there. Any ideas?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!