4.0.14 to v5 help

Moderator: crythias

Locked
tyrrvk
Znuny newbie
Posts: 14
Joined: 03 Mar 2015, 22:50
Znuny Version: 4.0.14

4.0.14 to v5 help

Post by tyrrvk »

Hi -
I'm testing our upgrade process from 4.0.3 to 5.0.4 or whatever the latest version of OTRS free is. This is on my dev server, I can successfully upgrade from 4.0.3 to 4.0.14 with no problems.

However, when I go to 5.0.0rc1 things fall apart. Same if I go 4.0.15 to 5.0.4.

I've followed this guide:
https://otrs.github.io/doc/manual/admin ... ading.html

But when I try restarting the application, I get 500 errors.

My 1st question. What *exact* version do I need to upgrade to from 4.0.14? My control panel shows 5.0.1 as a MAJOR upgrade. However, if I go to the download portal, and select see old versions I see:
5.0.0.rc1 (release candidate?)
5.0.1-03
up to
5.0.4-01
Do I need to use 5.0.0.rc1 or 5.0.1?

Sorting this out, might ameliorate my other issues. So I want to confirm this first.

Thanks.

tyrrvk
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: 4.0.14 to v5 help

Post by jojo »

use always latest target version, so 5.0.4-01 applies
"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
tyrrvk
Znuny newbie
Posts: 14
Joined: 03 Mar 2015, 22:50
Znuny Version: 4.0.14

Re: 4.0.14 to v5 help

Post by tyrrvk »

Hello -

So, doing my upgrade from 4.0.14 to 5.0.4 appears to work, but evertime I hit the main page I get Internal Server error 500.

The only thing I am seeing in /var/logs/httpd/error_logs is:
[Wed Dec 02 14:57:21 2015] [error] [Wed Dec 2 14:57:21 2015] -e: Got no ConfigObject! at /opt/otrs//Kernel/Output/HTML/HeaderMetaFAQSearch.pm line 24.\n
[Wed Dec 02 14:57:52 2015] [error] [Wed Dec 2 14:57:52 2015] -e: Got no ConfigObject! at /opt/otrs//Kernel/Output/HTML/HeaderMetaFAQSearch.pm line 24.\n

I followed these steps:
http://otrs.github.io/doc/manual/admin/ ... ading.html

Once I tried it without updating MySQL tables to InnoDB, and the other time I did the conversion. Both appeared to work.

I do have a bunch of custom code in my Config.pm for doing Active Directory AuthN (which worked fine under 4.0.14). Not seeing much in logging, which would be helpful for debugging this error...

Any help is appreciated.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: 4.0.14 to v5 help

Post by jojo »

did you upgrade FAQ and rebuild Config also?
"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
tyrrvk
Znuny newbie
Posts: 14
Joined: 03 Mar 2015, 22:50
Znuny Version: 4.0.14

Re: 4.0.14 to v5 help

Post by tyrrvk »

No FAQ to upgrade on this dev box. Though there is nothing in the upgrade docs pertaining to FAQ that I saw.

I did run: shell> bin/otrs.Console.pl Maint::Config::Rebuild afterwards.

Need to figure out why there isn't verbose logging.

I did the upgrade using the rpm method, if that is at all helpful. It's how I did our original 4 installation, and subsequent 4 upgrades (4.0.3, 4.04 then 4.0.14).
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: 4.0.14 to v5 help

Post by jojo »

if you do a major release upgrade all installed modules needs to be upgradet also
"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
tyrrvk
Znuny newbie
Posts: 14
Joined: 03 Mar 2015, 22:50
Znuny Version: 4.0.14

Re: 4.0.14 to v5 help

Post by tyrrvk »

Thank you - that was the missing part. Apparently, one of the devs, did in fact install the FAQ and iPhone modules.

One thing that was weird was when I tried manually updating the modules from the command line
otrs.console.pl Admin::Package::upgrade FAQ

I got this error:
Message: Sorry, can't install/upgrade package, because the framework version required by the package (4.0.x;) does not match your Framework (5.0.4)!

Do I need to update the modules before I upgrade to version 5.0.4?

In my case, because this was a dev box with no real data in it, I just uninstalled both modules using the command line, but for my production boxes, I'd like to know I can in fact update the modules.

Thanks for your help.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: 4.0.14 to v5 help

Post by jojo »

bin/otrs.Console.pl Admin::Package::Install http://ftp.otrs.org/pub/otrs/packages/FAQ-5.0.2.opm

Packages can only be installed for the existing framework.
"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