Your message dated Sat, 16 Apr 2016 21:47:57 +0000
with message-id <e1ary4l-0000it...@franck.debian.org>
and subject line Bug#819815: fixed in redmine 3.0~20140825-8~deb8u3
has caused the Debian Bug report #819815,
regarding stable upgrade from 3.0~20140825-5 to 3.0~20140825-8~deb8u2 failed
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
819815: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819815
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: redmine
Version: 3.0~20140825-8~deb8u2
Severity: serious


Quack,

Migration fails with:
===================================================================
Setting up redmine (3.0~20140825-8~deb8u2) ...
Please configure your config/database.yml first
Populating database for redmine instance "dc".
This may take a while.
Please configure your config/database.yml first
Please configure your config/database.yml first
rake aborted!
Gem::LoadError: Specified 'mysql2' for database adapter, but the gem is not loaded. Add `gem 'mysql2'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord).

Gem::LoadError: mysql2 is not part of the bundle. Add it to Gemfile.

Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
Error when running rake db:migrate, check database configuration.
dpkg: error processing package redmine (--configure):
subprocess installed post-installation script returned error exit status 1
===================================================================

After investigation, the postinst properly loops on my redmine/current-instances, so this is well, but unfortunately the new magical Gemfile is not passed the instance name, thus using "default" as default instance name.

In my case I don't have a "default" instance (which is permitted via debconf), but anyway each instance could have a different adapter so this will fail in some non-exotic configurations. So it seems a different Gemfile.lock should probably be generated for each instance, with the X_DEBIAN_SITEID set by the postinst. Or maybe if there is no possible conflict have the Gemfile loop on all database config files and load all necessary adapters.

Regards.

--
Marc Dequènes

--- End Message ---
--- Begin Message ---
Source: redmine
Source-Version: 3.0~20140825-8~deb8u3

We believe that the bug you reported is fixed in the latest version of
redmine, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 819...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Antonio Terceiro <terce...@debian.org> (supplier of updated redmine package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 03 Apr 2016 20:47:00 -0300
Source: redmine
Binary: redmine redmine-mysql redmine-pgsql redmine-sqlite
Architecture: source all
Version: 3.0~20140825-8~deb8u3
Distribution: jessie
Urgency: medium
Maintainer: Jérémy Lal <kapo...@melix.org>
Changed-By: Antonio Terceiro <terce...@debian.org>
Description:
 redmine    - flexible project management web application
 redmine-mysql - metapackage providing MySQL dependencies for Redmine
 redmine-pgsql - metapackage providing PostgreSQL dependencies for Redmine
 redmine-sqlite - metapackage providing sqlite dependencies for Redmine
Closes: 819815
Changes:
 redmine (3.0~20140825-8~deb8u3) jessie; urgency=medium
 .
   * gemfile-adjustments.patch: load all database drivers for all Redmine
     instances (Closes: #819815)
Checksums-Sha1:
 1b7b716dddb92b1e169308b7cb32f2d05c4c2856 2294 redmine_3.0~20140825-8~deb8u3.dsc
 ad95116696694fc408c627001d389f8adfded387 243188 
redmine_3.0~20140825-8~deb8u3.debian.tar.xz
 50341d1f701fd04de0a6b5b2ab4f932b87a94c67 4653482 
redmine_3.0~20140825-8~deb8u3_all.deb
 51fbb796c0d554ea003dd538beac13c6ae624be8 70770 
redmine-mysql_3.0~20140825-8~deb8u3_all.deb
 388db899f73c7ebcff800ee76bd3b586000b37ae 70754 
redmine-pgsql_3.0~20140825-8~deb8u3_all.deb
 4878387d9e8fa30c5d5cf441bba8fb6a6f92ecad 70734 
redmine-sqlite_3.0~20140825-8~deb8u3_all.deb
Checksums-Sha256:
 d78c8fe121cfac4831fd7f20afe20c0fa3e14e9440864bd52f812dc87d2a4ed1 2294 
redmine_3.0~20140825-8~deb8u3.dsc
 213ec1c6d4e3f2bca8f590f0fca37dd1a3acc733c00feae488b3dae3d8f8c480 243188 
redmine_3.0~20140825-8~deb8u3.debian.tar.xz
 7c0cced3bdb6d772dbe649c9a3b9852354caf67b3b10f09a7e462d8dd317329f 4653482 
redmine_3.0~20140825-8~deb8u3_all.deb
 59a140105cf77e7d9862a1fed392cc30a22edd065269915609de81ed70b8dd37 70770 
redmine-mysql_3.0~20140825-8~deb8u3_all.deb
 4dfd3e7d91b79428df94361a60cdeef5edfe9715ec2a7176b5ddc30672a09738 70754 
redmine-pgsql_3.0~20140825-8~deb8u3_all.deb
 13a75ffd405b631c43981a450c95ac76bcc2947d44310410d3398177d019c814 70734 
redmine-sqlite_3.0~20140825-8~deb8u3_all.deb
Files:
 a76bae56560ee61a433ef005a872a8d8 2294 web extra 
redmine_3.0~20140825-8~deb8u3.dsc
 09b02fedbe2db525a702690eb95394dd 243188 web extra 
redmine_3.0~20140825-8~deb8u3.debian.tar.xz
 c9ae38fabbc81b7d816c4a0a222da466 4653482 web extra 
redmine_3.0~20140825-8~deb8u3_all.deb
 da35d2e72fc76707addd03385f316ecf 70770 web extra 
redmine-mysql_3.0~20140825-8~deb8u3_all.deb
 70a006d6f39094bc83d8881f4c35a49a 70754 web extra 
redmine-pgsql_3.0~20140825-8~deb8u3_all.deb
 0338983ff4cec3dda249d35abd0b5998 70734 web extra 
redmine-sqlite_3.0~20140825-8~deb8u3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXCmoOAAoJEPwNsbvNRgvenckQAOc1+GGUGjLzbyMNMlM+Pt7C
FS53soQm12kgDFAZplqHqxWQ8eEomMPglP05u8rnQ72J0NABzzTEXfX39B7wOmR3
XBq28bIPCigl7A5o7MuVd80mEGQ06PwxokeFhR2LYF8VsCRY20yjEI01oK+Q2fJV
zxBfsbeIhdQQk2L0WF2rDUvvuAQgt8B7TLoMym1q1SF9Vj1EVfh+wi3r6K3qECbs
cUDI2uOBJbuQd6hAGroCFjH+BBUS+DaA6vHKBnLgHEwqL4oGxU75CoQfOgxts5hX
rkAzf31JyCHEpnxSuJsNIxdAtH+/xHgCZKTFwPBZkCAlWioy1XiYCymjKbcKhqa4
BOW4D9UVLJfX3Wp9jmRhZg2M+xf5YU7gcCoZ3fLUSqxKeyOJiNMTDZQxKy5qM9bg
agnB7l/uPbLnRQoPpL3JAMwK+PDbyNqDQIAE/8eqz4XLA1cP5JgS/HW494FrTGpi
5P7fHNy/yh68pzKySa1/jCXRsBkgxgjT3HesNoe/KqWNxiZfzmLGovQE0xccX/u4
pTcsalpOSMT9Ixi/rHUsk5450eSLuFORo9s3sfO4DuhnfsNHVXW1zCy163WHW5Qq
29yYN6kRLSwGG2RASMYJ2TRlu/u5Hi2dH9jv7kc7llluYuqkd2tQFSacQCxBVKeg
jkrXQlmYERQ7iskGifmJ
=nXkM
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to