Re: [viewvc-users] Problem with rss feeds after Upgrading ViewVC 1.1.15 to 1.1.17
"C. Michael Pilato" <[email protected]> Mon, 17 Dec 2012 09:30:59 -0500
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
[I'm cc:ing the users@ list. Please keep that list included in all replies.] On 12/17/2012 04:31 AM, [email protected] wrote: > Hi there > > Thanks for your mail ... but last week I was off the business. No problem. Hope your business went well. > Now your question was : > " I hate to be picky, but did you see exactly that error message in both > cases? "The root 'cvs' was not found..." even when you tried to display the > RSS feed for your Subversion repository?" > > Yes in dif, both cvs and svn has the same error > > CVS: > " An Exception Has Occurred > The root 'cvs' was not found in the commit database" > > Subversion: > " An Exception Has Occurred > The root 'svnrepo' was not found in the commit database" Okay, that's why I asked: you are seeing two very similar error messages, but the repositories they mention are, in fact, different. (You gotta be precise in such matters ... it really does matter.) > Would you become some configs from the installed viewvc or the WebDAV server which provide the Web-GUI? Sorry ... having trouble making sense of "become" in this sentence. Are you asking if I want to see your configs, or asking me to provide you with known-good examples? I tell you what: let's do some deeper debugging and try to get to the heart of this matter. The error you see comes from a call to db.FindRepository(). That function is really just trying to locate a record in the MySQL database's 'repositories' table whose 'repository' column value matches the path of the repository it is looking for. So try this, if you will, filling in ${READONLY_USER}, ${READONLY_PASSWD, and ${DATABASE_NAME} from the settings for those thing in the [cvsdb] section of your viewvc.conf: {{{ $ mysql -u ${READONLY_USER} reader -p Enter password: ${READONLY_PASSWD} [...] mysql> use ${DATABASE_NAME}; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> select * from repositories; +----+------------------------------------+ | id | repository | +----+------------------------------------+ | 2 | /usr/local/cvs/main | | 3 | /usr/local/cvs/ViewCVS | | 4 | /usr/local/cvs/querytest | | 13 | /home/cmpilato/tests/greek | | 14 | /usr/local/svn/svncorp | | 15 | /usr/local/svn/subversion | +----+------------------------------------+ 6 rows in set (0.00 sec) }}} Here you can see the contents of my own database's 'repositories' table. Nothing exciting, but if the path that ViewVC uses to talk about your repositories doesn't match what's in that table, it raises the error that you see. Have you relocated your repositories recently, or are you accessing them via a symlink or anything? -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Enterprise Cloud Development ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3036537 To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc
(application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJQzyyjAAoJEPXg8AH+aBMzIKQP/0LfU+Yri4PJyugN3tPmJv1K DbvCraCEgcnn1IoyM1nsNEvZv8MySQixtVd/6KxqY7U0Ou73Y4g6EElfVCZqrtGd VG6NKGg33imu9qJWeGGnLC/RmKtQDJBKPZiqPdM2YBjoh0tcpI0yYzFV7aELo/U8 7Pswloejr3YwO/EEYXUGxLV4yVin7EhSCCdQvvCvSvhv6ibou9km0HvGMQpaY3NS 96eVILnRo9HWlHurllasPe7uSJIfO/Czvr6jRjJPAz0/EHFMMdUjY0pvtQyaAojb BpS27jgFnZ/VBrMNiK4f4e54Qstn9KTOVZ7RtcE2lA0PcsPseRI7w2CfW/+P5bVU 2Yx6XRMr+YTcpYRTaBEhN/BpuOC+bqeVXhtkV8kHM4U8bViA1JGaoMwdfp4kf8U5 1TVQj2Etg4hcckrpiHXvBSHMv8A/t7s+439fHx+py2dlYitzPkqKpOUB9UwjKiGO VVU3L0uf75j4iHx0+yu8sx2uSbruae7K2vbEKp2tC+5QxqD25FIk82SVfRSW2vKU YO463IIp7JlIUPoIsXKP0Z1M65tbIb4+R9s2opbYqzhT+6xPheGkzeqyBXVT07t7 +sciKCs37qLeEGgB/Q6gdjkLXwc5OL7TWFwl9Gj33LQuuuLRQ9Fawp8uWH5WSBmE dx7iFfzYcpyaB9amMZfW =uFW+ -----END PGP SIGNATURE-----