# Sync files with public link share on nextcloud does not work

**URL:** <https://forum.rclone.org/t/sync-files-with-public-link-share-on-nextcloud-does-not-work/41000>\
**Category:** Help and Support\
**Created:** [August 16, 2023, 7:10am UTC](https://forum.rclone.org/t/sync-files-with-public-link-share-on-nextcloud-does-not-work/41000 "2023-08-16T07:10:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarcelRueedi](https://forum.rclone.org/user_avatar/forum.rclone.org/marcelrueedi/32/16012_2.png) [@MarcelRueedi](https://forum.rclone.org/u/MarcelRueedi)\
**Post date:** [August 16, 2023, 7:10am UTC](https://forum.rclone.org/t/sync-files-with-public-link-share-on-nextcloud-does-not-work/41000/1 "2023-08-16T07:10:41Z")

</div>

#### What is the problem you are having with rclone?

I'm trying to follow this how to guide : [Sync files with public link share on nextcloud](https://forum.rclone.org/t/sync-files-with-public-link-share-on-nextcloud/39427).  
so I have a public share link  
_[https://example.com/s/7bqWt4fWXbwkzKz](https://example.com/s/7bqWt4fWXbwkzKz)_

But I can't sync the way as it is shown in the how to.

#### Run the command 'rclone version' and share the full output of the command.

```auto
rclone v1.63.1
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.15.90.1-microsoft-standard-WSL2 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.6
- go/linking: static
- go/tags: none

```

#### Which cloud storage system are you using? (eg Google Drive)

Nextcloud

#### The command you were trying to run (eg `rclone copy /tmp remote:tmp`)

```auto
rclone sync --webdav-url=https://example.com/public.php/webdav --webdav-user=7bqWt4fWXbwkzKz --webdav-vendor=nextcloud :webdav: . -n
2023/08/15 17:15:21 Failed to create file system for ":webdav:": the remote url looks incorrect. Note that nextcloud chunked uploads require you to use the /dav/files/USER endpoint instead of /webdav. Please check 'rclone config show remotename' to verify that the url field ends in /dav/files/USERNAME

```

#### The rclone config contents with secrets removed.

```auto

```

#### A log from the command with the `-vv` flag

```auto
2023/08/16 08:51:45 DEBUG : rclone: Version "v1.63.1" starting with parameters ["./rclone" "sync" "--webdav-url=https://cloud.karakun.com/public.php/webdav" "--webdav-user=6bqWt4fWXbwkzKa" "--webdav-vendor=nextcloud" ":webdav:" "." "-n" "-vv"]
2023/08/16 08:51:45 DEBUG : Creating backend with remote ":webdav:"
2023/08/16 08:51:45 DEBUG : Using config file from "/home/marcel/.config/rclone/rclone.conf"
2023/08/16 08:51:45 DEBUG : :webdav: detected overridden config - adding "{8wGJI}" suffix to name
2023/08/16 08:51:45 DEBUG : found headers:
2023/08/16 08:51:45 Failed to create file system for ":webdav:": the remote url looks incorrect. Note that nextcloud chunked uploads require you to use the /dav/files/USER endpoint instead of /webdav. Please check 'rclone config show remotename' to verify that the url field ends in /dav/files/USERNAME

```

Any help would be much appreciated.

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [August 17, 2023, 4:18pm UTC](https://forum.rclone.org/t/sync-files-with-public-link-share-on-nextcloud-does-not-work/41000/2 "2023-08-17T16:18:28Z")

</div>

> [@MarcelRueedi](#):
>
> `2023/08/15 17:15:21 Failed to create file system for ":webdav:": the remote url looks incorrect. Note that nextcloud chunked uploads require you to use the /dav/files/USER endpoint instead of /webdav. Please check 'rclone config show remotename' to verify that the url field ends in /dav/files/USERNAME`

Did you try switching out the URL per the recommendation there?

---

<div class="post-metadata">

**Author:** ![MarcelRueedi](https://forum.rclone.org/user_avatar/forum.rclone.org/marcelrueedi/32/16012_2.png) [@MarcelRueedi](https://forum.rclone.org/u/MarcelRueedi)\
**Post date:** [August 17, 2023, 4:56pm UTC](https://forum.rclone.org/t/sync-files-with-public-link-share-on-nextcloud-does-not-work/41000/3 "2023-08-17T16:56:10Z")

</div>

I did then I get  
Attempt 3/3 failed with 1 errors and: directory not found

I followed the how to - that is the URL like it is in the howto - and also like it is documented in the nextcloud manual (see the link in the how to).  
I'm also able to mount it as a drive in windows using this URL and the user.

Ok now I checked the release notes -  
in 1.63.0  
nextcloud: Add support for chunked uploads  
and 1.63.1  
Nextcloud: fix must use /dav/files/USER endpoint not /webdav error

So I tried with 1.62.2 - and it worked !

Thanks

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [August 17, 2023, 5:00pm UTC](https://forum.rclone.org/t/sync-files-with-public-link-share-on-nextcloud-does-not-work/41000/4 "2023-08-17T17:00:27Z")

</div>

It's fixed in the latest beta if you want to try that.

Found the issue related to it:

> <https://github.com/rclone/rclone/issues/7199>
>
> \#### The associated forum post URL from \`https://forum.rclone.org\`
> 
> 
> \#### Wha…t is the problem you are having with rclone?
> About one month ago, i can connect from my Manjaro desktop with my transip / stackstorage cloud with rclone.
> From my Ubuntu server 22.04 i still can connect to this cloud with rclone. But with the newer version of rclone on my desktop i got this error:
> \`\`\`Failed to create file system for "transip:": the remote url looks incorrect. Note that nextcloud chunked uploads require you to use the /dav/files/USER endpoint instead of /webdav. Please check 'rclone config show remotename' to verify that the url field ends in /dav/files/USERNAME\`\`\`
> 
> When i test the url direct in browser (https://mydomain.stack.storage/remote.php/webdav) i get an OK.
> And also for: https://mydomain.stack.storage/remote.php/dav/files/technout i get an OK.
> Username and password are not changed en no config file was changed by me. But after this i did some testing, delete the transip entrance and added it again, but no luck, same error.
> 
> I hope i've given enough information to be helpful, and thanks for maintaining this cool project!
> 
> \#### What is your rclone version (output from \`rclone version\`)
> rclone v1.63.1 (Manajaro)
> \- os/version: arch "23.0.0" (64 bit)
> \- os/kernel: 6.1.38-1-MANJARO (x86\_64)
> \- os/type: linux
> \- os/arch: amd64
> \- go/version: go1.20.6
> \- go/linking: static
> \- go/tags: none
> 
> Ubuntu rclone version (is working good with this same config of transip)
> rclone v1.58.1
> \- os/version: ubuntu 22.04 (64 bit)
> \- os/kernel: 5.15.0-72-generic (x86\_64)
> \- os/type: linux
> \- os/arch: amd64
> \- go/version: go1.17.9
> \- go/linking: static
> \- go/tags: none
> 
> 
> \#### Which OS you are using and how many bits (e.g. Windows 7, 64 bit)
> 6.1.38-1-MANJARO (x86\_64)
> 
> 
> \#### Which cloud storage system are you using? (e.g. Google Drive)
> Webdav / Nextcloud / TransIP
> 
> 
> \#### The command you were trying to run (e.g. \`rclone copy /tmp remote:tmp\`)
> sudo rclone lsd transip: -vv
> 
> 
> \#### A log from the command with the \`-vv\` flag (e.g. output from \`rclone -vv copy /tmp remote:tmp\`)
> 2023/08/01 21:38:36 DEBUG : rclone: Version "v1.63.1" starting with parameters \["rclone" "lsd" "transip:" "-vv"\]
> 2023/08/01 21:38:36 DEBUG : Creating backend with remote "transip:"
> 2023/08/01 21:38:36 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
> 2023/08/01 21:38:36 DEBUG : found headers: 
> 2023/08/01 21:38:36 Failed to create file system for "transip:": the remote url looks incorrect. Note that nextcloud chunked uploads require you to use the /dav/files/USER endpoint instead of /webdav. Please check 'rclone config show remotename' to verify that the url field ends in /dav/files/USERNAME
> 
> sudo rclone config
> \[...\]
> Configuration complete.
> Options:
> \- type: webdav
> \- url: https://mydomain.stack.storage/remote.php/webdav
> \- vendor: nextcloud
> \- user: technout
> \- pass: \*\*\* ENCRYPTED \*\*\*
> 
> 
> 
> 
> \#### How to use GitHub
> 
> \* Please use the 👍 \[reaction\](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to show that you are affected by the same issue.
> \* Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
> \* Subscribe to receive notifications on status change and new comments.

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [September 16, 2023, 5:01pm UTC](https://forum.rclone.org/t/sync-files-with-public-link-share-on-nextcloud-does-not-work/41000/5 "2023-09-16T17:01:02Z")

</div>

Closed on September 16, 2023, 5:01pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
