[DRE-maint] Bug#675334: redmine: Upgrade to 1.4.2 fails
luigifab
contact at luigifab.info
Wed Jun 6 20:18:31 UTC 2012
Exactly the same problem when upgrading from 1.4.2 to 1.4.3 with my plugins.
Setting up redmine-mysql (1.4.3+dfsg1-1) ...
Setting up redmine (1.4.3+dfsg1-1) ...
Populating database for redmine instance "default".
This may take a while.
Some gems may need to be installed or updated.
Please run `bundle install --without development test`.
Error when running rake db:migrate, check database configuration.
exit: 295: Illegal number: -1
dpkg: error processing redmine (--configure):
subprocess installed post-installation script returned error exit status 2
So, I have move them out the path, then I restart upgrading.
Setting up redmine (1.4.3+dfsg1-1) ...
Populating database for redmine instance "default".
This may take a while.
NOTE: Gem.source_index is deprecated, use Specification. It will be
removed on or after 2011-11-01.
Gem.source_index called from
/usr/share/redmine/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21.
Please install RDoc 2.4.2+ to generate documentation.
Done.
NOTE: Gem.source_index is deprecated, use Specification. It will be
removed on or after 2011-11-01.
Gem.source_index called from
/usr/share/redmine/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21.
Please install RDoc 2.4.2+ to generate documentation.
Migrating engines...
Migrating acts_as_activity_provider...
Migrating acts_as_attachable...
Migrating acts_as_customizable...
Migrating acts_as_event...
Migrating acts_as_list...
Migrating acts_as_searchable...
Migrating acts_as_tree...
Migrating acts_as_versioned...
Migrating acts_as_watchable...
Migrating awesome_nested_set...
Migrating classic_pagination...
Migrating gravatar...
Migrating open_id_authentication...
Migrating prepend_engine_views...
Migrating rfpdf...
Result: successful upgrade.
Now, I have re-move (not remove) my plugins into
/usr/share/redmine/vendor/plugins to run 'rake db:migrate
RAILS_ENV=production'.
(in /usr/share/redmine)
Some gems may need to be installed or updated.
Please run `bundle install --without development test`.
Result: same error, same solution.
Before redmine 1.4 (and bundle) with the same plugins, there were no
error during upgrades.
More information about the Pkg-ruby-extras-maintainers
mailing list