What is the problem you are having with rclone?
I am trying to connect to my personal Nextcloud server as a non-privileged user on my Alpine backup server. Whenever I try to do so, I receive the following error: ERROR : : error listing: couldn't list files: 405 Method Not Allowed
What version of rclone are you using?
rclone v1.69.3-DEV
- os/version: alpine 3.22.1 (64 bit)
- os/kernel: 6.12.38-0-rpi (aarch64)
- os/type: linux
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.24.7
- go/linking: dynamic
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Nextcloud.
The command you were trying to run
rclone sync --dry-run my-nextcloud: /home/zfs-user/mount/my-nextcloud
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[my-nextcloud]
type = webdav
url = https://nextcloud.myserver.com/dav/files/myuser
vendor = nextcloud
user = myuser
pass = [app password generated from Nextcloud security settings]
A log from the command that you were trying to run with the -vv
flag
/root $ rclone -vv sync --dry-run my-nextcloud: /home/zfs-user/mount/my-nextcloud
2025/09/29 20:55:21 DEBUG : rclone: Version "v1.69.3-DEV" starting with parameters ["rclone" "-vv" "sync" "--dry-run" "my-nextcloud:" "/home/zfs-user/mount/my-nextcloud"]
2025/09/29 20:55:21 DEBUG : Creating backend with remote "my-nextcloud:"
2025/09/29 20:55:21 DEBUG : Using config file from "/home/zfs-user/.config/rclone/rclone.conf"
2025/09/29 20:55:21 DEBUG : found headers:
2025/09/29 20:55:21 DEBUG : Chunks temporary upload directory: https://nextcloud.myserver.com/dav/uploads/myuser/
2025/09/29 20:55:21 DEBUG : Creating backend with remote "/home/zfs-user/mount/my-nextcloud"
2025/09/29 20:55:22 ERROR : webdav root '': error reading source root directory: couldn't list files: 405 Method Not Allowed
2025/09/29 20:55:22 DEBUG : Local file system at /home/zfs-user/mount/my-nextcloud: Waiting for checks to finish
2025/09/29 20:55:22 DEBUG : Local file system at /home/zfs-user/mount/my-nextcloud: Waiting for transfers to finish
2025/09/29 20:55:22 ERROR : Local file system at /home/zfs-user/mount/my-nextcloud: not deleting files as there were IO errors
2025/09/29 20:55:22 ERROR : Local file system at /home/zfs-user/mount/my-nextcloud: not deleting directories as there were IO errors
2025/09/29 20:55:22 ERROR : Attempt 1/3 failed with 1 errors and: couldn't list files: 405 Method Not Allowed
2025/09/29 20:55:22 ERROR : webdav root '': error reading source root directory: couldn't list files: 405 Method Not Allowed
2025/09/29 20:55:22 DEBUG : Local file system at /home/zfs-user/mount/my-nextcloud: Waiting for checks to finish
2025/09/29 20:55:22 DEBUG : Local file system at /home/zfs-user/mount/my-nextcloud: Waiting for transfers to finish
2025/09/29 20:55:22 ERROR : Local file system at /home/zfs-user/mount/my-nextcloud: not deleting files as there were IO errors
2025/09/29 20:55:22 ERROR : Local file system at /home/zfs-user/mount/my-nextcloud: not deleting directories as there were IO errors
2025/09/29 20:55:22 ERROR : Attempt 2/3 failed with 1 errors and: couldn't list files: 405 Method Not Allowed
2025/09/29 20:55:23 ERROR : webdav root '': error reading source root directory: couldn't list files: 405 Method Not Allowed
2025/09/29 20:55:23 DEBUG : Local file system at /home/zfs-user/mount/my-nextcloud: Waiting for checks to finish
2025/09/29 20:55:23 DEBUG : Local file system at /home/zfs-user/mount/my-nextcloud: Waiting for transfers to finish
2025/09/29 20:55:23 ERROR : Local file system at /home/zfs-user/mount/my-nextcloud: not deleting files as there were IO errors
2025/09/29 20:55:23 ERROR : Local file system at /home/zfs-user/mount/my-nextcloud: not deleting directories as there were IO errors
2025/09/29 20:55:23 ERROR : Attempt 3/3 failed with 1 errors and: couldn't list files: 405 Method Not Allowed
2025/09/29 20:55:23 NOTICE:
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 1.9s
2025/09/29 20:55:23 DEBUG : 5 go routines active
2025/09/29 20:55:23 NOTICE: Failed to sync: couldn't list files: 405 Method Not Allowed
Additional information
I’ve tried every answer I can find to this online. I can’t use this solution, because then I get the error where it insists the URL format should be mydomain.tld/dav/files/myuser
. I’ve tried regenerating the app password, I’ve tried using my account;s user password just in case, I’ve deleted the config more times than I can count and started over.
I’ve made certain the that target local directory is owned by zfs-user. This worked perfectly fine yesterday running as root, which I also just tried again with the same result. Apparently I deleted the magic config required to make this work, and now I can’t remember how to recreate it.