Newbie Problem connecting to repository
Added by Ed Beaty over 16 years 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.24 KB) production.log |
Replies (8)
RE: Newbie Problem connecting to repository - Added by Ed Beaty over 16 years 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 over 16 years 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:
- 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 over 16 years 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 over 16 years ago
Helped me too! Thanks very much.
Adam Soltys
RE: Newbie Problem connecting to repository - Added by gaurabmani shrestha about 14 years ago
Iam having the same problem connection to my GIT repository, where can i locate the GIT adapter so that i can also change the path as that in svn.
RE: Newbie Problem connecting to repository - Added by Gustavo Delfino about 14 years ago
I am having trouble too. But I have that part figured out. The git adapter is at:
lib/redmine/scm/adapters/git_adapter.rb
Instead of modifying it, you can try making a symbolic link. For example:
ln -s /usr/local/bin/git /usr/bin/git
RE: Newbie Problem connecting to repository - Added by gaurabmani shrestha about 14 years ago
Thanks Gustavo for your suggestion, i have already done that.
Iam also attaching part of log file please suggest me what can be the issue
RE: Newbie Problem connecting to repository - Added by Nick M about 14 years ago
Well, it's not letting me post the link (considering it spam) but here's the link with the solution that fixed this issue for me:
haknick.tumblr.com/post/2380507902/redmine-svn-subversion-certificate-issue-ubuntu