Nexctcloud Sync error

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):

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:

# 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.

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

but when I do

# 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)!? :thinking:

Log file

log.txt (37.7 KB)

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.

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

image

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