Project

General

Profile

Can't upgrade from debian repository 1.4 to 2.5

Added by Alexandre Russo over 9 years ago

Hello all,

I using debian wheezy, with redmine 1.4 (from debian repository) today i would make upgrade to 2.5.1-2~bpo70+3 (from debian repository)

But i have one erreur in /var/log/redmine/default/error.log :

ActionController::RoutingError (No route matches [GET] "/"):
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:26:in `call_app'
  /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:16:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/request_id.rb:23:in `call'
  /usr/lib/ruby/vendor_ruby/rack/methodoverride.rb:21:in `call'
  /usr/lib/ruby/vendor_ruby/rack/runtime.rb:17:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/cache/strategy/local_cache.rb:72:in `call'
  /usr/lib/ruby/vendor_ruby/rack/lock.rb:15:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/static.rb:62:in `call'
  /usr/lib/ruby/vendor_ruby/rails/engine.rb:479:in `call'
  /usr/lib/ruby/vendor_ruby/rails/application.rb:220:in `call'
  /usr/lib/ruby/vendor_ruby/rails/railtie/configurable.rb:30:in `method_missing'
  dispatch.fcgi:16:in `call'
  /usr/lib/ruby/vendor_ruby/rack/handler/fastcgi.rb:66:in `serve'
  /usr/lib/ruby/vendor_ruby/rack/handler/fastcgi.rb:28:in `block in run'
  /usr/lib/ruby/vendor_ruby/rack/handler/fastcgi.rb:27:in `each'
  /usr/lib/ruby/vendor_ruby/rack/handler/fastcgi.rb:27:in `run'
  dispatch.fcgi:20:in `<main>'

Can't find how resolve this problem.

RAILS_ENV=production script/about

sh: 1: darcs: not found
sh: 1: hg: not found
sh: 1: cvs: not found
sh: 1: bzr: not found
Environment:
  Redmine version                2.5.1.stable
  Ruby version                   1.9.3-p194 (2012-04-20) [x86_64-linux]
  Rails version                  3.2.6
  Environment                    production
  Database adapter               SQLite
SCM:
  Subversion                     1.6.17
  Git                            1.7.10.4
  Filesystem                     
Redmine plugins:
  no plugin installed

With apache & fcgi, my vhost is :

# the mod_fcgid socket path
SocketPath "/var/run/redmine/sockets/default" 

<VirtualHost *>

    ServerName redmine.local

    # DefaultInitEnv for module mod_fcgid
    DefaultInitEnv RAILS_ENV "production" 
    DefaultInitEnv RAILS_BASE_URI "/" 
    DefaultInitEnv RAILS_RELATIVE_URL_ROOT "" 
    DefaultInitEnv X_DEBIAN_SITEID "default" 

    Alias "/plugin_assets/" /var/cache/redmine/default/plugin_assets/
    DocumentRoot /usr/share/redmine/public
    <Directory "/usr/share/redmine/public">
        Options +FollowSymLinks +ExecCGI
        Order allow,deny
        Allow from all
        RewriteEngine On
        RewriteBase "/" 
        RewriteRule ^$ index.html [QSA]
        RewriteRule ^([^.]+)$ $1.html [QSA]
        RewriteCond %{REQUEST_FILENAME} !-f [OR]
        RewriteCond %{REQUEST_FILENAME} dispatch.fcgi$
        RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
    </Directory>

</VirtualHost>

Someone have one idea ?

Thank you


Replies (1)

    (1-1/1)