Can't upload files to Rclone mount on Synology

What is the problem you are having with rclone?

I'm having issues with uploading files to my Rclone crypt mount that I have mounted to my Synology NAS on the path /volume1/rclone/mount/reed-crypt

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

rclone: Version "v1.61.1"

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

Google Drive and crypt

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

/usr/bin/rclone mount reed-crypt: /volume1/rclone/mount/reed-crypt --config /volume1/homes/Fluffy/.config/rclone/rclone.conf --log-level=DEBUG --debug-fuse --log-file=/volume1/rclone/mount/rclone.log --buffer-size=512M --allow-other --allow-non-empty --vfs-cache-mode full --cache-dir /volume1/rclone/mount/cache &

The rclone config contents with secrets removed.

[reed]
type = drive
scope = drive
token = {"access_token":"token","expiry":"2023-04-11T16:05:13.439188408+02:00"}
team_drive = 

[reed-crypt]
type = crypt
remote = reed:files
password = password1
password2 = password2

A log from the command with the -vv flag

https://pastebin.com/BUhr6sA9

You want to create your own client ID/secret.

2023/04/11 15:10:15 DEBUG : pacer: low level retry 1/10 (error googleapi: Error 403: Quota exceeded for quota metric 'Queries' and limit 'Queries per minute' of service 'drive.googleapis.com' for consumer 'project_number:202264815644'.

Just did that, but still no luck:

rclone: Version "v1.61.1" starting with parameters ["/usr/bin/rclone" "mount" "reed-crypt:" "/volume1/rclone/mount/reed-crypt" "--config" "/volume1/homes/Fluffy/.config/rclone/rclone.conf" "--log-level=DEBUG" "--debug-fuse" "--log-file=/volume1/rclone/mount/rclone.log" "--buffer-size=512M" "--allow-other" "--allow-non-empty" "--vfs-cache-mode" "full" "--cache-dir" "/volume1/rclone/mount/cache"]
2023/04/11 15:30:21 DEBUG : Creating backend with remote "reed-crypt:"
2023/04/11 15:30:21 DEBUG : Using config file from "/volume1/homes/Fluffy/.config/rclone/rclone.conf"
2023/04/11 15:30:21 DEBUG : Creating backend with remote "reed:files"
2023/04/11 15:30:21 DEBUG : Google drive root 'files': 'root_folder_id = 0********VA' - save this in the config to speed up startup
2023/04/11 15:30:22 DEBUG : vfs cache: root is "/volume1/rclone/mount/cache"
2023/04/11 15:30:22 DEBUG : vfs cache: data root is "/volume1/rclone/mount/cache/vfs/reed-crypt"
2023/04/11 15:30:22 DEBUG : vfs cache: metadata root is "/volume1/rclone/mount/cache/vfsMeta/reed-crypt"
2023/04/11 15:30:22 DEBUG : Creating backend with remote "/volume1/rclone/mount/cache/vfs/reed-crypt/"
2023/04/11 15:30:22 DEBUG : fs cache: renaming cache item "/volume1/rclone/mount/cache/vfs/reed-crypt/" to be canonical "/volume1/rclone/mount/cache/vfs/reed-crypt"
2023/04/11 15:30:22 DEBUG : Creating backend with remote "/volume1/rclone/mount/cache/vfsMeta/reed-crypt/"
2023/04/11 15:30:22 DEBUG : fs cache: renaming cache item "/volume1/rclone/mount/cache/vfsMeta/reed-crypt/" to be canonical "/volume1/rclone/mount/cache/vfsMeta/reed-crypt"
2023/04/11 15:30:22 DEBUG : Encrypted drive 'reed-crypt:': Mounting on "/volume1/rclone/mount/reed-crypt"
2023/04/11 15:30:22 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/04/11 15:30:22 DEBUG : : Root: 
2023/04/11 15:30:22 DEBUG : : >Root: node=/, err=<nil>
2023/04/11 15:30:24 DEBUG : fuse: <- Getattr [ID=0x2 Node=0x1 Uid=0 Gid=0 Pid=19301] 0x0 fl=0
2023/04/11 15:30:24 DEBUG : /: Attr: 
2023/04/11 15:30:24 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 15:30:24 DEBUG : fuse: -> [ID=0x2] Getattr valid=1s ino=1 size=0 mode=drwxr-xr-x
2023/04/11 15:30:24 DEBUG : fuse: <- Access [ID=0x3 Node=0x1 Uid=0 Gid=0 Pid=19300] mask=0x1
2023/04/11 15:30:24 DEBUG : fuse: -> [ID=0x3] Access
2023/04/11 15:30:24 DEBUG : fuse: <- Open [ID=0x4 Node=0x1 Uid=0 Gid=0 Pid=19300] dir=true fl=OpenReadOnly+OpenDirectory+OpenNonblock
2023/04/11 15:30:24 DEBUG : fuse: -> [ID=0x4] Open 0x1 fl=0
2023/04/11 15:30:24 DEBUG : fuse: <- Statfs [ID=0x5 Node=0x1 Uid=0 Gid=0 Pid=19300]
2023/04/11 15:30:24 DEBUG : : Statfs: 
2023/04/11 15:30:24 DEBUG : fuse: <- Access [ID=0x6 Node=0x1 Uid=0 Gid=0 Pid=19304] mask=0x1
2023/04/11 15:30:24 DEBUG : fuse: -> [ID=0x6] Access
2023/04/11 15:30:24 DEBUG : fuse: <- Open [ID=0x7 Node=0x1 Uid=0 Gid=0 Pid=19304] dir=true fl=OpenReadOnly+OpenDirectory+OpenNonblock
2023/04/11 15:30:24 DEBUG : fuse: -> [ID=0x7] Open 0x2 fl=0
2023/04/11 15:30:24 DEBUG : fuse: <- Statfs [ID=0x8 Node=0x1 Uid=0 Gid=0 Pid=19304]
2023/04/11 15:30:24 DEBUG : : Statfs: 
2023/04/11 15:30:24 DEBUG : fuse: <- Access [ID=0x9 Node=0x1 Uid=0 Gid=0 Pid=19305] mask=0x1
2023/04/11 15:30:24 DEBUG : fuse: -> [ID=0x9] Access
2023/04/11 15:30:24 DEBUG : fuse: <- Open [ID=0xa Node=0x1 Uid=0 Gid=0 Pid=19305] dir=true fl=OpenReadOnly+OpenDirectory+OpenNonblock
2023/04/11 15:30:24 DEBUG : fuse: -> [ID=0xa] Open 0x3 fl=0
2023/04/11 15:30:24 DEBUG : fuse: <- Statfs [ID=0xb Node=0x1 Uid=0 Gid=0 Pid=19305]
2023/04/11 15:30:24 DEBUG : : Statfs: 
2023/04/11 15:30:25 DEBUG : : >Statfs: stat={Blocks:26843545600 Bfree:9472999181 Bavail:9472999181 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/04/11 15:30:25 DEBUG : fuse: -> [ID=0x5] Statfs blocks=9472999181/9472999181/26843545600 files=1000000000/1000000000 bsize=4096 frsize=4096 namelen=255
2023/04/11 15:30:25 DEBUG : : >Statfs: stat={Blocks:26843545600 Bfree:9472999181 Bavail:9472999181 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/04/11 15:30:25 DEBUG : fuse: -> [ID=0x8] Statfs blocks=9472999181/9472999181/26843545600 files=1000000000/1000000000 bsize=4096 frsize=4096 namelen=255
2023/04/11 15:30:25 DEBUG : : >Statfs: stat={Blocks:26843545600 Bfree:9472999181 Bavail:9472999181 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/04/11 15:30:25 DEBUG : fuse: -> [ID=0xb] Statfs blocks=9472999181/9472999181/26843545600 files=1000000000/1000000000 bsize=4096 frsize=4096 namelen=255
2023/04/11 15:30:25 DEBUG : fuse: <- Read [ID=0xc Node=0x1 Uid=0 Gid=0 Pid=19300] 0x1 4096 @0x0 dir=true fl=0 owner=0 ffl=OpenReadOnly+OpenDirectory+OpenNonblock
2023/04/11 15:30:25 DEBUG : /: ReadDirAll: 
2023/04/11 15:30:25 DEBUG : /: >ReadDirAll: item=2, err=<nil>
2023/04/11 15:30:25 DEBUG : fuse: -> [ID=0xc] Read 64
2023/04/11 15:30:25 DEBUG : fuse: <- Read [ID=0xd Node=0x1 Uid=0 Gid=0 Pid=19304] 0x2 4096 @0x0 dir=true fl=0 owner=0 ffl=OpenReadOnly+OpenDirectory+OpenNonblock
2023/04/11 15:30:25 DEBUG : /: ReadDirAll: 
2023/04/11 15:30:25 DEBUG : /: >ReadDirAll: item=2, err=<nil>
2023/04/11 15:30:25 DEBUG : fuse: -> [ID=0xd] Read 64
2023/04/11 15:30:25 DEBUG : fuse: <- Read [ID=0xe Node=0x1 Uid=0 Gid=0 Pid=19305] 0x3 4096 @0x0 dir=true fl=0 owner=0 ffl=OpenReadOnly+OpenDirectory+OpenNonblock
2023/04/11 15:30:25 DEBUG : /: ReadDirAll: 
2023/04/11 15:30:25 DEBUG : /: >ReadDirAll: item=2, err=<nil>
2023/04/11 15:30:25 DEBUG : fuse: -> [ID=0xe] Read 64
2023/04/11 15:30:25 DEBUG : fuse: <- Read [ID=0xf Node=0x1 Uid=0 Gid=0 Pid=19300] 0x1 4096 @0x40 dir=true fl=0 owner=0 ffl=OpenReadOnly+OpenDirectory+OpenNonblock
2023/04/11 15:30:25 DEBUG : fuse: -> [ID=0xf] Read 0
2023/04/11 15:30:25 DEBUG : fuse: <- Read [ID=0x10 Node=0x1 Uid=0 Gid=0 Pid=19304] 0x2 4096 @0x40 dir=true fl=0 owner=0 ffl=OpenReadOnly+OpenDirectory+OpenNonblock
2023/04/11 15:30:25 DEBUG : fuse: -> [ID=0x10] Read 0
2023/04/11 15:30:25 DEBUG : fuse: <- Read [ID=0x11 Node=0x1 Uid=0 Gid=0 Pid=19305] 0x3 4096 @0x40 dir=true fl=0 owner=0 ffl=OpenReadOnly+OpenDirectory+OpenNonblock
2023/04/11 15:30:25 DEBUG : fuse: -> [ID=0x11] Read 0
2023/04/11 15:30:25 DEBUG : fuse: <- Release [ID=0x12 Node=0x1 Uid=0 Gid=0 Pid=0] 0x1 fl=OpenReadOnly+OpenDirectory+OpenNonblock rfl=0 owner=0
2023/04/11 15:30:25 DEBUG : fuse: -> [ID=0x12] Release
2023/04/11 15:30:25 DEBUG : fuse: <- Release [ID=0x13 Node=0x1 Uid=0 Gid=0 Pid=0] 0x2 fl=OpenReadOnly+OpenDirectory+OpenNonblock rfl=0 owner=0
2023/04/11 15:30:25 DEBUG : fuse: -> [ID=0x13] Release
2023/04/11 15:30:25 DEBUG : fuse: <- Release [ID=0x14 Node=0x1 Uid=0 Gid=0 Pid=0] 0x3 fl=OpenReadOnly+OpenDirectory+OpenNonblock rfl=0 owner=0
2023/04/11 15:30:25 DEBUG : fuse: -> [ID=0x14] Release
2023/04/11 15:30:37 DEBUG : fuse: <- Getattr [ID=0x15 Node=0x1 Uid=0 Gid=0 Pid=19579] 0x0 fl=0
2023/04/11 15:30:37 DEBUG : /: Attr: 
2023/04/11 15:30:37 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 15:30:37 DEBUG : fuse: -> [ID=0x15] Getattr valid=1s ino=1 size=0 mode=drwxr-xr-x
2023/04/11 15:30:37 DEBUG : fuse: <- Statfs [ID=0x16 Node=0x1 Uid=0 Gid=0 Pid=19579]
2023/04/11 15:30:37 DEBUG : : Statfs: 
2023/04/11 15:30:37 DEBUG : : >Statfs: stat={Blocks:26843545600 Bfree:9472999181 Bavail:9472999181 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/04/11 15:30:37 DEBUG : fuse: -> [ID=0x16] Statfs blocks=9472999181/9472999181/26843545600 files=1000000000/1000000000 bsize=4096 frsize=4096 namelen=255
2023/04/11 15:30:37 DEBUG : fuse: <- Lookup [ID=0x17 Node=0x1 Uid=0 Gid=0 Pid=19579] "fajitas.png"
2023/04/11 15:30:37 DEBUG : /: Lookup: name="fajitas.png"
2023/04/11 15:30:37 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 15:30:37 DEBUG : fuse: -> [ID=0x17] Lookup error=ENOENT
2023/04/11 15:30:38 DEBUG : fuse: <- Statfs [ID=0x18 Node=0x1 Uid=0 Gid=0 Pid=19614]
2023/04/11 15:30:38 DEBUG : : Statfs: 
2023/04/11 15:30:38 DEBUG : : >Statfs: stat={Blocks:26843545600 Bfree:9472999181 Bavail:9472999181 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/04/11 15:30:38 DEBUG : fuse: -> [ID=0x18] Statfs blocks=9472999181/9472999181/26843545600 files=1000000000/1000000000 bsize=4096 frsize=4096 namelen=255
2023/04/11 15:30:38 DEBUG : fuse: <- Lookup [ID=0x19 Node=0x1 Uid=0 Gid=0 Pid=19614] "fajitas.png"
2023/04/11 15:30:38 DEBUG : /: Lookup: name="fajitas.png"
2023/04/11 15:30:38 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 15:30:38 DEBUG : fuse: -> [ID=0x19] Lookup error=ENOENT
2023/04/11 15:30:38 DEBUG : fuse: <- Statfs [ID=0x1a Node=0x1 Uid=0 Gid=0 Pid=19614]
2023/04/11 15:30:38 DEBUG : : Statfs: 
2023/04/11 15:30:38 DEBUG : : >Statfs: stat={Blocks:26843545600 Bfree:9472999181 Bavail:9472999181 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/04/11 15:30:38 DEBUG : fuse: -> [ID=0x1a] Statfs blocks=9472999181/9472999181/26843545600 files=1000000000/1000000000 bsize=4096 frsize=4096 namelen=255
2023/04/11 15:30:49 DEBUG : fuse: <- Getattr [ID=0x1b Node=0x1 Uid=0 Gid=0 Pid=19985] 0x0 fl=0
2023/04/11 15:30:49 DEBUG : /: Attr: 
2023/04/11 15:30:49 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 15:30:49 DEBUG : fuse: -> [ID=0x1b] Getattr valid=1s ino=1 size=0 mode=drwxr-xr-x

I can see files, download files and remove files, but uploading is the only thing that is not working.

Removed --allow-non-empty, that didn't fix the problem. I ran the command as root and as my user Fluffy, both had the same error result when uploading files.

Removing the vfs-cache commands also does not fix it.

I don't know what you "did" as we can't see anything.

If you made a change, can you please share any updated configs that go along with the change.

You can take that out.

That's generally bad as you end up over mounting things. You want the mount point to be empty.

Recreate the issue with just the debug log without the fuse debug.

What I did is using my own Client ID and secret from Google Cloud that I have used earlier for other Google Drive stuff.

I already tried it without --allow-non-empty, but it throws me the same errors when trying to upload a file.

Currently I have the following command:

/usr/bin/rclone mount reed-crypt: /volume1/rclone/mount/reed-crypt --config /volume1/homes/Fluffy/.config/rclone/rclone.conf --log-level=DEBUG --log-file=/volume1/rclone/mount/rclone.log &

When uploading a file the result is this debug log:

2023/04/11 15:52:11 DEBUG : rclone: Version "v1.61.1" starting with parameters ["/usr/bin/rclone" "mount" "reed-crypt:" "/volume1/rclone/mount/reed-crypt" "--config" "/volume1/homes/Fluffy/.config/rclone/rclone.conf" "--log-level=DEBUG" "--log-file=/volume1/rclone/mount/rclone.log"]
2023/04/11 15:52:11 DEBUG : Creating backend with remote "reed-crypt:"
2023/04/11 15:52:11 DEBUG : Using config file from "/volume1/homes/Fluffy/.config/rclone/rclone.conf"
2023/04/11 15:52:11 DEBUG : Creating backend with remote "reed:files"
2023/04/11 15:52:11 DEBUG : Google drive root 'files': 'root_folder_id = 0****VA' - save this in the config to speed up startup
2023/04/11 15:52:11 DEBUG : Encrypted drive 'reed-crypt:': Mounting on "/volume1/rclone/mount/reed-crypt"
2023/04/11 15:52:11 DEBUG : : Root: 
2023/04/11 15:52:11 DEBUG : : >Root: node=/, err=<nil>
2023/04/11 15:52:14 DEBUG : /: Attr: 
2023/04/11 15:52:14 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 15:52:14 DEBUG : : Statfs: 
2023/04/11 15:52:15 DEBUG : : Statfs: 
2023/04/11 15:52:15 DEBUG : : >Statfs: stat={Blocks:26843545600 Bfree:7685377197 Bavail:7685377197 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/04/11 15:52:15 DEBUG : : >Statfs: stat={Blocks:26843545600 Bfree:7685377197 Bavail:7685377197 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/04/11 15:52:15 DEBUG : /: ReadDirAll: 
2023/04/11 15:52:15 DEBUG : /: >ReadDirAll: item=2, err=<nil>
2023/04/11 15:52:15 DEBUG : /: ReadDirAll: 
2023/04/11 15:52:15 DEBUG : /: >ReadDirAll: item=2, err=<nil>
2023/04/11 15:52:17 DEBUG : /: Attr: 
2023/04/11 15:52:17 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 15:52:17 DEBUG : : Statfs: 
2023/04/11 15:52:17 DEBUG : : >Statfs: stat={Blocks:26843545600 Bfree:7685377197 Bavail:7685377197 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/04/11 15:52:17 DEBUG : /: Lookup: name="logo.svg"
2023/04/11 15:52:17 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 15:52:17 DEBUG : : Statfs: 
2023/04/11 15:52:17 DEBUG : : >Statfs: stat={Blocks:26843545600 Bfree:7685377197 Bavail:7685377197 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/04/11 15:52:17 DEBUG : /: Lookup: name="logo.svg"
2023/04/11 15:52:17 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 15:52:18 DEBUG : : Statfs: 
2023/04/11 15:52:18 DEBUG : : >Statfs: stat={Blocks:26843545600 Bfree:7685377197 Bavail:7685377197 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/04/11 15:52:20 DEBUG : /: Attr: 
2023/04/11 15:52:20 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>

There's no upload or download in that log file.

I did, in the DSM software I tried to upload a file from my computer called 'logo.svg' to the mountpoint.

I'm not debating on what you are saying you did or did not do.

I'm just saying from the log you provided, there is no upload there so something in your process is not correct as it never reached the rclone mount.

Hmm... Strange it does not reach the mount. Somehow it tries to find the file at some point but it can't. Maybe something in DSM how it handles to uploading of files to a FUSE mount.. :thinking:

Not really.

Fuse works the same on all the OSs generally.

If you were running multiple rclones / using allow-empty and such, that creates problems as you overmount things and hide things so you are probably not writing to what you think you are writing to.

Perhaps reboot / start rclone and try to reproduce the error.

I did a full reboot of my Synology NAS. Uploading a file called logo.svg sadly only still gives me these logs and the file isn't uploaded:

2023/04/11 16:15:44 DEBUG : /: Attr: 
2023/04/11 16:15:44 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 16:15:46 DEBUG : /: Attr: 
2023/04/11 16:15:47 DEBUG : /: Attr: 
2023/04/11 16:15:49 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 16:15:49 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 16:15:49 DEBUG : : Statfs: 
2023/04/11 16:15:49 DEBUG : : >Statfs: stat={Blocks:26843545600 Bfree:7685377197 Bavail:7685377197 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/04/11 16:15:49 DEBUG : /: ReadDirAll: 
2023/04/11 16:15:49 DEBUG : /: >ReadDirAll: item=2, err=<nil>
2023/04/11 16:15:52 DEBUG : /: Attr: 
2023/04/11 16:15:52 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 16:15:55 DEBUG : /: Lookup: name="logo.svg"
2023/04/11 16:15:55 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 16:15:56 DEBUG : /: Attr: 
2023/04/11 16:15:56 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 16:15:56 DEBUG : /: Lookup: name="logo.svg"
2023/04/11 16:15:56 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 16:15:56 DEBUG : /: Lookup: name="logo.svg"
2023/04/11 16:15:56 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 16:15:56 DEBUG : : Statfs: 
2023/04/11 16:15:56 DEBUG : : >Statfs: stat={Blocks:26843545600 Bfree:7685377197 Bavail:7685377197 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/04/11 16:15:58 DEBUG : /: Attr: 
2023/04/11 16:15:58 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 16:15:58 DEBUG : : Statfs: 
2023/04/11 16:15:58 DEBUG : : >Statfs: stat={Blocks:26843545600 Bfree:7685377197 Bavail:7685377197 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/04/11 16:15:58 DEBUG : /: ReadDirAll: 
2023/04/11 16:15:58 DEBUG : /: >ReadDirAll: item=2, err=<nil>
2023/04/11 16:15:59 DEBUG : /: Attr: 
2023/04/11 16:15:59 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 16:15:59 DEBUG : : Statfs: 
2023/04/11 16:15:59 DEBUG : : >Statfs: stat={Blocks:26843545600 Bfree:7685377197 Bavail:7685377197 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/04/11 16:15:59 DEBUG : /: ReadDirAll: 
2023/04/11 16:15:59 DEBUG : /: >ReadDirAll: item=2, err=<nil>
2023/04/11 16:16:00 DEBUG : /: Attr: 
2023/04/11 16:16:00 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>

This is the only mount I have on this NAS.

My command is:

/usr/bin/rclone mount reed-crypt: /volume1/rclone/mount/reed-crypt --config /volume1/homes/Fluffy/.config/rclone/rclone.conf --log-level=DEBUG --log-file=/volume1/rclone/mount/rclone.log &

I found a similar thread here: Can't copy files over mounted rclone within Synology File Station - #12

Sadly there was no solution found only a work-around.

Tried using my mount with Plex but sadly it does not work because I think Plex is trying to look for files or write certain files it can't. Plex has the proper read/write permissions but in the rclone debug file I still get 'no such file or directory' error messages for files like:

  • .plexmatch
  • .plexignore

You need to use --allow-other

I am, I'm using:

/usr/bin/rclone mount reed-crypt: /volume1/rclone/mount/reed-crypt --config /volume1/homes/Fluffy/.config/rclone/rclone.conf --log-level=DEBUG --log-file=/volume1/rclone/mount/rclone.log --buffer-size=512M --allow-other --vfs-cache-mode full --cache-dir /volume1/rclone/mount/cache &

Log looks like this during the time Plex is scanning:

2023/04/11 21:55:36 DEBUG : /: Lookup: name="media"
2023/04/11 21:55:36 DEBUG : /: >Lookup: node=media/, err=<nil>
2023/04/11 21:55:36 DEBUG : media/: Attr: 
2023/04/11 21:55:36 DEBUG : media/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 21:55:36 DEBUG : media/: Lookup: name="TV"
2023/04/11 21:55:36 DEBUG : media/: >Lookup: node=media/TV/, err=<nil>
2023/04/11 21:55:36 DEBUG : media/TV/: Attr: 
2023/04/11 21:55:36 DEBUG : media/TV/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 21:55:36 DEBUG : media/TV/: Lookup: name=".grab"
2023/04/11 21:55:36 DEBUG : media/TV/: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 21:56:09 DEBUG : Google drive root 'files': Checking for changes on remote
2023/04/11 21:56:09 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item media/TV/Show/Show, S2 A1.mp4 not removed, freed 0 bytes
2023/04/11 21:56:09 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 258.996Mi (was 258.996Mi)
2023/04/11 21:56:19 DEBUG : /: Lookup: name="media"
2023/04/11 21:56:19 DEBUG : /: >Lookup: node=media/, err=<nil>
2023/04/11 21:56:19 DEBUG : media/: Attr: 
2023/04/11 21:56:19 DEBUG : media/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 21:56:19 DEBUG : media/: Lookup: name="TV"
2023/04/11 21:56:19 DEBUG : media/: >Lookup: node=media/TV/, err=<nil>
2023/04/11 21:56:19 DEBUG : media/TV/: Attr: 
2023/04/11 21:56:19 DEBUG : media/TV/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 21:56:19 DEBUG : media/TV/: Lookup: name=".grab"
2023/04/11 21:56:19 DEBUG : media/TV/: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 21:56:35 DEBUG : /: Lookup: name="media"
2023/04/11 21:56:35 DEBUG : /: >Lookup: node=media/, err=<nil>
2023/04/11 21:56:35 DEBUG : media/: Attr: 
2023/04/11 21:56:35 DEBUG : media/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 21:56:35 DEBUG : media/: Lookup: name="TV"
2023/04/11 21:56:35 DEBUG : media/: >Lookup: node=media/TV/, err=<nil>
2023/04/11 21:56:35 DEBUG : media/TV/: Attr: 
2023/04/11 21:56:35 DEBUG : media/TV/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 21:56:35 DEBUG : media/TV/: Lookup: name=".grab"
2023/04/11 21:56:35 DEBUG : media/TV/: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 21:56:53 DEBUG : /: Attr: 
2023/04/11 21:56:53 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 21:57:09 DEBUG : Google drive root 'files': Checking for changes on remote
2023/04/11 21:57:09 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item media/TV/Show/Show, S2 A1.mp4 not removed, freed 0 bytes
2023/04/11 21:57:09 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 258.996Mi (was 258.996Mi)
2023/04/11 21:58:09 DEBUG : Google drive root 'files': Checking for changes on remote
2023/04/11 21:58:09 INFO  : media/TV/Show/Show, S2 A1.mp4: vfs cache: removed cache file as Removing old cache file not in use
2023/04/11 21:58:09 DEBUG : media/TV/Show/Show, S2 A1.mp4: vfs cache: removed metadata from cache as Removing old cache file not in use
2023/04/11 21:58:09 INFO  : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item media/TV/Show/Show, S2 A1.mp4 was removed, freed 271577088 bytes
2023/04/11 21:58:09 INFO  : vfs cache: cleaned: objects 0 (was 1) in use 0, to upload 0, uploading 0, total size 0 (was 258.996Mi)
2023/04/11 21:58:10 DEBUG : /: Lookup: name="media"
2023/04/11 21:58:10 DEBUG : /: >Lookup: node=media/, err=<nil>
2023/04/11 21:58:10 DEBUG : media/: Attr: 
2023/04/11 21:58:10 DEBUG : media/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 21:58:10 DEBUG : media/: Lookup: name="TV"
2023/04/11 21:58:10 DEBUG : media/: >Lookup: node=media/TV/, err=<nil>
2023/04/11 21:58:10 DEBUG : media/TV/: Attr: 
2023/04/11 21:58:10 DEBUG : media/TV/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 21:58:10 DEBUG : media/TV/: Lookup: name=".grab"
2023/04/11 21:58:10 DEBUG : media/TV/: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 21:59:09 DEBUG : Google drive root 'files': Checking for changes on remote
2023/04/11 21:59:09 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/04/11 21:59:09 DEBUG : /: Lookup: name="media"
2023/04/11 21:59:09 DEBUG : /: >Lookup: node=media/, err=<nil>
2023/04/11 21:59:09 DEBUG : media/: Attr: 
2023/04/11 21:59:09 DEBUG : media/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 21:59:09 DEBUG : media/: Lookup: name="TV"
2023/04/11 21:59:09 DEBUG : media/: >Lookup: node=media/TV/, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/: Attr: 
2023/04/11 21:59:09 DEBUG : media/TV/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/: ReadDirAll: 
2023/04/11 21:59:09 DEBUG : media/TV/: >ReadDirAll: item=3, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/: Attr: 
2023/04/11 21:59:09 DEBUG : media/TV/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/: Lookup: name=".plexmatch"
2023/04/11 21:59:09 DEBUG : media/TV/: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 21:59:09 DEBUG : media/TV/: ReadDirAll: 
2023/04/11 21:59:09 DEBUG : media/TV/: >ReadDirAll: item=3, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/: Lookup: name="Show"
2023/04/11 21:59:09 DEBUG : media/TV/: >Lookup: node=media/TV/Show/, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/Show/: Attr: 
2023/04/11 21:59:09 DEBUG : media/TV/Show/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/: Lookup: name=".plexignore"
2023/04/11 21:59:09 DEBUG : media/TV/: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 21:59:09 DEBUG : media/TV/: Lookup: name=".plexignore"
2023/04/11 21:59:09 DEBUG : media/TV/: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 21:59:09 DEBUG : media/TV/: Lookup: name=".plexignore"
2023/04/11 21:59:09 DEBUG : media/TV/: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 21:59:09 DEBUG : media/TV/: Lookup: name=".plexignore"
2023/04/11 21:59:09 DEBUG : media/TV/: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 21:59:09 DEBUG : media/TV/: Lookup: name=".plexignore"
2023/04/11 21:59:09 DEBUG : media/TV/: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 21:59:09 DEBUG : media/TV/: Lookup: name=".plexignore"
2023/04/11 21:59:09 DEBUG : media/TV/: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 21:59:09 DEBUG : media/TV/Show/: Lookup: name=".plexmatch"
2023/04/11 21:59:09 DEBUG : media/TV/Show/: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 21:59:09 DEBUG : media/TV/Show/: ReadDirAll: 
2023/04/11 21:59:09 DEBUG : media/TV/Show/: >ReadDirAll: item=11, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/Show/: Lookup: name=/Show, S2 A1.mp4"
2023/04/11 21:59:09 DEBUG : media/TV/Show/: >Lookup: node=media/TV/Show/Show, S2 A1.mp4, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/Show/Show, S2 A1.mp4: Attr: 
2023/04/11 21:59:09 DEBUG : media/TV/Show/Show, S2 A1.mp4: >Attr: a=valid=1s ino=0 size=1788353881 mode=-rw-r--r--, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/Show/: Lookup: name=/Show, S2 A2.mp4"
2023/04/11 21:59:09 DEBUG : media/TV/Show/: >Lookup: node=media/TV/Show/Show, S2 A2.mp4, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/Show/Show, S2 A2.mp4: Attr: 
2023/04/11 21:59:09 DEBUG : media/TV/Show/Show, S2 A2.mp4: >Attr: a=valid=1s ino=0 size=1902295903 mode=-rw-r--r--, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/Show/: Lookup: name=/Show, S2 A3.mp4"
2023/04/11 21:59:09 DEBUG : media/TV/Show/: >Lookup: node=media/TV/Show/Show, S2 A3.mp4, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/Show/Show, S2 A3.mp4: Attr: 
2023/04/11 21:59:09 DEBUG : media/TV/Show/Show, S2 A3.mp4: >Attr: a=valid=1s ino=0 size=1907983254 mode=-rw-r--r--, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/Show/: Lookup: name=/Show, S2 A4.mp4"
2023/04/11 21:59:09 DEBUG : media/TV/Show/: >Lookup: node=media/TV/Show/Show, S2 A4.mp4, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/Show/Show, S2 A4.mp4: Attr: 
2023/04/11 21:59:09 DEBUG : media/TV/Show/Show, S2 A4.mp4: >Attr: a=valid=1s ino=0 size=1764650303 mode=-rw-r--r--, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/Show/: Lookup: name=/Show, S2 A5.mp4"
2023/04/11 21:59:09 DEBUG : media/TV/Show/: >Lookup: node=media/TV/Show/Show, S2 A5.mp4, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/Show/Show, S2 A5.mp4: Attr: 
2023/04/11 21:59:09 DEBUG : media/TV/Show/Show, S2 A5.mp4: >Attr: a=valid=1s ino=0 size=1916092180 mode=-rw-r--r--, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/Show/: Lookup: name=/Show, S2 A6.mp4"
2023/04/11 21:59:09 DEBUG : media/TV/Show/: >Lookup: node=media/TV/Show/Show, S2 A6.mp4, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/Show/Show, S2 A6.mp4: Attr: 
2023/04/11 21:59:09 DEBUG : media/TV/Show/Show, S2 A6.mp4: >Attr: a=valid=1s ino=0 size=1778264715 mode=-rw-r--r--, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/Show/: Lookup: name=/Show, S3 A1.mp4"
2023/04/11 21:59:09 DEBUG : media/TV/Show/: >Lookup: node=media/TV/Show/Show, S3 A1.mp4, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/Show/Show, S3 A1.mp4: Attr: 
2023/04/11 21:59:09 DEBUG : media/TV/Show/Show, S3 A1.mp4: >Attr: a=valid=1s ino=0 size=1853302541 mode=-rw-r--r--, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/Show/: Lookup: name=/Show, S3 A2.mp4"
2023/04/11 21:59:09 DEBUG : media/TV/Show/: >Lookup: node=media/TV/Show/Show, S3 A2.mp4, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/Show/Show, S3 A2.mp4: Attr: 
2023/04/11 21:59:09 DEBUG : media/TV/Show/Show, S3 A2.mp4: >Attr: a=valid=1s ino=0 size=1796750715 mode=-rw-r--r--, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/Show/: Lookup: name=/Show, S3 A3.mp4"
2023/04/11 21:59:09 DEBUG : media/TV/Show/: >Lookup: node=media/TV/Show/Show, S3 A3.mp4, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/Show/Show, S3 A3.mp4: Attr: 
2023/04/11 21:59:09 DEBUG : media/TV/Show/Show, S3 A3.mp4: >Attr: a=valid=1s ino=0 size=1980255550 mode=-rw-r--r--, err=<nil>
2023/04/11 21:59:09 DEBUG : media/TV/Show/: Lookup: name=".plexignore"
2023/04/11 21:59:09 DEBUG : media/TV/Show/: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 21:59:09 DEBUG : media/TV/Show/: Lookup: name=".plexignore"
2023/04/11 21:59:09 DEBUG : media/TV/Show/: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 21:59:09 DEBUG : media/TV/: Lookup: name=".plexignore"
2023/04/11 21:59:09 DEBUG : media/TV/: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 21:59:09 DEBUG : media/TV/Show/: Lookup: name=".plexignore"
2023/04/11 21:59:09 DEBUG : media/TV/Show/: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 21:59:09 DEBUG : media/TV/Show/: Lookup: name=".plexignore"
2023/04/11 21:59:09 DEBUG : media/TV/Show/: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 21:59:09 DEBUG : media/TV/: Lookup: name=".plexignore"
2023/04/11 21:59:09 DEBUG : media/TV/: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 21:59:09 DEBUG : media/TV/Show/: Lookup: name=".plexmatch"
2023/04/11 21:59:09 DEBUG : media/TV/Show/: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 21:59:10 DEBUG : media/TV/: Lookup: name=".grab"
2023/04/11 21:59:10 DEBUG : media/TV/: >Lookup: node=<nil>, err=no such file or directory
2023/04/11 22:00:09 DEBUG : Google drive root 'files': Checking for changes on remote
2023/04/11 22:00:09 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/04/11 22:00:39 DEBUG : /: Attr: 
2023/04/11 22:00:39 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>

The show is not appearing in Plex

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