[Gelöst] Nach Update 4.0.12 auf 5.0.3 - "Browser Warnung"

Hilfe zu OTRS Problemen aller Art
Post Reply
thuhn01
Znuny newbie
Posts: 19
Joined: 13 Mar 2013, 18:01
Znuny Version: 5.0.6
Company: DITH-Shop

[Gelöst] Nach Update 4.0.12 auf 5.0.3 - "Browser Warnung"

Post by thuhn01 »

Hallo,

ich spring gleich im Dreieck, stelle mich normaler Weise nicht so blöd an, aber hier geht heute alles schief ;)

Wollte einfach - wie immer - das Update vornehmen. Bin schon seit den 3er Versionen bei OTRS.
Nie Probleme beim Update gehabt.

Ich bekomme (trotz Firefox 41) immer die Meldung "Browser Warnung, zu alt..." bla...
Installiert auf OpenSUSE 13.1 als RPM, heutiger Download.
http://www.dith-shop.de/otrs/index.pl

User - bis in die untersten Verzeichnisse - stehen auf "www:otrs"
Setze ich alle auf otrs:otrs wie es hier schon als Lösung gepostet wurde, gibt es den Fehler
"You don't have permission to access /otrs/index.pl on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request."

Im Apache2 Error_Log gibt es einen einzigen Eintrag der etwas über OTRS Probleme aussagen könnte:
"can't locate /opt/otrs/scripts/apache2-perl-startup.pl"
Die Datei ist aber definitiv da und hat ebenfalls dieselben User und Rechte (rwxrwx) gesetzt

Inzwischen habe ich schon nahezu aufgegeben, OTRS komplett deinstalliert, Verzeichnis /opt/otrs gelöscht.
Dann die 5.0.3 neu installiert. Gleiches Ergebnis.
An den APACHE2 Config Dateien habe ich zwischenzeitlich nichts geändert.
Morgens lief es noch einwandfrei, Update versucht - und Ende.
Last edited by thuhn01 on 25 Nov 2015, 00:53, edited 1 time in total.
Schojo
Znuny expert
Posts: 181
Joined: 03 Jul 2007, 11:53
Znuny Version: 6.0.30
Real Name: Matthias
Location: /opt/otrs/

Re: Nach Update 4.0.12 auf 5.0.3 - "Browser Warnung"

Post by Schojo »

wie sieht denn deine apache include bzw. conf-availible Konfiguration aus? wer zeigt denn auf die /opt/otrs/scripts/apache2-perl-startup.pl ?
produktiv_vm: OTRS 6.0.30 - ubuntu Server 18.04.5 LTS - mysql-server 5.7.33
thuhn01
Znuny newbie
Posts: 19
Joined: 13 Mar 2013, 18:01
Znuny Version: 5.0.6
Company: DITH-Shop

Re: Nach Update 4.0.12 auf 5.0.3 - "Browser Warnung"

Post by thuhn01 »

hier die zzz_otrs.conf die automatisch in conf.d angelegt wurde:

Code: Select all

# --
# added for OTRS (http://otrs.org/)
# --

ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"

<IfModule mod_perl.c>

    # Setup environment and preload modules
    Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl

    # Reload Perl modules when changed on disk
    PerlModule Apache2::Reload
    PerlInitHandler Apache2::Reload

    # general mod_perl2 options
    <Location /otrs>
  #      ErrorDocument 403 /otrs/customer.pl
        ErrorDocument 403 /otrs/index.pl
        SetHandler  perl-script
        PerlResponseHandler ModPerl::Registry
        Options +ExecCGI
        PerlOptions +ParseHeaders
        PerlOptions +SetupEnv

        <IfModule mod_version.c>
            <IfVersion < 2.4>
                Order allow,deny
                Allow from all
            </IfVersion>
            <IfVersion >= 2.4>
                Require all granted
            </IfVersion>
        </IfModule>
        <IfModule !mod_version.c>
            Order allow,deny
            Allow from all
        </IfModule>
    </Location>

    # mod_perl2 options for GenericInterface
    <Location /otrs/nph-genericinterface.pl>
        PerlOptions -ParseHeaders
    </Location>

</IfModule>

