OTRS problem after upgrade

Moderator: crythias

Post Reply
Mefior
Znuny newbie
Posts: 10
Joined: 10 Jan 2018, 10:51
Znuny Version: 5.0.19

OTRS problem after upgrade

Post by Mefior »

Hi Guys!
I have problem with OTRS. I have updated from 5.0.19 to 5.0.26 and now I can not use the system. I can not login. CSS files and scripts are not loading. Folder /opt/otrs/var/httpd - has all rights. Web console shows that still server can not access the scripts. Do you know where is the problem. I use Suse 12. Screen attached.
You do not have the required permissions to view the files attached to this post.
fcasal
Znuny wizard
Posts: 336
Joined: 21 Apr 2014, 16:14
Znuny Version: 6.0.18

Re: OTRS problem after upgrade

Post by fcasal »

mmm it seems a problem of permissions, tell us how did you realize the update, please.
Mefior
Znuny newbie
Posts: 10
Joined: 10 Jan 2018, 10:51
Znuny Version: 5.0.19

Re: OTRS problem after upgrade

Post by Mefior »

Thank you v much reply. I installed newest 5 rpm from OTRS and next refreshed the configuration:

sudo su -c "/opt/otrs/bin/otrs.Console.pl Maint::Config::Rebuild" -s /bin/bash otrs
sudo su -c "/opt/otrs/scripts/DBUpdate-to-5.pl" -s /bin/bash otrs
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS problem after upgrade

Post by jojo »

Mefior wrote: sudo su -c "/opt/otrs/scripts/DBUpdate-to-5.pl" -s /bin/bash otrs
This script is only used for migrations from OTRS4 to OTRS 5
"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
Mefior
Znuny newbie
Posts: 10
Joined: 10 Jan 2018, 10:51
Znuny Version: 5.0.19

Re: OTRS problem after upgrade

Post by Mefior »

Ok. But here I have problem that apache can not access even the index.pl and I do not know why
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS problem after upgrade

Post by jojo »

is SELINUX disabled? Did it work before? It sounds for me like a wrong update
"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
Mefior
Znuny newbie
Posts: 10
Joined: 10 Jan 2018, 10:51
Znuny Version: 5.0.19

Re: OTRS problem after upgrade

Post by Mefior »

Yes it worked before. I do not know how to disable SELINUX
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: OTRS problem after upgrade

Post by reneeb »

Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Mefior
Znuny newbie
Posts: 10
Joined: 10 Jan 2018, 10:51
Znuny Version: 5.0.19

Re: OTRS problem after upgrade

Post by Mefior »

The problem was in Apache. I

Code: Select all

edited etc/apache2/httpd.conf
added

Code: Select all

Require all granted
and commented out all old directives. You can mark this as solved.
Post Reply