# Nexctcloud Sync error

**URL:** <https://discourse.joplinapp.org/t/nexctcloud-sync-error/34179>\
**Category:** Support\
**Created:** [8 December 2023 07:36 UTC](https://discourse.joplinapp.org/t/nexctcloud-sync-error/34179 "2023-12-08T07:36:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Isaac](https://avatars.discourse-cdn.com/v4/letter/i/8e8cbc/32.png) [@Isaac](https://discourse.joplinapp.org/u/Isaac)\
**Post date:** [8 December 2023 07:36 UTC](https://discourse.joplinapp.org/t/nexctcloud-sync-error/34179/1 "2023-12-08T07:36:00Z")

</div>

### Operating system

Windows

### Joplin version

2.13.8

### Desktop version info

Joplin 2.13.8 (prod, win32)

Client-ID: 90ece6040967446ab8ee5518336eb08f  
Sync-Version: 3  
Profil-Version: 44  
Unterstützter Schlüsselbund: Ja

Revision: 604dcbc

### Sync target

Nextcloud

### What issue do you have?

I can't synchronize my notes with my nextcloud server - after adding my nextcloud webdav URL (e.g. "h-t-t-p-s - cloud - mydomain - de/remote.php/dav/files/myuser/Joplin-Database", username and password Joplin tells me: Success! Synchronization configuration appears to be correct.  
But when I click the synchronize button I get these error(s):

```auto
2023-12-08 08:16:54: Synchronizer: "Req 08:16:36: MKCOL https://cloud.mydomain.de/remote.php/dav/files/myusername/Joplin-Database/.sync/ {"headers":{"Authorization":" ********","Cache-Control":"no-store","If-None-Match":"JoplinIgnore-28560","User-Agent":"Joplin/1.0"},"ignoreTlsErrors":false,"timeout":120000,"maxRetry":0}"
2023-12-08 08:16:54: Synchronizer: "Res 08:16:36: <!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<title>Page Not Found</title>
....
2023-12-08 08:16:54: Synchronizer: "Req 08:16:36: MKCOL https://cloud.mydomain.de/remote.php/dav/files/myusername/Joplin-Database/.resource/ {"headers":{"Authorization":" ********","Cache-Control":"no-store","If-None-Match":"JoplinIgnore-2554","User-Agent":"Joplin/1.0"},"ignoreTlsErrors":false,"timeout":120000,"maxRetry":0}"
2023-12-08 08:16:54: Synchronizer: "Res 08:16:36: <!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<title>Page Not Found</title>
....

```

see detailed log attached.

I have no problem adding the same webdav url into my win10 file explorer - I get a new drive letter there and can add a new file for example in that Joplin-Database folder.

After the Joplin sync try I have also two new folders (locks/ and temp/) in there - but nothing more.

I did also a curl Test in a terminal to add a new directory:

```bash
# curl -u myusername:pass -X MKCOL "https://cloud.mydomain.de/remote.php/dav/files/myusername/$(date '+%d-%b-%Y')"

```

The new folder was created without any problem.  
I don't have any experience with webdav but what looks a little strange to me with these curl commands, I can make folders when I use 'bash commands as folder names', e.g.

```bash
# curl -u myusername:pass -X MKCOL "https://cloud.mydomain.de/remote.php/dav/files/myusername/$(echo 'foo')"

```

but when I do

```bash
# curl -u myusername:pass -X MKCOL "https://cloud.mydomain.de/remote.php/dav/files/myusername/foooo)"

```

This "foooo" folder is not there in my nextcloud (but I don't get any error in the terminal also)!? 🤔

### Log file

[log.txt](https://discourse.joplinapp.org/uploads/short-url/plnrzIaCYfmGSer1RTbTAMmmIu4.txt) (37.7 KB)

---

<div class="post-metadata">

**Author:** ![JackGruber](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jackgruber/32/3231_2.png) [@JackGruber](https://discourse.joplinapp.org/u/JackGruber)\
**Post date:** [8 December 2023 11:41 UTC](https://discourse.joplinapp.org/t/nexctcloud-sync-error/34179/2 "2023-12-08T11:41:29Z")

</div>

I have no Nextcloud, but I think the problem are the folders starting with a `.` (dot).  
Possible a setting may prevent these from being accessible via WebDav.

---

<div class="post-metadata">

**Author:** ![Isaac](https://avatars.discourse-cdn.com/v4/letter/i/8e8cbc/32.png) [@Isaac](https://discourse.joplinapp.org/u/Isaac)\
**Post date:** [8 December 2023 13:29 UTC](https://discourse.joplinapp.org/t/nexctcloud-sync-error/34179/3 "2023-12-08T13:29:36Z")

</div>

Ok - I think I've got it working now by changing the **proxy template (nginx)** in HestiaCP from 'default' to **owncloud** 👍

![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/e/9/e9787238cc3017bdbe08cc8553f2864291844191.png)

---

<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:** [7 January 2024 13:30 UTC](https://discourse.joplinapp.org/t/nexctcloud-sync-error/34179/4 "2024-01-07T13:30:25Z")

</div>

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