OTRS problem after upgrade

Moderator: crythias

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

OTRS problem after upgrade

Post by Mefior » 10 Jan 2018, 14:11

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
OTRS wizard
Posts: 133
Joined: 21 Apr 2014, 16:14
OTRS Version?: 6.0.7

Re: OTRS problem after upgrade

Post by fcasal » 10 Jan 2018, 14:17

mmm it seems a problem of permissions, tell us how did you realize the update, please.

Mefior
OTRS newbie
Posts: 10
Joined: 10 Jan 2018, 10:51
OTRS Version?: 5.0.19

Re: OTRS problem after upgrade

Post by Mefior » 10 Jan 2018, 15:26

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
Moderator
Posts: 14195
Joined: 26 Jan 2007, 14:50
OTRS Version?: Git Master
Contact:

Re: OTRS problem after upgrade

Post by jojo » 10 Jan 2018, 15:30

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 Business Solution™ 6, STORM powered by OTRS
"Testing": OTRS git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com :: Share your ideas

Mefior
OTRS newbie
Posts: 10
Joined: 10 Jan 2018, 10:51
OTRS Version?: 5.0.19

Re: OTRS problem after upgrade

Post by Mefior » 10 Jan 2018, 16:17

Ok. But here I have problem that apache can not access even the index.pl and I do not know why

jojo
Moderator
Posts: 14195
Joined: 26 Jan 2007, 14:50
OTRS Version?: Git Master
Contact:

Re: OTRS problem after upgrade

Post by jojo » 10 Jan 2018, 16:45

is SELINUX disabled? Did it work before? It sounds for me like a wrong update
"Production": OTRS Business Solution™ 6, STORM powered by OTRS
"Testing": OTRS git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com :: Share your ideas

Mefior
OTRS newbie
Posts: 10
Joined: 10 Jan 2018, 10:51
OTRS Version?: 5.0.19

Re: OTRS problem after upgrade

Post by Mefior » 10 Jan 2018, 16:57

Yes it worked before. I do not know how to disable SELINUX

reneeb
OTRS guru
Posts: 4592
Joined: 13 Mar 2011, 09:54
OTRS Version?: 3.3.x
Company: Perl-Services.de
Contact:

Re: OTRS problem after upgrade

Post by reneeb » 14 Jan 2018, 13:56

Perl / OTRS development: http://perl-services.de
Free OTRS add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de

Mefior
OTRS newbie
Posts: 10
Joined: 10 Jan 2018, 10:51
OTRS Version?: 5.0.19

Re: OTRS problem after upgrade

Post by Mefior » 16 Jan 2018, 14:35

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