nextcloud-client-docker icon indicating copy to clipboard operation
nextcloud-client-docker copied to clipboard

Error when syncing custom subfolder on Nextcloud server

Open jeritiana opened this issue 4 years ago • 0 comments

Syncing a remote custom subfolder does not work (anymore) by providing a webdav path in $NC_URL. See current README.md.

I tried with

  • https://cloud.example.com/remote.php/webdav/path/to/custom/dir
  • https://cloud.example.com/remote.php/dav/files/username/path/to/custom/dir

Here is the produced error:

nextcloud-client    | 12-06 08:56:11:462 [ warning default ]:   Dav or webdav in server URL.
nextcloud-client    | Error! Please specify only the base URL of your host with username and password. Example:
nextcloud-client    | http(s)://username:[email protected]

It works when using the nextcloudcmd parameter --path.

This issue is submitted with PR #12.

Tested with the following configuration:

  • Nextcloud server version 22.2.3.0
  • nextcloudcmd:
    $ nextcloudcmd --version
    Nextcloud version 3.3.5
    Git revision 0d9a6987ebb0040b34451e51f54121dbd339ddf8
    Using Qt 5.15.3, built against Qt 5.15.3
    Using 'OpenSSL 1.1.1l  24 Aug 2021'
    Running on Alpine Linux v3.15, x86_64
    

jeritiana avatar Dec 07 '21 08:12 jeritiana