[SOLVED]Problem to migrate database

Moderator: crythias

Locked
nlundell
Znuny newbie
Posts: 10
Joined: 07 Feb 2011, 10:41
Znuny Version: 2.4.6

[SOLVED]Problem to migrate database

Post by nlundell »

Hi

Just moved the database to a new server with new OTRS version, 2.4.6 -> 3.0

I've come so far in the installation & upgrade document to step no 8.
Updating the database running the • mysql -uroot otrs < DBUpdate-to-2.4.7.mysql.sql command and succeeded.

but when trying to migrate the database running the command 'perl DBUpdate-to-3.0.pl' fail with following error message
C:\ Progra~1\OTRS\mysql\scripts>perl DBUpdate-to-3.0.pl
Can't locate Kernel/config.pm in @INC (@INC contains: C:/Progra~1/OTRS/mysql/Kernel/cpan-lib C:/Progra~1/OTRS/mysql C:/Program Files/OTRS/StrawberryPerl/perl/site/lib C:/Program Files/OTRS/StrawberryPerl/perl/vendor/lib C:/Program Files/OTRS/StrawberryPerl/perl/lib .) at DBUpdate-to-3.0.pl line 37.
BEGIN failed --compilation aborted at DBUpdate-to-3.0.pl line 37.

I have no idea what this means. Anyone that can bring some clarity to this and how to solve it.
Last edited by nlundell on 23 Feb 2011, 16:12, edited 1 time in total.
OTRS 3.0.5 - Windows Server 2003 - MySQL
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Problem to migrate database

Post by crythias »

try running it from the otrs directory via command line
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
nlundell
Znuny newbie
Posts: 10
Joined: 07 Feb 2011, 10:41
Znuny Version: 2.4.6

Re: Problem to migrate database

Post by nlundell »

Hi

That also failed, same error message. I've even tried to copy config.pm to the same directory as I'm standing in but the same result.

Any other ideas ?
OTRS 3.0.5 - Windows Server 2003 - MySQL
Locked