Your message dated Mon, 01 Dec 2014 00:19:18 +0000
with message-id <[email protected]>
and subject line Bug#765466: fixed in redmine 3.0~20140825-2
has caused the Debian Bug report #765466,
regarding redmine: db:migrate fails on postinst "wrong number of arguments (2 
for 1)"
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 [email protected]
immediately.)


-- 
765466: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765466
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: redmine
Version: 3.0~20140825-1
Severity: important

Hi Antonio, Ondrej,

I'm running Redmine on a machine that has a default release of testing, but 
hadn't run dist-upgrade for some time (for instance the Apache 2.2 to 2.4 
transition was in this).

Redmine is running with Passenger, see http://foss.ulster.ac.uk/redmine/

It looks like, in retrospect, aspects of the dist-upgrade did not complete, but 
I upgraded from 1.4.4+dfsg1-3 to 3.0~20140825-1, but the problem has not 
resolved.

In between this I was encountering errors out of gems missing, and used bundle
install, having to install a number of libs (ruby-dev, libpg-dev, 
libmagick-dev) to do so. It is possible this has made a mess of something.

All dist-upgrade stuff is now up to date, with the exception of a not-fully 
configured redmine package.

Running

rake db:migrate RAILS_ENV=production --trace

provides the following output.

root@foss:/usr/share/redmine# rake db:migrate RAILS_ENV=production --trace
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:migrate
== 20130215111141 PopulateIssuesClosedOn: migrating ===========================
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

wrong number of arguments (2 for 
1)/usr/lib/ruby/vendor_ruby/active_record/relation.rb:316:in `update_all'
/usr/lib/ruby/vendor_ruby/active_record/querying.rb:8:in `update_all'
/usr/share/redmine/db/migrate/20130215111141_populate_issues_closed_on.rb:18:in 
`up'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:598:in `exec_migration'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:579:in `block (2 levels) 
in migrate'
/usr/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:578:in `block in migrate'
/usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/connection_pool.rb:294:in
 `with_connection'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:577:in `migrate'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:752:in `migrate'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:991:in `block in 
execute_migration_in_transaction'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:1037:in `block in 
ddl_transaction'
/usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/database_statements.rb:201:in
 `block in transaction'
/usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/database_statements.rb:209:in
 `within_new_transaction'
/usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/database_statements.rb:201:in
 `transaction'
/usr/lib/ruby/vendor_ruby/active_record/transactions.rb:208:in `transaction'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:1037:in `ddl_transaction'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:990:in 
`execute_migration_in_transaction'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:952:in `block in migrate'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:948:in `each'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:948:in `migrate'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:807:in `up'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:785:in `migrate'
/usr/lib/ruby/vendor_ruby/active_record/railties/databases.rake:34:in `block (2 
levels) in <top (required)>'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in `call'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in `block in execute'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in `each'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in `execute'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:179:in `block in 
invoke_with_call_chain'
/usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172:in 
`invoke_with_call_chain'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:165:in `invoke'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:150:in 
`invoke_task'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in `block (2 
levels) in top_level'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in `each'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in `block in 
top_level'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:115:in 
`run_with_threads'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:100:in `top_level'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:78:in `block in 
run'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:176:in 
`standard_exception_handling'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:75:in `run'
/var/lib/gems/2.1.0/gems/rake-10.3.2/bin/rake:33:in `<top (required)>'
/usr/local/bin/rake:23:in `load'
/usr/local/bin/rake:23:in `<main>'
ArgumentError: wrong number of arguments (2 for 1)
/usr/lib/ruby/vendor_ruby/active_record/relation.rb:316:in `update_all'
/usr/lib/ruby/vendor_ruby/active_record/querying.rb:8:in `update_all'
/usr/share/redmine/db/migrate/20130215111141_populate_issues_closed_on.rb:18:in 
`up'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:598:in `exec_migration'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:579:in `block (2 levels) 
in migrate'
/usr/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:578:in `block in migrate'
/usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/connection_pool.rb:294:in
 `with_connection'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:577:in `migrate'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:752:in `migrate'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:991:in `block in 
execute_migration_in_transaction'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:1037:in `block in 
ddl_transaction'
/usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/database_statements.rb:201:in
 `block in transaction'
/usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/database_statements.rb:209:in
 `within_new_transaction'
/usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/database_statements.rb:201:in
 `transaction'
/usr/lib/ruby/vendor_ruby/active_record/transactions.rb:208:in `transaction'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:1037:in `ddl_transaction'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:990:in 
`execute_migration_in_transaction'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:952:in `block in migrate'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:948:in `each'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:948:in `migrate'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:807:in `up'
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:785:in `migrate'
/usr/lib/ruby/vendor_ruby/active_record/railties/databases.rake:34:in `block (2 
levels) in <top (required)>'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in `call'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in `block in execute'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in `each'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in `execute'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:179:in `block in 
invoke_with_call_chain'
/usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172:in 
`invoke_with_call_chain'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:165:in `invoke'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:150:in 
`invoke_task'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in `block (2 
levels) in top_level'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in `each'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in `block in 
top_level'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:115:in 
`run_with_threads'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:100:in `top_level'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:78:in `block in 
run'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:176:in 
`standard_exception_handling'
/var/lib/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:75:in `run'
/var/lib/gems/2.1.0/gems/rake-10.3.2/bin/rake:33:in `<top (required)>'
/usr/local/bin/rake:23:in `load'
/usr/local/bin/rake:23:in `<main>'
Tasks: TOP => db:migrate

You can see more information about the system in the error messages at

http://foss.ulster.ac.uk/redmine/

Many thanks for all your work on this package, and any help you can offer.

Kind regards,

CT.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'oldstable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages redmine depends on:
ii  bundler                         1.7.2-2
ii  dbconfig-common                 1.8.47+nmu1
ii  debconf [debconf-2.0]           1.5.53
ii  libjs-scriptaculous             1.9.0-2
ii  redmine-pgsql                   3.0~20140825-1
ii  redmine-sqlite                  3.0~20140825-1
ii  ruby                            1:2.1.0.4
ii  ruby-actionpack-action-caching  1.1.1-1
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-2
ii  ruby-rack-openid                1.4.2-1
ii  ruby-rails                      2:4.1.6-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  ruby1.8 [ruby-interpreter]      1.8.7.358-7.1+deb7u1
ii  ruby2.1 [ruby-interpreter]      2.1.3-1

Versions of packages redmine recommends:
ii  ruby-fcgi [libfcgi-ruby1.9.1]  0.9.2.1-1+b3
ii  ruby-passenger                 4.0.52-1

Versions of packages redmine suggests:
pn  bzr         <none>
pn  cvs         <none>
pn  darcs       <none>
ii  git         1:2.1.1-1
pn  mercurial   <none>
ii  subversion  1.8.10-2

-- debconf information:
* redmine/instances/default/default-language: en-gb
* redmine/instances/default/dbconfig-install: true
  redmine/instances/default/internal/reconfiguring: false
  redmine/instances/default/db/basepath:
  redmine/instances/default/remote/port:
  redmine/instances/default/pgsql/no-empty-passwords:
  redmine/instances/default/dbconfig-remove:
  redmine/instances/default/dbconfig-reinstall: false
  redmine/instances/default/remove-error: abort
* redmine/current-instances: default
* redmine/missing-redmine-package:
  redmine/instances/default/pgsql/manualconf:
  redmine/instances/default/pgsql/changeconf: false
  redmine/instances/default/missing-db-package-error: abort
  redmine/instances/default/dbconfig-upgrade: true
  redmine/instances/default/purge: false
  redmine/instances/default/mysql/method: unix socket
* redmine/instances/default/pgsql/authmethod-user: password
  redmine/instances/default/upgrade-error: abort
* redmine/instances/default/database-type: pgsql
* redmine/instances/default/pgsql/admin-user: postgres
* redmine/instances/default/db/app-user: redmine
  redmine/instances/default/passwords-do-not-match:
  redmine/instances/default/upgrade-backup: true
* redmine/instances/default/db/dbname: redmine_default
  redmine/default-language: ${defaultLocale}
* redmine/instances/default/pgsql/method: unix socket
  redmine/old-instances:
  redmine/instances/default/install-error: abort
* redmine/instances/default/pgsql/authmethod-admin: ident
  redmine/instances/default/mysql/admin-user: root
  redmine/instances/default/remote/newhost:
  redmine/instances/default/remote/host:
  redmine/instances/default/internal/skip-preseed: false
  redmine/notify-migration:

--- End Message ---
--- Begin Message ---
Source: redmine
Source-Version: 3.0~20140825-2

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Antonio Terceiro <[email protected]> (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 [email protected])


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

