OTRS Migration failed

Moderator: crythias

Post Reply
atom
Znuny newbie
Posts: 14
Joined: 06 Nov 2018, 13:03
Znuny Version: OTRS5
Real Name: Ahmet

OTRS Migration failed

Post by atom »

Hi,
i want to upgrade our otrs 5.x setup to 6.x
For this reason i have moved the entire /opt directory to a new ubuntu 18.04 server.
I have also dumped the database and installed all necessary packages.
But when i am trying to open the website, i am getting error 500.
Apache error log is showing:

Code: Select all

[Sun Dec  9 17:58:45 2018] -e: Could not load class Kernel::Output::HTML::Layout::Template. at /opt/otrs/Custom/Kernel/Output/HTML/var/log/apache2/otrs_error_log
I have already runned: /opt/otrs/bin/otrs.CheckModules

Code: Select all

  o Apache::DBI......................ok (v1.12)
  o Apache2::Reload..................ok (v0.13)
  o Archive::Tar.....................ok (v2.24)
  o Archive::Zip.....................ok (v1.60)
  o Crypt::Eksblowfish::Bcrypt.......ok (v0.009)
  o Crypt::SSLeay....................ok (v0.73_04)
  o Date::Format.....................ok (v2.24)
  o DBI..............................ok (v1.640)
  o DBD::mysql.......................ok (v4.046)
  o DBD::ODBC........................ok (v1.56)
  o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.)
  o DBD::Pg..........................ok (v3.7.0)
  o Encode::HanExtra.................ok (v0.23)
  o IO::Socket::SSL..................ok (v2.056)
  o JSON::XS.........................ok (v3.04)
  o List::Util::XS...................ok (v1.46_02)
  o LWP::UserAgent...................ok (v6.13)
  o Mail::IMAPClient.................ok (v3.39)
    o IO::Socket::SSL................ok (v2.056)
  o ModPerl::Util....................ok (v2.000010)
  o Net::DNS.........................ok (v1.10)
  o Net::LDAP........................ok (v0.65)
  o Template.........................ok (v2.27)
  o Template::Stash::XS..............ok (undef)
  o Text::CSV_XS.....................ok (v1.34)
  o Time::HiRes......................ok (v1.9741)
  o Time::Piece......................ok (v1.31)
  o XML::LibXML......................ok (v2.0128)
  o XML::LibXSLT.....................ok (v1.95)
  o XML::Parser......................ok (v2.44)
  o YAML::XS.........................ok (v0.69)
and also runned otrs.SetPermissions.pl once.

What could be the reason? Any Idea?
fcasal
Znuny wizard
Posts: 336
Joined: 21 Apr 2014, 16:14
Znuny Version: 6.0.18

Re: OTRS Migration failed

Post by fcasal »

What is in the log file?
You only moved the files or try at the same time to update?
Greetings
root
Administrator
Posts: 3960
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: OTRS Migration failed

Post by root »

Hi,

Do do not move all files. Install an empty OTRS 6 wo/ running the installer and just move configuration files, ticket counter and the database (content) (read the manual, step 3 and 4 https://doc.otrs.com/doc/manual/admin/6 ... ating.html).

There's something wrong, because /opt/otrs/Custom/Kernel/Output/HTML/var/log/apache2/otrs_error_log looks pretty weird. That's usually just /var/log/apache2/otrs_error_log. The folder Custom in the path point to some customizations, they needs to be applied after the migration again.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
atom
Znuny newbie
Posts: 14
Joined: 06 Nov 2018, 13:03
Znuny Version: OTRS5
Real Name: Ahmet

Re: OTRS Migration failed

Post by atom »

Hi Roy,
thank you very much. It worked! :-)
Post Reply