<Directory "/opt/otrs/bin/cgi-bin/">
    AllowOverride None
    Options +ExecCGI -Includes

    <IfModule mod_version.c>
        <IfVersion < 2.4>
            Order allow,deny
            Allow from all
        </IfVersion>
        <IfVersion >= 2.4>
            Require all granted
        </IfVersion>
    </IfModule>
    <IfModule !mod_version.c>
        Order allow,deny
        Allow from all
    </IfModule>

    <IfModule mod_filter.c>
        <IfModule mod_deflate.c>
            AddOutputFilterByType DEFLATE text/html text/javascript application/javascript text/css text/xml application/json text/json
         </IfModule>
    </IfModule>

</Directory>

<Directory "/opt/otrs/var/httpd/htdocs/">
    AllowOverride None

    <IfModule mod_version.c>
        <IfVersion < 2.4>
            Order allow,deny
            Allow from all
        </IfVersion>
        <IfVersion >= 2.4>
            Require all granted
        </IfVersion>
    </IfModule>
    <IfModule !mod_version.c>
        Order allow,deny
        Allow from all
    </IfModule>

    <IfModule mod_filter.c>
        <IfModule mod_deflate.c>
            AddOutputFilterByType DEFLATE text/html text/javascript application/javascript text/css text/xml application/json text/json
         </IfModule>
    </IfModule>

    # Make sure CSS and JS files are read as UTF8 by the browsers.
    AddCharset UTF-8 .css
    AddCharset UTF-8 .js

    # Set explicit mime type for woff fonts since it is relatively new and apache may not know about it.
    AddType application/font-woff .woff

</Directory>

<IfModule mod_headers.c>
    # Cache css-cache for 30 days
    <Directory "/opt/otrs/var/httpd/htdocs/skins/*/*/css-cache">
        <FilesMatch "\.(css|CSS)$">
            Header set Cache-Control "max-age=2592000 must-revalidate"
        </FilesMatch>
    </Directory>

    # Cache css thirdparty for 4 hours, including icon fonts
    <Directory "/opt/otrs/var/httpd/htdocs/skins/*/*/css/thirdparty">
        <FilesMatch "\.(css|CSS|woff|svg)$">
            Header set Cache-Control "max-age=14400 must-revalidate"
        </FilesMatch>
    </Directory>

    # Cache js-cache for 30 days
    <Directory "/opt/otrs/var/httpd/htdocs/js/js-cache">
        <FilesMatch "\.(js|JS)$">
            Header set Cache-Control "max-age=2592000 must-revalidate"
        </FilesMatch>
    </Directory>

    # Cache js thirdparty for 4 hours
    <Directory "/opt/otrs/var/httpd/htdocs/js/thirdparty/">
        <FilesMatch "\.(js|JS)$">
            Header set Cache-Control "max-age=14400 must-revalidate"
        </FilesMatch>
    </Directory>
</IfModule>

# Limit the number of requests per child to avoid excessive memory usage
MaxRequestsPerChild 4000
wird durch httpd,conf includiert die wie folgt aussieht:

Code: Select all

#
# /etc/apache2/httpd.conf 

# run under this user/group id
Include /etc/apache2/uid.conf

# - how many server processes to start (server pool regulation)
# - usage of KeepAlive
Include /etc/apache2/server-tuning.conf


# generated from APACHE_MODULES in /etc/sysconfig/apache2
Include /etc/apache2/sysconfig.d/loadmodule.conf

# IP addresses / ports to listen on
Include /etc/apache2/listen.conf

# predefined logging formats
Include /etc/apache2/mod_log_config.conf

# generated from global settings in /etc/sysconfig/apache2
Include /etc/apache2/sysconfig.d/global.conf

# optional mod_status, mod_info
Include /etc/apache2/mod_status.conf
Include /etc/apache2/mod_info.conf

# optional cookie-based user tracking
# read the documentation before using it!!
Include /etc/apache2/mod_usertrack.conf

# configuration of server-generated directory listings
Include /etc/apache2/mod_autoindex-defaults.conf

# associate MIME types with filename extensions
TypesConfig /etc/apache2/mime.types
#DefaultType text/plain
Include /etc/apache2/mod_mime-defaults.conf

# set up (customizable) error responses
Include /etc/apache2/errors.conf

# global (server-wide) SSL configuration, that is not specific to 
# any virtual host
Include /etc/apache2/ssl-global.conf

