Upgrade OTRS 2.2.7 -> 5.0.9

Moderator: crythias

Locked
kkucza
Znuny newbie
Posts: 3
Joined: 17 May 2016, 09:30
Znuny Version: 2.2.7
Real Name: Kamil 'Civril' Kucza

Upgrade OTRS 2.2.7 -> 5.0.9

Post by kkucza »

Hello,
we are facing some problem, as we are using still the ancient OTRS 2.2.7, and maybe this is a proper time for XXI century to come ?

I made a new machine with CentOS7, and set up there OTRS 5.0.9 - looks great, and is working. The problem is, that our employees want to hold their tickets history. Just great, we have a boycott here if the we can't make it ;)

So - maybe you know, if there is any simple way to migrate the database from OTRS 2.2.7, and use it on second machine with 5.0.9 ?
Both machines are using MySQL as database engine for OTRS.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Upgrade OTRS 2.2.7 -> 5.0.9

Post by jojo »

you have to follow the full migration path

2.2.7 -> 2.3.latest -> 2.4.latest -> 3.0.latest -> 3.1.latest -> 3.2.latest -> 3.3.latest -> 4.0.latest -> 5.0.10 (will be released today)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
kkucza
Znuny newbie
Posts: 3
Joined: 17 May 2016, 09:30
Znuny Version: 2.2.7
Real Name: Kamil 'Civril' Kucza

Re: Upgrade OTRS 2.2.7 -> 5.0.9

Post by kkucza »

jojo wrote:you have to follow the full migration path

2.2.7 -> 2.3.latest -> 2.4.latest -> 3.0.latest -> 3.1.latest -> 3.2.latest -> 3.3.latest -> 4.0.latest -> 5.0.10 (will be released today)
May I update just the database with some perl script ? Without updating the software - than I would dump and import the DB into new server - is it possible ?
I was trying to find old update scripts for 2.3, 2.4, but links was invalid.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Upgrade OTRS 2.2.7 -> 5.0.9

Post by jojo »

no, you have to follow full upgrade path. You can download all versions on http://ftp.otrs.org
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
root
Administrator
Posts: 4253
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Upgrade OTRS 2.2.7 -> 5.0.9

Post by root »

kkucza wrote: May I update just the database with some perl script ? Without updating the software - than I would dump and import the DB into new server - is it possible ?
I was trying to find old update scripts for 2.3, 2.4, but links was invalid.
If you're interested in a working system after the upgrade stick to that what jojo wrote.
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
kkucza
Znuny newbie
Posts: 3
Joined: 17 May 2016, 09:30
Znuny Version: 2.2.7
Real Name: Kamil 'Civril' Kucza

Re: Upgrade OTRS 2.2.7 -> 5.0.9

Post by kkucza »

Thank you all, I will try it somewhere in the next 2 days - hope this will work ;)
Locked