DEV Community

Cover image for Configure Joplin to work with ownCloud Infinite Scale (oCIS)
Artur Neumann for JankariTech

Posted on

Configure Joplin to work with ownCloud Infinite Scale (oCIS)

I love to use Joplin to organize my notes. To synchronize the notes between different devices I have so far used the WebDAV sync option together with ownCloud 10. Now oCIS (ownCloud Infinite Scale) is the new cool kid in the cloud storage space and I would like to use it for syncing of Joplin.

Similar to ownCloud 10, oCIS offers a WebDAV API, but it has disabled basic-auth by default and the docs discourage using it in production. Instead, oCIS implements the OIDC workflow for authentication. I tried to get the OIDC authentication into Joplin, but sadly my PR for that was refused.

The workaround is the "Share via link" function of oCIS. The generated links support basic-auth by default. (Don't fear your notes will still be very private).

  1. create a folder in oCIS (I've called it joplin)
  2. click on the "Add people" button of that folder, that will bring you to the sharing functions
  3. you should see the "Share via link" function
  4. create a new link
  5. change the permissions to "Anyone with the link can edit"
  6. additionally set a password password
  7. to configure Joplin, open its synchronisation settings and:
    1. select "WebDAV" as "Synchronisation target"
    2. copy the whole link URL into "WebDAV URL"
    3. take the last bit of the link URL (everything after the last /) as "WebDAV username" joplin settings
    4. add your password into the "WebDAV password" field

DONE!

To access your notes, one would need to know the random link AND your self selected password - so it should be pretty safe.
You could even have a different link, with a different password for every device you are using, so if you lose one device you would only have to delete that link to stop further syncing.

Top comments (0)