# forbid access to the entire filesystem by default
<Directory />
    Options None
    	AllowOverride None
    	Order deny,allow
   	Deny from all
	Require all granted
</Directory>

# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
    	Order allow,deny
    	Deny from all
	Require all granted
</Files>

# List of resources to look for when the client requests a directory
DirectoryIndex index.html index.html.var index.pl

### 'Main' server configuration #############################################
# All of these directives may appear inside <VirtualHost> containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#
Include /etc/apache2/default-server.conf


# Another way to include your own files
#
# The file below is generated from /etc/sysconfig/apache2,
# include arbitrary files as named in APACHE_CONF_INCLUDE_FILES and
# APACHE_CONF_INCLUDE_DIRS
Include /etc/apache2/sysconfig.d/include.conf


### Virtual server configuration ############################################
Include /etc/apache2/vhosts.d/*.conf
Servername shop.dith.software.de



CacheDefaultExpire 3600
CacheLastModifiedFactor 3600
CacheMaxExpire 2592000


Läuft mit Apache 2.4.6
thuhn01
Znuny newbie
Posts: 19
Joined: 13 Mar 2013, 18:01
Znuny Version: 5.0.6
Company: DITH-Shop

Re: Nach Update 4.0.12 auf 5.0.3 - "Browser Warnung"

Post by thuhn01 »

Einträge im access_log sehen dann so aus:

Code: Select all

195.71.199.42 - - [24/Nov/2015:08:35:52 +0100] "GET /otrs/index.pl HTTP/1.1" 403 23227
195.71.199.42 - - [24/Nov/2015:08:35:53 +0100] "GET /otrs-web/skins/Agent/default/css/Core.Reset.css HTTP/1.1" 403 1058
195.71.199.42 - - [24/Nov/2015:08:35:53 +0100] "GET /otrs-web/skins/Agent/default/css/Core.Header.css HTTP/1.1" 403 1058
+ viele weitere "403" für /otrs-web/

Das muss irgendwas mit den Zugriffsrechten zu tun haben, ist mir schon klar.
Aber ich habe inzwischen (glaube ich zumindest) alle Kombinationen durch und weiss gerade nicht mehr wo ich noch anfassen soll.
thuhn01
Znuny newbie
Posts: 19
Joined: 13 Mar 2013, 18:01
Znuny Version: 5.0.6
Company: DITH-Shop

Re: Nach Update 4.0.12 auf 5.0.3 - "Browser Warnung"

Post by thuhn01 »

Wenn ich mir anschaue wem die Dateien

Code: Select all

195.71.199.42 - - [24/Nov/2015:13:27:31 +0100] "GET /otrs-web/js/js-cache/CommonJS_2ca81fb73ead28eb68cea4b18089ef59.js HTTP/1.1" 403 1058
195.71.199.42 - - [24/Nov/2015:13:27:31 +0100] "GET /otrs-web/js/js-cache/ModuleJS_a715126777e40e407ebef08b58fb8cdc.js HTTP/1.1" 403 1058
gehören, steht da nicht wie für OTRS gesetzt "otrs:www" (User:Gruppe) sondern "wwwrun:www"

Irgendwas läuft mit den Benutzern für OTRS und Apache2 schief.


Lösche ich die genannten Dateien aus dem Cache von Hand, rufe die Anmeldeseite auf werden die Dateien zwar sofort neu erzeugt, können aber nicht geladen werden. Zugriff verweigert..
thuhn01
Znuny newbie
Posts: 19
Joined: 13 Mar 2013, 18:01
Znuny Version: 5.0.6
Company: DITH-Shop

Re: Nach Update 4.0.12 auf 5.0.3 - "Browser Warnung"

Post by thuhn01 »

Niemand eine Idee?
wurzel
Znuny guru
Posts: 3224
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Nach Update 4.0.12 auf 5.0.3 - "Browser Warnung"

Post by wurzel »

Hi,

wie ist Deine $OTRSHOME Variable?

/opt/otrs oder /home/otrs oder was?


das hier
"can't locate /opt/otrs/scripts/apache2-perl-startup.pl"

der findet die Datei nicht. Vermutlich ist irgendwo 'n falscher Pfad/Variable drin.

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
wurzel
Znuny guru
Posts: 3224
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Nach Update 4.0.12 auf 5.0.3 - "Browser Warnung"

Post by wurzel »

Hi,


ah und noch was
gehören, steht da nicht wie für OTRS gesetzt "otrs:www" (User:Gruppe) sondern "wwwrun:www"
dann läuft Dein apache falsch und Dein user www (oder gruppe wwwrun) kann in /opt/otrs nicht lesen (was die Fehler erklären würde)

lass Deinen Apache mal als otrs user laufen und/oder nimm den user 'otrs' in die Gruppe www mit auf.

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
wurzel
Znuny guru
Posts: 3224
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Nach Update 4.0.12 auf 5.0.3 - "Browser Warnung"

Post by wurzel »

Hi,

ein doofer (nicht zu empfehlender) test wäre:

chmod -R 777 /opt/otrs

geht's dann? Dann nochmal otrs.SetPermissions.pl laufen lassen, Rechte erneut checken.

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
thuhn01
Znuny newbie
Posts: 19
Joined: 13 Mar 2013, 18:01
Znuny Version: 5.0.6
Company: DITH-Shop

Re: Nach Update 4.0.12 auf 5.0.3 - "Browser Warnung"

Post by thuhn01 »

wurzel wrote:Hi,

wie ist Deine $OTRSHOME Variable?

/opt/otrs oder /home/otrs oder was?
An der Shell abgefragt ergibt "echo $OTRSHOME" => Nichts, nothing, nada, leer

In der Config.pm unter /opt/otrs/Kernel ist
$Self->{Home} = '/opt/otrs';
eingetragen
wurzel wrote:das hier
"can't locate /opt/otrs/scripts/apache2-perl-startup.pl"

der findet die Datei nicht. Vermutlich ist irgendwo 'n falscher Pfad/Variable drin.

Flo
Die Datei ist an exakt der hier genannten Stelle. Inzwischen ist dieser Fehler aber weg.
thuhn01
Znuny newbie
Posts: 19
Joined: 13 Mar 2013, 18:01
Znuny Version: 5.0.6
Company: DITH-Shop

Re: Nach Update 4.0.12 auf 5.0.3 - "Browser Warnung"

Post by thuhn01 »

wurzel wrote:Hi,


ah und noch was
gehören, steht da nicht wie für OTRS gesetzt "otrs:www" (User:Gruppe) sondern "wwwrun:www"
dann läuft Dein apache falsch und Dein user www (oder gruppe wwwrun) kann in /opt/otrs nicht lesen (was die Fehler erklären würde)

lass Deinen Apache mal als otrs user laufen und/oder nimm den user 'otrs' in die Gruppe www mit auf.

Flo

bin/SetPermissions.pl mit --web-group=otrs --otrs-user=otrs /opt/otrs
durchgeführt
Habe chmod 777 auf das gesamte verzeichnis angewendet,

Apache2 als User und Group otrs laufen lassen.
Dasselbe Ergebnis. "Browser veraltet" und

Code: Select all

195.71.199.42 - - [24/Nov/2015:21:17:45 +0100] "GET /otrs-web/js/js-cache/ModuleJS_a715126777e40e407ebef08b58fb8cdc.js HTTP/1.1" 403 1058
195.71.199.42 - - [24/Nov/2015:21:17:45 +0100] "GET /otrs-web/skins/Agent/default/css/thirdparty/ui-theme/jquery-ui.css HTTP/1.1" 403 1058
195.71.199.42 - - [24/Nov/2015:21:17:45 +0100] "GET /otrs-web/skins/Agent/default/css-cache/CommonCSS_7e8b5832850cd60fc102610005366e5e.css HTTP/1.1" 403 1058
195.71.199.42 - - [24/Nov/2015:21:17:45 +0100] "GET /otrs-web/skins/Agent/default/css-cache/ResponsiveCSS_22ce5503187433f032710dd0e0dde271.css HTTP/1.1" 403 1058
195.71.199.42 - - [24/Nov/2015:21:17:45 +0100] "GET /otrs-web/js/js-cache/CommonJS_2ca81fb73ead28eb68cea4b18089ef59.js HTTP/1.1" 403 1058
195.71.199.42 - - [24/Nov/2015:21:17:45 +0100] "GET /otrs-web/skins/Agent/default/img/logo_bg.png HTTP/1.1" 403 1058
195.71.199.42 - - [24/Nov/2015:21:17:45 +0100] "GET /otrs-web/js/js-cache/ModuleJS_a715126777e40e407ebef08b58fb8cdc.js HTTP/1.1" 403 1058
195.71.199.42 - - [24/Nov/2015:21:17:45 +0100] "GET /otrs-web/skins/Agent/default/img/icons/product.ico HTTP/1.1" 403 1058
thuhn01
Znuny newbie
Posts: 19
Joined: 13 Mar 2013, 18:01
Znuny Version: 5.0.6
Company: DITH-Shop

Re: Nach Update 4.0.12 auf 5.0.3 - "Browser Warnung"

Post by thuhn01 »

wurzel wrote:Hi,

ein doofer (nicht zu empfehlender) test wäre:

chmod -R 777 /opt/otrs

geht's dann? Dann nochmal otrs.SetPermissions.pl laufen lassen, Rechte erneut checken.

Flo
Nope, s.o.
Hat nicht funktioniert

Ich tippe eher auf eine der Apache Variablen zur Zugriffsbeschränkung. Finde nur keinen Fehler in den Config Dateien.
Rooobaaat
Znuny wizard
Posts: 432
Joined: 11 Sep 2014, 16:28
Znuny Version: OTRS 5.0.x

Re: Nach Update 4.0.12 auf 5.0.3 - "Browser Warnung"

Post by Rooobaaat »

thuhn01 wrote:
wurzel wrote:Hi,

wie ist Deine $OTRSHOME Variable?

/opt/otrs oder /home/otrs oder was?
An der Shell abgefragt ergibt "echo $OTRSHOME" => Nichts, nothing, nada, leer
geh mal in /etc/passwd und ändere das Home-verzeichnis auf /opt/otrs vom OTRS-User
My english is better than your german :P

"Produktiv": OTRS: 5.0.x, OTRS::ITSM 5.0.x
"Testing": OTRS 6 git
OS: Debian 8.0 (Jessie)
Apache2.4.10/MySQL 5.5.41
thuhn01
Znuny newbie
Posts: 19
Joined: 13 Mar 2013, 18:01
Znuny Version: 5.0.6
Company: DITH-Shop

Re: Nach Update 4.0.12 auf 5.0.3 - "Browser Warnung"

Post by thuhn01 »

Das hier sind die letzten Fehler die noch bekomme
195.71.199.42 - - [24/Nov/2015:21:54:48 +0100] "GET /otrs/index.pl HTTP/1.1" 403 18852
195.71.199.42 - - [24/Nov/2015:21:54:48 +0100] "GET /otrs-web/skins/Agent/default/css-cache/CommonCSS_7e8b5832850cd60fc102610005366e5e.css HTTP/1.1" 403 1058
195.71.199.42 - - [24/Nov/2015:21:54:48 +0100] "GET /otrs-web/js/js-cache/CommonJS_2ca81fb73ead28eb68cea4b18089ef59.js HTTP/1.1" 403 1058
195.71.199.42 - - [24/Nov/2015:21:54:48 +0100] "GET /otrs-web/skins/Agent/default/css/thirdparty/ui-theme/jquery-ui.css HTTP/1.1" 403 1058
195.71.199.42 - - [24/Nov/2015:21:54:48 +0100] "GET /otrs-web/js/js-cache/ModuleJS_a715126777e40e407ebef08b58fb8cdc.js HTTP/1.1" 403 1058
195.71.199.42 - - [24/Nov/2015:21:54:48 +0100] "GET /otrs-web/skins/Agent/default/css-cache/ResponsiveCSS_22ce5503187433f032710dd0e0dde271.css HTTP/1.1" 403 1058
195.71.199.42 - - [24/Nov/2015:21:54:48 +0100] "GET /otrs-web/js/js-cache/CommonJS_2ca81fb73ead28eb68cea4b18089ef59.js HTTP/1.1" 403 1058
195.71.199.42 - - [24/Nov/2015:21:54:49 +0100] "GET /otrs-web/skins/Agent/default/img/logo_bg.png HTTP/1.1" 403 1058
195.71.199.42 - - [24/Nov/2015:21:54:49 +0100] "GET /otrs-web/js/js-cache/ModuleJS_a715126777e40e407ebef08b58fb8cdc.js HTTP/1.1" 403 1058
195.71.199.42 - - [24/Nov/2015:21:54:49 +0100] "GET /otrs-web/skins/Agent/default/img/icons/product.ico HTTP/1.1" 403 1058

Die Dateien werden einwanfrei angelegt, es kann dann aber nicht mehr zugegriffen werden

Code: Select all

-rwxr-xr-x 1 otrs www 573709 24. Nov 14:42 CommonJS_2ca81fb73ead28eb68cea4b18089ef59.js
-rwxr-xr-x 1 otrs www    698 24. Nov 14:42 ModuleJS_a715126777e40e407ebef08b58fb8cdc.js

Ist doch zum Mäuse melken...
thuhn01
Znuny newbie
Posts: 19
Joined: 13 Mar 2013, 18:01
Znuny Version: 5.0.6
Company: DITH-Shop

Re: Nach Update 4.0.12 auf 5.0.3 - "Browser Warnung"

Post by thuhn01 »

Soooo !!!
Einen Schritt weiter :D :D :D :D :D :D

Ich kann mich jetzt anmelden nachdem ich in der httpd.conf

Code: Select all

# forbid access to the entire filesystem by default
<Directory />
    Options None
    	AllowOverride None
    	Order deny,allow
   	Allow from all # DENY
</Directory>
von DENY auf ALLOW gesetzt habe

Muss ich später noch kontrollieren ob das anderweitig wieder gesperrt werden muss


Jetzt habe ich einen weiteren Zugriffsfehler:

Code: Select all

Fehlermeldung:
mkdir /opt/otrs/var/tmp/CacheFileStorable/User/1: Keine Berechtigung at /opt/otrs/Kernel/System/Cache/FileStorable.pm line 87. , 
thuhn01
Znuny newbie
Posts: 19
Joined: 13 Mar 2013, 18:01
Znuny Version: 5.0.6
Company: DITH-Shop

Re: Nach Update 4.0.12 auf 5.0.3 - "Browser Warnung"

Post by thuhn01 »

So, auch das scheint erledigt zu sein.

Lösung bei mir war dann nach obiger Änderung und Apache Neustart nochmals setPermissions und anschliessende Kontrolle der tmp-Pfade

Thema kann (hoffentlich) als gelöst angesehen werden.
thuhn01
Znuny newbie
Posts: 19
Joined: 13 Mar 2013, 18:01
Znuny Version: 5.0.6
Company: DITH-Shop

Gelöst: Nach Update 4.0.12 auf 5.0.3 - "Browser Warnung"

Post by thuhn01 »

Rooobaaat wrote:
thuhn01 wrote:
wurzel wrote:Hi,

wie ist Deine $OTRSHOME Variable?

/opt/otrs oder /home/otrs oder was?
An der Shell abgefragt ergibt "echo $OTRSHOME" => Nichts, nothing, nada, leer
geh mal in /etc/passwd und ändere das Home-verzeichnis auf /opt/otrs vom OTRS-User
Ist korrekt gewesen.

Danke, aber durch die Aufhebung der Apache Einschränkungen hab ich es dann hin bekommen. Wieso das allerdings bei der 4.0.12 nicht zum tragen kam, sondern erst nach Update auf die 5.0.3 ist mir schleierhaft.
Habe seit Monaten nicht am System geändert
Schojo
Znuny expert
Posts: 181
Joined: 03 Jul 2007, 11:53
Znuny Version: 6.0.30
Real Name: Matthias
Location: /opt/otrs/

Re: Nach Update 4.0.12 auf 5.0.3 - "Browser Warnung"

Post by Schojo »

thuhn01 wrote: Jetzt habe ich einen weiteren Zugriffsfehler:

Code: Select all

Fehlermeldung:
mkdir /opt/otrs/var/tmp/CacheFileStorable/User/1: Keine Berechtigung at /opt/otrs/Kernel/System/Cache/FileStorable.pm line 87. , 
ist nen bekannter Bug => http://bugs.otrs.org/show_bug.cgi?id=11653
chmod -R 777 /opt/otrs/var/tmp/CacheFileStorable
produktiv_vm: OTRS 6.0.30 - ubuntu Server 18.04.5 LTS - mysql-server 5.7.33
Post Reply