What is the problem you are having with rclone?
I am trying to sync a specific file of mine named "Games I want.md" which is 480 bytes, and it does sync correctly. Any changes I make locally do get sent to my remote with the command.
The problem is that it doesn't return successfully, it doesn't stop trying to sync, but rather just keeps sending 0 bytes between the remote and local machine.
Run the command 'rclone version' and share the full output of the command.
rclone v1.68.1
- os/version: ubuntu 24.04 (64 bit)
- os/kernel: 6.8.0-48-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.23.1
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
I am using Proton Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone sync /home/kr9sis/PDrive/ PDrive: --include "Games I Want" -v --protondrive-replace-existing-draft=true --log-file=./sync_err.log
The rclone config contents with secrets removed.
Paste config here
[PDrive]
type = protondrive
username = ************
password = ************
2fa = ************
client_uid = zto6vquxrz6xqtn6osf3ax7bcms3mysr
client_access_token = iqij6xijpfvulziju4x5jz6u7zaz6kne
client_refresh_token = bplmho5lc47jnqygwopjvkf5rlnjveli
client_salted_key_pass = LlJ5cFdZeDNWMlgwdjU3Y2F2Ly5pRkxZRjlqVUdDSw==
A log from the command with the -vv
flag
Paste log here
2024/11/08 17:56:33 DEBUG : rclone: Version "v1.67.0" starting with parameters ["rclone" "sync" "/home/kr9sis/PDrive/" "PDrive:" "--include" "Games I Want" "-vv" "--protondrive-replace-existing-draft=true" "--log-file=./sync_err.log" "--timeout=10m"]
2024/11/08 17:56:33 DEBUG : Creating backend with remote "/home/kr9sis/PDrive/"
2024/11/08 17:56:33 DEBUG : Using config file from "/home/kr9sis/.config/rclone/rclone.conf"
2024/11/08 17:56:33 DEBUG : fs cache: renaming cache item "/home/kr9sis/PDrive/" to be canonical "/home/kr9sis/PDrive"
2024/11/08 17:56:33 DEBUG : Creating backend with remote "PDrive:"
2024/11/08 17:56:33 DEBUG : PDrive: detected overridden config - adding "{kpshc}" suffix to name
2024/11/08 17:56:33 DEBUG : proton drive root link ID '': Has cached credentials
2024/11/08 17:56:33.368692 WARN RESTY 401 GET https://mail.proton.me/api/core/v4/users: Invalid access token (Code=401, Status=401), Attempt 1
2024/11/08 17:56:33.368876 ERROR RESTY 401 GET https://mail.proton.me/api/core/v4/users: Invalid access token (Code=401, Status=401)
2024/11/08 17:56:33 DEBUG : Saving config "client_uid" in section "PDrive" of the config file
2024/11/08 17:56:33 DEBUG : Saving config "client_access_token" in section "PDrive" of the config file
2024/11/08 17:56:33 DEBUG : Saving config "client_refresh_token" in section "PDrive" of the config file
2024/11/08 17:56:33 DEBUG : Saving config "client_salted_key_pass" in section "PDrive" of the config file
2024/11/08 17:56:35 DEBUG : proton drive root link ID '': Used cached credential to initialize the ProtonDrive API
2024/11/08 17:56:35 DEBUG : fs cache: renaming cache item "PDrive:" to be canonical "PDrive{kpshc}:"
2024/11/08 17:57:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 1m2.6s
2024/11/08 17:58:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 2m2.6s
2024/11/08 17:59:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 3m2.6s
2024/11/08 18:00:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 4m2.6s
2024/11/08 18:02:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 6m2.6s
2024/11/08 18:03:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 7m2.6s
2024/11/08 18:04:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 8m2.6s
2024/11/08 18:05:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 9m2.6s
2024/11/08 18:06:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 10m2.6s
2024/11/08 18:08:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 12m2.6s
2024/11/08 18:09:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 13m2.6s
2024/11/08 18:10:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 14m2.6s
2024/11/08 18:11:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 15m2.6s
2024/11/08 18:12:12.198992 WARN RESTY 504 GET https://mail.proton.me/api/drive/shares/bF8CdwEnVk59DAnOuRlYoXjaaaSJiuzuPUoBEJNYm-JNQGuEoBfVUHhKhbYmdXDbAggEfmQKuf1Aj-rHdiwEsg==/links/btnbQ2v0YMpGpVGAfxLvqRZWSiAHFlWnjmY855R9XUqkHErR5t8eDGTol95jxnF_TJanyhVknYAwStTcaRS5lw==: 504 Gateway Timeout (Code=0, Status=504), Attempt 1
2024/11/08 18:12:12.199144 ERROR RESTY 504 GET https://mail.proton.me/api/drive/shares/bF8CdwEnVk59DAnOuRlYoXjaaaSJiuzuPUoBEJNYm-JNQGuEoBfVUHhKhbYmdXDbAggEfmQKuf1Aj-rHdiwEsg==/links/btnbQ2v0YMpGpVGAfxLvqRZWSiAHFlWnjmY855R9XUqkHErR5t8eDGTol95jxnF_TJanyhVknYAwStTcaRS5lw==: 504 Gateway Timeout (Code=0, Status=504)
2024/11/08 18:12:12 ERROR : School/MK/2019/Vor 2019/FÉLA2BA05/Tímaverkefni 1. 2. 3. 4/Verkefni 3: error reading destination directory: 504 GET https://mail.proton.me/api/drive/shares/bF8CdwEnVk59DAnOuRlYoXjaaaSJiuzuPUoBEJNYm-JNQGuEoBfVUHhKhbYmdXDbAggEfmQKuf1Aj-rHdiwEsg==/links/btnbQ2v0YMpGpVGAfxLvqRZWSiAHFlWnjmY855R9XUqkHErR5t8eDGTol95jxnF_TJanyhVknYAwStTcaRS5lw==: 504 Gateway Timeout (Code=0, Status=504)
2024/11/08 18:12:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 16m2.6s
2024/11/08 18:13:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 17m2.6s
2024/11/08 18:14:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 18m2.6s
2024/11/08 18:15:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 19m2.6s
2024/11/08 18:16:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 20m2.6s
2024/11/08 18:17:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 21m2.6s
2024/11/08 18:18:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 22m2.6s
2024/11/08 18:19:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 23m2.6s
2024/11/08 18:20:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 24m2.6s
2024/11/08 18:21:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 25m2.6s
2024/11/08 18:22:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 26m2.6s
2024/11/08 18:23:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 27m2.6s
2024/11/08 18:24:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 28m2.6s
2024/11/08 18:25:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 29m2.6s
2024/11/08 18:26:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 30m2.6s
2024/11/08 18:27:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 31m2.6s
2024/11/08 18:28:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 32m2.6s
2024/11/08 18:29:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 33m2.6s
2024/11/08 18:30:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 34m2.6s
2024/11/08 18:31:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 35m2.6s
2024/11/08 18:32:35 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 36m2.6s
2024/11/08 18:33:36 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 37m2.6s
2024/11/08 18:34:36 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 38m2.6s
2024/11/08 18:35:36 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 39m2.6s
2024/11/08 18:36:36 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 40m2.6s
2024/11/08 18:37:36 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 41m2.6s
I removed all personal filenames where rclone said it was excluding said file. I did notice one weird thing though, it also excluded the file I wanted to include.
2024/11/08 23:16:53 DEBUG : Games I want.md: Excluded (Path Filter)
2024/11/08 23:16:53 DEBUG : Games I want.md: Excluded
I also tried writing the command with --include Games\ I\ Want
but got the same weird exclusion.