Upgrade from version 3.3.1 to 3.4.2
Added by Jyrki Kataja over 7 years ago
Hi,
First time upgrading Redmine. I was wondering, is it ok to do this update straight from 3.3.1 to 3.4.2 or shall I first go with 3.3.1->3.3.3 and so on ?
I will try this with your upgrade instructions. Fortunately our server is virtualized if something goes wrong!
Jyrki
Replies (5)
RE: Upgrade from version 3.3.1 to 3.4.2 - Added by László Péntek over 7 years ago
Hi,
I upgraded our Redmine install from 3.0.1 to 3.4.2 in a few steps. At least for me the upgrade from 3.3.4 worked fine.
The upgrade instructions document is OK but I had to figure out a few things myself.
László
RE: Upgrade from version 3.3.1 to 3.4.2 - Added by Mark Wintch over 7 years ago
I was able to upgrade straight through. The only problem I had was that I first used ruby 2.4 as it was the latest available. That gave me errors when I tried to bundle so I went with Ruby 2.3 with no problems.
RE: Upgrade from version 3.3.1 to 3.4.2 - Added by Sergii Bortsov about 7 years ago
László Péntek wrote:
Hi,
I upgraded our Redmine install from 3.0.1 to 3.4.2 in a few steps. At least for me the upgrade from 3.3.4 worked fine.
The upgrade instructions document is OK but I had to figure out a few things myself.
Hi!
I'm trying to do the same upgrade from 3.3.4 to 3.4.2. Could please give me some details (step-by-step would be perfect) how did you such upgrade? what doc did you use?
thanks.
László
RE: Upgrade from version 3.3.1 to 3.4.2 - Added by László Péntek about 7 years ago
Hi,
I used the official upgrade document: RedmineUpgrade
I'm still using Ruby 1.9.3 but I had no problems with it. As a web server we use Apache+Passenger.
The upgrade document is pretty accurate. I added remarks to some points of the document for myself:
These are from "Step 3 - Perform the upgrade":¶
1. It is very important set the same permissions.6. For me this step has some prerequisites:
- create a writeable Gemfile.lock in the redmine root directory
- copy the .bundle directory from the old redmine root directory
I wasn't able to install without rmagick, but It is not a big problem. It is important that you run "bundle install" as normal user.
7. You have to run this as root:
bundle exec rake db:migrate RAILS_ENV=production
Plugins
bundle exec rake redmine:plugins:migrate RAILS_ENV=production
After these steps I stop Apache/Passenger and perform the DB upgrade and clean the cache as root (Step 4 and 5). In the apache.conf file the redmine directory is set up as a symlink. So before I restart Apache I set the symlink to the new apache directory. For example:
ln -sfn /var/www/redmine-NEW/ /var/www/redmine
After this I start Apache and login to the upgraded Redmine instance.
I hope I could help.
RE: Upgrade from version 3.3.1 to 3.4.2 - Added by Sergii Bortsov about 7 years ago
thank you very much!