Migrating OTRS from 2.1.7 to 3.0.6

Moderator: crythias

Locked
momken
Znuny newbie
Posts: 13
Joined: 31 Mar 2011, 14:26
Znuny Version: 2.1.7
Location: Toronto, ON

Migrating OTRS from 2.1.7 to 3.0.6

Post by momken »

Hello,

I am trying to use the backup restore scripts to upgrade OTRS from 2.1.7 to 3.0.6

but I get tghe below error

root@ubuntu:/opt/otrs/scripts# ./restore.pl -b /var/2011-04-11_13-11 -d /opt/otrs/
Restore /var/2011-04-11_13-11/Config.tar.gz ...
Use of uninitialized value $Kernel::Config::dsn in concatenation (.) or string at /opt/otrs/Kernel/Config.pm line 65.
Use of uninitialized value $Kernel::Config::dbport in concatenation (.) or string at /opt/otrs/Kernel/Config.pm line 65.
ERROR: Can't read /usr/share/otrs/RELEASE: No such file or directory This file is needed by central system parts of OTRS, the system will not work without this file.
Died at /opt/otrs/Kernel/Config/Defaults.pm line 2191.



Any tips ?

Thanks,
Sami

New system Ubuntu server 10.10
Last edited by momken on 28 Apr 2011, 20:32, edited 2 times in total.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Migrating OTRS from 2.1.7 to 3.0.6

Post by crythias »

you might want to go to 2.4, first.
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
Daniel Obee
Moderator
Posts: 644
Joined: 19 Jun 2007, 17:11
Znuny Version: various
Real Name: Daniel Obée
Location: Berlin

Re: Migrating OTRS from 2.1.7 to 3.0.6

Post by Daniel Obee »

Actually - since there's a huge gap between 2.1.x and the 3.0 there's so much configuration to do - I would set up a fresh 3.0, run the db update scripts from 2.1 -> 2.2 -> 2.3 -> 2.4 -> 3.0 and configure the system from scratch. Else you might miss some of the new config features and all... most probably not worth the hassle.

Greets
Dan
momken
Znuny newbie
Posts: 13
Joined: 31 Mar 2011, 14:26
Znuny Version: 2.1.7
Location: Toronto, ON

Re: Migrating OTRS from 2.1.7 to 3.0.6

Post by momken »

Thank you both very much.

:D

cheers,
Sami
momken
Znuny newbie
Posts: 13
Joined: 31 Mar 2011, 14:26
Znuny Version: 2.1.7
Location: Toronto, ON

backup restore 2.1.7 (ubuntu to centos)

Post by momken »

Hello All,

So.... I installed Centos 5.6, installed apache , mysql then OTRS 2.1.7 hoping to be able to import the database
then start the upgrade on that machine.


but importing the database I got similar error.

./restore.pl -b /root/ -d /opt/otrs/
Restore /root//Config.tar.gz ...
Use of uninitialized value in concatenation (.) or string at /opt/otrs/Kernel/Config.pm line 65.
Use of uninitialized value in concatenation (.) or string at /opt/otrs/Kernel/Config.pm line 65.
ERROR: /usr/share/otrs/RELEASE does not exist! This file is needed by central system parts of OTRS, the system will not work without this file.
Died at /opt/otrs/Kernel/Config/Defaults.pm line 1803.


Any thoughts ?

Thanks
Daniel Obee
Moderator
Posts: 644
Joined: 19 Jun 2007, 17:11
Znuny Version: various
Real Name: Daniel Obée
Location: Berlin

Re: Migrating OTRS from 2.1.7 to 3.0.6

Post by Daniel Obee »

Don't you have a simply MySQL BackUp you can use? No need to install anything but the DB to run the update scripts on it and then a fresh 3.0. The restore.pl afaik just restores the OTRS files, not the data base.
momken
Znuny newbie
Posts: 13
Joined: 31 Mar 2011, 14:26
Znuny Version: 2.1.7
Location: Toronto, ON

Re: Migrating OTRS from 2.1.7 to 3.0.6

Post by momken »

Hello,

Thank you very much for the feedback.

I will look into that, I am very new to Mysql
are there steps somewhere I can follow ?

Cheers,
Sami
Locked