alfredo
February 25, 2025, 4:29pm
1
Hi,
I am new to rclone and would like to use it with Proton Drive. The following command works fine:
rclone copy --progress --rc-enable-metrics --transfers 4 --protondrive-replace-existing-draft=true /sourcePath /remote:destinationPath
while these commands based on this do not.
rclone rcd --rc-web-gui --rc-addr=$RC_ADDR --rc-user=$RC_USER --rc-pass=$RC_PASS --log-file="$LOG_FILE" --log-level INFO --rc-enable-metrics &
rclone rc sync/sync srcFs="$SRC_FS" dstFs="$DST_FS" _async=true --url "http://$RC_ADDR" --user "$RC_USER" --pass "$RC_PASS" --log-file=$LOG_FILE --log-level INFO --progress --transfers 4 --protondrive-replace-existing-draft=true
Is the problem related to rc that does not read the parameters? Or is it related to sync that is not compatible with Proton Drive? Or something else?
Thank you
rclone version
rclone v1.69.1
os/version: ubuntu 24.04 (64 bit)
os/kernel: 6.11.0-17-generic (x86_64)
os/type: linux
os/arch: amd64
go/version: go1.24.0
go/linking: static
go/tags: none
rclone config redacted
[protonMy]
type = protondrive
username = username@protonmail.com
password = XXX
2fa = code
client_uid = XXX
client_access_token = XXX
client_refresh_token = XXX
client_salted_key_pass = XXX
asdffdsa
(jojothehumanmonkey)
February 25, 2025, 4:32pm
2
welcome to the forum,
alfredo:
--log-level INFO
use DEBUG
and post the full output.
alfredo
February 26, 2025, 6:35am
5
Thank you, but why does not it upload any files?
asdffdsa
(jojothehumanmonkey)
February 26, 2025, 1:49pm
6
well, based on that debug log snippet, there is nothing to upload.
alfredo
February 27, 2025, 6:45pm
7
This is probably my fault, however the following works:
SRC_FS="/home/user/folder"
DST_FS="protonuser:user/folder"
rclone copy --progress --rc-enable-metrics --transfers 4 --protondrive-replace-existing-draft=true $SRC_FS $DST_FS
while this one does not work. Can you explain to me what my error is?
SRC_FS="/home/user/folder"
DST_FS="protonuser:user/folder"
rclone rc sync/sync srcFs=$SRC_FS dstFs=$DST_FS _async=true --url "http://$RC_ADDR" --user $RC_USER --pass $RC_PASS --log-file=$LOG_FILE --log-level DEBUG --progress --transfers 4 --protondrive-replace-existing-draft=true
Thank you
Could you try NOT to use proton drive for test? Replace it with other local directory for example. Or some other remote destination.
It would help to narrow down where the issues is. Proton or RC.
alfredo
February 28, 2025, 4:54pm
9
Hi,
this is very strange. If I remove proton Drive and the rclone rc sync command is run locally, it works. However, the rclone copy command also works remotely on proton Drive. The rclone debug says it uses the cached credentials I have configured as explained here . Could this be the problem?
Are other users successfully using rclone rc with proton Drive?
Thanks
The next obvious question is whether simple rclone sync
works? Without rc. But with Proton destination.
1 Like