Closed gabi18 closed 3 years ago
So far I couldn't find the reason in logfile. Will investigate further.
Also seen with ownCloud-2.9.0-daily20210520.4185.AppImage.
Additional logging in src/gui/selectivesyncdialog.cpp, line 222 shows that list.size() = 0.
if (!root && list.size() <= 1) {
qCWarning(lcSelSync) << "LIST SIZE" << list.size();
_loading->setText(tr("No subfolders currently on the server."));
_loading->resize(_loading->sizeHint()); // because it's not in a layout
return;
}
...
05-20 17:38:20:837 [ info sync.httplogger ]: "bad10d3c-d5d9-4323-8eb5-06450621f70f: Response: PROPFIND 207 https://demo.owncloud.org/remote.php/dav/files/demo/ Header: { Cache-Control: no-store, no-cache, must-revalidate, Content-Length: 1621, Content-Security-Policy: default-src 'none';, Content-Type: application/xml; charset=utf-8, Date: Thu, 20 May 2021 15:38:20 GMT, Dav: 1, 3, extended-mkcol, 2, Expires: Thu, 19 Nov 1981 08:52:00 GMT, Pragma: no-cache, Referrer-Policy: strict-origin-when-cross-origin, Server: Apache, Strict-Transport-Security: max-age=315360000; preload, Vary: Brief,Prefer, X-Content-Type-Options: nosniff, X-Download-Options: noopen, X-Frame-Options: SAMEORIGIN, X-Permitted-Cross-Domain-Policies: none, X-Robots-Tag: none, X-Xss-Protection: 0, } Data: [<?xml version=\"1.0\"?>\n<d:multistatus xmlns:d=\"DAV:\" xmlns:s=\"http://sabredav.org/ns\" xmlns:oc=\"http://owncloud.org/ns\"><d:response><d:href>/remote.php/dav/files/demo/</d:href><d:propstat><d:prop><d:resourcetype><d:collection/></d:resourcetype><oc:size>7567758</oc:size></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/files/demo/Documents/</d:href><d:propstat><d:prop><d:resourcetype><d:collection/></d:resourcetype><oc:size>36227</oc:size></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/files/demo/Photos/</d:href><d:propstat><d:prop><d:resourcetype><d:collection/></d:resourcetype><oc:size>1011464</oc:size></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/files/demo/Teste1.xlsx</d:href><d:propstat><d:prop><d:resourcetype/><oc:size>11561</oc:size></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/files/demo/Text%20File.txt</d:href><d:propstat><d:prop><d:resourcetype/><oc:size>2</oc:size></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/files/demo/ownCloud%20Manual.pdf</d:href><d:propstat><d:prop><d:resourcetype/><oc:size>6498656</oc:size></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/files/demo/teste2.xlsx</d:href><d:propstat><d:prop><d:resourcetype/><oc:size>9848</oc:size></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus>\n]"
05-20 17:38:20:837 [ info sync.networkjob.lscol ]: LSCOL of QUrl("https://demo.owncloud.org/remote.php/dav/files/demo/") FINISHED WITH STATUS "OK"
05-20 17:38:20:838 [ warning gui.selectivesync ]: LIST SIZE 0
05-20 17:38:20:839 [ debug sync.networkjob ] [ OCC::AbstractNetworkJob::slotFinished ]: Network job finished OCC::LsColJob("https://demo.owncloud.org/remote.php/dav/files/demo/", "bad10d3c-d5d9-4323-8eb5-06450621f70f", "bad10d3c-d5d9-4323-8eb5-06450621f70f")
Thx thats a good hint.
seen with master 2.9git
Choose 'Add account' and click "Choose what to sync" Result: Popup shows 'No subfolders currently on the server'
although folders are there