Hi,
despite of having plenty of disk space left, my desktop clients do not upload anymore, error message: “There is insufficient space available on the server for some uploads.” Webclient works fine.
Nextcloud version: 16.0.5.1
Operating system and version: Ubuntu 16.04.6
Apache or nginx version: Not sure, comes with the Snap, do not find specs.
PHP version: 7.2.23
Installed via Snap, Hardware: Odroid HC2 + 1 TB HDD
Short story: After running this Nextcloud instance flawlessly for about 2 years, I got an error message about running out of disk space. It turned out that the trashbin was eating up 2/3 of my disk. So I removed all deleted files with the OCC command trashbin:cleanup --all-users
. Afterwards my disk-space looked fine, see stats below, web client upload does work, but desktop clients on Linux and Mac OS still spit out a similar error message.
Web Client is showing more correct disk space stats again:
Desktop Clients do not upload and show the error message, mentioned above:
I use Nextcloud Client 2.5.3git on POP_OS! 19.10 and 2.6.0stable on Mac OS X 10.15. The Linux Client seems to download at least, Mac client is on hold. I deleted some larger files and folders about 50 GB in total with no effect. New files that should be uploaded are small, e.g. “Upload of 16 KB exceeds the quota for the folder”.
And I cannot access the “Deleted Files” via the web client anymore. Overall maybe a bug in OwnClowd/NextCloud, see OwnCloud Workaround that I cannot reproduce with the Snap Setup
Is this the first time you’ve seen this error?: Y
Not sure how to replicate it.
Thanks for your help.
The output of your Nextcloud log in Admin > Logging:
[remote] Error: TypeError: Return value of OCA\Files_Trashbin\Sabre\AbstractTrash::getSize() must be of the type integer, float returned at <<closure>>
0. /snap/nextcloud/16406/htdocs/apps/files_trashbin/lib/Sabre/PropfindPlugin.php line 78
OCA\Files_Trashbin\Sabre\AbstractTrash->getSize()
1. /snap/nextcloud/16406/htdocs/3rdparty/sabre/dav/lib/DAV/PropFind.php line 98
OCA\Files_Trashbin\Sabre\PropfindPlugin->OCA\Files_Trashbin\Sabre\{closure}("*** sensitive parameters replaced ***")
2. /snap/nextcloud/16406/htdocs/apps/files_trashbin/lib/Sabre/PropfindPlugin.php line 79
Sabre\DAV\PropFind->handle("{http://owncloud.org/ns}size", Closure {})
3. <<closure>>
OCA\Files_Trashbin\Sabre\PropfindPlugin->propFind(Sabre\DAV\PropFind {}, OCA\Files_Trashbin\Sabre\TrashFolder {})
4. /snap/nextcloud/16406/htdocs/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
undefinedundefinedcall_user_func_array([OCA\Files_Trash ... "], [Sabre\DAV\PropF ... }])
5. /snap/nextcloud/16406/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php line 1059
Sabre\Event\EventEmitter->emit("propFind", [Sabre\DAV\PropF ... }])
6. /snap/nextcloud/16406/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php line 981
Sabre\DAV\Server->getPropertiesByNode(Sabre\DAV\PropFind {}, OCA\Files_Trashbin\Sabre\TrashFolder {})
7. /snap/nextcloud/16406/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php line 1666
Sabre\DAV\Server->getPropertiesIteratorForPath("trashbin/fuchsborst/trash", ["{http://nextcl ... "], 1)
8. /snap/nextcloud/16406/htdocs/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 355
Sabre\DAV\Server->generateMultiStatus(Generator {}, false)
9. <<closure>>
Sabre\DAV\CorePlugin->httpPropFind(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {})
10. /snap/nextcloud/16406/htdocs/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
undefinedundefinedcall_user_func_array([Sabre\DAV\CorePlugin {},"httpPropFind"], [Sabre\HTTP\Requ ... }])
11. /snap/nextcloud/16406/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php line 479
Sabre\Event\EventEmitter->emit("method:PROPFIND", [Sabre\HTTP\Requ ... }])
12. /snap/nextcloud/16406/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php line 254
Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {})
13. /snap/nextcloud/16406/htdocs/apps/dav/lib/Server.php line 316
Sabre\DAV\Server->exec()
14. /snap/nextcloud/16406/htdocs/apps/dav/appinfo/v2/remote.php line 35
OCA\DAV\Server->exec()
15. /snap/nextcloud/16406/htdocs/remote.php line 163
undefinedundefinedrequire_once("/snap/nextcloud ... p")
PROPFIND /remote.php/dav/trashbin/xxxxxx/trash
from 192.168.0.84 by xxxxxx at 2019-10-24T09:36:55+00:00
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
$CONFIG = array (
'apps_paths' =>
array (
0 =>
array (
'path' => '/snap/nextcloud/current/htdocs/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/snap/nextcloud/current/nextcloud/extra-apps',
'url' => '/extra-apps',
'writable' => true,
),
),
'supportedDatabases' =>
array (
0 => 'mysql',
),
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/tmp/sockets/redis.sock',
'port' => 0,
),
'instanceid' => 'occdin8l6833',
'passwordsalt' => '**REMOVED SENSITIVE VALUE***',
'secret' => '**REMOVED SENSITIVE VALUE***',
'trusted_domains' =>
array (
0 => '192.168.0.28',
1 => '**REMOVED SENSITIVE VALUE***',
),
'datadirectory' => '/media/nas/nextcloud/data',
'overwrite.cli.url' => 'http://192.168.0.28',
'dbtype' => 'mysql',
'version' => '16.0.5.1',
'dbname' => 'nextcloud',
'dbhost' => 'localhost:/tmp/sockets/mysql.sock',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '**REMOVED SENSITIVE VALUE***',
'dbpassword' => '**REMOVED SENSITIVE VALUE***',
'installed' => true,
'loglevel' => 2,
'maintenance' => false,
'theme' => '',
);
The output of your Apache/nginx/system log in /var/log/____
:
I found no related log entries here. If really necessary I will add this on demand, of course.