Cannot upload files, existing files don't display except via FTP

Nextcloud version (eg, 12.0.2): 13.0.3
Operating system and version (eg, Ubuntu 17.04): Ubuntu 16.04 LTS
Apache or nginx version (eg, Apache 2.4.25): ??
PHP version (eg, 7.1): 7.0.30

The issue you are facing: some files have been added to a folder via FTP as they were too big to use the web drag & drop method. They were displaying properly in the web interface but I couldn’t get one step down into sub-folders. I then tried a scan --all with the SSH console to have all access rights checked at the same time (all files and folders are 750).

Now, files and folders still display in FTP client, but have totally disappeared in the web interface! If I try to copy those files again (browser drag & drop), I receive an error “Unable to write files at this location”…

Is this the first time you’ve seen this error? (Y/N): Yes

Steps to replicate it:

  1. N/A

The output of your Nextcloud log in Admin > Logging: last lines only…

{"reqId":"WxkqmH8AAQEAAFKZgvAAAAAE","level":1,"time":"2018-06-07T12:52:42+00:00","remoteAddr":"88.179.69.9","user":"--","app":"updater","method":"GET","url":"\/core\/ajax\/update.php?requesttoken=TUicTBL7V%2BA3iptZYeLc262ieUz6saPAUfw8bNQShaE%3D%3ACBi3LnDMO4IFu8gvCaiOk9%2FFLSu2iZqXIc16O7NK7cs%3D","message":"\\OC\\Repair::info: Repair info: Repair step already executed","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.1.1"}
{"reqId":"WxkqmH8AAQEAAFKZgvAAAAAE","level":1,"time":"2018-06-07T12:52:42+00:00","remoteAddr":"88.179.69.9","user":"--","app":"updater","method":"GET","url":"\/core\/ajax\/update.php?requesttoken=TUicTBL7V%2BA3iptZYeLc262ieUz6saPAUfw8bNQShaE%3D%3ACBi3LnDMO4IFu8gvCaiOk9%2FFLSu2iZqXIc16O7NK7cs%3D","message":"\\OC\\Repair::step: Repair step: Add preview cleanup background jobs","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.1.1"}
{"reqId":"WxkqmH8AAQEAAFKZgvAAAAAE","level":1,"time":"2018-06-07T12:52:42+00:00","remoteAddr":"88.179.69.9","user":"--","app":"updater","method":"GET","url":"\/core\/ajax\/update.php?requesttoken=TUicTBL7V%2BA3iptZYeLc262ieUz6saPAUfw8bNQShaE%3D%3ACBi3LnDMO4IFu8gvCaiOk9%2FFLSu2iZqXIc16O7NK7cs%3D","message":"\\OC\\Repair::step: Repair step: Fix potential broken mount points","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.1.1"}
{"reqId":"WxkqmH8AAQEAAFKZgvAAAAAE","level":1,"time":"2018-06-07T12:52:42+00:00","remoteAddr":"88.179.69.9","user":"--","app":"updater","method":"GET","url":"\/core\/ajax\/update.php?requesttoken=TUicTBL7V%2BA3iptZYeLc262ieUz6saPAUfw8bNQShaE%3D%3ACBi3LnDMO4IFu8gvCaiOk9%2FFLSu2iZqXIc16O7NK7cs%3D","message":"\\OC\\Repair::info: Repair info: No mounts updated","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.1.1"}
{"reqId":"WxkqmH8AAQEAAFKZgvAAAAAE","level":1,"time":"2018-06-07T12:52:42+00:00","remoteAddr":"88.179.69.9","user":"--","app":"updater","method":"GET","url":"\/core\/ajax\/update.php?requesttoken=TUicTBL7V%2BA3iptZYeLc262ieUz6saPAUfw8bNQShaE%3D%3ACBi3LnDMO4IFu8gvCaiOk9%2FFLSu2iZqXIc16O7NK7cs%3D","message":"\\OC\\Repair::step: Repair step: Repair language codes","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.1.1"}
{"reqId":"WxkqmH8AAQEAAFKZgvAAAAAE","level":1,"time":"2018-06-07T12:52:42+00:00","remoteAddr":"88.179.69.9","user":"--","app":"updater","method":"GET","url":"\/core\/ajax\/update.php?requesttoken=TUicTBL7V%2BA3iptZYeLc262ieUz6saPAUfw8bNQShaE%3D%3ACBi3LnDMO4IFu8gvCaiOk9%2FFLSu2iZqXIc16O7NK7cs%3D","message":"\\OC\\Repair::step: Repair step: Install new core bundle components","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.1.1"}
{"reqId":"WxkqmH8AAQEAAFKZgvAAAAAE","level":1,"time":"2018-06-07T12:52:42+00:00","remoteAddr":"88.179.69.9","user":"--","app":"updater","method":"GET","url":"\/core\/ajax\/update.php?requesttoken=TUicTBL7V%2BA3iptZYeLc262ieUz6saPAUfw8bNQShaE%3D%3ACBi3LnDMO4IFu8gvCaiOk9%2FFLSu2iZqXIc16O7NK7cs%3D","message":"\\OC\\Repair::step: Repair step: Repair invalid paths in file cache","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.1.1"}
{"reqId":"WxkqmH8AAQEAAFKZgvAAAAAE","level":1,"time":"2018-06-07T12:52:42+00:00","remoteAddr":"88.179.69.9","user":"--","app":"updater","method":"GET","url":"\/core\/ajax\/update.php?requesttoken=TUicTBL7V%2BA3iptZYeLc262ieUz6saPAUfw8bNQShaE%3D%3ACBi3LnDMO4IFu8gvCaiOk9%2FFLSu2iZqXIc16O7NK7cs%3D","message":"\\OC\\Repair::step: Repair step: Rename folder with user specific keys","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.1.1"}
{"reqId":"WxkqmH8AAQEAAFKZgvAAAAAE","level":1,"time":"2018-06-07T12:52:42+00:00","remoteAddr":"88.179.69.9","user":"--","app":"updater","method":"GET","url":"\/core\/ajax\/update.php?requesttoken=TUicTBL7V%2BA3iptZYeLc262ieUz6saPAUfw8bNQShaE%3D%3ACBi3LnDMO4IFu8gvCaiOk9%2FFLSu2iZqXIc16O7NK7cs%3D","message":"\\OC\\Repair::step: Repair step: Add log rotate job","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.1.1"}
{"reqId":"WxkqmH8AAQEAAFKZgvAAAAAE","level":1,"time":"2018-06-07T12:52:42+00:00","remoteAddr":"88.179.69.9","user":"--","app":"updater","method":"GET","url":"\/core\/ajax\/update.php?requesttoken=TUicTBL7V%2BA3iptZYeLc262ieUz6saPAUfw8bNQShaE%3D%3ACBi3LnDMO4IFu8gvCaiOk9%2FFLSu2iZqXIc16O7NK7cs%3D","message":"\\OC\\Repair::step: Repair step: Clear frontend caches","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.1.1"}
{"reqId":"WxkqmH8AAQEAAFKZgvAAAAAE","level":1,"time":"2018-06-07T12:52:42+00:00","remoteAddr":"88.179.69.9","user":"--","app":"updater","method":"GET","url":"\/core\/ajax\/update.php?requesttoken=TUicTBL7V%2BA3iptZYeLc262ieUz6saPAUfw8bNQShaE%3D%3ACBi3LnDMO4IFu8gvCaiOk9%2FFLSu2iZqXIc16O7NK7cs%3D","message":"\\OC\\Repair::info: Repair info: Image cache cleared","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.1.1"}
{"reqId":"WxkqmH8AAQEAAFKZgvAAAAAE","level":1,"time":"2018-06-07T12:52:43+00:00","remoteAddr":"88.179.69.9","user":"--","app":"updater","method":"GET","url":"\/core\/ajax\/update.php?requesttoken=TUicTBL7V%2BA3iptZYeLc262ieUz6saPAUfw8bNQShaE%3D%3ACBi3LnDMO4IFu8gvCaiOk9%2FFLSu2iZqXIc16O7NK7cs%3D","message":"\\OC\\Repair::info: Repair info: SCSS cache cleared","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.1.1"}
{"reqId":"WxkqmH8AAQEAAFKZgvAAAAAE","level":1,"time":"2018-06-07T12:52:44+00:00","remoteAddr":"88.179.69.9","user":"--","app":"updater","method":"GET","url":"\/core\/ajax\/update.php?requesttoken=TUicTBL7V%2BA3iptZYeLc262ieUz6saPAUfw8bNQShaE%3D%3ACBi3LnDMO4IFu8gvCaiOk9%2FFLSu2iZqXIc16O7NK7cs%3D","message":"\\OC\\Repair::info: Repair info: JS cache cleared","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.1.1"}
{"reqId":"WxkqmH8AAQEAAFKZgvAAAAAE","level":1,"time":"2018-06-07T12:52:44+00:00","remoteAddr":"88.179.69.9","user":"--","app":"updater","method":"GET","url":"\/core\/ajax\/update.php?requesttoken=TUicTBL7V%2BA3iptZYeLc262ieUz6saPAUfw8bNQShaE%3D%3ACBi3LnDMO4IFu8gvCaiOk9%2FFLSu2iZqXIc16O7NK7cs%3D","message":"\\OC\\Updater::startCheckCodeIntegrity: Starting code integrity check...","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.1.1"}
{"reqId":"WxkqmH8AAQEAAFKZgvAAAAAE","level":1,"time":"2018-06-07T12:52:49+00:00","remoteAddr":"88.179.69.9","user":"--","app":"updater","method":"GET","url":"\/core\/ajax\/update.php?requesttoken=TUicTBL7V%2BA3iptZYeLc262ieUz6saPAUfw8bNQShaE%3D%3ACBi3LnDMO4IFu8gvCaiOk9%2FFLSu2iZqXIc16O7NK7cs%3D","message":"\\OC\\Updater::finishedCheckCodeIntegrity: Finished code integrity check","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.1.1"}
{"reqId":"WxkqmH8AAQEAAFKZgvAAAAAE","level":1,"time":"2018-06-07T12:52:49+00:00","remoteAddr":"88.179.69.9","user":"--","app":"updater","method":"GET","url":"\/core\/ajax\/update.php?requesttoken=TUicTBL7V%2BA3iptZYeLc262ieUz6saPAUfw8bNQShaE%3D%3ACBi3LnDMO4IFu8gvCaiOk9%2FFLSu2iZqXIc16O7NK7cs%3D","message":"\\OC\\Updater::updateEnd: Update successful","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.3.2"}
{"reqId":"WxkqmH8AAQEAAFKZgvAAAAAE","level":1,"time":"2018-06-07T12:52:49+00:00","remoteAddr":"88.179.69.9","user":"--","app":"updater","method":"GET","url":"\/core\/ajax\/update.php?requesttoken=TUicTBL7V%2BA3iptZYeLc262ieUz6saPAUfw8bNQShaE%3D%3ACBi3LnDMO4IFu8gvCaiOk9%2FFLSu2iZqXIc16O7NK7cs%3D","message":"\\OC\\Updater::maintenanceDisabled: Turned off maintenance mode","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.3.2"}
{"reqId":"WxkqmH8AAQEAAFKZgvAAAAAE","level":1,"time":"2018-06-07T12:52:49+00:00","remoteAddr":"88.179.69.9","user":"--","app":"updater","method":"GET","url":"\/core\/ajax\/update.php?requesttoken=TUicTBL7V%2BA3iptZYeLc262ieUz6saPAUfw8bNQShaE%3D%3ACBi3LnDMO4IFu8gvCaiOk9%2FFLSu2iZqXIc16O7NK7cs%3D","message":"\\OC\\Updater::resetLogLevel: Reset log level to Warning(2)","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.3.2"}
{"reqId":"Wxk5xn8AAQEAADLBQC8AAAAC","level":4,"time":"2018-06-07T13:57:26+00:00","remoteAddr":"88.179.69.9","user":"jlgarnier","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/files\/jlgarnier\/40.%20Projets\/01.%20PICS\/04%20Production\/Software\/PICSDemoApplication.git\/hooks\/pre-commit.sample","message":"Exception: {\"Exception\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Exception\\\\FileLocked\",\"Message\":\"\\\"40. Projets\\\/01. PICS\\\/04 Production\\\/Software\\\/PICSDemoApplication.git\\\/hooks\\\" is locked\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1096): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('pre-commit.samp...', Resource id #425)\\n#1 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(529): Sabre\\\\DAV\\\\Server->createFile('files\\\/jlgarnier...', Resource id #425, NULL)\\n#2 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#3 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#4 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#5 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#6 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/lib\\\/Server.php(287): Sabre\\\\DAV\\\\Server->exec()\\n#7 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(35): OCA\\\\DAV\\\\Server->exec()\\n#8 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/remote.php(164): require_once('\\\/var\\\/www\\\/vhosts...')\\n#9 {main}\",\"File\":\"\\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php\",\"Line\":168}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"13.0.3.2"}
{"reqId":"Wxk5xn8AAQEAAFcS3mQAAAAF","level":4,"time":"2018-06-07T13:57:26+00:00","remoteAddr":"88.179.69.9","user":"jlgarnier","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/files\/jlgarnier\/40.%20Projets\/01.%20PICS\/04%20Production\/Software\/PICSDemoApplication.git\/hooks\/prepare-commit-msg.sample","message":"Exception: {\"Exception\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Exception\\\\FileLocked\",\"Message\":\"\\\"40. Projets\\\/01. PICS\\\/04 Production\\\/Software\\\/PICSDemoApplication.git\\\/hooks\\\" is locked\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1096): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('prepare-commit-...', Resource id #425)\\n#1 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(529): Sabre\\\\DAV\\\\Server->createFile('files\\\/jlgarnier...', Resource id #425, NULL)\\n#2 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#3 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#4 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#5 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#6 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/lib\\\/Server.php(287): Sabre\\\\DAV\\\\Server->exec()\\n#7 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(35): OCA\\\\DAV\\\\Server->exec()\\n#8 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/remote.php(164): require_once('\\\/var\\\/www\\\/vhosts...')\\n#9 {main}\",\"File\":\"\\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php\",\"Line\":168}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"13.0.3.2"}
{"reqId":"Wxk5xn8AAQEAAFMH0goAAAAD","level":4,"time":"2018-06-07T13:57:26+00:00","remoteAddr":"88.179.69.9","user":"jlgarnier","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/files\/jlgarnier\/40.%20Projets\/01.%20PICS\/04%20Production\/Software\/PICSDemoApplication.git\/hooks\/pre-applypatch.sample","message":"Exception: {\"Exception\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Exception\\\\FileLocked\",\"Message\":\"\\\"40. Projets\\\/01. PICS\\\/04 Production\\\/Software\\\/PICSDemoApplication.git\\\/hooks\\\" is locked\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1096): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('pre-applypatch....', Resource id #425)\\n#1 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(529): Sabre\\\\DAV\\\\Server->createFile('files\\\/jlgarnier...', Resource id #425, NULL)\\n#2 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#3 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#4 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#5 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#6 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/lib\\\/Server.php(287): Sabre\\\\DAV\\\\Server->exec()\\n#7 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(35): OCA\\\\DAV\\\\Server->exec()\\n#8 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/remote.php(164): require_once('\\\/var\\\/www\\\/vhosts...')\\n#9 {main}\",\"File\":\"\\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php\",\"Line\":168}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"13.0.3.2"}
{"reqId":"Wxk5x38AAQEAAFfrYr8AAAAH","level":4,"time":"2018-06-07T13:57:27+00:00","remoteAddr":"88.179.69.9","user":"jlgarnier","app":"webdav","method":"MKCOL","url":"\/remote.php\/dav\/files\/jlgarnier\/40.%20Projets\/01.%20PICS\/04%20Production\/Software\/PICSDemoApplication.git\/refs\/tags","message":"Exception: {\"Exception\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Exception\\\\FileLocked\",\"Message\":\"\\\"40. Projets\\\" is locked\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1210): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createDirectory('tags')\\n#1 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(594): Sabre\\\\DAV\\\\Server->createCollection('files\\\/jlgarnier...', Object(Sabre\\\\DAV\\\\MkCol))\\n#2 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpMkcol(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#3 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#4 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:MKCOL', Array)\\n#5 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#6 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/lib\\\/Server.php(287): Sabre\\\\DAV\\\\Server->exec()\\n#7 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(35): OCA\\\\DAV\\\\Server->exec()\\n#8 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/remote.php(164): require_once('\\\/var\\\/www\\\/vhosts...')\\n#9 {main}\",\"File\":\"\\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php\",\"Line\":199}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"13.0.3.2"}
{"reqId":"Wxk5x38AAQEAAFLY2W4AAAAM","level":4,"time":"2018-06-07T13:57:28+00:00","remoteAddr":"88.179.69.9","user":"jlgarnier","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/files\/jlgarnier\/40.%20Projets\/01.%20PICS\/04%20Production\/Software\/PICSDemoApplication.git\/refs\/heads\/master","message":"Exception: {\"Exception\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Exception\\\\FileLocked\",\"Message\":\"\\\"40. Projets\\\/01. PICS\\\" is locked\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1096): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('master', Resource id #425)\\n#1 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(529): Sabre\\\\DAV\\\\Server->createFile('files\\\/jlgarnier...', Resource id #425, NULL)\\n#2 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#3 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#4 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#5 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#6 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/lib\\\/Server.php(287): Sabre\\\\DAV\\\\Server->exec()\\n#7 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(35): OCA\\\\DAV\\\\Server->exec()\\n#8 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/remote.php(164): require_once('\\\/var\\\/www\\\/vhosts...')\\n#9 {main}\",\"File\":\"\\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php\",\"Line\":168}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"13.0.3.2"}
{"reqId":"Wxk50H8AAQEAAFE62tsAAAAG","level":4,"time":"2018-06-07T13:57:36+00:00","remoteAddr":"88.179.69.9","user":"jlgarnier","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/files\/jlgarnier\/40.%20Projets\/01.%20PICS\/04%20Production\/Software\/PICSDemoApplication.git\/objects\/pack\/pack-3a2c0c5dc2afe6927b931c9aec6aad82544f849b.pack","message":"Exception: {\"Exception\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Exception\\\\FileLocked\",\"Message\":\"\\\"40. Projets\\\/01. PICS\\\/04 Production\\\" is locked\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1096): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('pack-3a2c0c5dc2...', Resource id #425)\\n#1 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(529): Sabre\\\\DAV\\\\Server->createFile('files\\\/jlgarnier...', Resource id #425, NULL)\\n#2 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#3 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#4 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#5 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#6 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/lib\\\/Server.php(287): Sabre\\\\DAV\\\\Server->exec()\\n#7 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(35): OCA\\\\DAV\\\\Server->exec()\\n#8 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/remote.php(164): require_once('\\\/var\\\/www\\\/vhosts...')\\n#9 {main}\",\"File\":\"\\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php\",\"Line\":168}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"13.0.3.2"}
{"reqId":"Wxk6L38AAQEAAFE62t0AAAAG","level":4,"time":"2018-06-07T13:59:11+00:00","remoteAddr":"88.179.69.9","user":"jlgarnier","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/files\/jlgarnier\/40.%20Projets\/01.%20PICS\/04%20Production\/Software\/PICSDemoApplication.git\/hooks\/pre-commit.sample","message":"Exception: {\"Exception\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Exception\\\\FileLocked\",\"Message\":\"\\\"40. Projets\\\/01. PICS\\\/04 Production\\\/Software\\\" is locked\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1096): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('pre-commit.samp...', Resource id #425)\\n#1 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(529): Sabre\\\\DAV\\\\Server->createFile('files\\\/jlgarnier...', Resource id #425, NULL)\\n#2 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#3 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#4 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#5 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#6 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/lib\\\/Server.php(287): Sabre\\\\DAV\\\\Server->exec()\\n#7 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(35): OCA\\\\DAV\\\\Server->exec()\\n#8 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/remote.php(164): require_once('\\\/var\\\/www\\\/vhosts...')\\n#9 {main}\",\"File\":\"\\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php\",\"Line\":168}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"13.0.3.2"}
{"reqId":"Wxk6L38AAQEAAFLW4eUAAAAI","level":4,"time":"2018-06-07T13:59:11+00:00","remoteAddr":"88.179.69.9","user":"jlgarnier","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/files\/jlgarnier\/40.%20Projets\/01.%20PICS\/04%20Production\/Software\/PICSDemoApplication.git\/hooks\/pre-applypatch.sample","message":"Exception: {\"Exception\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Exception\\\\FileLocked\",\"Message\":\"\\\"40. Projets\\\/01. PICS\\\/04 Production\\\/Software\\\/PICSDemoApplication.git\\\" is locked\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1096): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('pre-applypatch....', Resource id #425)\\n#1 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(529): Sabre\\\\DAV\\\\Server->createFile('files\\\/jlgarnier...', Resource id #425, NULL)\\n#2 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#3 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#4 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#5 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#6 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/lib\\\/Server.php(287): Sabre\\\\DAV\\\\Server->exec()\\n#7 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(35): OCA\\\\DAV\\\\Server->exec()\\n#8 \\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/remote.php(164): require_once('\\\/var\\\/www\\\/vhosts...')\\n#9 {main}\",\"File\":\"\\\/var\\\/www\\\/vhosts\\\/bcasmart.com\\\/httpdocs\\\/nc\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php\",\"Line\":168}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"13.0.3.2"}
{"reqId":"Wx4TW38AAQEAADWzecsAAAAF","level":2,"time":"2018-06-11T06:14:51+00:00","remoteAddr":"88.179.69.9","user":"--","app":"core","method":"POST","url":"\/index.php\/login?redirect_url=\/index.php\/settings\/user","message":"Login failed: 'admin_live' (Remote IP: '88.179.69.9')","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.3.2"}

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

<?php
$CONFIG = array (
  'instanceid' => 'iid',
  'passwordsalt' => 'salt',
  'secret' => 'secret',
  'trusted_domains' => 
  array (
    0 => 'next.bcasmart.com',
    1 => 'intranet.bcasmart.com',
  ),
  'datadirectory' => '/var/www/vhosts/bcasmart.com/httpdocs/nc/data',
  'overwrite.cli.url' => 'https://next.bcasmart.com',
  'dbtype' => 'mysql',
  'version' => '13.0.3.2',
  'dbname' => 'name',
  'dbhost' => 'localhost:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'user',
  'dbpassword' => 'password',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => 'true',
  'redis' => 
  array (
    'host' => 'localhost',
    'port' => 6379,
    'timeout' => 0,
    'dbindex' => 0,
  ),
  'files_external_allow_create_new_local' => true,
  'mail_from_address' => 'intranet',
  'mail_smtpmode' => 'php',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_domain' => 'bcasmart.com',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
);

The output of your Apache/nginx/system log in /var/log/____:

Apache 

[Mon Jun 11 06:32:36.003407 2018] [ssl:warn] [pid 20289] AH01909: webmail.vps420571.ovh.net:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 11 06:32:36.003920 2018] [ssl:warn] [pid 20289] AH01909: webmail.bcasmart.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 11 06:32:36.004249 2018] [ssl:warn] [pid 20289] AH01909: lists:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 11 06:32:36.004489 2018] [ssl:warn] [pid 20289] AH01909: default-213_32_23_101:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 11 06:32:36.007623 2018] [mpm_prefork:notice] [pid 20289] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g Apache mod_fcgid/2.3.9 configured -- resuming normal operations
[Mon Jun 11 06:32:36.007650 2018] [core:notice] [pid 20289] AH00094: Command line: '/usr/sbin/apache2'

Thanks in advance fro any help!