405 response to Joplin sync

What is the problem you are having with rclone?

I'm using rclone serve webdav as the target on Joplin sync. The synchronise sometimes results in

Error with date & time
Updated remote items: 1.
Completed: 29/09/2026 13:40 (37s)
Last error: Error: PUT 193448bddb3c47718803aa31da07bcdf.md: Unknown error 2 (405): Method Not Allowed

Here is a link to the issue I raised at Joplin. https://discourse.joplinapp.org/t/webdav-error-on-sync/51081/4

The attached log covers the period around the completion date given above. It does not show a 405 response being sent to the client.

Run the command 'rclone version' and share the full output of the command.

rclone v1.76.0-beta.10313.e953cb275.fix-9882-serve-webdav
- os/version: ubuntu 24.04 (64 bit)
- os/kernel: 6.8.0-139-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.27.1
- go/linking: static
- go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Proton Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone serve webdav --vfs-cache-mode full --addr 192.168.18.11:8888 --user brian --pass *** Proton:

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[Proton]
type = protondrive
username = bdobby@pm.me
password = XXX
otp_secret_key = XXX
2fa = 5592689
client_uid = XXX
client_access_token = XXX
client_refresh_token = XXX
client_salted_key_pass = XXX

Service definition

brian@Trillian:~$ systemctl status rclone-proton-drive
● rclone-proton-drive.service - Rclone Proton Drive service
     Loaded: loaded (/etc/systemd/system/rclone-proton-drive.service; enabled; >
     Active: active (running) since Fri 2026-09-18 12:53:03 BST; 1 week 3 days >
   Main PID: 49194 (rclone-server)
      Tasks: 11 (limit: 18948)
     Memory: 36.3M (peak: 61.6M)
        CPU: 51min 50.975s
     CGroup: /system.slice/rclone-proton-drive.service
             ├─49194 /bin/bash /home/brian/bin/rclone-server
             └─49195 rclone serve webdav --dump curl -vv --addr 192.168.18.11:8>

A log from the command that you were trying to run with the -vv flag

Log

not sure, maybe this topic will help
https://forum.rclone.org/t/proton-drive-inconsistent-failures/53026

joplin doing PUT thru serve webdav onto protondrive throws 405 for me too sometimes. that backend gets weird on overwrite/move.

id keep joplin off serve webdav for proton:
-rclone mount Proton: /mnt/proton --vfs-cache-mode full
-point joplin at a folder under that mount
-or sync a local joplin dir up with rclone sync on a timer

if you wanna debug the serve path:
-rclone serve webdav Proton:joplin --vfs-cache-mode full -vv --dump headers
-watch if its PUT or MOVE that returns 405

Thanks for the advice, but some of the clients are Android; I don't think I can mount drives.

I changed the sever command as you suggested. Here are some observations from the attached log.

  1. At the time of the error, only one client was syncing, Linux desktop.
  2. The problem seems to be linked to a particular file : 193448bddb3c47718803aa31da07bcdf.md
  3. The client reports the error as: Error: PUT 193448bddb3c47718803aa31da07bcdf.md: Unknown error 2 (405): Method Not Allowed
  4. The log shows the file in question to be processed several times before a PUT method is reported for this file (line 1813 in the log).
  5. The log does not report a 405 error.
  6. The log does report an error on line 1812: "WriteFileHandle.New Rcat failed: a draft exist"

Log

I've deleted the file from Joplin and from Proton. Joplin now complains that it can find metadata but not content. That's my problem, not yours. :slight_smile:

android cant use a fuse mount yeah. for multi device joplin id keep proton off the serve path

-rclone sync a local folder to Proton:joplin on a timer
-point rclone serve webdav at that local folder
-linux + android joplin both hit the local webdav. proton only sees the sync

serve never talks to protondrive directly that way, which is where the 405 / draft exist mess shows up for me.

Thank you. I'll try that on Friday.

Solved
Thanks to @nite_route my problem is solved and my system simplified. Once I had set up rclone webdav pointed at a folder on my server, I realised that I didn't need to involve Proton at all. My 3 Joplin instances all sync through that folder.

Thank you

As FYI,

RSAF hosted on GitHub is a document provider for Rclone on Android.

You can connect to your SFTP server using RSAF and, assuming that your phone, no matter where it is, is VPNing into your home network, you can use file system syncing on Android.

RSAF is Rclone on Android. You can even import your config file so it reads all of your remotes that you have on your PC.

Thanks for the tip.