Repository browsing not possible

Added by Carl Gneisenau over 9 years ago

Hi,

I have set up a project in Redmine and do the configuration to browse a subversion repository. The access to the revisions work fine, but I cannot see the folders trunk, branch and tag above the revision list.

I set the path to the root of the svn project repository. The access to svn is with the protocol http

Thanks for your help, you have done a great job with redmine

Carl

Replies (7)

RE: Repository browsing not possible - Added by Carl Gneisenau over 9 years ago

Additional info: I'm using the actual 0.7.3 release on a linux server with localhost subversion

RE: Repository browsing not possible - Added by Stuart George over 9 years ago

I dont see any thing like the folders either, but I run Git which may be why I'm not seeing anything like a tags list or branches list... and I'm on 0.7.devel.1675

RE: Repository browsing not possible - Added by Eric Davis over 9 years ago

I think something isn't setup correctly with your Subversion server or Subversion authentication. Browsing svn works for me on trunk and I don't remember it being broken recently, example. All I have in Settings is a SCM of Subversion with the url as "svn://dev.littlestreamsoftware.com/redmine_project_scores_plugin". I've done both file:/// and https:// in the past successfully.

Eric

RE: Repository browsing not possible - Added by Carl Gneisenau over 9 years ago

It seems everything fine. I can browse the svn manually without problems, redmine shows the revisions correctly but only the svn browsing over redmine does not work.

Are there any other ideas? Where can I look at to find the reason of the problem?

RE: Repository browsing not possible - Added by Remo Albertani over 9 years ago

hi,

i'm currently facing the same issue.
in the output i can't see any error:
192.168.1.10 - - [18/Aug/2008:20:30:34 CEST] "GET /repositories/changes/0-2/Second.txt HTTP/1.1" 500 0
http://192.168.1.3:3000/repositories/show/0-2 -> /repositories/changes/0-2/Second.txt

in the log of redmine i can see the following:
Processing RepositoriesController#changes (for 192.168.1.10 at 2008-08-18 20:30:38) [GET]
Session ID: c9eec1408c18677bc04a560a283ead00
Parameters: {"action"=>"changes", "id"=>"0-2", "path"=>["Second.txt"], "controller"=>"repositories"}

NoMethodError (undefined method `<' for nil:NilClass):
/lib/redmine/scm/adapters/subversion_adapter.rb:112:in `properties'
/app/models/repository.rb:63:in `properties'
/opt/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/associations/association_proxy.rb:177:in `send'
/opt/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/associations/association_proxy.rb:177:in `method_missing'
/app/controllers/repositories_controller.rb:78:in `changes'
/opt/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/base.rb:1162:in `send'
/opt/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/base.rb:1162:in `perform_action_without_filters'
/opt/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/filters.rb:580:in `call_filters'
/opt/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark'
/opt/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/opt/lib/ruby/1.8/benchmark.rb:293:in `measure'
/opt/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/opt/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
/opt/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
/opt/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
/opt/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/query_cache.rb:8:in `cache'
/opt/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
/opt/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/base.rb:529:in `send'
/opt/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/base.rb:529:in `process_without_filters'
/opt/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/filters.rb:569:in `process_without_session_management_support'
/opt/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/session_management.rb:130:in `process'
/opt/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/base.rb:389:in `process'
/opt/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:149:in `handle_request'
/opt/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:107:in `dispatch'
/opt/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:104:in `synchronize'
/opt/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:104:in `dispatch'
/opt/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
/opt/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:35:in `dispatch'
/opt/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/webrick_server.rb:112:in `handle_dispatch'
/opt/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/webrick_server.rb:78:in `service'
/opt/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/opt/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/opt/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/opt/lib/ruby/1.8/webrick/server.rb:162:in `start'
/opt/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/opt/lib/ruby/1.8/webrick/server.rb:95:in `start'
/opt/lib/ruby/1.8/webrick/server.rb:92:in `each'
/opt/lib/ruby/1.8/webrick/server.rb:92:in `start'
/opt/lib/ruby/1.8/webrick/server.rb:23:in `start'
/opt/lib/ruby/1.8/webrick/server.rb:82:in `start'
/opt/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/webrick_server.rb:62:in `dispatch'
/opt/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/commands/servers/webrick.rb:66
/opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
/opt/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in `require'
/opt/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:354:in `new_constants_in'
/opt/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in `require'
/opt/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/commands/server.rb:39
/opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
/share/Qweb/redmine/script/server:3

Rendering /share/HDA_DATA/Qweb/redmine/public/500.html (500 Internal Server Error)

i don't know if the error NoMethodError is the cause, or the error comes from svn

thanks for any hints

RE: Repository browsing not possible - Added by Remo Albertani over 9 years ago

hi,

finally i could fix the issue.

i ran svn update in my redmine folder and now everything works as expected...
don't know what kind of version i had before...

remo

(1-7/7)