Upgrade from 3.3.8 to 4.0.1 on RHEL6 Failed

Moderator: crythias

Locked
mollelr
Znuny newbie
Posts: 5
Joined: 01 Dec 2014, 23:16
Znuny Version: 4.0.1
Real Name: Rick Mollel
Company: GSFC

Upgrade from 3.3.8 to 4.0.1 on RHEL6 Failed

Post by mollelr »

Hi,
I upgraded from 3.3.8 to 4.0.1 on RHEL6, 64-bit version using RPM package, and using MySql DB
I followed religiously all update instructions as outlined http://otrs.github.io/doc/manual/admin/ ... ading.html
All steps completed successfully.
DBCheck.pl is OK, otrs.CheckModules.pl is OK, all required modules installed.
httpd starts OK, and "service otrs start" starts OK. however, when I try to load web console, it errors with:

The server encountered an internal error or misconfiguration and was unable to complete your request.

Checking error log, I see this error:

[Mon Dec 01 16:12:43 2014] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_perl/2.0.8 Perl/v5.10.1 configured -- resuming normal operations
[Mon Dec 01 16:12:43 2014] [info] Server built: Aug 15 2014 03:02:07
[Mon Dec 1 16:12:53 2014] -e: (in cleanup) Can't call method "Get" on an undefined value at /opt/otrs/Kernel/System/AuthSession/DB.pm line 583.
[Mon Dec 01 16:12:53 2014] [error] [Mon Dec 1 16:12:53 2014] -e: Got no DBObject! at /opt/otrs//Kernel/System/Stats/Dynamic/ITSMTicketFirstLevelSolutionRate.pm line 37.\n\t(in cleanup) Can't call method "Get" on an undefined value at /opt/otrs//Kernel/System/AuthSession/DB.pm line 583.\n

Any ideas how to correct this? Alternatively i will have to rollback to 3.3.8, as I took pretty good backups of dbase and installation.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Upgrade from 3.3.8 to 4.0.1 on RHEL6 Failed

Post by jojo »

did you upgrade the additional modules 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
mollelr
Znuny newbie
Posts: 5
Joined: 01 Dec 2014, 23:16
Znuny Version: 4.0.1
Real Name: Rick Mollel
Company: GSFC

Re: Upgrade from 3.3.8 to 4.0.1 on RHEL6 Failed

Post by mollelr »

Could not get to them....
I usually use web interface to upgrade them.....
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Upgrade from 3.3.8 to 4.0.1 on RHEL6 Failed

Post by jojo »

upgrade them via commandline
"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
mollelr
Znuny newbie
Posts: 5
Joined: 01 Dec 2014, 23:16
Znuny Version: 4.0.1
Real Name: Rick Mollel
Company: GSFC

Re: Upgrade from 3.3.8 to 4.0.1 on RHEL6 Failed

Post by mollelr »

Thanks much for the prompt responses. I am back in business.
For others who might stumble on this, since it is not really explicitly documented in the Upgrade section - to be done during initial installation...
One MUST upgrade all the modules on the command line before attempting to reload OTRS

These were my modules:
[root@ bin]# ./otrs.PackageManager.pl -a list|grep Name:
| Name: FAQ
| Name: GeneralCatalog
| Name: ImportExport
| Name: iPhoneHandle
| Name: ITSM
| Name: ITSMChangeManagement
| Name: ITSMConfigurationManagement
| Name: ITSMCore
| Name: ITSMIncidentProblemManagement
| Name: ITSMServiceLevelManagement
| Name: OTRSMasterSlave
| Name: Survey
| Name: SystemMonitoring
| Name: TimeAccounting


Download location:

https://portal.otrs.com/otrs/public.pl? ... cDownloads#

Thanks Jojo.
mollelr
Znuny newbie
Posts: 5
Joined: 01 Dec 2014, 23:16
Znuny Version: 4.0.1
Real Name: Rick Mollel
Company: GSFC

Re: Upgrade from 3.3.8 to 4.0.1 on RHEL6 Failed

Post by mollelr »

Seems like doing the update the command line way might not be the best way to go?
Under Admin panel, all packages manually installed via command line are marked with alerts:

" Package not verified due a communication issue with verification server "

E.g. " iPhoneHandle 4.0.1 - Package not verified due a communication issue with verification server! "

I attempted a re-install of the packages from the web interface, and this did not make any difference.
System is half-functioning...with crashes here and there (I have to reload a browser session repeatedly)

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

Re: Upgrade from 3.3.8 to 4.0.1 on RHEL6 Failed

Post by jojo »

delete the caches and check again. verify that cloud.otrs.com can bee reached via https from the OTRS server
"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
mollelr
Znuny newbie
Posts: 5
Joined: 01 Dec 2014, 23:16
Znuny Version: 4.0.1
Real Name: Rick Mollel
Company: GSFC

Re: Upgrade from 3.3.8 to 4.0.1 on RHEL6 Failed

Post by mollelr »

permissions were the problem this time around....
ran bin/otrs.SetPermissions.pl --web-group=apache and all is OK now. All packages show "verified"
Locked