Guten Morgen zusammen,
ich habe jetzt gestern auch die Info bekommen mit dem Updaten von PHP 7.3.31-1~deb10u1.
System:
NextCloudPi version v1.47.2
Nextcloud Hub II 23.0.4
PHP 7.3.31-1~deb10u1
Habe jetzt zwar eine Anleitung im Netz gefunden, jedoch nachdem ich hier das gelesen habe soll es ja noch ein paar Probleme geben.
https://schroederdennis.de/tutorial-howto/nextcloud-php-7-x-update-zu-php-8-0-schritt-fuer-schritt/
Gibt es schon neue Infos?
Thx
Edit:
Hat einer schon probiert direkt auf Bullseye upzudaten?
https://linuxnews.de/2021/11/raspberry-pi-os-auf-bullseye-aktualisieren/
Edit2:
Hab heute mal das Update auf Bullseye gefahren. Das gute is ⊠der Zugriff per SSH geht. Was nicht geht is der Zugriff per Browser (Internes Netzwerk):
<?php
/**
*/
require_once DIR . â/lib/versioncheck.phpâ;
try {
require_once DIR . â/lib/base.phpâ;
OC::handleRequest();
} catch (\OC\ServiceUnavailableException $ex) {
\OC::$server->getLogger()->logException($ex, [âappâ => âindexâ]);
//show the user a detailed error page
OC_Template::printExceptionErrorPage($ex, 503);
} catch (\OCP\HintException $ex) {
try {
OC_Template::printErrorPage($ex->getMessage(), $ex->getHint(), 503);
} catch (Exception $ex2) {
try {
\OC::$server->getLogger()->logException($ex, [âappâ => âindexâ]);
\OC::$server->getLogger()->logException($ex2, [âappâ => âindexâ]);
} catch (Throwable $e) {
// no way to log it properly - but to avoid a white page of death we try harder and ignore this one here
}
//show the user a detailed error page
OC_Template::printExceptionErrorPage($ex, 500);
}
} catch (\OC\User\LoginException $ex) {
$request = \OC::$server->getRequest();
/**
* Routes with the @CORS annotation and other API endpoints should
* not return a webpage, so we only print the error page when html is accepted,
* otherwise we reply with a JSON array like the SecurityMiddleware would do.
*/
if (stripos($request->getHeader(âAcceptâ), âhtmlâ) === false) {
http_response_code(401);
header(âContent-Type: application/json; charset=utf-8â);
echo json_encode([âmessageâ => $ex->getMessage()]);
exit();
}
OC_Template::printErrorPage($ex->getMessage(), $ex->getMessage(), 401);
} catch (Exception $ex) {
\OC::$server->getLogger()->logException($ex, [âappâ => âindexâ]);
//show the user a detailed error page
OC_Template::printExceptionErrorPage($ex, 500);
} catch (Error $ex) {
try {
\OC::$server->getLogger()->logException($ex, [âappâ => âindexâ]);
} catch (Error $e) {
http_response_code(500);
header(âContent-Type: text/plain; charset=utf-8â);
print(âInternal Server Error\n\nâ);
print(âThe server encountered an internal error and was unable to complete your request.\nâ);
print(âPlease contact the server administrator if this error reappears multiple times, please include the technical details below in your report.\nâ);
print(âMore details can be found in the webserver log.\nâ);
throw $ex;
}
OC_Template::printExceptionErrorPage($ex, 500);
}
Leider bekomme ich den Fehler nicht weg? Hat jemand eine Lösung?