SVN Administration The Hard Way

For the last couple years, I’ve worked with a couple people who know a whole lot more than I do about svn, and so my troubleshooting method has been to ask someone smarter than me. I no longer work with those people. So, today I learned a couple lessons about subversion administration the hard way.

First, if everything that talks to the repository just hangs, svn is probably “wedged” and the way to fix it is to shutdown everything that uses svn (ie apache if you are using svn over https) and then as the repository user (again apache in the above case) you run the command:

svnadmin recover /var/svn/repos

And then you pray (unless you backup your svn repository database, in which case you still have an out.)

Also the SVN Book’s Repository Maintenance page is your friend. (It teaches you how to make backups too!)

About these ads

One Response to “SVN Administration The Hard Way”

  1. Try Out a Registry Cleaner-speed Up your System Says:

    [...] SVN Administration The Hard Way « The Adventures of Competent Girl [...]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.

Join 662 other followers

%d bloggers like this: