recover otrs from 2.3.3 version

Moderator: crythias

Locked
undefine
Znuny newbie
Posts: 2
Joined: 04 Apr 2014, 12:56
Znuny Version: 3.3.1
Real Name: Andrzej Dopierała

recover otrs from 2.3.3 version

Post by undefine »

I had ancient otrs 2.3.3 instalation. Without any plugins and weird configuration - it works for years. Unfortunately - after small incident - whole instalation was destroyed.
Fortunately - i have a mysql backup :-)
So - i createad a fresh ubuntu xenial machine, restored there mysql backup, install otrs(from distro) and try to upgrade database. I've installed needed perl modules, configured login and password to mysql database, and then i check connection to db:

Code: Select all

otrs@otrs:~$ bin/otrs.Console.pl Maint::Database::Check
Trying to connect to database 'DBI:mysql:database=otrs;host=localhost;port=3306;' with user 'otrs'...
Connection successful.
Next - i try to execute DBupdate script:

Code: Select all

otrs@otrs:~$ scripts/DBUpdate-to-3.2.pl 

Migration started...

$Kernel::OM is not defined, please initialize your object manager at /usr/share/otrs/Kernel/System/Log.pm line 67.
	Kernel::System::Log::new("Kernel::System::Log", "LogPrefix", "OTRS-DBUpdate-to-3.2", "ConfigObject", Kernel::Config=HASH(0x2139128)) called at scripts/DBUpdate-to-3.2.pl line 134
	main::_CommonObjectsBase() called at scripts/DBUpdate-to-3.2.pl line 66
What do with that error? Is there any upgrade procedure for earlier versions? :-)

TIA for any suggestions
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: recover otrs from 2.3.3 version

Post by jojo »

you have to follow the upgrade path:

2.3 -> 2.4. -> 3.0. -> 3.1 -> 3.2 -> 3.3 -> 4.0 -> 5.0

Please use latest patchlevel always
"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
Locked