Issue with OTRS 4.0 Beta1 Upgrade

Moderator: crythias

Locked
cortezone
Znuny newbie
Posts: 3
Joined: 10 Sep 2014, 15:46
Znuny Version: 4.0 Beta 1
Real Name: Osay Yuuni
Company: AfDB

Issue with OTRS 4.0 Beta1 Upgrade

Post by cortezone »

Hi all,
I just upgraded my 3.3.8 installation to 4.0 beta1 following the upgrade instructions on the website h--p://otrs.github.io/doc/manual/admin/4.0/en/html/upgrading.html. After successfully loging in I got an error message "he server encountered an internal error or misconfiguration and was unable to complete your request." Looking at the Apache server logs I get the following

Code: Select all

[Wed Sep 10 15:52:25 2014] [error] [client 10.29.128.147] [Wed Sep 10 15:52:25 2014] index.pl: Got no DBObject! at /opt/otrs/bin/cgi-bin/../../Kernel/System/Stats/Dynamic/ITSMTicketFirstLevelSolutionRate.pm line 37., referer: http://itsm.afdb.org/otrs/index.pl
[Wed Sep 10 15:52:25 2014] [error] [client 10.29.128.147] [Wed Sep 10 15:52:25 2014] Carp.pm: \t(in cleanup) Can't call method "Get" on an undefined value at /opt/otrs/bin/cgi-bin/../../Kernel/System/AuthSession/DB.pm line 576., referer: http://itsm.afdb.org/otrs/index.pl
[Wed Sep 10 15:52:25 2014] [error] [client 10.29.128.147] Premature end of script headers: index.pl, referer: http://itsm.afdb.org/otrs/index.pl
[Wed Sep 10 15:52:25 2014] [error] [client 10.29.128.147] File does not exist: /var/www/html/favicon.ico
I'm not sure what the issue is as I have checked the database and it's OK. Can anyone spot why this is happening?

TIA

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

Re: Issue with OTRS 4.0 Beta1 Upgrade

Post by jojo »

Packages like ITSM are not ported yet. Please deinstall them!
"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
cortezone
Znuny newbie
Posts: 3
Joined: 10 Sep 2014, 15:46
Znuny Version: 4.0 Beta 1
Real Name: Osay Yuuni
Company: AfDB

Re: Issue with OTRS 4.0 Beta1 Upgrade

Post by cortezone »

Thanks for the reply. Without access to the UI how can I uninstall from command line? Do I simply remove the modules from the modules directory?

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

Re: Issue with OTRS 4.0 Beta1 Upgrade

Post by jojo »

via the bin/otrs.PackageManager.pl script
"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
cortezone
Znuny newbie
Posts: 3
Joined: 10 Sep 2014, 15:46
Znuny Version: 4.0 Beta 1
Real Name: Osay Yuuni
Company: AfDB

Re: Issue with OTRS 4.0 Beta1 Upgrade

Post by cortezone »

Really messed myself up. I was mislead by the modules posted at the beta site OTRS::ITSM 4 beta1 etc. I may need to go back to my original version but I'm sure it's really messed up since I failed to take a backup of the DB.
Grreg
Znuny newbie
Posts: 5
Joined: 11 Mar 2013, 18:14
Znuny Version: 3.2.1
Real Name: Greg

Re: Issue with OTRS 4.0 Beta1 Upgrade

Post by Grreg »

I had the same issue (with 4.0 Patch Level 2). I could fix it, by installing the packages with the script

Code: Select all

> bin/otrs.PackageManager.pl -a upgrade -p ~/ITSM-4.0.2.opm
> bin/otrs.PackageManager.pl -a upgrade -p ~/FAQ-4.0.1.opm 
> bin/otrs.PackageManager.pl -a upgrade -p ~/Survey-4.0.1.opm
> bin/otrs.PackageManager.pl -a upgrade -p ~/SystemMonitoring-4.0.1.opm
> bin/otrs.PackageManager.pl -a upgrade -p ~/TimeAccounting-4.0.1.opm
I was quite suprised I couldnt even start the webserver.
But I still have to install "Apache::Reload" Perl Module, maybe this could make some troule?!
Locked