What is the problem you are having with rclone?
Protondrive errors when trying to upload sync
Run the command 'rclone version' and share the full output of the command.
rclone v1.66.0
- os/version: artix (64 bit)
- os/kernel: 6.8.7-artix1-1 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.22.1
- go/linking: dynamic
- go/tags: none
Are you on the latest version of rclone? You can validate by checking the version listed here: Rclone downloads
Yep 1.66
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
)
rclone sync /tmp/sway.log proton:/images/
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[proton]
type = protondrive
username = peter.pearce6517@protonmail.com
password = XXX
replace_existing_draft = true
client_uid = XXX
client_access_token = XXX
client_refresh_token = XXX
client_salted_key_pass = XXX
A log from the command that you were trying to run with the -vv
flag
2024/04/23 21:29:12 DEBUG : Creating backend with remote "/tmp/sway.log"
2024/04/23 21:29:12 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2024/04/23 21:29:12 DEBUG : fs cache: adding new entry for parent of "/tmp/sway.log", "/tmp"
2024/04/23 21:29:12 DEBUG : Creating backend with remote "proton:/images/"
2024/04/23 21:29:12 DEBUG : proton drive root link ID 'images': Has cached credentials
2024/04/23 21:29:14 DEBUG : proton drive root link ID 'images': Used cached credential to initialize the ProtonDrive API
2024/04/23 21:29:16 DEBUG : fs cache: renaming cache item "proton:/images/" to be canonical "proton:images"
2024/04/23 21:29:17 DEBUG : sway.log: Need to transfer - File not found at Destination
2024/04/23 21:29:19.201227 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/DcIrd8Hw_1lOozJ_91ooZVJu24ls331Xx-xzZAxIciAcReJpwB7cqWAOKNWh3JSibmynyMHjvHnnRBUiraoJFw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1
2024/04/23 21:29:19.201288 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/DcIrd8Hw_1lOozJ_91ooZVJu24ls331Xx-xzZAxIciAcReJpwB7cqWAOKNWh3JSibmynyMHjvHnnRBUiraoJFw==/files: A file or folder with that name already exists (Code=2500, Status=422)
2024/04/23 21:29:22.836012 WARN RESTY 400 POST https://mail.proton.me/api/drive/blocks: You are using an outdated version of the app. Please update to upload this file’ (Code=2000, Status=400), Attempt 1
2024/04/23 21:29:22.836060 ERROR RESTY 400 POST https://mail.proton.me/api/drive/blocks: You are using an outdated version of the app. Please update to upload this file’ (Code=2000, Status=400)
2024/04/23 21:29:22 ERROR : sway.log: Failed to copy: 400 POST https://mail.proton.me/api/drive/blocks: You are using an outdated version of the app. Please update to upload this file’ (Code=2000, Status=400)
2024/04/23 21:29:22 ERROR : Attempt 1/3 failed with 1 errors and: 400 POST https://mail.proton.me/api/drive/blocks: You are using an outdated version of the app. Please update to upload this file’ (Code=2000, Status=400)
2024/04/23 21:29:23 DEBUG : sway.log: Need to transfer - File not found at Destination
2024/04/23 21:29:25.384401 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/DcIrd8Hw_1lOozJ_91ooZVJu24ls331Xx-xzZAxIciAcReJpwB7cqWAOKNWh3JSibmynyMHjvHnnRBUiraoJFw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1
2024/04/23 21:29:25.384447 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/DcIrd8Hw_1lOozJ_91ooZVJu24ls331Xx-xzZAxIciAcReJpwB7cqWAOKNWh3JSibmynyMHjvHnnRBUiraoJFw==/files: A file or folder with that name already exists (Code=2500, Status=422)
2024/04/23 21:29:29.034200 WARN RESTY 400 POST https://mail.proton.me/api/drive/blocks: You are using an outdated version of the app. Please update to upload this file’ (Code=2000, Status=400), Attempt 1
2024/04/23 21:29:29.034252 ERROR RESTY 400 POST https://mail.proton.me/api/drive/blocks: You are using an outdated version of the app. Please update to upload this file’ (Code=2000, Status=400)
2024/04/23 21:29:29 ERROR : sway.log: Failed to copy: 400 POST https://mail.proton.me/api/drive/blocks: You are using an outdated version of the app. Please update to upload this file’ (Code=2000, Status=400)
2024/04/23 21:29:29 ERROR : Attempt 2/3 failed with 1 errors and: 400 POST https://mail.proton.me/api/drive/blocks: You are using an outdated version of the app. Please update to upload this file’ (Code=2000, Status=400)
2024/04/23 21:29:30 DEBUG : sway.log: Need to transfer - File not found at Destination
2024/04/23 21:29:31.565145 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/DcIrd8Hw_1lOozJ_91ooZVJu24ls331Xx-xzZAxIciAcReJpwB7cqWAOKNWh3JSibmynyMHjvHnnRBUiraoJFw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1
2024/04/23 21:29:31.565197 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/DcIrd8Hw_1lOozJ_91ooZVJu24ls331Xx-xzZAxIciAcReJpwB7cqWAOKNWh3JSibmynyMHjvHnnRBUiraoJFw==/files: A file or folder with that name already exists (Code=2500, Status=422)
2024/04/23 21:29:35.153389 WARN RESTY 400 POST https://mail.proton.me/api/drive/blocks: You are using an outdated version of the app. Please update to upload this file’ (Code=2000, Status=400), Attempt 1
2024/04/23 21:29:35.153439 ERROR RESTY 400 POST https://mail.proton.me/api/drive/blocks: You are using an outdated version of the app. Please update to upload this file’ (Code=2000, Status=400)
2024/04/23 21:29:35 ERROR : sway.log: Failed to copy: 400 POST https://mail.proton.me/api/drive/blocks: You are using an outdated version of the app. Please update to upload this file’ (Code=2000, Status=400)
2024/04/23 21:29:35 ERROR : Attempt 3/3 failed with 1 errors and: 400 POST https://mail.proton.me/api/drive/blocks: You are using an outdated version of the app. Please update to upload this file’ (Code=2000, Status=400)
2024/04/23 21:29:35 INFO :
Transferred: 493.995 KiB / 493.995 KiB, 100%, 19.299 KiB/s, ETA 0s
Errors: 1 (retrying may help)
Elapsed time: 23.0s
2024/04/23 21:29:35 DEBUG : 7 go routines active
2024/04/23 21:29:35 Failed to sync: 400 POST https://mail.proton.me/api/drive/blocks: You are using an outdated version of the app. Please update to upload this file’ (Code=2000, Status=400)
What am I doing wrong? Or what's gone wrong?
Is "replace_existing_draft = true" working?
Thanks in advance. Peter.