Friday, February 22, 2008

subversion troubles...

This is the second time I have had subversion troubles. So I wanted to write down some of the steps I followed to cure the trouble.
Symptom: Database has become corrupted...
Solution:
kill svnserve
svnadmin recover /path/to/repos
then:
chgrp -R subversion /home/svn
chmod -R 770 /home/svn
chmod g+s /home/svn/db
restart svnserve: svnserve --daemon --root /home/svn

No comments: