Rclone to webdav fails with 409

What is the problem you are having with rclone?

uploading backups done by restic shall be uploaded by rclone to a webdav-space. this fails with error 409.

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

rclone v1.61.1

  • os/version: debian 11.6 (64 bit)
  • os/kernel: 5.15.74-1-pve (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.19.4
  • go/linking: static
  • go/tags: none

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

Bitrix24

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

rclone copy ../restic bitrix:a*** -vv  --low-level-retries 1 --retries 1 --check-first

The rclone config contents with secrets removed.

[bitrix]
type = webdav
url = https://a***.bitrix24.de/company/personal/user/1/disk/path/
vendor = other
user = a***@gmail.com
pass = w******************************6

A log from the command with the -vv flag

2023/01/28 09:40:17 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "copy" "../restic" "bitrix:agro" "-vv" "--low-level-retries" "1" "--retries" "1" "--check-first"]
2023/01/28 09:40:17 DEBUG : Creating backend with remote "../restic"
2023/01/28 09:40:17 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2023/01/28 09:40:17 DEBUG : fs cache: renaming cache item "../restic" to be canonical "/mnt/ssd500/restic"
2023/01/28 09:40:17 DEBUG : Creating backend with remote "bitrix:a***"
2023/01/28 09:40:17 DEBUG : found headers: 
2023/01/28 09:40:17 INFO  : webdav root 'a***': Running all checks before starting transfers
2023/01/28 09:40:17 DEBUG : backup-docs.sh: Sizes identical
2023/01/28 09:40:17 DEBUG : backup-docs.sh: Unchanged skipping
2023/01/28 09:40:17 DEBUG : webdav root 'agro': Waiting for checks to finish
2023/01/28 09:40:17 DEBUG : backup-nextcloud.sh: Sizes identical
2023/01/28 09:40:17 DEBUG : backup-restic.sh: Sizes identical
2023/01/28 09:40:17 DEBUG : backup-nextcloud.sh: Unchanged skipping
2023/01/28 09:40:17 DEBUG : backup-restic.sh: Unchanged skipping
2023/01/28 09:40:17 INFO  : webdav root 'a***': Checks finished, now starting transfers
2023/01/28 09:40:17 DEBUG : webdav root 'a***': Waiting for transfers to finish
2023/01/28 09:40:34 ERROR : restic: Failed to copy: 409 Conflict
2023/01/28 09:40:34 ERROR : Attempt 1/1 failed with 1 errors and: 409 Conflict
2023/01/28 09:40:34 INFO  : 
Transferred:   	   21.832 MiB / 21.832 MiB, 100%, 1.364 MiB/s, ETA 0s
Errors:                 1 (retrying may help)
Checks:                 3 / 3, 100%
Elapsed time:        17.3s

2023/01/28 09:40:34 DEBUG : 4 go routines active
2023/01/28 09:40:34 Failed to copy: 409 Conflict

the params --low-level-retries 1 --retries 1 --check-first were tried to solve the issue. but it doesn't.
tried a lot of things, but i can't get it to work.

Try --transfers 1

I have a memory that there is a problem with bitrix - try searching the forum and issues for clues.

yes, i found them already. but the fixes didn't work for me. it should have been fixed with rclone 1.55. so i hoped to get another hint about params that could help.

hi,
this issue is not an restic issue. it was caused by webdavfs, which had background activity and so the errors were true. after fixing m issue bitrix can be used fine within restic / rclone.
sorry for unnecessary cicrumstances.
regards,
andre

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.