OTRS upgrade from 2.2.5 to 2.4.7

Hi All. I've upgrade otrs from 2.2.5 to 2.4.7 through 2.3 version. But now when I log in to web interface I can see only "No Permission to use this frontend module!" message. What can I do with this?

On 08/14/2010 12:56 AM, Мажар Денис wrote:
Hi All. I've upgrade otrs from 2.2.5 to 2.4.7 through 2.3 version. But now when I log in to web interface I can see only "No Permission to use this frontend module!" message. What can I do with this?
Assuming that you follow through with each and every step in UPGRADE appropriately, please run bin/SetPermissions.pl from the toplevel of your OTRS install directory. Then, reset your webserver and try logging in again. Cheers! Bryan

Assuming that you follow through with each and every step in UPGRADE appropriately, please run bin/SetPermissions.pl from the toplevel of your OTRS install directory. Then, reset your webserver and try logging in again.
I've tried bin/SetPermissions.pl and bin/SetPermissions.sh but no changes :( I'm using CentOS release 5.4 and runned SetPermissions.pl as: bin/SetPermissions.pl /opt/otrs --otrs-user=otrs --web-user=apache --otrs-group=nogroup --web-group=apache

You can try solve the problem with:
chown root:apache otrs/var
if problem it is not solved, try with: chmod -R 777 otrs/var
Regards
Manuel Fernández Panzuela
2010/8/16 Denis Mazhar
Assuming that you follow through with each and every step in UPGRADE
appropriately, please run bin/SetPermissions.pl from the toplevel of your OTRS install directory. Then, reset your webserver and try logging in again.
I've tried bin/SetPermissions.pl and bin/SetPermissions.sh but no changes :( I'm using CentOS release 5.4 and runned SetPermissions.pl as: bin/SetPermissions.pl /opt/otrs --otrs-user=otrs --web-user=apache --otrs-group=nogroup --web-group=apache
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

19.08.2010 11:58, Manuel Fernández Panzuela пишет:
You can try solve the problem with: chown root:apache otrs/var
if problem it is not solved, try with: chmod -R 777 otrs/var
I've tried both, but no success :( By the way, in apache config for otrs
site I have such lines:
DocumentRoot "/opt/otrs/bin/cgi-bin/"
DirectoryIndex index.pl
# agent, admin and customer frontend
ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
# if mod_perl is used
<IfModule mod_perl.c>
# load all otrs modules
Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl
# Apache::Reload - Reload Perl Modules when Changed on Disk
PerlModule Apache2::Reload
PerlInitHandler Apache2::Reload
PerlModule Apache2::RequestRec
# set mod_perl2 options

Sorry, chown command it's wrong,
That's ok: chown -R otrs:apache /opt/otrs/var
Un saludo
Manuel Fernández Panzuela
2010/8/19 Denis Mazhar
19.08.2010 11:58, Manuel Fernández Panzuela пишет:
You can try solve the problem with:
chown root:apache otrs/var
if problem it is not solved, try with: chmod -R 777 otrs/var
I've tried both, but no success :( By the way, in apache config for otrs site I have such lines:
DocumentRoot "/opt/otrs/bin/cgi-bin/" DirectoryIndex index.pl
# agent, admin and customer frontend ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/" Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
# if mod_perl is used <IfModule mod_perl.c>
# load all otrs modules Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl
# Apache::Reload - Reload Perl Modules when Changed on Disk PerlModule Apache2::Reload PerlInitHandler Apache2::Reload PerlModule Apache2::RequestRec
# set mod_perl2 options
ErrorDocument 403 /otrs/index.pl SetHandler perl-script PerlResponseHandler ModPerl::Registry Options +ExecCGI PerlOptions +ParseHeaders PerlOptions +SetupEnv Order allow,deny Allow from all </Location> </IfModule>
# directory settings
AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all </Directory> AllowOverride None Order allow,deny Allow from all </Directory> Is it OK? Or maybe there is some problems with my users database? Because it was upgraded from 2.2.5 version.
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Ok. Looks like problem isn't in file permissions but in users permissions. I've just commented this lines in /opt/otrs/Kernel/System/Web/InterfaceAgent.pm file: #if ( !$Param{AccessRo} && !$Param{AccessRw} || !$Param{AccessRo} && $Param{AccessRw} ) { # print $Self->{LayoutObject}->NoPermission( # Message => 'No Permission to use this frontend module!' # ); # exit 0; #} But I dont think that it is a good idea :) Looks like I have just some problems with users permissions in OTRS database.
participants (4)
-
Bryan Baldwin
-
Denis Mazhar
-
Manuel Fernández Panzuela
-
Мажар Денис