Repository navigation
Closed
Labels
Description
Steps to reproduce
- Click "Deleted files"
Expected behaviour
List of deleted files
Actual behaviour
White page loading forever...
Server configuration
Operating system:
linux
Web server:
nginx
Database:
postgres
PHP version:
7.0
Nextcloud version: (see Nextcloud admin page)
15.0.4.0
Updated from an older Nextcloud/ownCloud or fresh install:
updated (showing deleted files was working on earlier installations...)
Operating system:
raspbian 9.8
Logs
Nextcloud log (data/nextcloud.log)
Nextcloud log
[remote] Error: TypeError: Return value of OCA\Files_Trashbin\Sabre\AbstractTrash::getSize() must be of the type integer, float returned at <<closure>>
0. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/PropFind.php line 98
getSize()
1. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 797
handle("{DAV:}getcontentlength", [OCA\Files_Trash ... "])
2. <<closure>>
propFind(Sabre\DAV\PropFind {}, OCA\Files_Trashbin\Sabre\TrashFile {})
3. /var/www/html/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
call_user_func_array([Sabre\DAV\CorePlugin {},"propFind"], [Sabre\DAV\PropF ... }])
4. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1059
emit("propFind", [Sabre\DAV\PropF ... }])
5. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 981
getPropertiesByNode(Sabre\DAV\PropFind {}, OCA\Files_Trashbin\Sabre\TrashFile {})
6. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1666
getPropertiesIteratorForPath("trashbin/andreas/trash", ["{http://nextcl ... "], 1)
7. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 355
generateMultiStatus(Generator {}, false)
8. <<closure>>
httpPropFind(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {})
9. /var/www/html/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
call_user_func_array([Sabre\DAV\CorePlugin {},"httpPropFind"], [Sabre\HTTP\Requ ... }])
10. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 479
emit("method:PROPFIND", [Sabre\HTTP\Requ ... }])
11. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 254
invokeMethod(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {})
12. /var/www/html/nextcloud/apps/dav/lib/Server.php line 301
exec()
13. /var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php line 35
exec()
14. /var/www/html/nextcloud/remote.php line 163
require_once("/var/www/html/n ... p")
PROPFIND /remote.php/dav/trashbin/andreas/trash
from 185.12.128.225 by andreas at 2019-02-22T08:05:14+01:00
Reacted by Hannes Van de Vel
Activity
atsag commentedon Feb 22, 2019
This error also affects me on the same Nextcloud version, Raspbian 9.6 and may have to do with #13005 and #13428. I updated from 15.0.2 to 15.0.4 and this issue is present in both. The first line of the error is the same as above.
jpschewe commentedon Apr 14, 2019
I'm seeing this on tinkeros as well.
In the client javascript window I see the following:
Once I've gotten this error I can't do anything in the client interface without forcing a reload of the page.
jpschewe commentedon Apr 14, 2019
I got about this by editing
apps/files_trashbin/lib/Sabre/AbstractTrash.phpand adding a call tointvalaround the return value ofgetSize.madiele commentedon Apr 25, 2019
I found the same problem, here the logs, I'm on 15.0.7
and here the logs it produce if I try to access the bin through the android app
as a workaround I tried the workaround referenced here, and it worked for now
kesselb commentedon Jul 6, 2019
Thank you for reporting this issue +1
Please check this report for further information: #13160