[solved] 5.0.3 upgrade problems

Moderator: crythias

Post Reply
jforrow
Znuny newbie
Posts: 26
Joined: 02 Sep 2010, 16:21
Znuny Version: 3.0.9

[solved] 5.0.3 upgrade problems

Post by jforrow »

Hi I recently upgraded to v5.0.1 using rpm and following the instructions on the otrs website.

After install, the command:

service otrs start

did not work.

I started the otrs daemon, hoping this was a new way of starting the server. I get a 500 error from the login attempt.

I've been trying various troubleshooting and found that /opt/otrs/bin now contains only the following:

Code: Select all

[root@otrs bin]# ls
cgi-bin                            otrs.CheckModules.pl  otrs.ImportExport.pl.save      otrs.ITSMConfigItemDelete.pl.save               otrs.PostMaster.pl
Cron.sh                            otrs.CheckSum.pl      otrs.ITSMChangeDelete.pl       otrs.ITSMConfigItemIncidentStateRecalculate.pl  otrs.SetPermissions.pl
fcgi-bin                           otrs.Console.pl       otrs.ITSMChangeDelete.pl.save  otrs.ITSMConfigItemListDuplicates.pl
otrs.AddService.pl.custom_backup   otrs.Daemon.pl        otrs.ITSMChangesCheck.pl       otrs.NagiosCheck.pl
otrs.AddService.pl.save            otrs.FAQImport.pl     otrs.ITSMChangesCheck.pl.save  otrs.NagiosCheck.pl.custom_backup
otrs.ArticleStorageSwitch.pl.orig  otrs.ImportExport.pl  otrs.ITSMConfigItemDelete.pl   otrs.NagiosCheckTicketCount.pl
otrs.packagemanager.pl isn't there anymore, and this list is much much shorter than in the v3 equivalent.

Did the architecture change massively in v5 or has something gone very wrong?

Before anyone asks, the upgrade path I took was: 3.2.9 -> 3.2.18 -> 3.3.1 -> 3.3.15 -> 4.0.1 -> 4.0.14 -> 5.0.1
Last edited by jforrow on 16 Dec 2015, 20:02, edited 1 time in total.
Test : OTRS 3.1.12 with ITSM 3.1.7
Prod : OTRS 3.1.12 with ITSM 3.1.7
Both running on Centos 5.7 with Mysql Database
coolmf
Znuny newbie
Posts: 37
Joined: 02 Nov 2015, 16:29
Znuny Version: 5.0.26

Re: 5.0.3 upgrade problems

Post by coolmf »

Did the architecture change massively in v5
Yes.

Just follow the guide: http://otrs.github.io/doc/manual/admin/ ... ading.html and upgrade to v 5.0.3

Many things are now handled by bin/otrs.Console.pl, check it out
OTRS 5.0.26 with ITSM, and FAQ module on CentOS 7 with MariaDB and Apache
Using LDAPS for customers and agents against Azure AD
jforrow
Znuny newbie
Posts: 26
Joined: 02 Sep 2010, 16:21
Znuny Version: 3.0.9

Re: 5.0.3 upgrade problems

Post by jforrow »

Just follow the guide: http://otrs.github.io/doc/manual/admin/ ... ading.html and upgrade to v 5.0.3

Many things are now handled by bin/otrs.Console.pl, check it out
I have read through the guide, and I may be being stupid, but I cant see a step where the otrs server is started. The section describing otrs.console.pl is marked as optional.

I'll follow the upgrade in detail and see what happens.
Test : OTRS 3.1.12 with ITSM 3.1.7
Prod : OTRS 3.1.12 with ITSM 3.1.7
Both running on Centos 5.7 with Mysql Database
Schojo
Znuny expert
Posts: 181
Joined: 03 Jul 2007, 11:53
Znuny Version: 6.0.30
Real Name: Matthias
Location: /opt/otrs/

Re: 5.0.3 upgrade problems

Post by Schojo »

did you check if the service exists?
i don't know if the guide covers the rpm installs.
if you installed from source (what i guess most user do...and should do) you don't really start otrs, you start your postfix and apache.
produktiv_vm: OTRS 6.0.30 - ubuntu Server 18.04.5 LTS - mysql-server 5.7.33
jforrow
Znuny newbie
Posts: 26
Joined: 02 Sep 2010, 16:21
Znuny Version: 3.0.9

[SOLVED] 5.0.3 upgrade problems

Post by jforrow »

went through the installation again, but used console.pl to manually upgrade all my packages.

refreshed config & rebuilt cache and everything works.
Test : OTRS 3.1.12 with ITSM 3.1.7
Prod : OTRS 3.1.12 with ITSM 3.1.7
Both running on Centos 5.7 with Mysql Database
Post Reply