So if i log into my nextcloud from its local address (192.168.1.8) i can upload files fine and very large ones at that. If I try to upload files through my domain name (example.com) they all error out with below error. This is only files larger than 10mb so i think chunking is messed up somehow. This error only started after updating to nextcloud 18. This nextcloud installation has been problem free for about 2 years now, am I missing new dependencies? I ran the occ maintenance:repair already and applied correct permissions recursively.
[/details]
Nextcloud version: 18.0.3
Operating system and version: Ubuntu 18.04 LTS
Apache version: Apache 2.4.29
PHP version: 7.2
Is this the first time you’ve seen this error? Y
The output of your Nextcloud log in Admin > Logging:
Fatal webdav Sabre\DAV\Exception\BadRequest: Expected filesize of 10485760 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 0 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.
/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php - line 156:
OCA\DAV\Connector\Sabre\File->put(null)
/var/www/html/nextcloud/apps/dav/lib/Upload/UploadFolder.php - line 47:
OCA\DAV\Connector\Sabre\Directory->createFile("0", null)
/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 1096:
OCA\DAV\Upload\UploadFolder->createFile("0", null)
/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 525:
Sabre\DAV\Server->createFile("uploads/log ... 0", null, null)
<<closure>>
Sabre\DAV\CorePlugin->httpPut(Sabre\HTTP\R ... "}, Sabre\HTTP\Response {})
/var/www/html/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105:
call_user_func_array([ Sabre\DAV\ ... "], [ Sabre\HTTP ... }])
/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 479:
Sabre\Event\EventEmitter->emit("method:PUT", [ Sabre\HTTP ... }])
/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254:
Sabre\DAV\Server->invokeMethod(Sabre\HTTP\R ... "}, Sabre\HTTP\Response {})
/var/www/html/nextcloud/apps/dav/lib/Server.php - line 319:
Sabre\DAV\Server->exec()
/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php - line 35:
OCA\DAV\Server->exec()
/var/www/html/nextcloud/remote.php - line 165:
require_once("/var/www/ht ... 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' => '',
'trusted_domains' =>
array (
0 => '192.168.1.8',
1 => ',
2 => '',
),
'datadirectory' => '/var/www/html/nextcloud/data',
'dbtype' => 'mysql',
'version' => '18.0.3.0',
'overwrite.cli.url' => 'http:///nextcloud',
'dbname' => 'ncdb',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'ncuser',
'dbpassword' => '',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
),
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_smtphost' => 'smtp.gmail.com',
'mail_from_address' => 'nextcloud',
'mail_domain' => '',
'mail_smtpauth' => 1,
'mail_smtpname' => '',
'mail_smtppassword' => '',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'preview_libreoffice_path' => '/ usr / bin / libreoffice',
'enable_previews' => true,
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\Image',
1 => 'OC\\Preview\\Movie',
2 => 'OC\\Preview\\TXT',
),
'mail_smtpport' => '465',
'mail_smtpauthtype' => 'LOGIN',
'app_install_overwrite' =>
array (
0 => 'apporder',
1 => 'caniupdate',
),
'updater.release.channel' => 'stable',
);