You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prerequisite: I have a self-hosted nextcloud instance running, that is accessible via files.mydomain.com and anotherdomain.com. I was using the command-line calls as described below for many weeks without problems. After upgrading from NC 11 to NC 13 via NC 12, the command line clients don't download any files anymore.
The GUI clients still work, including an Ubuntu-based Owncloud client as well as my Android client.
Steps:
Create a folder "Test" inside nextcloud root-folder for user
Create a file named "hello-world.txt" inside the "Test" folder
Double check that file is accessible via nextcloud gui client etc.
All four tests should not fail, i.e., the client should download the hello-world.txt file.
Actual behaviour
Files are not downloaded. See log files:
02-15 10:02:23:518 [ info sync.accessmanager ]: 2 "" "https://files.mydomain.com/ocs/v1.php/cloud/capabilities?format=json" has X-Request-ID "2c674aea-ec8d-4613-b7eb-9828805cd81d"
02-15 10:02:23:519 [ info sync.networkjob ]: OCC::JsonApiJob created for "https://files.mydomain.com" + "ocs/v1.php/cloud/capabilities" ""
02-15 10:02:24:543 [ info sync.networkjob.jsonapi ]: JsonApiJob of QUrl("https://files.mydomain.com/ocs/v1.php/cloud/capabilities?format=json") FINISHED WITH STATUS QNetworkReply::NetworkError(NoError) ""
02-15 10:02:24:544 [ info sync.clientproxy ]: Set proxy configuration to use system configuration
02-15 10:02:24:544 [ info sync.engine ]: There are 13137354752 bytes available at "/tmp/oc-test/"
02-15 10:02:24:544 [ info sync.engine ]: New sync (no sync journal exists)
02-15 10:02:24:544 [ info sync.engine ]: "Using Qt 5.6.2 SSL library OpenSSL 1.0.2g 1 Mar 2016 on Ubuntu 17.10"
02-15 10:02:24:545 [ info sync.database ]: sqlite3 version "3.19.3"
02-15 10:02:24:545 [ info sync.database ]: sqlite3 journal_mode= "wal"
02-15 10:02:24:560 [ info sync.database ]: possibleUpgradeFromMirall_1_5 detected!
02-15 10:02:24:567 [ info sync.database ]: Forcing remote re-discovery by deleting folder Etags
02-15 10:02:24:568 [ info sync.engine ]: NOT Using Selective Sync
02-15 10:02:24:568 [ info sync.engine ]: #### Discovery start ####################################################
02-15 10:02:24:568 [ info sync.engine ]: Server ""
02-15 10:02:24:569 [ info sync.accessmanager ]: 6 "PROPFIND" "https://files.mydomain.com/remote.php/dav/files/username/Test" has X-Request-ID "2a507f38-6e41-44af-a691-ec0db7b4876b"
02-15 10:02:24:569 [ info sync.networkjob ]: OCC::LsColJob created for "https://files.mydomain.com" + "/Test" "OCC::DiscoverySingleDirectoryJob"
02-15 10:02:25:360 [ warning sync.networkjob ]: QNetworkReply::NetworkError(ContentNotFoundError) "Server replied \"404 Not Found\" to \"PROPFIND https://files.mydomain.com/remote.php/dav/files/username/Test\"" QVariant(int, 404)
02-15 10:02:25:360 [ info sync.networkjob.lscol ]: LSCOL of QUrl("https://files.mydomain.com/remote.php/dav/files/username/Test") FINISHED WITH STATUS QNetworkReply::NetworkError(ContentNotFoundError) "Server replied \"404 Not Found\" to \"PROPFIND https://files.mydomain.com/remote.php/dav/files/username/Test\""
02-15 10:02:25:360 [ warning sync.discovery ]: LSCOL job error "Error transferring https://files.mydomain.com/remote.php/dav/files/username/Test - server replied: Not Found" 404 QNetworkReply::NetworkError(ContentNotFoundError)
02-15 10:02:25:360 [ warning sync.engine ]: ERROR during csync_update : "CSync failed to access "
02-15 10:02:25:361 [ info sync.database ]: Closing DB "/tmp/oc-test/._sync_3e02db10375e.db"
02-15 10:02:25:376 [ info sync.engine ]: CSync run took 807 ms
02-15 10:02:25:376 [ info sync.database ]: Closing DB "/tmp/oc-test/._sync_3e02db10375e.db"
/tmp/oc-test
/tmp/oc-test/._sync_3e02db10375e.db
test for domain 'files.mydomain.com' with client 'owncloudcmd': failure
test for domain 'files.mydomain.com' with client 'nextcloudcmd': failure
02-15 10:02:26:712 [ info sync.accessmanager ]: 2 "" "https://anotherdomain.com/ocs/v1.php/cloud/capabilities?format=json" has X-Request-ID "a38ca35f-f7a5-49bd-8a3c-24e63aa498e7"
02-15 10:02:26:713 [ info sync.networkjob ]: OCC::JsonApiJob created for "https://anotherdomain.com" + "ocs/v1.php/cloud/capabilities" ""
02-15 10:02:27:407 [ info sync.networkjob.jsonapi ]: JsonApiJob of QUrl("https://anotherdomain.com/ocs/v1.php/cloud/capabilities?format=json") FINISHED WITH STATUS QNetworkReply::NetworkError(NoError) ""
02-15 10:02:27:408 [ info sync.clientproxy ]: Set proxy configuration to use system configuration
02-15 10:02:27:408 [ info sync.engine ]: There are 13137354752 bytes available at "/tmp/oc-test/"
02-15 10:02:27:408 [ info sync.engine ]: New sync (no sync journal exists)
02-15 10:02:27:408 [ info sync.engine ]: "Using Qt 5.6.2 SSL library OpenSSL 1.0.2g 1 Mar 2016 on Ubuntu 17.10"
02-15 10:02:27:409 [ info sync.database ]: sqlite3 version "3.19.3"
02-15 10:02:27:409 [ info sync.database ]: sqlite3 journal_mode= "wal"
02-15 10:02:27:423 [ info sync.database ]: possibleUpgradeFromMirall_1_5 detected!
02-15 10:02:27:429 [ info sync.database ]: Forcing remote re-discovery by deleting folder Etags
02-15 10:02:27:429 [ info sync.engine ]: NOT Using Selective Sync
02-15 10:02:27:429 [ info sync.engine ]: #### Discovery start ####################################################
02-15 10:02:27:429 [ info sync.engine ]: Server ""
02-15 10:02:27:430 [ info sync.accessmanager ]: 6 "PROPFIND" "https://anotherdomain.com/remote.php/dav/files/username/Test" has X-Request-ID "8eada83e-958d-421a-99f7-f5d5a43cfe82"
02-15 10:02:27:431 [ info sync.networkjob ]: OCC::LsColJob created for "https://anotherdomain.com" + "/Test" "OCC::DiscoverySingleDirectoryJob"
02-15 10:02:28:025 [ warning sync.networkjob ]: QNetworkReply::NetworkError(ContentNotFoundError) "Server replied \"404 Not Found\" to \"PROPFIND https://anotherdomain.com/remote.php/dav/files/username/Test\"" QVariant(int, 404)
02-15 10:02:28:025 [ info sync.networkjob.lscol ]: LSCOL of QUrl("https://anotherdomain.com/remote.php/dav/files/username/Test") FINISHED WITH STATUS QNetworkReply::NetworkError(ContentNotFoundError) "Server replied \"404 Not Found\" to \"PROPFIND https://anotherdomain.com/remote.php/dav/files/username/Test\""
02-15 10:02:28:025 [ warning sync.discovery ]: LSCOL job error "Error transferring https://anotherdomain.com/remote.php/dav/files/username/Test - server replied: Not Found" 404 QNetworkReply::NetworkError(ContentNotFoundError)
02-15 10:02:28:025 [ warning sync.engine ]: ERROR during csync_update : "CSync failed to access "
02-15 10:02:28:025 [ info sync.database ]: Closing DB "/tmp/oc-test/._sync_c74d5f875239.db"
02-15 10:02:28:038 [ info sync.engine ]: CSync run took 609 ms
02-15 10:02:28:039 [ info sync.database ]: Closing DB "/tmp/oc-test/._sync_c74d5f875239.db"
/tmp/oc-test
/tmp/oc-test/._sync_c74d5f875239.db
test for domain 'anotherdomain.com' with client 'owncloudcmd': failure
I found the reason.
Apparently the username-part used in the WebDAV path of the request is now case-sensitive. On the file system my account's subfolder was /files/Username/ even though I login with 'username' all-lowercase all the time. The casing was not relevant for the client-connection in NX11.
Steps to reproduce
Prerequisite: I have a self-hosted nextcloud instance running, that is accessible via files.mydomain.com and anotherdomain.com. I was using the command-line calls as described below for many weeks without problems. After upgrading from NC 11 to NC 13 via NC 12, the command line clients don't download any files anymore.
The GUI clients still work, including an Ubuntu-based Owncloud client as well as my Android client.
Steps:
Expected behaviour
All four tests should not fail, i.e., the client should download the hello-world.txt file.
Actual behaviour
Files are not downloaded. See log files:
test for domain 'files.mydomain.com' with client 'owncloudcmd': failure
test for domain 'files.mydomain.com' with client 'nextcloudcmd': failure
test for domain 'anotherdomain.com' with client 'owncloudcmd': failure
test for domain 'anotherdomain.com' with client 'nextcloudcmd': failure
Server configuration
Operating system: Ubuntu 17.10
Web server: apache2 2.4.18
Database: postgresql 9.5
PHP version: php 7.0
Nextcloud version: 13.0.0.14
Updated from an older Nextcloud/ownCloud or fresh install:
Updated from 11 via 12
Where did you install Nextcloud from: https://nextcloud.com/install/ manually installed
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
The text was updated successfully, but these errors were encountered: