Project

General

Profile

need ideas: svn not accessible (redmine 1.2.0)

Added by Volker Kopetzky almost 13 years ago

Hi!

I'm using redmine 1.2.0 (on the latest bitnami stack: vmware ubuntu).

(1) Problem
A) running svn co does not work:
(note: links do not work, server is inside our intranet)
vzkimac:~ volker$ svn co http://idevstore.lan/svn/da

Authentication realm: <http://idevstore.lan:80> Redmine SVN Repository
Password for 'volker': 
svn: 'http://idevstore.lan/svn/da' path not found

B) repository browsing does not work
Redmine displays "The entry or revision was not found in the repository."
Production log shows:
Processing RepositoriesController#show (for 10.9.8.10 at 2011-06-08 05:22:53) [GET]
  Parameters: {"action"=>"show", "id"=>"da", "controller"=>"repositories"}
Error parsing svn output: #<REXML::ParseException: No close tag for /lists/list>
/opt/bitnami/ruby/lib/ruby/1.8/rexml/parsers/treeparser.rb:28:in `parse'
/opt/bitnami/ruby/lib/ruby/1.8/rexml/document.rb:227:in `build'
/opt/bitnami/ruby/lib/ruby/1.8/rexml/document.rb:43:in `initialize'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/xml_mini/rexml.rb:17:in `new'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/xml_mini/rexml.rb:17:in `parse'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/xml_mini.rb:12:in `__send__'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/xml_mini.rb:12:in `parse'
/opt/bitnami/apps/redmine/lib/redmine/scm/adapters/subversion_adapter.rb:106:in `entries'
/opt/bitnami/apps/redmine/lib/redmine/scm/adapters/abstract_adapter.rb:215:in `call'
/opt/bitnami/apps/redmine/lib/redmine/scm/adapters/abstract_adapter.rb:215:in `shellout'
/opt/bitnami/apps/redmine/lib/redmine/scm/adapters/abstract_adapter.rb:213:in `popen'
/opt/bitnami/apps/redmine/lib/redmine/scm/adapters/abstract_adapter.rb:213:in `shellout'
/opt/bitnami/apps/redmine/lib/redmine/scm/adapters/abstract_adapter.rb:194:in `shellout'
/opt/bitnami/apps/redmine/lib/redmine/scm/adapters/subversion_adapter.rb:100:in `entries'
/opt/bitnami/apps/redmine/app/models/repository.rb:108:in `entries'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/associations/association_proxy.rb:215:in `send'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/opt/bitnami/apps/redmine/app/controllers/repositories_controller.rb:94:in `show'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:1333:in `send'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:1333:in `perform_action_without_filters'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/filters.rb:617:in `call_filters'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/opt/bitnami/ruby/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/flash.rb:151:in `perform_action'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:532:in `send'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:532:in `process_without_filters'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/filters.rb:606:in `process'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:391:in `process'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:386:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/routing/route_set.rb:438:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:87:in `dispatch'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:121:in `_call'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/query_cache.rb:29:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/query_cache.rb:29:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/query_cache.rb:9:in `cache'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/query_cache.rb:28:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/string_coercion.rb:25:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rack-1.1.1/lib/rack/head.rb:9:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rack-1.1.1/lib/rack/methodoverride.rb:24:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/params_parser.rb:15:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/session/cookie_store.rb:99:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/failsafe.rb:26:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rack-1.1.1/lib/rack/lock.rb:11:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rack-1.1.1/lib/rack/lock.rb:11:in `synchronize'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rack-1.1.1/lib/rack/lock.rb:11:in `call'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:106:in `call'
/opt/bitnami/apps/redmine/config/initializers/mongrel_cluster_with_rails_211_fix.rb:62:in `dispatch_cgi'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:101:in `dispatch_cgi'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:27:in `dispatch'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:159:in `process_client'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:158:in `each'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:158:in `process_client'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `run'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `initialize'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `new'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `run'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in `initialize'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in `new'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in `run'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:282:in `run'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:281:in `each'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:281:in `run'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/command.rb:212:in `run'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
/opt/bitnami/ruby/bin/mongrel_rails:19:in `load'
/opt/bitnami/ruby/bin/mongrel_rails:19
...
No close tag for /lists/list
Line: 
Position: 
Last 80 unconsumed characters:
Output was:
 <?xml version="1.0"?>
<lists>
<list
   path="http://10.9.8.51/svn/da">
Rendering template within layouts/base
Rendering common/error (404)
Completed in 785ms (View: 49, DB: 16) | 404 Not Found [http://idevstore.lan/projects/da/repository]

(2) Setup
  • I successfully integrated redmine with subversion regarding repository creation (reposman.rb).
  • The /svn location (which maps to the directory /svnroot.redmine as SVNParentPath) does work regarding authentication.
(3) Additional Information
Attaching:
  • all redmine logs (redmine.logs.tar.gz)
  • all apache logs (httpd.logs.tar.gz
  • httpd and redmine conf files (conf.all.tar.gz)
    Versions:
    root@idevstore:~# ruby -v
    ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-linux]
    root@idevstore:~# rails -v
    Rails 2.3.11
    root@idevstore:~# rackup -v
    Rack 1.1
    root@idevstore:~# svn --version
    svn, version 1.6.15 (r1038135)
       compiled May 10 2011, 11:06:54
    The following repository access (RA) modules are available:
    * ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
    * ra_svn : Module for accessing a repository using the svn network protocol.
    * ra_local : Module for accessing a repository on local disk.
    

(4) My current guess
According to production log, there is a ActionController::RoutingError.
For me, it seems the reason might be a version mismatch or bug in redmine code?

Any help/info/tip will be greatly appreciated!
Kind regards,
Volker

redmine.logs.tar.gz (45.3 KB) redmine.logs.tar.gz all logs of redmine, dir ./log
httpd.logs.tar.gz (35.5 KB) httpd.logs.tar.gz all httpd log files, dir ./logs
conf.all.tar.gz (6.65 KB) conf.all.tar.gz httpd and redmine conf, dirs ./conf and ../apps/redmine/conf