Actions
Support #1274
closedRedmine's repo browsing is broken again
Start date:
2011-07-26
Due date:
% Done:
0%
Estimated time:
Tags:
Description
Redmine's repo browsing has stopped working again. I'm in favour of just redirecting to hgweb instead (or bitbucket/github if you can get subprojects on there).
Updated by Albert Lee almost 11 years ago
- Assignee changed from Joshua M. Clulow to Bryan Horstmann-Allen
- Tags deleted (
needs-triage)
Pretty please try dropping in hgweb with a wildcarded hgweb.config?
[paths] / = /export/hg/** [web] style = gitweb
For Apache, ScriptAlias / /path/to/hgweb.cgi/
(yes, trailing slash) might even work.
Updated by Joshua M. Clulow almost 11 years ago
So, when I attempt to visit the repo browser for illumos-gate, this is what happens in the log:
Processing RepositoriesController#show (for 220.233.30.13 at 2011-08-06 00:15:32) [GET] Parameters: {"controller"=>"repositories", "action"=>"show", "id"=>"illumos-gate"} IOError (Cannot run program "/bin/sh" (in directory "/var/opt/redmine/tomcat/webapps/ROOT/WEB-INF"): error=12, Not enough space): lib/redmine/scm/adapters/abstract_adapter.rb:191:in `shellout' lib/redmine/scm/adapters/abstract_adapter.rb:177:in `shellout' lib/redmine/scm/adapters/mercurial_adapter.rb:68:in `info' app/models/repository/mercurial.rb:71:in `fetch_changesets' app/controllers/repositories_controller.rb:77:in `show' file:lib/jruby-rack-1.0.7.jar!/vendor/rack-1.2.1/rack/head.rb:9:in `call' file:lib/jruby-rack-1.0.7.jar!/vendor/rack-1.2.1/rack/methodoverride.rb:24:in `call' file:lib/jruby-rack-1.0.7.jar!/vendor/rack-1.2.1/rack/lock.rb:11:in `call' file:lib/jruby-rack-1.0.7.jar!/rack/adapter/rails.rb:36:in `serve_rails' file:lib/jruby-rack-1.0.7.jar!/rack/adapter/rails.rb:41:in `call' file:lib/jruby-rack-1.0.7.jar!/jruby/rack/rails.rb:187:in `call' file:lib/jruby-rack-1.0.7.jar!/rack/handler/servlet.rb:19:in `call' :1 Rendering /var/opt/redmine/tomcat/webapps/ROOT/500.html (500 Internal Server Error)
And we appear to have free memory:
# vmstat -p 1 memory page executable anonymous filesystem swap free re mf fr de sr epi epo epf api apo apf fpi fpo fpf 74656880 5196852 563 3500 14 0 6 0 0 0 3 0 0 37 12 13 63171144 1908740 403 879 0 0 0 0 0 0 0 0 0 0 0 0 63170380 1908504 1440 2192 0 0 0 0 0 0 0 0 0 0 0 0 63172136 1909648 120 1231 0 0 0 0 0 0 0 0 0 0 0 0
If you truss the tomcat process, you can see it's trying to fork...
/65641: forkx(0) Err#12 ENOMEM
... but it cannot. Still digging.
Updated by Bryan Horstmann-Allen almost 11 years ago
- Assignee changed from Bryan Horstmann-Allen to Joshua M. Clulow
Updated by Joshua M. Clulow almost 5 years ago
- Status changed from New to Closed
I believe we fixed this by disabling it completely, on account of it being surplus to requirements.
Actions