Project

General

Profile

Another entry or revision was not found in the repository error issue

Added by scott shipman over 11 years ago

I am new to redmine. I got a version running using bitnami OK, but I need a new install running on CentOS.

I follwed instructions at http://www.redmine.org/projects/redmine/wiki/Redmine_203_with_Subversion_and_LDAP_Authentication_(for_Redmine_and_Subversion_through_Redmine)_on_Centos_6_i386_-_detailed

And I cant get past the 404 error on the repository tab.

<Location /svn>
        DAV svn
        SVNParentPath "/opt/subversion" 
        SVNListParentPath on
        Order deny,allow
        Deny from all
        Satisfy any
        LimitXMLRequestBody 0
        SVNPathAuthz off

        PerlAccessHandler Apache::Authn::Redmine::access_handler
        PerlAuthenHandler Apache::Authn::Redmine::authen_handler
        AuthType Basic
        AuthName "Redmine SVN Repository" 

        Require valid-user
        RedmineDSN "DBI:mysql:database=redmine;host=localhost:3306;mysql_socket=/var/lib/mysql/mysql.sock" 
        RedmineDbUser "redmine" 
        RedmineDbPass "not my real password" 

        # cache max. 50 passwords
        RedmineCacheCredsMax 50
</Location>

I checked permissions on the /opt/subversion directory.

drwxr-xr-x.  2 apache apache 4.0K Dec 19 13:16 subversion

I have the following versions:

centOS 6.1
  Redmine version                          2.0.3.stable
  Ruby version                             1.8.7 (x86_64-linux)
  Rails version                            3.2.6
  Environment                              production
  Database adapter                         MySQL

my production.log gives me:
Error parsing svn output: #<REXML::ParseException: No close tag for /lists/list>
...

No close tag for /lists/list
Line: 4
Position: 77
Last 80 unconsumed characters:

Output was:
 <?xml version="1.0"?>
<lists>

I am not using SSL (as best I can tell)
my subversion_adapter.rb line is:

        # SVN executable name
        SVN_BIN = Redmine::Configuration['scm_subversion_command'] || "svn" 

and adding "--config-dir /opt/subversion" causes an error so thats not the solution either.

I also tried to run

sudo -u apache svn list --xml 'http://10.0.2.188/svn/repo-name-matches-project-id/'@HEAD

and get this back
<?xml version="1.0"?>
<lists>
<list
   path="http://10.0.2.188/svn/steelthread-www">
svn: Could not open the requested SVN filesystem

What else can I look at or what logs or info would anyone need? svn and red mine installed on same server.