Trash bin: "This directory is unavailable, please check the logs or contact the administrator"

when I try to access the “trash” this message appears:

"This directory is unavailable, please check the logs or contact the administrator"

Has someone happened to you?

NextCloud Pi in Raspberry 4 4gb
And Administrator user.

I SOLVED!!

DELETE and RE-CREATE the user

1 Like

[remote] Error: TypeError: Return value of OCA\Files_Trashbin\Sabre\AbstractTrash::getSize() must be of the type int, float returned at <>

  1. /var/www/nextcloud/apps/files_trashbin/lib/Sabre/PropfindPlugin.php line 78
    OCA\Files_Trashbin\Sabre\AbstractTrash->getSize()
  2. /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 ***")
  3. /var/www/nextcloud/apps/files_trashbin/lib/Sabre/PropfindPlugin.php line 79
    Sabre\DAV\PropFind->handle("{http://owncloud.org/ns}size", Closure {})
  4. <>
    OCA\Files_Trashbin\Sabre\PropfindPlugin->propFind(Sabre\DAV\PropFind {}, OCA\Files_Trashbin\Sabre\TrashFolder {})
  5. /var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
    undefinedundefinedcall_user_func_array([OCA\Files_Trash … "], [Sabre\DAV\PropF … }])
  6. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1059
    Sabre\Event\EventEmitter->emit(“propFind”, [Sabre\DAV\PropF … }])
  7. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 981
    Sabre\DAV\Server->getPropertiesByNode(Sabre\DAV\PropFind {}, OCA\Files_Trashbin\Sabre\TrashFolder {})
  8. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1666
    Sabre\DAV\Server->getPropertiesIteratorForPath(“trashbin/jrodsou/trash”, ["{http://nextcl … "], 1)
  9. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 355
    Sabre\DAV\Server->generateMultiStatus(Generator {}, false)
  10. <>
    Sabre\DAV\CorePlugin->httpPropFind(Sabre\HTTP\Reque … "}, Sabre\HTTP\Response {})
  11. /var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
    undefinedundefinedcall_user_func_array([Sabre\DAV\CorePlugin {},“httpPropFind”], [Sabre\HTTP\Requ … }])
  12. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 479
    Sabre\Event\EventEmitter->emit(“method:PROPFIND”, [Sabre\HTTP\Requ … }])
  13. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 254
    Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Reque … "}, Sabre\HTTP\Response {})
  14. /var/www/nextcloud/apps/dav/lib/Server.php line 316
    Sabre\DAV\Server->exec()
  15. /var/www/nextcloud/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
  16. /var/www/nextcloud/remote.php line 163
    undefinedundefinedrequire_once("/var/www/nextcl … p")

PROPFIND /remote.php/dav/trashbin/jrodsou/trash
from 192.168.0.2 by jrodsou at 2019-10-15T07:20:28+00:00

does doing that delete the users data?

Yes, certainly you will lose user data.

And I don’t think this is a solution.
Also, This makes me have to reconsider the reliability of nextcloud.
This is not a toy for playing!!!

1 Like