Zugriffsfehler nach Update des V-Server-Systems

Hallo zusammen,

ich habe eine NC Instanz auf einem Virtuellen Server bei einem Webdienstleister in Thüringen am laufen,
|Betriebssystem|Debian 10.11 (64-bit)|
|Kernel||4.19.0-9-amd64|
|Webserver|Apache 2.4.38|
|PHP|PHP 7.3.31|
|Datenbank-Server| MariaDB 10.3.31|
Seit dem letzte Update des Systems komme ich nicht mehr auf mein Cloudsystem.

Beim Aufruf der Webseite kommt diese Meldung:
##############

Interner Serverfehler

Der Server konnte die Anfrage nicht fertig stellen.

Sollte dies erneut auftreten, sende bitte die nachfolgenden technischen Einzelheiten an Deinen Server-Administrator.

Weitere Details können im Server-Protokoll gefunden werden.

Technische Details

  • Entfernte Adresse: 91.3.68.23
  • GjCAm5MAzMUzyea49UiY
    ###############

Im Logfile dazu finde ich:

{"reqId":"GjCAm5MAzMUzyea49UiY","level":0,"time":"2021-11-12T16:31:05+00:00","remoteAddr":"91.3.68.23","user":"--","app":"video_converter","method":"GET","url":"/index.php/login","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0","version":"22.2.0.2"}
{"reqId":"GjCAm5MAzMUzyea49UiY","level":3,"time":"2021-11-12T16:31:05+00:00","remoteAddr":"91.3.68.23","user":"--","app":"PHP","method":"GET","url":"/index.php/login","message":"file_exists(): open_basedir restriction in effect. File(/templates/) is not within the allowed path(s): (/home/users/webadmin/www:/home/users/webadmin/files:/home/users/webadmin/tmp:/var/www/nexcloud:/var/www/nexcloud/data) at /home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/Template/Base.php#68","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0","version":"22.2.0.2","exception":{"Exception":"Error","Message":"file_exists(): open_basedir restriction in effect. File(/templates/) is not within the allowed path(s): (/home/users/webadmin/www:/home/users/webadmin/files:/home/users/webadmin/tmp:/var/www/nexcloud:/var/www/nexcloud/data) at /home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/Template/Base.php#68","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/Template/Base.php","line":68,"function":"file_exists"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/legacy/OC_Template.php","line":146,"function":"getAppTemplateDirs","class":"OC\\Template\\Base","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/legacy/OC_Template.php","line":88,"function":"findTemplate","class":"OC_Template","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php","line":198,"function":"__construct","class":"OC_Template","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":171,"function":"render","class":"OCP\\AppFramework\\Http\\TemplateResponse","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/AppFramework/App.php","line":156,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/Route/Router.php","line":301,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/base.php","line":1000,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"GjCAm5MAzMUzyea49UiY","level":3,"time":"2021-11-12T16:31:05+00:00","remoteAddr":"91.3.68.23","user":"--","app":"PHP","method":"GET","url":"/index.php/login","message":"file_exists(): open_basedir restriction in effect. File(/templates/) is not within the allowed path(s): (/home/users/webadmin/www:/home/users/webadmin/files:/home/users/webadmin/tmp:/var/www/nexcloud:/var/www/nexcloud/data) at /home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/Template/Base.php#68","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0","version":"22.2.0.2","exception":{"Exception":"Error","Message":"file_exists(): open_basedir restriction in effect. File(/templates/) is not within the allowed path(s): (/home/users/webadmin/www:/home/users/webadmin/files:/home/users/webadmin/tmp:/var/www/nexcloud:/var/www/nexcloud/data) at /home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/Template/Base.php#68","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/Template/Base.php","line":68,"function":"file_exists"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/legacy/OC_Template.php","line":146,"function":"getAppTemplateDirs","class":"OC\\Template\\Base","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/legacy/OC_Template.php","line":88,"function":"findTemplate","class":"OC_Template","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/TemplateLayout.php","line":157,"function":"__construct","class":"OC_Template","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/legacy/OC_Template.php","line":182,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php","line":204,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":171,"function":"render","class":"OCP\\AppFramework\\Http\\TemplateResponse","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/AppFramework/App.php","line":156,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/Route/Router.php","line":301,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/base.php","line":1000,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"GjCAm5MAzMUzyea49UiY","level":3,"time":"2021-11-12T16:31:05+00:00","remoteAddr":"91.3.68.23","user":"--","app":"index","method":"GET","url":"/index.php/login","message":"Unable to find the data file 'parentLocales'","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0","version":"22.2.0.2","exception":{"Exception":"Punic\\Exception\\DataFileNotFound","Message":"Unable to find the data file 'parentLocales'","Code":10004,"Trace":[{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/3rdparty/punic/punic/code/Data.php","line":465,"function":"getGeneric","class":"Punic\\Data","type":"::"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/3rdparty/punic/punic/code/Data.php","line":529,"function":"explodeLocale","class":"Punic\\Data","type":"::"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/3rdparty/punic/punic/code/Data.php","line":503,"function":"getLocaleAlternatives","class":"Punic\\Data","type":"::"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/3rdparty/punic/punic/code/Data.php","line":142,"function":"getLocaleFolder","class":"Punic\\Data","type":"::"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/3rdparty/punic/punic/code/Calendar.php","line":743,"function":"get","class":"Punic\\Data","type":"::"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/L10N/L10N.php","line":172,"function":"getDateFormat","class":"Punic\\Calendar","type":"::"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/L10N/LazyL10N.php","line":60,"function":"l","class":"OC\\L10N\\L10N","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/Template/JSConfigHelper.php","line":213,"function":"l","class":"OC\\L10N\\LazyL10N","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/TemplateLayout.php","line":220,"function":"getConfig","class":"OC\\Template\\JSConfigHelper","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/legacy/OC_Template.php","line":182,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php","line":204,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":171,"function":"render","class":"OCP\\AppFramework\\Http\\TemplateResponse","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/AppFramework/App.php","line":156,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/Route/Router.php","line":301,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/base.php","line":1000,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/home/users/webadmin/www/projekt-seitz/nextcloud/3rdparty/punic/punic/code/Data.php","Line":194,"CustomMessage":"--"}}
{"reqId":"GjCAm5MAzMUzyea49UiY","level":3,"time":"2021-11-12T16:31:05+00:00","remoteAddr":"91.3.68.23","user":"--","app":"PHP","method":"GET","url":"/index.php/login","message":"file_exists(): open_basedir restriction in effect. File(/templates/) is not within the allowed path(s): (/home/users/webadmin/www:/home/users/webadmin/files:/home/users/webadmin/tmp:/var/www/nexcloud:/var/www/nexcloud/data) at /home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/Template/Base.php#68","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0","version":"22.2.0.2","exception":{"Exception":"Error","Message":"file_exists(): open_basedir restriction in effect. File(/templates/) is not within the allowed path(s): (/home/users/webadmin/www:/home/users/webadmin/files:/home/users/webadmin/tmp:/var/www/nexcloud:/var/www/nexcloud/data) at /home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/Template/Base.php#68","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/Template/Base.php","line":68,"function":"file_exists"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/legacy/OC_Template.php","line":146,"function":"getAppTemplateDirs","class":"OC\\Template\\Base","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/legacy/OC_Template.php","line":88,"function":"findTemplate","class":"OC_Template","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/TemplateLayout.php","line":152,"function":"__construct","class":"OC_Template","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/legacy/OC_Template.php","line":182,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/legacy/OC_Template.php","line":331,"function":"printPage","class":"OC\\Template\\Base","type":"->"},{"file":"/home/users/webadmin/www/projekt-seitz/nextcloud/index.php","line":74,"function":"printExceptionErrorPage","class":"OC_Template","type":"::"}],"File":"/home/users/webadmin/www/projekt-seitz/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}

Leider konnte ich noch keinen Hinweis darauf finden, wie ich diesen Fehler beseitigen kann.

Hier noch meine config.php:

<?php
$CONFIG = array (
  'instanceid' => '#######',
  'passwordsalt' => '########',
  'secret' => '######,
  'trusted_domains' => 
  array (
    0 => '########',
  ),
  'datadirectory' => '/var/www/nexcloud/data',
  'overwrite.cli.url' => '#######',
  'dbtype' => 'mysql',
  'version' => '22.2.0.2',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nextadmin',
  'dbpassword' => '#######,
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpsecure' => 'tls',
  'mail_from_address' => 'jens.seitz',
  'mail_domain' => 'projekt-seitz.de',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'km20434-01.keymachine.de',
  'mail_smtpport' => '587',
  'mail_smtpname' => '########@projekt-seitz.de',
  'mail_smtppassword' => '#########',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 0,
  'mysql.utf8mb4' => true,
  'app_install_overwrite' => 
  array (
    0 => 'groupfolders',
    1 => 'calendar',
    2 => 'event_update_notification',
  ),
  'updater.release.channel' => 'stable',
  'encryption.legacy_format_support' => false,
  'encryption.key_storage_migrated' => false,
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'localhost',
    'port' => 6379,
  ),
  'updater.secret' => '#############',
);

Vielleicht kann hier jemand helfen. Schon mal besten Dank für die Mühe.

Gruß Jens

Gelöst:
Ich habe den Fehler gefunden.
Da meine aktuelle Instanz aus einem Backup installiert wurde, sind einige Dateien nicht mit kopiert.
Wegen einiger Rechte-Fehler im 3rdparty-Ordner, fehlten diese Dateien in meinem Backup.
Ich habe diese aus einem Installations-ZIP hinein kopiert und nun läuft mein System wieder.
Das es jetzt bei “occ integrity:check-core” einige Fehler gibt, wird sich auch noch lösen lassen.

Gruß Jens