"...upload.part" is locked

Nextcloud version 13.0.3

The issue you are facing:

Nextcloud Win 10 app is not syncing. “*.upload.part is locked”. Getting errors from the Win 10 app that files are locked and can’t be synced.

Is this the first time you’ve seen this error? Y

Steps to replicate it:

  1. Place files in sync directory
  2. Nextcloud attempts to sync
  3. failure messages

The output of your Nextcloud log in Admin > Logging:

Fatal	webdav	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Comics/Shadow, The" is locked	2018-06-14T13:47:49-0500
Error	no app in context	OCP\Lock\LockedException: "files/f005186718997f4fd4eb63f2c3886ed5" is locked	2018-06-14T13:47:49-0500
Error	no app in context	OCP\AppFramework\QueryException: Could not resolve filesService! Class filesService does not exist	2018-06-14T13:47:49-0500
Error	PHP	Module 'timezonedb' already loaded at Unknown#0	2018-06-14T13:47:48-0500
Fatal	webdav	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Comics/The Manhattan Projects" is locked	2018-06-14T13:47:48-0500
Error	no app in context	OCP\Lock\LockedException: "files/00a75d98325536e0a3b2322e68efaf5f" is locked	2018-06-14T13:47:48-0500
Error	no app in context	OCP\AppFramework\QueryException: Could not resolve filesService! Class filesService does not exist	2018-06-14T13:47:48-0500
Fatal	webdav	OCA\DAV\Connector\Sabre\Exception\FileLocked: "Comics/The Star Wars" is locked	2018-06-14T13:47:48-0500
Error	no app in context	OCP\Lock\LockedException: "files/6d5418600d31a0600ba27e1da893d149" is locked	2018-06-14T13:47:48-0500
Error	no app in context	OCP\AppFramework\QueryException: Could not resolve filesService! Class filesService does not exist	2018-06-14T13:47:48-0500
Fatal	webdav	OCA\DAV\Connector\Sabre\Exception\FileLocked: "glenncvance/files/Comics/Havok & Wolverine- Meltdown/Havok & Wolverine- Meltdown 04 (of 4) (1989) (Digital) (Zone-Empire).cbr.upload.part" is locked	2018-06-14T13:47:47-0500
Error	PHP	Module 'timezonedb' already loaded at Unknown#0	2018-06-14T13:47:47-0500
Fatal	webdav	OCA\DAV\Connector\Sabre\Exception\FileLocked: "glenncvance/files/Comics/Havok & Wolverine- Meltdown/Havok & Wolverine- Meltdown 02 (of 4) (1988) (Digital) (Zone-Empire).cbr.upload.part" is locked	2018-06-14T13:47:46-0500
Fatal	webdav	OCA\DAV\Connector\Sabre\Exception\FileLocked: "glenncvance/files/Comics/Havok & Wolverine- Meltdown/Havok & Wolverine- Meltdown 03 (of 4) (1989) (Digital) (Zone-Empire).cbr.upload.part" is locked

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'ocowaiuqqf1u',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' => 
  array (
    0 => 'glennvance.com',
  ),
  'datadirectory' => '/home/glennvance/nextclouddata',
  'overwrite.cli.url' => 'https://glennvance.com/files',
  'dbtype' => 'mysql',
  'version' => '13.0.3.2',
  'dbname' => '',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => '',
  'dbpassword' => '',
  'installed' => true,
  'mail_from_address' => '',
  'mail_smtpmode' => 'php',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_domain' => '',
);

The output of your Apache/nginx/system log in /var/log/____: I don’t see this, sorry.

Hi
found out, that this error occurs (on my side), if there are white spaces in the file name.