i have spend days of time to solv this Problem… there is no solution.
Nextcloud version: 11.0.3
Operating system and version: Debian 9.1 64bit
Apache version: Apache 2.4.25
PHP version: 7.0.19
Is this the first time you’ve seen this error?: No
Can you reliably replicate it? (If so, please outline steps):
If i upload via webinterface a big file, i got the error. Smaller files (816MB) have no problem. The file from the error have 1,3G. Same error with a new file with 957MB.
The output of your Nextcloud log in Admin > Logging:
Fatal webdav OCA\DAV\Connector\Sabre\Exception\FileLocked: HTTP/1.1 423 "path\video.avi" is locked
/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php - line 137: OCA\DAV\Connector\Sabre\File->put(Resource id #31)
/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 1072: OCA\DAV\Connector\Sabre\Directory->createFile('video...', Resource id #31)
/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 525: Sabre\DAV\Server->createFile('path/video...', Resource id #31, NULL)
[internal function] Sabre\DAV\CorePlugin->httpPut(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/var/www/html/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit('method PUT', Array)
/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/var/www/html/nextcloud/apps/dav/appinfo/v1/webdav.php - line 60: Sabre\DAV\Server->exec()
/var/www/html/nextcloud/remote.php - line 165: require_once('/var/www/html/n...')
{main}
The output of your config.php file in /path/to/nextcloud
:
<?php
$CONFIG = array (
'instanceid' => 'oc4fd360fe32',
'passwordsalt' => 'xxxxxxxxxxxxxxxxxxxxxxxxxx',
'trusted_domains' =>
array (
0 => 'oc.example.org',
1 => 'example.org',
),
'datadirectory' => '/var/www/html/nextcloud/data',
'overwrite.cli.url' => 'https://example.org/cloud',
'dbtype' => 'mysql',
'version' => '11.0.3.2',
'installed' => true,
'theme' => '',
'maintenance' => false,
'secret' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'mail_from_address' => 'nextcloud',
'mail_smtpmode' => 'php',
'mail_domain' => 'example.org',
'appstore.experimental.enabled' => true,
'loglevel' => 2,
'trashbin_retention_obligation' => 'auto',
'updatechecker' => true,
'ldapIgnoreNamingRules' => false,
'htaccess.RewriteBase' => '/cloud',
'dbname' => 'nextcloud',
'dbhost' => '127.0.0.1',
'dbuser' => 'nextcloud',
'dbpassword' => 'xxxxxxxxxxxxxxxxxx',
'updater.release.channel' => 'stable',
'memcache.local' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
),
);
/var/www/html/nextcloud/.htaccess:
<IfModule mod_php7.c>
php_value upload_max_filesize 20511M
php_value post_max_size 20511M
php_value memory_limit 512M
php_value mbstring.func_overload 0
php_value default_charset 'UTF-8'
php_value output_buffering 0
<IfModule mod_env.c>
SetEnv htaccessWorking true
</IfModule>
Info from webinterface:
PHP
Version: 7.0.19
Memory Limit: 512.0 MB
Max Execution Time: 3600
Upload max size: 20.0 GB
Database
Type: mysql
Version: 10.1.23
Size: 5.6 MB
Any ideas?
Sorry, forget the app:list output:
root@example /var/www/html/nextcloud # sudo -u www-data php occ app:list
Enabled:
- activity: 2.4.1
- admin_audit: 1.1.0
- bookmarks: 0.10.1
- calendar: 1.5.3
- comments: 1.1.0
- contacts: 1.5.3
- dav: 1.1.1
- federatedfilesharing: 1.1.1
- federation: 1.1.1
- files: 1.6.1
- files_pdfviewer: 1.0.1
- files_retention: 1.0.1
- files_sharing: 1.1.1
- files_texteditor: 2.2
- files_trashbin: 1.1.0
- files_versions: 1.4.0
- files_videoplayer: 1.0.0
- firstrunwizard: 2.0
- gallery: 16.0.0
- logreader: 2.0.0
- lookup_server_connector: 1.0.0
- nextcloud_announcements: 1.0
- notifications: 1.0.1
- password_policy: 1.1.0
- provisioning_api: 1.1.0
- serverinfo: 1.1.1
- sharebymail: 1.0.1
- survey_client: 0.1.5
- systemtags: 1.1.3
- templateeditor: 0.2
- theming: 1.1.1
- twofactor_backupcodes: true
- updatenotification: 1.1.1
- workflowengine: 1.1.1
Disabled:
- encryption
- external
- files_accesscontrol
- files_automatedtagging
- files_external
- user_external
- user_ldap
- user_saml
root@example /var/www/html/nextcloud #
And its enough space free: 2T available
And redis is running:
root@example /var/www/html/nextcloud # ps ax|grep redis
12687 ? Ssl 5:15 /usr/bin/redis-server 127.0.0.1:6379
16259 pts/7 S+ 0:00 grep redis
root@example /var/www/html/nextcloud #
.