Can't copy files over mounted rclone within Synology File Station

What is the problem you are having with rclone?

Have latest rclone installed on my Synology NAS DS1520+ running DSM 6.2. Copy from local to remote works within the command line but when I attempt to drag over a file within the Synology DSM file station, it pops up an error: "Error occurred on xyz.file (This action is not supported.) Deleting files within the mounted drive works fine.

This is the exact same issue as this post which was never resolved. My friend who has been running rclone for years also tested on his Synology NAS with the same issue.

I have read multiple other posts in attempts to troubleshoot this myself, but without success.

It seems one user was successful by installing the Synology exFat addon. I purchased it, installed it, and the issue still persists.

What is your rclone version (output from rclone version)

rclone v1.56.0

  • os/version: unknown
  • os/kernel: 4.4.59+ (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.16.5
  • go/linking: static

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Synology DSM 6.2

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

Google Drive Encrypted

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

rclone mount \
--fast-list \
--stats-file-name-length 0 \
--stats 1m \
--log-level INFO \
--log-file /volume1/gdrive/logs/backup-enc.log \
--bwlimit 5M:off \
--timeout 1h \
--tpslimit 10 \
--dir-cache-time 99999h \
--vfs-cache-mode writes \
--vfs-cache-max-age 1h \
--poll-interval 1m \
--vfs-read-chunk-size-limit 1024M \
--vfs-read-chunk-size 26M \
--buffer-size 16M \
--allow-other \
gdrive-enc:/ /volume1/gdrive/backup

There's no debug log so nothing to help figure out what the issue is.

You need to change INFO to DEBUG and share the log file.

This does nothing on a mount.

What's the reason you changed these?

Sorry, here is the log with DEBUG. I removed those lines you mentioned, I just reused what my friend has on his. Preferences.xml is the file I test copied

2021/07/22 17:56:46 INFO  : Starting bandwidth limiter at 5Mi:off Byte/s
2021/07/22 17:56:46 INFO  : Starting transaction limiter: max 10 transactions/s with burst 1
2021/07/22 17:56:46 DEBUG : rclone: Version "v1.56.0" starting with parameters ["rclone" "mount" "--stats-file-name-length" "0" "--stats" "1m" "--log-level" "DEBUG" "--log-file" "/volume1/gdrive/logs/backup-enc.log" "--allow-non-empty" "--bwlimit" "5M:off" "--timeout" "1h" "--tpslimit" "10" "--dir-cache-time" "99999h" "--vfs-cache-mode" "writes" "--vfs-cache-max-age" "1h" "--poll-interval" "1m" "--buffer-size" "16M" "--user-agent=rclone/v.1.00.0" "--allow-other" "gdrive-enc:/" "/volume1/gdrive/backup"]
2021/07/22 17:56:46 DEBUG : Creating backend with remote "gdrive-enc:/"
2021/07/22 17:56:46 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2021/07/22 17:56:46 DEBUG : Creating backend with remote "gdrive:/backup"
2021/07/22 17:56:46 DEBUG : Google drive root 'backup': 'root_folder_id = 0AFMVT-I2YhrvUk9PVA' - save this in the config to speed up startup
2021/07/22 17:56:46 DEBUG : fs cache: renaming cache item "gdrive:/backup" to be canonical "gdrive:backup"
2021/07/22 17:56:46 DEBUG : fs cache: switching user supplied name "gdrive:/backup" for canonical name "gdrive:backup"
2021/07/22 17:56:46 DEBUG : vfs cache: root is "/root/.cache/rclone/vfs/gdrive-enc"
2021/07/22 17:56:46 DEBUG : vfs cache: metadata root is "/root/.cache/rclone/vfs/gdrive-enc"
2021/07/22 17:56:46 DEBUG : Creating backend with remote "/root/.cache/rclone/vfs/gdrive-enc"
2021/07/22 17:56:46 DEBUG : Encrypted drive 'gdrive-enc:/': Mounting on "/volume1/gdrive/backup"
2021/07/22 17:56:46 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2021/07/22 17:56:46 DEBUG : : Root: 
2021/07/22 17:56:46 DEBUG : : >Root: node=/, err=<nil>
2021/07/22 17:56:55 DEBUG : /: Attr: 
2021/07/22 17:56:55 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/07/22 17:56:55 DEBUG : /: Lookup: name="Preferences.xml"
2021/07/22 17:56:55 DEBUG : plex.syno.json: Skipping undecryptable file name: illegal base32 data at input byte 3
2021/07/22 17:56:55 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2021/07/22 17:56:55 DEBUG : : Statfs: 
2021/07/22 17:56:55 DEBUG : : >Statfs: stat={Blocks:274877907396 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>

The reason we have the template as it collects the information needed to help you out. When you delete / remove sections, we end up going back and forth.

Since you rclone.conf is missing, I'm guessing you have an encrypted and a regular remote that are mixed together with files from both.

That means you have a regular file mixed with your crypt remote, which is most likely causing your issues.

Yep, that's correct, but I have removed all files from the folder where the encrypted mount is located and still getting the same error. Here's the debug trying with 2 different files

2021/07/22 19:11:42 INFO  : Starting bandwidth limiter at 5Mi:off Byte/s
2021/07/22 19:11:42 INFO  : Starting transaction limiter: max 10 transactions/s with burst 1
2021/07/22 19:11:42 DEBUG : rclone: Version "v1.56.0" starting with parameters ["rclone" "mount" "--stats-file-name-length" "0" "--stats" "1m" "--log-level" "DEBUG" "--log-file" "/volume1/gdrive/logs/backup-enc.log" "--allow-non-empty" "--bwlimit" "5M:off" "--timeout" "1h" "--tpslimit" "10" "--dir-cache-time" "99999h" "--vfs-cache-mode" "writes" "--vfs-cache-max-age" "1h" "--poll-interval" "1m" "--buffer-size" "16M" "--user-agent=rclone/v.1.00.0" "--allow-other" "gdrive-enc:/" "/volume1/gdrive/backup"]
2021/07/22 19:11:42 DEBUG : Creating backend with remote "gdrive-enc:/"
2021/07/22 19:11:42 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2021/07/22 19:11:42 DEBUG : Creating backend with remote "gdrive:/backup"
2021/07/22 19:11:42 DEBUG : gdrive: Loaded invalid token from config file - ignoring
2021/07/22 19:11:42 DEBUG : Saving config "token" in section "gdrive" of the config file
2021/07/22 19:11:43 DEBUG : gdrive: Saved new token in config file
2021/07/22 19:11:43 DEBUG : Google drive root 'backup': 'root_folder_id = 0AFMVT-I2YhrvUk9PVA' - save this in the config to speed up startup
2021/07/22 19:11:43 DEBUG : fs cache: renaming cache item "gdrive:/backup" to be canonical "gdrive:backup"
2021/07/22 19:11:43 DEBUG : fs cache: switching user supplied name "gdrive:/backup" for canonical name "gdrive:backup"
2021/07/22 19:11:43 DEBUG : vfs cache: root is "/root/.cache/rclone/vfs/gdrive-enc"
2021/07/22 19:11:43 DEBUG : vfs cache: metadata root is "/root/.cache/rclone/vfs/gdrive-enc"
2021/07/22 19:11:43 DEBUG : Creating backend with remote "/root/.cache/rclone/vfs/gdrive-enc"
2021/07/22 19:11:43 DEBUG : Encrypted drive 'gdrive-enc:/': Mounting on "/volume1/gdrive/backup"
2021/07/22 19:11:43 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2021/07/22 19:11:43 DEBUG : : Root: 
2021/07/22 19:11:43 DEBUG : : >Root: node=/, err=<nil>
2021/07/22 19:11:48 DEBUG : /: Attr: 
2021/07/22 19:11:48 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/07/22 19:11:50 DEBUG : /: Attr: 
2021/07/22 19:11:50 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/07/22 19:11:50 DEBUG : /: ReadDirAll: 
2021/07/22 19:11:50 DEBUG : /: >ReadDirAll: item=2, err=<nil>
2021/07/22 19:11:52 DEBUG : /: Attr: 
2021/07/22 19:11:52 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/07/22 19:12:04 DEBUG : /: Attr: 
2021/07/22 19:12:04 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/07/22 19:12:04 DEBUG : /: Lookup: name="docker-compose.yml"
2021/07/22 19:12:04 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2021/07/22 19:12:04 DEBUG : : Statfs: 
2021/07/22 19:12:04 DEBUG : : >Statfs: stat={Blocks:274877906945 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2021/07/22 19:12:07 DEBUG : /: Attr: 
2021/07/22 19:12:07 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/07/22 19:12:07 DEBUG : /: ReadDirAll: 
2021/07/22 19:12:07 DEBUG : /: >ReadDirAll: item=2, err=<nil>
2021/07/22 19:12:42 INFO  : 
Transferred:   	          0 / 0 Byte, -, 0 Byte/s, ETA -
Elapsed time:       1m0.0s

2021/07/22 19:12:43 DEBUG : Google drive root 'backup': Checking for changes on remote
2021/07/22 19:12:43 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2021/07/22 19:13:03 DEBUG : /: Attr: 
2021/07/22 19:13:03 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/07/22 19:13:03 DEBUG : /: ReadDirAll: 
2021/07/22 19:13:03 DEBUG : /: >ReadDirAll: item=2, err=<nil>
2021/07/22 19:13:05 DEBUG : /: Attr: 
2021/07/22 19:13:05 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/07/22 19:13:05 DEBUG : /: Lookup: name="plex.syno.json"
2021/07/22 19:13:05 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2021/07/22 19:13:05 DEBUG : : Statfs: 
2021/07/22 19:13:05 DEBUG : : >Statfs: stat={Blocks:274877906945 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2021/07/22 19:13:08 DEBUG : /: Attr: 
2021/07/22 19:13:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/07/22 19:13:08 DEBUG : /: ReadDirAll: 
2021/07/22 19:13:08 DEBUG : /: >ReadDirAll: item=2, err=<nil>

There's no file being written in the log. How are you copying the file?

here is a log, trying to copy file.txt using the synology web interface
and you are correct, there is no file being written in the log.

DEBUG : Using config file from "/var/services/homes/user99/.config/rclone/rclone.conf"
DEBUG : rclone: Version "v1.55.1" starting with parameters ["rclone" "mount" "wasabi01:backupdirtest" "/var/services/homes/user99/rclone/mount/remote" "--allow-other" "--vfs-cache-mode=full" "--cache-dir=/var/services/homes/user99/rclone/cache" "--config=/var/services/homes/user99/.config/rclone/rclone.conf" "--log-level=DEBUG" "--log-file=/var/services/homes/user99/rclone/log.txt"]
DEBUG : Creating backend with remote "wasabi01:backupdirtest"
INFO  : S3 bucket backupdirtest: poll-interval is not supported by this remote
DEBUG : vfs cache: root is "/var/services/homes/user99/rclone/cache/vfs/wasabi01/backupdirtest"
DEBUG : vfs cache: metadata root is "/var/services/homes/user99/rclone/cache/vfs/wasabi01/backupdirtest"
DEBUG : Creating backend with remote "/var/services/homes/user99/rclone/cache/vfs/wasabi01/backupdirtest"
DEBUG : S3 bucket backupdirtest: Mounting on "/var/services/homes/user99/rclone/mount/remote"
INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
DEBUG : : Root: 
DEBUG : : >Root: node=/, err=<nil>
DEBUG : /: Attr: 
DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
DEBUG : /: ReadDirAll: 
DEBUG : /: >ReadDirAll: item=2, err=<nil>
DEBUG : /: Attr: 
DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
DEBUG : : Statfs: 
DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
DEBUG : /: Lookup: name="file.txt"
DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
DEBUG : : Statfs: 
DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
DEBUG : /: Lookup: name="file.txt"
DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
DEBUG : : Statfs: 
DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
DEBUG : /: Attr: 
DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
DEBUG : /: Attr: 
DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
DEBUG : /: ReadDirAll: 
DEBUG : /: >ReadDirAll: item=2, err=<nil>
INFO  : Signal received: interrupt
DEBUG : vfs cache: cleaner exiting
INFO  : Exiting...

and this is the output from the GUI.

image

If it's not making it to the log, there's not much to do as not sure we have any way to tell what the GUI is trying to do with no logging.

If it works from a CLI without an issue, the problem lies with however they did the GUI.

yes, i agree.
at some point in the past, i was trying to help another rcloner to get this to work, but i gave up trying
as on the synbox with rclone, i use the CLI.

and for what it is worth, using the GUI
while it is not possible to copy to the mountpoint.
it is possible to copy a file from the mountpoint

you had mentioned the exfat addon for synology in the other post, and it seemed to work for that user. Unfortunately, I bought it to try and does not work for me.

For now, Im just using Tmux for a detached terminal to do the large copying. Drag-drop within DSM would be nice, but not a deal-breaker

i just tested a possible workaround to use a GUI

  1. create the rclone mount on the synbox
  2. connect to the synbox over sftp, using filezilla or whatever GUI tool
  3. navigate to the mounted folder and copy files.

for example,

  1. using filezilla, i copied a media file over sftp to the rclone mount folder,
  2. on my local pc, using the synbox filestation web page, i was able to play the media file.
  3. be happy
1 Like

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