Newbie Problem connecting to repository

Added by Ed Beaty 158 days ago

Hello, all. I'm trying to configure a new project to use a repository, but keep getting the error message:
"The entry or revision was not found in the repository".
when I go to /repositories/show/<project name>

I am running redmine using mongrel_rails. The svn server is on the same machine as the redmine server.

The setup is as follows:
*SCM: Subversion
URL: http://svn/repos/rtxivd <This has a * next to the URL, which doesn't go away.
Login: none
Password: none*

The svn commands being run in the log, svn list --xml 'http://svn/repos/rtxivd/'@HEAD and svn info --xml 'http://svn/repos/rtxivd/' both appear to work properly.

I see that the production.log (included) gives an error: svn: Can't open file '/root/.subversion/servers': Permission denied .
I tried changing the ownership of this directory to apache, but still get the error.

The other weird thing is that when I run mongrel_rails cluster:start, I get the message:

  • Ruby version is not up-to-date; loading cgi_multipart_eof_fix
    stopping port 9000
  • Ruby version is not up-to-date; loading cgi_multipart_eof_fix
    stopping port 9001
  • Ruby version is not up-to-date; loading cgi_multipart_eof_fix
    stopping port 9002
  • Ruby version is not up-to-date; loading cgi_multipart_eof_fix

Does anyone have any ideas? Any help would be greatly appreciated.
Thanks,
Ed Beaty

============

Ruby version 1.8.5 (i386-linux)
RubyGems version 1.1.1
Rails version 2.0.2
Active Record version 2.0.2
Action Pack version 2.0.2
Active Resource version 2.0.2
Action Mailer version 2.0.2
Active Support version 2.0.2
Edge Rails revision rel_2-0-2
Application root /home/redmine
Environment development
Database adapter mysql

production.log (4.2 KB)




Replies

RE: Newbie Problem connecting to repository - Added by Ed Beaty 158 days ago

Update: I updated to Ruby 1.8.6, which got rid of the "Ruby version out of date" errors, but I still get the "entry or revision was not found in the repository" errors.
Also, I meant so say, the svn commands work fine at the command prompt on the server. No idea if they're failing in Redmine. :(

This in on Centos 5, by the way.
Thanks,
Ed

RE: Newbie Problem connecting to repository - Added by Ed Beaty 158 days ago

Fixed it. Based it on:

http://www.nabble.com/problem-in-running-svn-command-through-php-on-CentOS-td14436616.html#a14499830

so, I edited the redmine/lib/redmine/scm/adapters/subversion_adapter.rb from:

  1. SVN executable name
    SVN_BIN = "svn "

to

SVN_BIN = "svn --config-dir /some/place/other/than/root "

Which worked fine.
-Ed

RE: Newbie Problem connecting to repository - Added by Eric klopfer 158 days ago

Thanks. This solved my problem as well!
http://www.redmine.org/boards/2/topics/show/696

RE: Newbie Problem connecting to repository - Added by Adam Soltys 33 days ago

Helped me too! Thanks very much.
Adam Soltys