Upgrade from 2.2.4 to 3.0.10

Moderator: crythias

Post Reply
rich549
Znuny newbie
Posts: 3
Joined: 23 Sep 2011, 18:16
Znuny Version: 2.2.4
Real Name: Rich Aspley
Company: Hammonds Furniture Ltd

Upgrade from 2.2.4 to 3.0.10

Post by rich549 »

Hi,

I'm new to OTRS and just wondered how I could go about updating from 2.2.4 to 3.0.10?

Can I go straight to the latest version or do I need to install some of the previous versions first?

Thanks,

Rich
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Upgrade from 2.2.4 to 3.0.10

Post by crythias »

The following isn't gospel recommended, (read UPGRADING), but here's the gist of it (anyone else is free to chime in:)
in Windows, cat is the same as type although theoretically you could do:
Backup OTRS folder and export from MySQL
get to a command prompt with admin access.
mysqldump -uotrsdbusername -potrsdbpass otrsdbname > otrs-date.sql

cd c:\program files\otrs\otrs\

extract 2.4.9 source on top of existing directory.

stop services (specifically Apache and CronW)

mysql -u otrsdbusername -p otrsdbpass otrsdbname < scripts/DBUpdate-to-2.4.mysql.sql
perl scripts/DBUpdate-to-2.4.pl
mysql -u otrsdbusername -p otrsdbpass otrsdbname < scripts/DBUpdate-to-2.4-post.mysql.sql

then overwrite with 3.0 source and do the same basic thing (change 2.4 to 3.0)
also do this:
perl bin/otrs.RebuildConfig.pl
perl bin/otrs.DeleteCache.pl

and restart services.

This isn't everything about the upgrade (read the UPGRADING for concepts), but might be helpful.

Feedback appreciated.
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
MichaelR
Znuny expert
Posts: 250
Joined: 12 Oct 2010, 01:35
Znuny Version: 3.0.9
Company: LRS Health

Re: Upgrade from 2.2.4 to 3.0.10

Post by MichaelR »

There are a bunch of 'Windows OTRS Upgrade' threads out there. Detailing specifically the steps to update.
Have a poke around, you will find something!
OTRS: 3.0.9 & ITSM 3.0.4 - OS: Windows 7 - DB: MySQL - Heaps of random/useful hacks :)
[Major Code Changes]
ArticleFreeTime1-3
Ability to search ArticleFreeText
rich549
Znuny newbie
Posts: 3
Joined: 23 Sep 2011, 18:16
Znuny Version: 2.2.4
Real Name: Rich Aspley
Company: Hammonds Furniture Ltd

Re: Upgrade from 2.2.4 to 3.0.10

Post by rich549 »

Sorry just realised that I didn't state I'm running the Linux version of OTRS.

Apologies for being a dumbass! :lol:
Post Reply