Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Unsupported WebDAV URL format #8

Open
Riccardomirto opened this issue Feb 28, 2020 · 10 comments
Open

Unsupported WebDAV URL format #8

Riccardomirto opened this issue Feb 28, 2020 · 10 comments

Comments

@Riccardomirto
Copy link

Hi, running nextcloud 18 on a hosted webserver, using Joplin on mac ios and android and love it - trying to share notes from mac I get error:

The Joplin Nextcloud App is either not installed or misconfigured. Please see the full error message below:
Unsupported WebDAV URL format: https://www.mysite.ext/nextcloud/remote.php/dav/files/admin/Joplin_Notes

Joplin Sync config on mac is set to Nextcloud (not webdav) and saving reading notes work fine on all 3 devices.

Thanks

@laurent22
Copy link
Owner

Joplin expects the URL to be .../remote.php/webdav/... but you have .../remote.php/dav/.... Did they change the URL format in Nextcloud 18?

@Riccardomirto
Copy link
Author

I do not know, I installed nextcloud as a webapp from my hosting provider, was not a manual installation. The webdav link is what nextcloud gives me as predefined - I only added the joplin folder name at the end. notes sync works on all devices, only when I try to call API for note sharing I get error. not sure I can change it seems no options in nextcloud UI to do it

@Riccardomirto
Copy link
Author

Riccardomirto commented Feb 28, 2020

from V18.0.1 documentation
image

@nezuky
Copy link

nezuky commented Mar 27, 2020

This is also an issue with the Nextcloud 17.0.3 Snap package, Nextcloud defaults to using remote.php/dav, not remote.php/webdav.

Joplin can sync if /dav is set, but then the Nextcloud app API will not work. Setting the link to /webdav allows the API to work, but Sync is now broken.

@nezuky
Copy link

nezuky commented Mar 27, 2020

I believe setting $s = explode('remote.php/webdav', $url); to $s = explode('remote.php/dav', $url); in public function pathFromWebDavUrl in SyncTargetModel.php would correct this issue.

Or have it look for both /webdav and /dav to not break working configurations.

@Jeanoo
Copy link

Jeanoo commented Apr 21, 2020

I use nextcloud 18 and I have remote.php/dav

@JediBrooker
Copy link

I'm also experiences the same problem. I tried editing SyncTargetModel.php but I still get the error.

@openwrtledediy
Copy link

same here, waiting for fix...

@davidszp
Copy link

Same problem. Syncing via WebDAV works fine but trying to share a note gives the above error message. Using Nextcloud 18.0.4

@2bein
Copy link

2bein commented Dec 11, 2020

Is it going to be fixed? No pressure, I just love Nextcloud and discovered Joplin, only missing to share notes with my family... Does updating Nextcloud help (still on 18.x)?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants