[viewvc-users] The root 'XXX' was not found in the commit database

Dan Peterson <[email protected]> Wed, 16 Jan 2013 16:57:11 -0800 (PST)
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <1154447363.7038.1358384231886.JavaMail.httpd@localhost>
When I click on the "Query revision history" link I receive the following error:

  The root 'XXX' was not found in the commit database

What does this error mean and how do I fix it?

For some background...

I have 80+ SVN repositories configured with ViewVC (1.0.7) and most of them work fine... I say most, because the Query form doesn't work with a few of them.

I looked in the ViewVC mysql DB in the repositories table and found a few repos were missing... turns out the missing ones are the same ones where the Query form doesn't work.   So... I decided to run the svndbadmin rebuild command on one of the repos to see if it would add it to the DB.   I received this error:

  Expected FS format between '1' and '3'; found format '4'

It was then I realized most of the repos were created with SVN 1.5, but some of the newest with SVN 1.6.  The libraries used with the ViewVC instance are for Subversion 1.5, which I'm *guessing* is why the Query form doesn't work.

Upgrading ViewVC and/or the SVN libs used by ViewVC isn't an option for a variety of unrelated reasons, so instead I decided to try and downgrade the version of the SVN repository DB format.   I did an "svn dump" of one of the 1.6 repos, then created a new repo (different name) using "svnadmin create --pre-1.6-compatible", and then loaded the dump file into this new repo.

I configured it in the viewvc.conf file and ran svndbadmin rebuild, which took about 10 mins with no errors.   I looked in the repositories table and sure enough the new repo was there.   Problem is, I'm still seeing the same problem when I click on the Query form link for the new (downgraded) repo.

So what's the problem?

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3044017

To unsubscribe from this discussion, e-mail: [[email protected]].