OTRS update from 2.3.6

Moderator: crythias

Locked
magnetmo
Znuny newbie
Posts: 26
Joined: 17 Aug 2015, 11:48
Znuny Version: 2.3.6

OTRS update from 2.3.6

Post by magnetmo »

Hi, am using otrs 2.3.6 version, I need to update this to latest version, I am new to otrs What is the best wat to update. Shall I make the clone for the live working site and try update? its reflect in live also ? How can I make the clone for live otrs please explain me step by step. Thank you.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS update from 2.3.6

Post by jojo »

Hi,

you need to follow all upgrading steps:

2.3.6 -> 2.4.latest
2.4.latest -> 3.0.latest
3.0.latest -> 3.1.latest
3.1.latest -> 3.2.latest
3.2.latest -> 3.3.latest
3.3.latest -> 4.0.latest
4.0.latest -> 5.0.latest

For each of the migrations you have to follow the instructions in the UPGRADING file of the target version (which points to the manual in newer versions)

Things you might need to do:
- convert database to utf-8
- change database storage engine to innodb
- migrate ACLs to the database

Also you need to switch to a newer operating system and a newer version of the database if you are still running on the original setup.

I strongly suggest to get professional support for this kind of task as deeper OTRS knowledge is needed to solve potential issues!
"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
magnetmo
Znuny newbie
Posts: 26
Joined: 17 Aug 2015, 11:48
Znuny Version: 2.3.6

Re: OTRS update from 2.3.6

Post by magnetmo »

Thanks for your quick reply, Shall I make a clone and try to update, it affects the live otrs running?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS update from 2.3.6

Post by jojo »

a clone is suggested for testing of the whole procedure.

For live migration you need to stop the running instance first as no changes are allowed during upgrade
"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
magnetmo
Znuny newbie
Posts: 26
Joined: 17 Aug 2015, 11:48
Znuny Version: 2.3.6

Re: OTRS update from 2.3.6

Post by magnetmo »

Thanks, I will try with clone one, Please explain me How can I make the clone in same server, I copied all the files from otrs 2.3.6 to new test location, and copy the DB create a new DB also, I changed the required changes in kernal/config.pm also, But clone site is not working, it shows this error 'The requested URL /otrs/bin/cgi-bin/index.pl was not found on this server.'. What I must change Please explain Me. Thanks in advance.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS update from 2.3.6

Post by jojo »

you shpuld use a different server as newer versions will not run on old PERL versions. Also webinterface is not needed for the migration steps
"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
magnetmo
Znuny newbie
Posts: 26
Joined: 17 Aug 2015, 11:48
Znuny Version: 2.3.6

Re: OTRS update from 2.3.6

Post by magnetmo »

Thanks, Different server is not possible, I will try update from existing system,

2.3.6 -> 2.4.latest
2.4.latest -> 3.0.latest
3.0.latest -> 3.1.latest
3.1.latest -> 3.2.latest
3.2.latest -> 3.3.latest
3.3.latest -> 4.0.latest
4.0.latest -> 5.0.latest

following this system, Any documents to follow this procedure, Because am not well in Terminal command execution also.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS update from 2.3.6

Post by jojo »

for this task you need good skills in linux and database administration. Please read the UPGRADING (and also the INSTALL) file for each target version before starting any migration attempt.

You shoud hire an expert before destroying the installation...
"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
magnetmo
Znuny newbie
Posts: 26
Joined: 17 Aug 2015, 11:48
Znuny Version: 2.3.6

Re: OTRS update from 2.3.6

Post by magnetmo »

https://otrs.github.io/doc/manual/admin ... ading.html
https://otrs.github.io/doc/manual/admin ... ading.html

I got only these two documents, I does not get documents for remaining versions. if you have please send URL. Thanks.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: OTRS update from 2.3.6

Post by crythias »

UPGRADING documentation is in the root of each release folder until the documentation starts being on the github site.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
magnetmo
Znuny newbie
Posts: 26
Joined: 17 Aug 2015, 11:48
Znuny Version: 2.3.6

Re: OTRS update from 2.3.6

Post by magnetmo »

I tried to update from 2.3.6 to 2.4.15 after Update when I open URL in browser it throw this error
Forbidden

You don't have permission to access /otrs/bin/cgi-bin/index.pl on this server.

please help me to fix this.
Last edited by magnetmo on 12 Jan 2016, 09:45, edited 1 time in total.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS update from 2.3.6

Post by jojo »

as I said beofre you need to read and understand the UPGRADING and INSTALL files

to make a long story short: hire some professional help, a migration this size needs deeper OTRS and linux knowledge.
"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
magnetmo
Znuny newbie
Posts: 26
Joined: 17 Aug 2015, 11:48
Znuny Version: 2.3.6

Re: OTRS update from 2.3.6

Post by magnetmo »

I have followed the documents from UPGRADING file, What is the mistake, may be Permission Problem?
Locked