I'm in the process of trying to move a ViewVC setup (along with Subversion repositories) from one server to another.
I have already created an empty "ViewVC" MySQL database and a database user to access it.
/usr/lib/viewvc/svndbadmin -v rebuild /path/to/repo
still fails, apparently because the the database is not initialised properly (I was hoping "rebuild" would do that for me).
According to the INSTALL file, one should probably use the
<VIEWVC_INSTALLATION_DIRECTORY>/bin/make-database script for this. However, the Debian ViewVC packages do not contain such a file! These are the packages I have installed:
$ dpkg -l|grep viewvc ii viewvc 1.0.5-0.2 view CVS/SVN repositories via HTTP ii viewvc-query 1.0.5-0.2 utility to query CVS commit database
My question is, how are you actually supposed to set up a ViewVC commit database on Debian? Google and ViewVC FAQ didn't seem very helpful with this, so I thought I'd give Server Fault a shot.