My Setup is a Raspberry pi 4 4gbRam with Nextcloud 16.0.5.
Problem:
Everytime I want to enter the trashbin there is an error. (log below). I dont know if this maybe correlates to my backup system, wich is a rsync command in cron, to duplicate the data folder on to a second drive. The database and configuration gets backuped through the build in backup script (but the settings are withou data).
So everytime I run the commands (below) the trashbin works again fine. Everything else works fine as well, ncp-report is all ok and up.
sudo -i
cd /var/www/nextcloud
sudo -u www-data php occ trashbin:cleanup --all-users
Anyone else the same issue? What could be the problem?
[remote] Error: TypeError: Return value of OCA\Files_Trashbin\Sabre\AbstractTrash::getSize() must be of the type int, float returned at <>
- /var/www/nextcloud/apps/files_trashbin/lib/Sabre/PropfindPlugin.php line 78
OCA\Files_Trashbin\Sabre\AbstractTrash->getSize() - /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/PropFind.php line 98
OCA\Files_Trashbin\Sabre\PropfindPlugin->OCA\Files_Trashbin\Sabre{closure}("*** sensitive parameters replaced ***") - /var/www/nextcloud/apps/files_trashbin/lib/Sabre/PropfindPlugin.php line 79
Sabre\DAV\PropFind->handle("{http://owncloud.org/ns}size", Closure {}) - <>
OCA\Files_Trashbin\Sabre\PropfindPlugin->propFind(Sabre\DAV\PropFind {}, OCA\Files_Trashbin\Sabre\TrashFolder {}) - /var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
undefinedundefinedcall_user_func_array([OCA\Files_Trash … "], [Sabre\DAV\PropF … }]) - /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1059
Sabre\Event\EventEmitter->emit(“propFind”, [Sabre\DAV\PropF … }]) - /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 981
Sabre\DAV\Server->getPropertiesByNode(Sabre\DAV\PropFind {}, OCA\Files_Trashbin\Sabre\TrashFolder {}) - /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1666
Sabre\DAV\Server->getPropertiesIteratorForPath(“trashbin/user1/trash”, ["{http://nextcl … "], 1) - /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 355
Sabre\DAV\Server->generateMultiStatus(Generator {}, false) - <>
Sabre\DAV\CorePlugin->httpPropFind(Sabre\HTTP\Reque … "}, Sabre\HTTP\Response {}) - /var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
undefinedundefinedcall_user_func_array([Sabre\DAV\CorePlugin {},“httpPropFind”], [Sabre\HTTP\Requ … }]) - /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 479
Sabre\Event\EventEmitter->emit(“method:PROPFIND”, [Sabre\HTTP\Requ … }]) - /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 254
Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Reque … "}, Sabre\HTTP\Response {}) - /var/www/nextcloud/apps/dav/lib/Server.php line 316
Sabre\DAV\Server->exec() - /var/www/nextcloud/apps/dav/appinfo/v2/remote.php line 35
OCA\DAV\Server->exec() - /var/www/nextcloud/remote.php line 163
undefinedundefinedrequire_once("/var/www/nextcl … p")
PROPFIND /remote.php/dav/trashbin/user1/trash
from *** by user1 at 2019-10-22T17:28:43+00:00