Format: 1.8
Date: Sun, 30 Nov 2014 21:20:40 -0200
Source: redmine
Binary: redmine redmine-mysql redmine-pgsql redmine-sqlite
Architecture: source all
Version: 3.0~20140825-2
Distribution: unstable
Urgency: medium
Maintainer: Jérémy Lal <[email protected]>
Changed-By: Antonio Terceiro <[email protected]>
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: 764230 765466 765498 767548 768575
Changes:
 redmine (3.0~20140825-2) unstable; urgency=medium
 .
   * README.Debian: update instructions to run redmine without a webserver
     (Closes: #765498)
   * Make Gemfile.lock a symlink to /dev/null, so that bundler will not
     abort on upgrades of minor versions (Closes: #767548)
   * debian/redmine.triggers: reconfigure package whenever a plugin is
     installed; so plugins database setup scripts are automatically applied
     when they are installed.
   * debian/patches/drop-update_all.patch: apply upstream patch to fix upgrades
     from wheezy (Closes: #765466)
   * debian/patches/invalidate-language-cache-from-older-versions.diff: avoid
     using cached language list created by earlier versions, which is in a
     incompatible data structure (Closes: #764230)
   * Added Italian translation for Debconf prompts, thanks to Beatrice Torracca
     (Closes: #768575)
Checksums-Sha1:
 a8621275bc871d9500bef8950d85ceab67954d88 2266 redmine_3.0~20140825-2.dsc
 d1813fab7bbc2a3ffca6fab9dc648056bd8283d6 237192 
redmine_3.0~20140825-2.debian.tar.xz
 06af47005a442be5f81f85a831cf40bb2c886b10 4651492 redmine_3.0~20140825-2_all.deb
 2025992300df03b687800511b26bdca3ddbdb4da 69310 
redmine-mysql_3.0~20140825-2_all.deb
 b4e3c9cce2ab494141b557542bbe94ba26023230 69296 
redmine-pgsql_3.0~20140825-2_all.deb
 d341921b948215c319e4b8acbaee88d8e0dfbf1d 69266 
redmine-sqlite_3.0~20140825-2_all.deb
Checksums-Sha256:
 996ddd222bceeb05cfd07438220004a8dc42e50fe4e2dd2391a4384ba6ab8489 2266 
redmine_3.0~20140825-2.dsc
 607c51372307bf482016bb755171942cecba9a5d3cbd1e3ad7481391637e7517 237192 
redmine_3.0~20140825-2.debian.tar.xz
 57f1b4aee34d233e3116336112d419858f2d08e13e065235c992b7252c560b8a 4651492 
redmine_3.0~20140825-2_all.deb
 5e9070140cc38aa391971dbe2e91b969ebd79de55a665c1b7a319a92a36da6ff 69310 
redmine-mysql_3.0~20140825-2_all.deb
 ee54a77349deeb2cc9d8c37c1f10f9659eb0ae566dea5bfb90c0a45b8b87c120 69296 
redmine-pgsql_3.0~20140825-2_all.deb
 fab735ccc19288f68e08e322ca3004338e70304c1f82319498d0a84d91721b70 69266 
redmine-sqlite_3.0~20140825-2_all.deb
Files:
 a7590dd47f274a81e22bc2028e5596bc 2266 web extra redmine_3.0~20140825-2.dsc
 8e59833e65b7625a56f8f2af4f048a1c 237192 web extra 
redmine_3.0~20140825-2.debian.tar.xz
 e074e8573b2f9e9b632dd01a257268de 4651492 web extra 
redmine_3.0~20140825-2_all.deb
 eb0f21060400612f3842fa6059e77960 69310 web extra 
redmine-mysql_3.0~20140825-2_all.deb
 a729c5d0466d48c84b0085a74a3b9ddf 69296 web extra 
redmine-pgsql_3.0~20140825-2_all.deb
 825928993fcaa4dc28595de560744ebf 69266 web extra 
redmine-sqlite_3.0~20140825-2_all.deb

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

iQIcBAEBCAAGBQJUe7G5AAoJEPwNsbvNRgveuFwQAIIZM6BM3WMZy6CzGgV+F68g
7Owr+p9oE+wzFNzc8+aZkLwho4DBGsMG58X3H8hNmv2itotKOJ6aD0CF3hxCbbOx
G+4CqZmmKwU1CLbbd9mE9ZjIQJ006Ga1Aw+MdB3caOlNq6BFy0p2baqbo2rCwteO
+MGPl1eIaKJGMtL/VMcfgHiTSCGsMt7787aaiPr8HUtgK2/rcM7c6FlOhd5GVElO
biHpU4Ci/nypELWFj9KQTdfdenXorO654r2NB3J9ebUMjPPI8WNpnXa/TZxcK6eT
ffgvGrlegHWM8K2KdHCFqH9sNwqj4MK2TPdCs4+mDGcZeyhGANJBMWNhd7nF3OoU
EwOnmqYZpmHKTM/QK+iCirYUszhRTSO+ekbvAUHKc66AdY5S82eZnKDkMyiHMHCY
DV9Ckr/Ja9Du+NcC1X56U5l0kWh+J3YqJAXbNxPZsgG1ty/FV6y7m0Qq5CCmMUvN
Ir/Ba92KWAGPckJ8wLVYDNRNoLX4UWtyJnz94uaIWsxoxMhZ9osHF0kM+xHT2npI
mtX50GWnjpL4npae3nkh2q8ixPqTGKhKXY/Lwul7mRGpGDb1//cQx7ltpCcumxbs
a0KBrRlA5yE0Cg0UHW8WKNLaqHuCzMRXpUV4iPTS9E5+HdLfUPR0nlWkD/JKkLrJ
5cHJJyz2DDRjM6A8TkKU
=TUDs
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to