What is the problem you are having with rclone?
My use case for rclone is that I'm writing a screenplay, and I want the file to be synced to protondrive for when I switch from my desktop to laptop. With my current config, half of the time I try to open the file the app immediately crashed. When I try to save the file, screenwriting program freezes up and crashes. The changes to the file seem to be applied, but this isn't ideal behavior. There's definitely an issue wit the way it's accessing the file. I'm sure I just need to change some flags, but I can't tell which ones will fix this issue. It's going over my head. And it's not an issue with this app, it's only when it reads it directly from Proton drive with this setup. Any help would be appreciated.
Run the command 'rclone version' and share the full output of the command.
rclone v1.68.0
- os/version: arch (64 bit)
- os/kernel: 6.10.10-zen1-1-zen (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.23.1
- go/linking: dynamic
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Proton drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
My system automatically mounts the drive by running this at startup
rclone mount PDrive: /home/jonah/ProtonDrive/ --vfs-cache-mode full
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[PDrive]
type = protondrive
username = XXX
password = XXX
client_uid = XXX
client_access_token = XXX
client_refresh_token = XXX
client_salted_key_pass = XXX
### Double check the config for sensitive info before posting publicly
A log from the command that you were trying to run with the -vv
flag
Here's the output from the mount command once I try to save my file
2024/09/29 00:31:13 DEBUG : /: Attr:
2024/09/29 00:31:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024/09/29 00:31:13 DEBUG : glow.fadein: Attr:
2024/09/29 00:31:13 DEBUG : glow.fadein: >Attr: a=valid=1s ino=0 size=7225 mode=-rw-r--r--, err=<nil>
2024/09/29 00:31:13 DEBUG : /: Lookup: name="glow.fadein_save_backup"
2024/09/29 00:31:13 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/09/29 00:31:13 DEBUG : /: Rename: oldName="glow.fadein", newName="glow.fadein_save_backup", newDir=/
2024/09/29 00:31:21 INFO : glow.fadein: Moved (server-side) to: glow.fadein_save_backup
2024/09/29 00:31:21 INFO : glow.fadein: vfs cache: renamed in cache to "glow.fadein_save_backup"
2024/09/29 00:31:21 DEBUG : glow.fadein_save_backup: Updating file with glow.fadein_save_backup 0xc000ef60c0
2024/09/29 00:31:21 DEBUG : : Added virtual directory entry vDel: "glow.fadein"
2024/09/29 00:31:21 DEBUG : : Added virtual directory entry vAddFile: "glow.fadein_save_backup"
2024/09/29 00:31:21 DEBUG : /: >Rename: err=<nil>
2024/09/29 00:31:21 DEBUG : /: Invalidating "glow.fadein_save_backup"
2024/09/29 00:31:21 DEBUG : /: Lookup: name="glow.fadein"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/09/29 00:31:21 DEBUG : /: Attr:
2024/09/29 00:31:21 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024/09/29 00:31:21 DEBUG : /: Lookup: name="glow.fadein"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/09/29 00:31:21 DEBUG : /: Create: name="glow.fadein"
2024/09/29 00:31:21 DEBUG : glow.fadein: Open: flags=O_WRONLY|O_CREATE|O_TRUNC
2024/09/29 00:31:21 DEBUG : glow.fadein: newRWFileHandle:
2024/09/29 00:31:21 DEBUG : glow.fadein(0xc000ce64c0): openPending:
2024/09/29 00:31:21 DEBUG : glow.fadein: vfs cache: truncate to size=0 (not needed as size correct)
2024/09/29 00:31:21 DEBUG : : Added virtual directory entry vAddFile: "glow.fadein"
2024/09/29 00:31:21 DEBUG : glow.fadein(0xc000ce64c0): >openPending: err=<nil>
2024/09/29 00:31:21 DEBUG : glow.fadein: >newRWFileHandle: err=<nil>
2024/09/29 00:31:21 DEBUG : : Added virtual directory entry vAddFile: "glow.fadein"
2024/09/29 00:31:21 DEBUG : glow.fadein: >Open: fd=glow.fadein (rw), err=<nil>
2024/09/29 00:31:21 DEBUG : /: >Create: node=glow.fadein, handle=&{glow.fadein (rw)}, err=<nil>
2024/09/29 00:31:21 DEBUG : glow.fadein: Attr:
2024/09/29 00:31:21 DEBUG : glow.fadein: >Attr: a=valid=1s ino=0 size=0 mode=-rw-r--r--, err=<nil>
2024/09/29 00:31:21 DEBUG : /: Lookup: name=".Trash"
2024/09/29 00:31:21 DEBUG : &{glow.fadein (rw)}: Write: len=4096, offset=0
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/09/29 00:31:21 DEBUG : glow.fadein(0xc000ce64c0): _writeAt: size=4096, off=0
2024/09/29 00:31:21 DEBUG : glow.fadein(0xc000ce64c0): >_writeAt: n=4096, err=<nil>
2024/09/29 00:31:21 DEBUG : &{glow.fadein (rw)}: >Write: written=4096, err=<nil>
2024/09/29 00:31:21 DEBUG : /: Lookup: name=".Trash-1000"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=.Trash-1000/, err=<nil>
2024/09/29 00:31:21 DEBUG : .Trash-1000/: Attr:
2024/09/29 00:31:21 DEBUG : .Trash-1000/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024/09/29 00:31:21 DEBUG : &{glow.fadein (rw)}: Write: len=3130, offset=4096
2024/09/29 00:31:21 DEBUG : glow.fadein(0xc000ce64c0): _writeAt: size=3130, off=4096
2024/09/29 00:31:21 DEBUG : glow.fadein(0xc000ce64c0): >_writeAt: n=3130, err=<nil>
2024/09/29 00:31:21 DEBUG : /: Lookup: name="glow.fadein_save_backup"
2024/09/29 00:31:21 DEBUG : &{glow.fadein (rw)}: >Write: written=3130, err=<nil>
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=glow.fadein_save_backup, err=<nil>
2024/09/29 00:31:21 DEBUG : glow.fadein_save_backup: Attr:
2024/09/29 00:31:21 DEBUG : glow.fadein_save_backup: >Attr: a=valid=1s ino=0 size=7225 mode=-rw-r--r--, err=<nil>
2024/09/29 00:31:21 DEBUG : &{glow.fadein (rw)}: Flush:
2024/09/29 00:31:21 DEBUG : glow.fadein(0xc000ce64c0): RWFileHandle.Flush
2024/09/29 00:31:21 DEBUG : &{glow.fadein (rw)}: >Flush: err=<nil>
2024/09/29 00:31:21 DEBUG : /: Lookup: name=".hidden"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/09/29 00:31:21 DEBUG : &{glow.fadein (rw)}: Release:
2024/09/29 00:31:21 DEBUG : glow.fadein(0xc000ce64c0): RWFileHandle.Release
2024/09/29 00:31:21 DEBUG : glow.fadein(0xc000ce64c0): close:
2024/09/29 00:31:21 DEBUG : glow.fadein: vfs cache: setting modification time to 2024-09-29 00:31:21.135619635 -0400 EDT m=+278.587830830
2024/09/29 00:31:21 INFO : glow.fadein: vfs cache: queuing for upload in 5s
2024/09/29 00:31:21 DEBUG : glow.fadein(0xc000ce64c0): >close: err=<nil>
2024/09/29 00:31:21 DEBUG : glow.fadein: Setattr: a=Setattr [ID=0x3d6 Node=0x7 Uid=1000 Gid=1000 Pid=1949] mode=-rw------- handle=INVALID-0x0
2024/09/29 00:31:21 DEBUG : &{glow.fadein (rw)}: >Release: err=<nil>
2024/09/29 00:31:21 DEBUG : glow.fadein: >Setattr: err=<nil>
2024/09/29 00:31:21 DEBUG : glow.fadein: Attr:
2024/09/29 00:31:21 DEBUG : glow.fadein: >Attr: a=valid=1s ino=0 size=7226 mode=-rw-r--r--, err=<nil>
2024/09/29 00:31:21 DEBUG : /: Remove: name="glow.fadein_save_backup"
2024/09/29 00:31:21 DEBUG : /: Attr:
2024/09/29 00:31:21 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024/09/29 00:31:21 DEBUG : glow.fadein_save_backup: Remove:
2024/09/29 00:31:21 INFO : glow.fadein_save_backup: vfs cache: removed cache file as file deleted
2024/09/29 00:31:21 DEBUG : glow.fadein_save_backup: vfs cache: removed metadata from cache as file deleted
2024/09/29 00:31:21 DEBUG : : Added virtual directory entry vDel: "glow.fadein_save_backup"
2024/09/29 00:31:21 DEBUG : glow.fadein_save_backup: >Remove: err=<nil>
2024/09/29 00:31:21 DEBUG : /: >Remove: err=<nil>
2024/09/29 00:31:21 DEBUG : /: Lookup: name=".Trash"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/09/29 00:31:21 DEBUG : /: Lookup: name=".Trash"
2024/09/29 00:31:21 DEBUG : /: ReadDirAll:
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/09/29 00:31:21 DEBUG : /: >ReadDirAll: item=9, err=<nil>
2024/09/29 00:31:21 DEBUG : /: Lookup: name="glow.fadein_save_backup"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/09/29 00:31:21 DEBUG : /: Lookup: name=".sync-exclude.lst"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=.sync-exclude.lst, err=<nil>
2024/09/29 00:31:21 DEBUG : .sync-exclude.lst: Attr:
2024/09/29 00:31:21 DEBUG : .sync-exclude.lst: >Attr: a=valid=1s ino=0 size=0 mode=-rw-r--r--, err=<nil>
2024/09/29 00:31:21 DEBUG : /: Attr:
2024/09/29 00:31:21 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024/09/29 00:31:21 DEBUG : /: Lookup: name=".Trash"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/09/29 00:31:21 DEBUG : /: Lookup: name=".Trash"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/09/29 00:31:21 DEBUG : /: Lookup: name=".Trash"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/09/29 00:31:21 DEBUG : /: Lookup: name="Comptia"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=Comptia/, err=<nil>
2024/09/29 00:31:21 DEBUG : Comptia/: Attr:
2024/09/29 00:31:21 DEBUG : Comptia/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024/09/29 00:31:21 DEBUG : /: Lookup: name=".Trash"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/09/29 00:31:21 DEBUG : /: Lookup: name="Work"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=Work/, err=<nil>
2024/09/29 00:31:21 DEBUG : Work/: Attr:
2024/09/29 00:31:21 DEBUG : Work/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024/09/29 00:31:21 DEBUG : /: Lookup: name=".Trash"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/09/29 00:31:21 DEBUG : /: Lookup: name="Glow"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=Glow/, err=<nil>
2024/09/29 00:31:21 DEBUG : Glow/: Attr:
2024/09/29 00:31:21 DEBUG : Glow/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024/09/29 00:31:21 DEBUG : /: Lookup: name="Music"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=Music/, err=<nil>
2024/09/29 00:31:21 DEBUG : Music/: Attr:
2024/09/29 00:31:21 DEBUG : Music/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024/09/29 00:31:21 DEBUG : /: Lookup: name="glow.fadein_save_backup"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/09/29 00:31:21 DEBUG : /: Lookup: name="glow.fadein_save_backup"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/09/29 00:31:21 DEBUG : /: Lookup: name="glow.fadein_save_backup"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/09/29 00:31:21 DEBUG : /: Lookup: name="glow.fadein_save_backup"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/09/29 00:31:21 DEBUG : /: Lookup: name=".sh_thumbnails"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/09/29 00:31:21 DEBUG : Glow/: Lookup: name="Glow.fadein"
2024/09/29 00:31:21 DEBUG : Glow/: >Lookup: node=Glow/Glow.fadein, err=<nil>
2024/09/29 00:31:21 DEBUG : Glow/Glow.fadein: Attr:
2024/09/29 00:31:21 DEBUG : Glow/Glow.fadein: >Attr: a=valid=1s ino=0 size=8056 mode=-rw-r--r--, err=<nil>
2024/09/29 00:31:21 DEBUG : /: Lookup: name="Glow.fadein"
2024/09/29 00:31:21 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/09/29 00:31:21 DEBUG : : Statfs:
2024/09/29 00:31:21 DEBUG : : >Statfs: stat={Blocks:3932160 Bfree:3729644 Bavail:3729644 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2024/09/29 00:31:21 DEBUG : /: Attr:
2024/09/29 00:31:21 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024/09/29 00:31:26 DEBUG : glow.fadein: vfs cache: starting upload
2024/09/29 00:31:29 DEBUG : glow.fadein: sha1 = 766155edb4c2fd8c59016fb03962117f2e9113dc OK
2024/09/29 00:31:29 INFO : glow.fadein: Copied (new)
2024/09/29 00:31:29 DEBUG : glow.fadein: vfs cache: fingerprint now "7226,2024-09-29 04:31:21.135619635 +0000 UTC,766155edb4c2fd8c59016fb03962117f2e9113dc"
2024/09/29 00:31:29 DEBUG : glow.fadein: vfs cache: writeback object to VFS layer
2024/09/29 00:31:29 DEBUG : : Added virtual directory entry vAddFile: "glow.fadein"
2024/09/29 00:31:29 INFO : glow.fadein: vfs cache: upload succeeded try #1