Package: redmine Version: 3.0~20140825-4 Severity: important Dear Maintainer,
* What led up to the situation? On a Debian/Jessie server when upgrading Redmine package from 3.0~20140825-4 to -5. * What exactly did you do (or not do) that was effective (or ineffective)? I've installed two plugins (https://github.com/jbox-web/redmine_git_hosting and https://github.com/jbox-web/redmine_bootstrap_kit) and used bundle to install needed gems in /usr/share/redmine/vendor/bundle. When I've seen this upgrade, I've stopped my redmine instance ran by apache2. I've tried to do the upgrade and I've got this error from dpkg : > Paramétrage de redmine (3.0~20140825-5) ... > Populating database for redmine instance "default". > This may take a while. > rake aborted! > Gem::LoadError: You have already activated rake 10.3.2, but your Gemfile requires rake 10.4.2. Prepending `bundle exec` to your > command may solve this. > > (See full trace by running task with --trace) > Error when running rake db:migrate, check database configuration. > dpkg: erreur de traitement du paquet redmine (--configure) : > le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1 > Des erreurs ont été rencontrées pendant l'exécution : > redmine I've tried so to run manually the database migration with user www-data and the command 'bundle exec rake db:migrate RAILS_ENV=production' as suggested by the error output and the recommended way from Redmine user guide [1]. So I've checked the postinstall script in the Debian package and I've found this line (279): > rake -s db:migrate RAILS_ENV=$fRailsEnv X_DEBIAN_SITEID="${lInstance}" VERBOSE=$RAKE_VERBOSE || fCode=$? Rake is also executed on line 283 (load default data) and 289 (upgrade plugins) while the upgrading package process. Shouldn't these lines be prepended by `bundle exec` as mentioned in dpkg error output and official redmine guide ? Thanks and best regards, Adrien Dorsaz [1]: http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade#Step-4-Update- the-database PS: system informations attached isn't the one of my server, but it's pretty the same, except that my server has an i386 architecture. -- System Information: Debian Release: 8.0 APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_CH.utf8, LC_CTYPE=fr_CH.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages redmine depends on: ii bundler 1.7.4-1 ii dbconfig-common 1.8.47+nmu3 ii debconf [debconf-2.0] 1.5.55 ii libjs-scriptaculous 1.9.0-2 ii redmine-pgsql 3.0~20140825-4 ii ruby 1:2.1.0.4 ii ruby-actionpack-action-caching 1.1.1-3 ii ruby-awesome-nested-set 3.0.0-1 ii ruby-coderay 1.1.0-2 ii ruby-i18n 0.6.9-2 ii ruby-jquery-rails 3.1.2-2 ii ruby-mime-types 1.25-2 ii ruby-net-ldap 0.8.0-1 ii ruby-openid 2.5.0debian-1 ii ruby-protected-attributes 1.0.8-2 ii ruby-rack 1.5.2-3 ii ruby-rack-openid 1.4.2-1 ii ruby-rails 2:4.1.8-1 ii ruby-rails-observers 0.1.1-1 ii ruby-redcarpet 3.1.2-1 ii ruby-request-store 1.1.0-1 ii ruby-rmagick 2.13.2-4+b1 ii ruby2.1 [ruby-interpreter] 2.1.5-1 Versions of packages redmine recommends: ii libfcgi-ruby1.9.1 0.9.2.1-1 ii ruby-fcgi [libfcgi-ruby1.9.1] 0.9.2.1-1+b3 ii ruby-passenger 4.0.53-1 Versions of packages redmine suggests: pn bzr <none> pn cvs <none> pn darcs <none> ii git 1:2.1.4-2.1 pn mercurial <none> ii subversion 1.8.10-5 -- debconf information excluded -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org