Project

General

Profile

Upgrade to redmine 5.x (Oracle Linux server release 9.2) from redmine 3.4.4 (CentOS Linux Release 7.9.2009)

Added by ELidon Sina 3 months ago

Hello all,

Do you have any advice on how to upgrade from redmine 3.4.4 to redmine 5.x with all the current issues, wiki, users, attachments.. etc.
Do I have to install new redmine and new db (possibly MySql) and then try to import all the issues/documents into the new db or install new redmine and try to upgrade the current db. Which way is the better way?
Thank you.
Elidon


Replies (8)

RE: Upgrade to redmine 5.x from redmine 3.4.4 - Added by ELidon Sina 3 months ago

Thank you Holger for your response.

I've already read the section you mention, but I was asking for your experience in general which is the best way to approach the upgrade and if there is any other member that have done this specific upgrade (from 3.4.4) what are your advices?
Is there any "trick" that I have to consider?
My goal/desire is to have the same db as now, maybe just upgrading it. Is it safe/possibile?

Thank you
Elidon

RE: Upgrade to redmine 5.x from redmine 3.4.4 - Added by Holger Just 3 months ago

Yes, it is possible to upgrade your existing database. Upgrading the database content for the new Redmine version is described in Step 4 of the linked guide.

In the end, however, since Redmine 3.4, a lot has changed. Thus, unless you just us a plain Redmine without any plugins, it's likely a good idea to first setup a new (empty) Redmine instance and database with all the (updated) plugins you used in Redmine 3.4 to find if that all works in principal. Once you have found a working combination (or have decided to get rid of plugins which are no longer updated for Redmine 5.x compatibility), you can perform the actual upgrade by moving over the files and database and performing the database upgrade.

If you have to remove incompatible plugins, you should do that on the old Redmine version before the migration, as you can still run the plugins's reverse migrations there. See Plugins for details.

In any case, make sure you have a full and working backup of your database and all of your files and code before starting any migrations so that you can go back in case anything unexpected happens.

RE: Upgrade to redmine 5.x from redmine 3.4.4 - Added by YuChen Lin 3 months ago

hi ELidon Sina,

I Have the same question with u?
Did u upgrade successful?

RE: Upgrade to redmine 5.x from redmine 3.4.4 - Added by ELidon Sina 3 months ago

Thank you for your advice Holger.
We are going to try the upgrade soon.

RE: Upgrade to redmine 5.x from redmine 3.4.4 - Added by ELidon Sina 3 months ago

hello Holger,
I just had more info from our system administrator.
Our current situation is as follows:

Operating system: CentOS Linux Release 7.9.2009

Environment:
Redmine version 3.4.4.stable
Ruby version 2.4.1-p111 (2017-03-22) [x86_64-linux]
Rails version 4.2.8
Environment production
Database adapter Mysql2
SCM:
Subversion 1.7.14
Git 1.8.3.1
Filesystem
Redmine plugins:
no plugin installed

We want to put the new redmine into another server: Oracle Linux server release 9.2.
Is there possibile to upgrade to new server (possibly new redmine 5.x and database) migrating all the data from the old one?

Thank you

RE: Upgrade to redmine 5.x (Oracle Linux server release 9.2) from redmine 3.4.4 (CentOS Linux Release 7.9.2009) - Added by Andy Pack about 1 month ago

Hi ELidon Sina,

If the question is still actual - we offer a separate installation service (with migrating from an old Redmine instance, i.e. upgrade service).

Drop us email on for more details on this.

All the best,
Andy

RE: Upgrade to redmine 5.x (Oracle Linux server release 9.2) from redmine 3.4.4 (CentOS Linux Release 7.9.2009) - Added by ELidon Sina about 1 month ago

Hello Andy,

we had the support of another team. They are now dealing with the situation.

Thank you
Elidon

    (1-8/8)