[DRE-maint] Bug#675334: redmine: Upgrade to 1.4.2 fails

luigifab contact at luigifab.info
Wed Jun 6 20:47:18 UTC 2012


Found!
The redmine_checkout plugin: 
http://dev.holgerjust.de/projects/redmine-checkout/wiki#Installation

Directly in Redmine 1.4.2 (without aptitude upgrade) :

cd /usr/share/redmine/vendor/plugins/
svn co https://dev.holgerjust.de/svn/redmine-checkout/trunk 
redmine_checkout
rake db:migrate_plugins RAILS_ENV=production

And outch:

(in /usr/share/redmine)
Some gems may need to be installed or updated.
Please run `bundle install --without development test`

I have run `bundle install --without development test`.
So, the rake `db:migrate_plugins` success.

But, the problem is still present, because when I aptitude upgrade 
redmine to 1.4.3 version, the problem appear again.
I don't know if it's Redmine, or if it's the plugin.

Le mer. 06 juin 2012 22:29:58 CEST, Jérémy Lal a écrit :
> On 06/06/2012 22:18, luigifab wrote:
>> 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.
>
>
> It would be very nice of you to try to find only one plugin with
> which one can reproduce the issue.
> If possible, an easy-to-install one, please...
>
> Jérémy.
>
>






More information about the Pkg-ruby-extras-maintainers mailing list