Hi to all,
yesterday I have update to last Nextcloud release 22.2.5.
Ubuntu 20.04
MySql 7.4.3
The procedure seems to be completed correctly but now, in Administration → Registration I have a lot of:
Error: disk_free_space(): No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#381
it is very surprising that I have 2 nextcloud instances installed on two machines and the configuration is the same, but one of which always shows up the error as below, it is nextcloud 24 with php8.1 (indeed even with php8.0 the errors are always there).
Error: disk_free_space(): No such file or directory at /data/www/nextcloud/lib/private/Files/Storage/Local.php#395
<<closure>>
OC\Log\ErrorHandler::onError()
/data/www/nextcloud/lib/private/Files/Storage/Local.php - line 395:
disk_free_space()
/data/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php - line 334:
OC\Files\Storage\Local->free_space()
/data/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php - line 334:
OC\Files\Storage\Wrapper\Wrapper->free_space()
/data/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php - line 334:
OC\Files\Storage\Wrapper\Wrapper->free_space()
/data/www/nextcloud/lib/private/Files/Storage/Wrapper/Jail.php - line 344:
OC\Files\Storage\Wrapper\Wrapper->free_space()
/data/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php - line 334:
OC\Files\Storage\Wrapper\Jail->free_space()
/data/www/nextcloud/lib/private/legacy/OC_Helper.php - line 548:
OC\Files\Storage\Wrapper\Wrapper->free_space()
/data/www/nextcloud/apps/files/lib/Helper.php - line 50:
OC_Helper::getStorageInfo()
/data/www/nextcloud/apps/files/lib/Controller/AjaxController.php - line 46:
OCA\Files\Helper::buildFileStorageStatistics()
/data/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 225:
OCA\Files\Controller\AjaxController->getStorageStats()
/data/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 133:
OC\AppFramework\Http\Dispatcher->executeController()
/data/www/nextcloud/lib/private/AppFramework/App.php - line 172:
OC\AppFramework\Http\Dispatcher->dispatch()
/data/www/nextcloud/lib/private/Route/Router.php - line 298:
OC\AppFramework\App::main()
/data/www/nextcloud/lib/base.php - line 1023:
OC\Route\Router->match()
/data/www/nextcloud/index.php - line 36:
OC::handleRequest()