# Sync error with self-hosted nextcloud

**URL:** <https://discourse.joplinapp.org/t/sync-error-with-self-hosted-nextcloud/35064>\
**Category:** Support\
**Created:** [8 January 2024 21:55 UTC](https://discourse.joplinapp.org/t/sync-error-with-self-hosted-nextcloud/35064 "2024-01-08T21:55:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thevirtualwebmaster](https://avatars.discourse-cdn.com/v4/letter/t/6bbea6/32.png) [@thevirtualwebmaster](https://discourse.joplinapp.org/u/thevirtualwebmaster)\
**Post date:** [8 January 2024 21:55 UTC](https://discourse.joplinapp.org/t/sync-error-with-self-hosted-nextcloud/35064/1 "2024-01-08T21:55:09Z")

</div>

### Operating system

Linux

### Joplin version

2.13.12

### Desktop version info

Joplin 2.13.12 (prod, darwin)

Client ID: f545e58d61fc4c23a4a7b31e4803619a  
Sync Version: 3  
Profile Version: 44  
Keychain Supported: Yes

Revision: e027cdc

### Sync target

Nextcloud

### What issue do you have?

I have just set up Nextcloud on a Cpanel and want to sync various clients starting with a Mac.

I am getting a sync error and I hope someone can help me understand the error and point me in the right direction.

I suspect the issue is the WebDAV URL

I set up Nextcloud on its own subdomain and this is the URL I supplied:  
XXXX ://nextcloud.(TLD)/remote.php/webdav/joplin

I suspect I have not created the joplin directory in the correct place. I went to files menu option on the nextcloud server and added it there:

XXXX ://nextcloud.(TLD)/index.php/apps/files/

Just confirmed that, saw a button "Check synchronisation configuration"  
and

Error. Please check that URL, username, password, etc. are correct and that the sync target is accessible. The reported error was:  
WebDAV directory not found: XXXX ://nextcloud(TLD).net/remote.php/webdav/joplin

Screenshots of the sync error and where it was created in the file system. I have looked around for where I should go.

I have also created a joplin directory in the nextcloud root  
and when that did not work I tried creating /webdav/joplin in the nextcloud root

Hope someone can point me in the right direction.

Thanks

---

<div class="post-metadata">

**Author:** ![Marph](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/marph/32/10800_2.png) [@Marph](https://discourse.joplinapp.org/u/Marph)\
**Post date:** [9 January 2024 19:52 UTC](https://discourse.joplinapp.org/t/sync-error-with-self-hosted-nextcloud/35064/2 "2024-01-09T19:52:10Z")

</div>

Maybe it's just about the capitalization. Could you try with `Joplin` at the URL and the folder?

Another guess is that the username is missing at your path. For me `https://<IP>/remote.php/dav/files/<user>/Joplin` works.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [8 February 2024 19:52 UTC](https://discourse.joplinapp.org/t/sync-error-with-self-hosted-nextcloud/35064/3 "2024-02-08T19:52:28Z")

</div>

Closed on 8 February 2024 19:52 UTC

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