Problem entering nextcloud info for synchronizing - Android

I ma using android phone and Joplin.

When trying to connect to my Nextcloud account, I get an error from Joplin and I can not log in:

PROPFIND: Unknown Error 2 (405): (Code 405)

URL, username an dpassword were all entered correctly.

Might you have an idea why this is happening?

Thanks

Joseph

Sounds like config problem on Nextcloud side. Can you connect with a regular WebDAV client like this one? https://winscp.net/eng/docs/introduction

Can you give me a similar webdav client name for Linux (Ubuntu)?

I do have the nextcloud client installed and it works fine.

Thanks

Joseph

Here is the response when I installed Joplin on my Ubuntu Joplin software install:

Created remote items: 1.

Completed: 16/12/2018 06:56

Last error: Error: PUT 1c85a4373a084d2bba3ccb14be9d0d7c.md: Unknown error 2 (404): <!DOCTYPE html> <html lang=“en-US” class=“no-js no-svg”> <head> <meta charset=“UTF-8”> <meta name=“viewport” content=“width=device-width, initial-scale=1”> <link rel=“profile” href=“http://gmpg.org/xfn/11”> <script>(function(html){html.className = html.className.replace(/\bno-js\b/,‘js’)})(document.documentElement);</script> <title>Page not found &#8211; Joes Space</title> <link rel=‘dns-prefetch’ href=’//fonts.googleapis.co

Seems like the similar error.

The best way to test webdav on the command line: cadaver WebDAV client

Btw, are you sure, you have entered the correct Nextcloud WebDAV API endpoint?

Hello

What do you mean by the correct "NextCloud WebDAV API endpoint?

I typed in the URL that points to my NC install.

That should be sufficient, but currently it isn’t. You need to supply the full path:

https://nchost/remote.php/webdav/path to the Joplin notes

1 Like

https://joplin.cozic.net/faq/#nextcloud-sync-is-not-working

  • Check your username and password. Type it manually (without copying and pasting it) and try again.
  • Check the WebDAV URL - to get the correct URL, go to Nextcloud and, in the left sidebar, click on “Settings” and copy the WebDAV URL from there. Do not forget to add the folder you’ve created to that URL . For example, if the base the WebDAV URL is “https://example.com/nextcloud/remote.php/webdav/” and you want the notes to be synced in the “Joplin” directory, you need to give the URL “https://example.com/nextcloud/remote.php/webdav/Joplinand you need to create the “Joplin” directory yourself .

https://joplin.cozic.net/#nextcloud-synchronisation

On the desktop application or mobile application , go to the config screen and select Nextcloud as the synchronisation target. Then input the WebDAV URL (to get it, click on Settings in the bottom left corner of the page, in Nextcloud), this is normally https://example.com/nextcloud/remote.php/webdav/Joplin ( make sure to create the “Joplin” directory in Nextcloud ), and set the username and password. If it does not work, please see this explanation for more details.

1 Like

Thanks to the both of you,

It is now up and running!!!

I will start exploring Joplin and slowly migrate to it with my notes and lists.

Thanks again

Joseph

This was very helpful, I'm running my own NextCloud and using an older version of Joplin in Windows 7 and I created a top level folder in my NextCloud instance and then I queried Nextcloud as to what the correct WebDav URL is and I used that to get synchronization for Joplin to work. I did have to add "/Joplin" to the URL that Nextcloud gave which looks to be the URL to my general account and was not folder specific, e.g. ".../Joplin". I appended the Joplin folder and verified in Nextcloud that all the files were being sequestered under the Joplin folder. The nuances of paths @tessus highlights was extremely helpful. Thank you!