Nextcloud version (eg, 20.0.5): 27.0.0
Operating system and version (eg, Ubuntu 20.04): Unraid 6.12.3
Apache or nginx version (eg, Apache 2.4.25): Not using either as far as I’m aware
PHP version (eg, 7.4): 8.2.7
The issue you are facing:
Hey there,
I followed SpaceInvaderOne’s guide to get NextCloud setup on my unraid server. All appears to have gone well and it works for smaller tests. However testing under some load has resulted in errno: 28 "No space left on device"
.
Setup:
Nextcloud running in docker. Data mapped to a new mount with over 3.5TB free space.
MariDB running in docker and connected to NextCloud.
Accessing via local network.
Nextcloud is mapped correctly, my docker volume is not filling up.
Is this the first time you’ve seen this error? (Y/N): Yes, but new to NextCloud
Steps to replicate it:
- Copied 500GB of data into nextcloud folder on my laptop (win 10 running official NextCloud app)
- Started copying but after a while started throwing errors saying to check the logs
- view logs
The output of your Nextcloud log in Admin > Logging:
Lots of errors like this: Doctrine\DBAL\Exception\DriverException: An exception occurred while executing a - Pastebin.com
and a few like this:
Sabre\DAV\Exception\BadRequest: Expected filesize of 4489815 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 3719168 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.
/config/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php - line 149:
OCA\DAV\Connector\Sabre\File->put()
/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php - line 1098:
OCA\DAV\Connector\Sabre\Directory->createFile("*** sensiti ... *")
/app/www/public/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 504:
Sabre\DAV\Server->createFile("*** sensiti ... *")
/app/www/public/3rdparty/sabre/event/lib/WildcardEmitterTrait.php - line 89:
Sabre\DAV\CorePlugin->httpPut()
/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php - line 472:
Sabre\DAV\Server->emit()
/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php - line 253:
Sabre\DAV\Server->invokeMethod()
/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php - line 321:
Sabre\DAV\Server->start()
/config/www/nextcloud/apps/dav/lib/Server.php - line 364:
Sabre\DAV\Server->exec()
/config/www/nextcloud/apps/dav/appinfo/v2/remote.php - line 35:
OCA\DAV\Server->exec()
/app/www/public/remote.php - line 172:
require_once("/config/www ... p")
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => '',
'passwordsalt' => '',
'secret' => '/ct4nhe',
'trusted_domains' =>
array (
0 => '',
1 => '',
2 => '',
3 => '',
),
'datadirectory' => '/app/www/public/data',
'dbtype' => 'mysql',
'default_phone_region' => 'GB',
'version' => '27.0.0.8',
'overwrite.cli.url' => '',
'dbname' => '',
'dbhost' => '',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '',
'dbpassword' => '',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'filelocking.enabled' => 'true',
'memcache.locking' => '\\OC\\Memcache\\APCu',
'mail_from_address' => '',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'gmail.com',
'mail_smtpauth' => 1,
'mail_smtpname' => 'gmail.com',
'mail_smtppassword' => '',
'mail_smtphost' => 'smtp.gmail.com',
'mail_smtpport' => '587',
'memories.exiftool' => '/config/www/nextcloud/apps/memories/exiftool-bin/exiftool-amd64-musl',
'memories.vod.path' => '/config/www/nextcloud/apps/memories/exiftool-bin/go-vod-amd64',
'memories.vod.ffmpeg' => '/usr/bin/ffmpeg',
'memories.vod.ffprobe' => '/usr/bin/ffprobe',
);
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.