Hi,
I’m facing with the following error in our NC log:
Exception: Return value of OCA\ServerInfo\OperatingSystems\DefaultOs::getTime() must be of the type string, null returned
/var/www/d85_0/html/nextcloud/lib/private/AppFramework/App.php - line 156:
OC\AppFramework\Http\Dispatcher->dispatch()
/var/www/d85_0/html/nextcloud/lib/private/Route/Router.php - line 302:
OC\AppFramework\App::main()
/var/www/d85_0/html/nextcloud/ocs/v1.php - line 62:
OC\Route\Router->match()
/var/www/d85_0/html/nextcloud/ocs/v2.php - line 23:
require_once("/var/www/d8 ... p")
Verursacht durch TypeError: Return value of OCA\ServerInfo\OperatingSystems\DefaultOs::getTime() must be of the type string, null returned
/var/www/d85_0/html/nextcloud/apps/serverinfo/lib/Os.php - line 89:
OCA\ServerInfo\OperatingSystems\DefaultOs->getTime()
/var/www/d85_0/html/nextcloud/apps/serverinfo/lib/Controller/ApiController.php - line 179:
OCA\ServerInfo\Os->getTime()
/var/www/d85_0/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 217:
OCA\ServerInfo\Controller\ApiController->BasicData()
/var/www/d85_0/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 126:
OC\AppFramework\Http\Dispatcher->executeController()
/var/www/d85_0/html/nextcloud/lib/private/AppFramework/App.php - line 156:
OC\AppFramework\Http\Dispatcher->dispatch()
/var/www/d85_0/html/nextcloud/lib/private/Route/Router.php - line 302:
OC\AppFramework\App::main()
/var/www/d85_0/html/nextcloud/ocs/v1.php - line 62:
OC\Route\Router->match()
/var/www/d85_0/html/nextcloud/ocs/v2.php - line 23:
require_once("/var/www/d8 ... p")
The error is thrown countless times. We startet our NC with version 21 and upgraded to the newest, error was thrown from the beginning and still remains.
Our configuration:
Nextcloud Version: 22.2.3
Server OS: Gentoo Linux 5.10.76
PHP: 7.4.26
DB: mysql 8.0.25
Maybe a type error with gentoo linux?