Directory not accessible on client, permission denied owncloud (Client)

Hey everyone,

I am stuck with the next thing. I have enabled virtual files on my laptop. But it is saying that it does not have the rights to sync somehow (I did not change anything). When I look at my other computer it syncing without a problem. So I think it is my laptop (a Windows problem).

Expected behaviour

It will sync the file to the server

Actual behaviour

It will give an directory not accessible on client, permission denied owncloud error

Steps to reproduce

  1. Started computer
  2. Load Owncloud desktop client

Server configuration

Operating system:

Ubuntu 18.04

Web server:
Apache 2

Database:
MySql

PHP version:
PHP 7.2

ownCloud version:
10.3.1

Storage backend (external storage):
HDD DISK (partition on own server)

Client configuration

Client version:
Version 2.6.0 (build 12644)

Operating system:
Win 10

OS language:
Dutch

Installation path of client:
C:\Program Files (x86)\ownCloud

Logs

Please use Gist (https://gist.github.com/) or a similar code paster for longer
logs.

Template for output < 10 lines

  1. Client logfile: Output of owncloud --logwindow or owncloud --logfile log.txt
    (On Windows using cmd.exe, you might need to first cd into the ownCloud directory)
    (See also http://doc.owncloud.org/desktop/2.2/troubleshooting.html#client-logfile )
12-30 13:36:25:823 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:36:27:810 [ info gui.socketapi ]:	New connection QLocalSocket(0x760f888)
12-30 13:36:27:811 [ info gui.socketapi ]:	Sending SocketAPI message --> "REGISTER_PATH:C:\\Users\\xxx\\ownCloud" to QLocalSocket(0x760f888)
12-30 13:36:27:811 [ info gui.socketapi ]:	Received SocketAPI message <-- "GET_STRINGS:CONTEXT_MENU_TITLE" from QLocalSocket(0x760f888)
12-30 13:36:27:811 [ info gui.socketapi ]:	Sending SocketAPI message --> "GET_STRINGS:BEGIN" to QLocalSocket(0x760f888)
12-30 13:36:27:811 [ info gui.socketapi ]:	Sending SocketAPI message --> "STRING:CONTEXT_MENU_TITLE:ownCloud" to QLocalSocket(0x760f888)
12-30 13:36:27:811 [ info gui.socketapi ]:	Sending SocketAPI message --> "GET_STRINGS:END" to QLocalSocket(0x760f888)
12-30 13:36:27:811 [ info gui.socketapi ]:	Received SocketAPI message <-- "GET_MENU_ITEMS:C:\\Users\\xxx\\AppData\\Local\\Temp\\ownCloud-logdir\\20191230_1336_owncloud.log.0" from QLocalSocket(0x760f888)
12-30 13:36:27:811 [ info gui.socketapi ]:	Sending SocketAPI message --> "GET_MENU_ITEMS:BEGIN" to QLocalSocket(0x760f888)
12-30 13:36:27:811 [ info gui.socketapi ]:	Sending SocketAPI message --> "GET_MENU_ITEMS:END" to QLocalSocket(0x760f888)
12-30 13:36:27:825 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:36:27:862 [ info gui.socketapi ]:	Lost connection  QLocalSocket(0x760f888)
12-30 13:36:29:826 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:36:30:620 [ debug gui.account.state ]	[ OCC::AccountState::checkConnectivity ]:	"daan@box.user.nl" The last ETag check succeeded within the last  30  secs. No connection check needed!
12-30 13:36:31:828 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:36:33:830 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:36:35:832 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:36:37:748 [ info gui.folder ]:	Trying to check "https://box.user.nl/remote.php/dav/files/daan/" for changes via ETag check. (time since last sync: 108 s)
12-30 13:36:37:748 [ debug gui.folder.manager ]	[ OCC::FolderMan::slotRunOneEtagJob ]:	Scheduling "https://box.user.nl/remote.php/dav/files/daan/" to check remote ETag
12-30 13:36:37:748 [ info sync.accessmanager ]:	6 "PROPFIND" "https://box.user.nl/remote.php/dav/files/daan/" has X-Request-ID "abf72bb7-ddd6-4444-bebc-e59685e48143"
12-30 13:36:37:749 [ debug sync.cookiejar ]	[ OCC::CookieJar::cookiesForUrl ]:	QUrl("https://box.user.nl/remote.php/dav/files/daan/") requests: (QNetworkCookie("oc_sessionPassphrase=Uza4KLF%2BenTRpgfyQbzkzr7bG2y4BS42c96TBMXQij8gX%2Ba85hdM2vFHZHI1xjI%2FanZZRwHsND%2FG7tJrlDRLIe78TrHMRT%2BKv3joDO1rGIRYLekVKMlnBbPiXWuuYSIi; secure; HttpOnly; domain=box.user.nl; path=/"), QNetworkCookie("oc0se6n0vcqb=m2clco10srtqr4p50tdbgacfn6; secure; HttpOnly; domain=box.user.nl; path=/"))
12-30 13:36:37:749 [ info sync.networkjob ]:	OCC::RequestEtagJob created for "https://box.user.nl" + "/" "OCC::Folder"
12-30 13:36:37:833 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:36:38:043 [ info sync.networkjob.etag ]:	Request Etag of QUrl("https://box.user.nl/remote.php/dav/files/daan/") FINISHED WITH STATUS "OK"
12-30 13:36:38:051 [ debug sync.networkjob ]	[ OCC::AbstractNetworkJob::slotFinished ]:	Network job OCC::RequestEtagJob finished for "/"
12-30 13:36:39:836 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:36:40:876 [ info sync.accessmanager ]:	6 "PROPFIND" "https://box.user.nl/remote.php/dav/files/daan/" has X-Request-ID "52ea8619-a309-4409-8f69-17b2a13a84f3"
12-30 13:36:40:877 [ debug sync.cookiejar ]	[ OCC::CookieJar::cookiesForUrl ]:	QUrl("https://box.user.nl/remote.php/dav/files/daan/") requests: (QNetworkCookie("oc_sessionPassphrase=Uza4KLF%2BenTRpgfyQbzkzr7bG2y4BS42c96TBMXQij8gX%2Ba85hdM2vFHZHI1xjI%2FanZZRwHsND%2FG7tJrlDRLIe78TrHMRT%2BKv3joDO1rGIRYLekVKMlnBbPiXWuuYSIi; secure; HttpOnly; domain=box.user.nl; path=/"), QNetworkCookie("oc0se6n0vcqb=m2clco10srtqr4p50tdbgacfn6; secure; HttpOnly; domain=box.user.nl; path=/"))
12-30 13:36:40:877 [ info sync.networkjob ]:	OCC::PropfindJob created for "https://box.user.nl" + "/" "OCC::QuotaInfo"
12-30 13:36:40:945 [ info sync.networkjob.propfind ]:	PROPFIND of QUrl("https://box.user.nl/remote.php/dav/files/daan/") FINISHED WITH STATUS "OK"
12-30 13:36:40:945 [ debug sync.networkjob ]	[ OCC::AbstractNetworkJob::slotFinished ]:	Network job OCC::PropfindJob finished for "/"
12-30 13:36:41:837 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:36:43:839 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:36:45:841 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:36:47:843 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:36:49:845 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:36:51:846 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:36:53:848 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:36:55:848 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:36:57:851 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:36:59:853 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:37:01:854 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:37:03:856 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:37:05:857 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:37:07:746 [ info gui.folder ]:	Trying to check "https://box.user.nl/remote.php/dav/files/daan/" for changes via ETag check. (time since last sync: 138 s)
12-30 13:37:07:747 [ debug gui.folder.manager ]	[ OCC::FolderMan::slotRunOneEtagJob ]:	Scheduling "https://box.user.nl/remote.php/dav/files/daan/" to check remote ETag
12-30 13:37:07:747 [ info sync.accessmanager ]:	6 "PROPFIND" "https://box.user.nl/remote.php/dav/files/daan/" has X-Request-ID "fcc390d0-463f-4711-bf76-d236c980ad4d"
12-30 13:37:07:747 [ debug sync.cookiejar ]	[ OCC::CookieJar::cookiesForUrl ]:	QUrl("https://box.user.nl/remote.php/dav/files/daan/") requests: (QNetworkCookie("oc_sessionPassphrase=Uza4KLF%2BenTRpgfyQbzkzr7bG2y4BS42c96TBMXQij8gX%2Ba85hdM2vFHZHI1xjI%2FanZZRwHsND%2FG7tJrlDRLIe78TrHMRT%2BKv3joDO1rGIRYLekVKMlnBbPiXWuuYSIi; secure; HttpOnly; domain=box.user.nl; path=/"), QNetworkCookie("oc0se6n0vcqb=m2clco10srtqr4p50tdbgacfn6; secure; HttpOnly; domain=box.user.nl; path=/"))
12-30 13:37:07:747 [ info sync.networkjob ]:	OCC::RequestEtagJob created for "https://box.user.nl" + "/" "OCC::Folder"
12-30 13:37:07:858 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:37:08:027 [ info sync.networkjob.etag ]:	Request Etag of QUrl("https://box.user.nl/remote.php/dav/files/daan/") FINISHED WITH STATUS "OK"
12-30 13:37:08:036 [ debug sync.networkjob ]	[ OCC::AbstractNetworkJob::slotFinished ]:	Network job OCC::RequestEtagJob finished for "/"
12-30 13:37:09:860 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:37:10:930 [ info sync.accessmanager ]:	6 "PROPFIND" "https://box.user.nl/remote.php/dav/files/daan/" has X-Request-ID "582660e5-8793-43c6-abae-395c2b0dee81"
12-30 13:37:10:931 [ debug sync.cookiejar ]	[ OCC::CookieJar::cookiesForUrl ]:	QUrl("https://box.user.nl/remote.php/dav/files/daan/") requests: (QNetworkCookie("oc_sessionPassphrase=Uza4KLF%2BenTRpgfyQbzkzr7bG2y4BS42c96TBMXQij8gX%2Ba85hdM2vFHZHI1xjI%2FanZZRwHsND%2FG7tJrlDRLIe78TrHMRT%2BKv3joDO1rGIRYLekVKMlnBbPiXWuuYSIi; secure; HttpOnly; domain=box.user.nl; path=/"), QNetworkCookie("oc0se6n0vcqb=m2clco10srtqr4p50tdbgacfn6; secure; HttpOnly; domain=box.user.nl; path=/"))
12-30 13:37:10:931 [ info sync.networkjob ]:	OCC::PropfindJob created for "https://box.user.nl" + "/" "OCC::QuotaInfo"
12-30 13:37:10:998 [ info sync.networkjob.propfind ]:	PROPFIND of QUrl("https://box.user.nl/remote.php/dav/files/daan/") FINISHED WITH STATUS "OK"
12-30 13:37:10:998 [ debug sync.networkjob ]	[ OCC::AbstractNetworkJob::slotFinished ]:	Network job OCC::PropfindJob finished for "/"
12-30 13:37:11:862 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:37:13:862 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
12-30 13:37:15:865 [ warning gui.folderwatcher ]:	Failed to create handle for "C:/Users/xxx/ownCloud/" , error: 5
  1. Web server error log:

None

  1. Server logfile: ownCloud log (data/owncloud.log):
{"reqId":"ukuhNZw5OXL5QJgvMoaV","level":4,"time":"2019-12-16T17:02:46+01:00","remoteAddr":"144.91.70.81","user":"willie","app":"webdav","method":"MKCOL","url":"\/remote.php\/dav\/files\/willie\/1.%20Foto,s\/Afrika%202016\/","message":"Exception: HTTP\/1.1 405 The resource you tried to create already exists: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\MethodNotAllowed\",\"Message\":\"The resource you tried to create already exists\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/html\\\/box\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(586): Sabre\\\\DAV\\\\Server->createCollection('files\\\/willie\\\/1....', Object(Sabre\\\\DAV\\\\MkCol))\\n#1 \\\/var\\\/www\\\/html\\\/box\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/WildcardEmitterTrait.php(96): Sabre\\\\DAV\\\\CorePlugin->httpMkcol(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#2 \\\/var\\\/www\\\/html\\\/box\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(464): Sabre\\\\DAV\\\\Server->emit('method:MKCOL', Array)\\n#3 \\\/var\\\/www\\\/html\\\/box\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(241): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/html\\\/box\\\/apps\\\/dav\\\/lib\\\/Server.php(326): Sabre\\\\DAV\\\\Server->start()\\n#5 \\\/var\\\/www\\\/html\\\/box\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#6 \\\/var\\\/www\\\/html\\\/box\\\/remote.php(165): require_once('\\\/var\\\/www\\\/html\\\/b...')\\n#7 {main}\",\"File\":\"\\\/var\\\/www\\\/html\\\/box\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php\",\"Line\":1181}"}
{"reqId":"cRtoctvaGphifzWOoYQa","level":4,"time":"2019-12-16T17:02:46+01:00","remoteAddr":"144.91.70.81","user":"willie","app":"webdav","method":"MKCOL","url":"\/remote.php\/dav\/files\/willie\/1.%20Foto,s\/Compleet%20foto%27s%20familiegeschiedenis\/laatste%20info%20stamboom\/","message":"Exception: HTTP\/1.1 405 The resource you tried to create already exists: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\MethodNotAllowed\",\"Message\":\"The resource you tried to create already exists\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/html\\\/box\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(586): Sabre\\\\DAV\\\\Server->createCollection('files\\\/willie\\\/1....', Object(Sabre\\\\DAV\\\\MkCol))\\n#1 \\\/var\\\/www\\\/html\\\/box\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/WildcardEmitterTrait.php(96): Sabre\\\\DAV\\\\CorePlugin->httpMkcol(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#2 \\\/var\\\/www\\\/html\\\/box\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.^C