Can't sync this file

What is the problem you are having with rclone?

This file produces this error:

2021-12-10 12:56:27 ERROR : daily.0/daily/home/rmiller/Pictures/remmina_screenshot-2020-1-5-17:32:57.365698.png: Failed to copy: object not found

This is happening in a sync, I assume because of the ':'s in the name. However, this command:

rclone copy ./remmina_screenshot-2020-1-5-17:32:57.365698.png icedrive:

... also produces the error.

Is there a way around this?

What is your rclone version (output from rclone version)

rclone v1.57.0

  • os/version: ubuntu 20.04 (64 bit)
  • os/kernel: 5.4.0-91-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.17.2
  • go/linking: static
  • go/tags: none

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

icedrive

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

rclone sync
--progress
--skip-links
/media/backups/bruno.shimilla.net
icedrive:backups/bruno.shimilla.net

The rclone config contents with secrets removed.

[icedrive]
type = webdav
url = https://webdav.icedrive.io
user = xxxxxxx@xxxxxx.com
pass = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
bearer_token = XXXXXXXXXXXXXXXXX

A log from the command with the -vv flag

2021/12/10 13:11:49 DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "sync" "-vv" "--skip-links" "/media/backups/bruno.shimilla.net" "icedrive:backups/bruno.shimilla.net"]
2021/12/10 13:11:49 DEBUG : Creating backend with remote "/media/backups/bruno.shimilla.net"
2021/12/10 13:11:49 DEBUG : local: detected overridden config - adding "{HK82T}" suffix to name
2021/12/10 13:11:49 DEBUG : Using config file from "/home/rmiller/.config/rclone/rclone.conf"
2021/12/10 13:11:49 DEBUG : fs cache: renaming cache item "/media/backups/bruno.shimilla.net" to be canonical "local{HK82T}:/media/backups/bruno.shimilla.net"
2021/12/10 13:11:49 DEBUG : Creating backend with remote "icedrive:backups/bruno.shimilla.net"
2021/12/10 13:11:49 DEBUG : found headers:
2021/12/10 13:11:50 INFO  : daily.0/daily/home/rmiller/Backups/env.sh: Copied (new)
2021/12/10 13:11:50 INFO  : daily.0/daily/home/rmiller/Documents/secrets: Copied (new)
2021/12/10 13:11:50 INFO  : daily.0/daily/home/rmiller/Pictures/1967 USGP.jpg: Copied (new)
2021/12/10 13:11:51 INFO  : daily.0/daily/home/rmiller/Backups/postexec.sh: Copied (new)
2021/12/10 13:11:51 INFO  : daily.0/daily/home/rmiller/Backups/preexec.sh: Copied (new)
2021/12/10 13:11:51 INFO  : daily.0/daily/home/rmiller/Backups/rsnapshot.conf: Copied (new)
2021/12/10 13:11:52 INFO  : daily.0/daily/home/rmiller/Pictures/Bob-London.png: Copied (new)
2021/12/10 13:11:52 INFO  : daily.0/daily/home/rmiller/Pictures/Screenshot_20200730_095756.png: Copied (new)
2021/12/10 13:11:53 INFO  : daily.0/daily/home/rmiller/Pictures/Screenshot_20200804_193605.png: Copied (new)
2021/12/10 13:11:53 INFO  : daily.0/daily/home/rmiller/Pictures/Lotuses.jpg: Copied (new)
2021/12/10 13:11:55 INFO  : daily.0/daily/home/rmiller/Pictures/Screenshot_20200812_100033.png: Copied (new)
2021/12/10 13:11:55 INFO  : daily.0/daily/home/rmiller/Pictures/Screenshot_20200812_100025.png: Copied (new)
2021/12/10 13:11:56 INFO  : daily.0/daily/home/rmiller/Backups/daily.kbp: Copied (new)
2021/12/10 13:11:56 INFO  : daily.0/daily/home/rmiller/Pictures/Screenshot_20200812_100037.png: Copied (new)
2021/12/10 13:11:57 INFO  : daily.0/daily/home/rmiller/Pictures/Screenshot_20200812_100425.png: Copied (new)
2021/12/10 13:11:57 INFO  : daily.0/daily/home/rmiller/Pictures/Screenshot_20201018_143653.png: Copied (new)
2021/12/10 13:11:57 INFO  : daily.0/daily/home/rmiller/Pictures/meeting.jpg: Copied (new)
2021/12/10 13:11:57 INFO  : daily.0/daily/home/rmiller/Pictures/srf.jpg: Copied (new)
2021/12/10 13:11:57 ERROR : daily.0/daily/home/rmiller/Pictures/remmina_screenshot-2020-1-5-17:32:57.365698.png: Failed to copy: object not found

hello and welcome to the forum,

as far as i know, the colon chacter :, is not permitted with webdav.

to workaround this limitation, you can add this the remote
encoding = Colon

https://rclone.org/overview/#restricted-filenames
"Some cloud storage systems might have restrictions on the characters that are usable in file or directory names. When rclone detects such a name during a file upload, it will transparently replace the restricted characters with similar looking Unicode characters"

That did it -thanks!

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