Project

General

Profile

Upgrade from 1.3.2 to 3.3.2

Added by Paweł Standela over 7 years ago

Hi
I need upgrade from ver 1.3.2 to 3.3.2 - is it possible ?

$ bundle exec rake db:migrate RAILS_ENV=production

/usr/lib/ruby/gems/2.4.0/gems/thread_safe-0.3.5/lib/thread_safe/cache.rb:155: warning: constant ::Fixnum is deprecated
/usr/lib/ruby/gems/2.4.0/gems/htmlentities-4.3.1/lib/htmlentities/mappings/expanded.rb:465: warning: key "inodot" is duplicated and overwritten on line 466
/usr/lib/ruby/gems/2.4.0/gems/thread_safe-0.3.5/lib/thread_safe/cache.rb:155: warning: constant ::Fixnum is deprecated
/usr/lib/ruby/gems/2.4.0/gems/activesupport-4.2.7.1/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated
/usr/lib/ruby/gems/2.4.0/gems/activesupport-4.2.7.1/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated
rake aborted!
SystemStackError: stack level too deep
../redmine-3.3.2/config/environment.rb:14:in `<top (required)>'
/home/user/.gem/ruby/2.4.0/bin/bundle:22:in `load'
/home/user/.gem/ruby/2.4.0/bin/bundle:22:in `<main>'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)


Replies (5)

RE: Upgrade from 1.3.2 to 3.3.2 - Added by Hren Jessie about 7 years ago

Same for me. I'm upgrading from 2.4 to 3.3.2

RE: Upgrade from 1.3.2 to 3.3.2 - Added by Mathieu L-L about 7 years ago

Hello,
Same need.. I want to upgrade from 1.2.1.stable to 3.3.2. Is it possible?

Somebody know is for upgrade you need to upgrade to intermediate version like for exemple :
1.2.1 > 2.0 > 2.4 > 3.2 > 3.4 ???

or can you update directly from a really old version to the last one?

Thank you

RE: Upgrade from 1.3.2 to 3.3.2 - Added by Fernand CLERC about 7 years ago

Hi,
I upgraded my redmine to 3.3.2 yesterday, and had to upgrade my system (wheezy to jessie) in order to upgrade ruby (from 1.9 to 2.1)
Worked perfectly
Fernand

RE: Upgrade from 1.3.2 to 3.3.2 - Added by Mathieu L-L about 7 years ago

Hello (Bonjour) Fernand,
Can you please provide a link why you upgrade your system?
So to upgrade Redmine you first upgrade from 1.9 to 2.1 and after from 2.1 to 3.3.2?
Did you do a back up of Redmine first or a new VM to test it?
Thank you.
Mathieu

RE: Upgrade from 1.3.2 to 3.3.2 - Added by Fernand CLERC about 7 years ago

Mathieu,

This is what I did :
I had debian wheezy
First migration (2.3 to 3.0.3 then to 3.2.3)

To upgrade to 3.3.2 you need ruby 2.1 (available with jessie). I Backed up my vm (proxmox), upgraded to debian jessie, upgraded ruby and nokogiri then upgraded redmine to v3.3.2

Courage !
Fernand

    (1-5/5)