Which cloud storage system are you using? (eg Google Drive)
protondrive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone mount protondrive:/media/kameroncole/extradrive1/protondrive /media/kameroncole/extradrive1/protondrive
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
rclone config redacted
[protondrive]
type = protondrive
username = kamcole@protonmail.com
password = XXX
otp_secret_key = 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
rclone mount protondrive:/media/kameroncole/extradrive1/protondrive /media/kameroncole/extradrive1/protondrive -vv
2025/12/31 12:05:11 DEBUG : rclone: Version "v1.72.1" starting with parameters ["rclone" "mount" "protondrive:/media/kameroncole/extradrive1/protondrive" "/media/kameroncole/extradrive1/protondrive" "-vv"]
2025/12/31 12:05:11 DEBUG : Creating backend with remote "protondrive:/media/kameroncole/extradrive1/protondrive"
2025/12/31 12:05:11 DEBUG : Using config file from "/home/kameroncole/.config/rclone/rclone.conf"
2025/12/31 12:05:11 DEBUG : proton drive root link ID 'media/kameroncole/extradrive1/protondrive': Using username and password to log in
2025/12/31 12:05:11 CRITICAL: Failed to create file system for "protondrive:/media/kameroncole/extradrive1/protondrive": couldn't generate 2FA code: Decoding of secret as base32 failed.
Note that the error concerns 2FA, which I don’t have configured for my Proton Drive (in my Proton Drive account). I did fill in my password in the rclone config - I don’t know whether the output of
password = XXX
means that the password is somehow not there? TBH, I could could use an “rclone for dummies using protondrive” manual. Apologies
I added the password via the interactive rclone config
I did not add 2FA - the prompt said “leave blank if no 2FA”
was asking if “XXX” meant there was an encoded value, or whether the value in the config was actually “XXX” for some reason
the “regular” commands work:
rclone lsd protondrive: -vv
2025/12/31 12:32:15 DEBUG : rclone: Version "v1.72.1" starting with parameters ["rclone" "lsd" "protondrive:" "-vv"]
2025/12/31 12:32:15 DEBUG : Creating backend with remote "protondrive:"
2025/12/31 12:32:15 DEBUG : Using config file from "/home/kameroncole/.config/rclone/rclone.conf"
2025/12/31 12:32:15 DEBUG : proton drive root link ID '': Using username and password to log in
2025/12/31 12:32:15 CRITICAL: Failed to create file system for "protondrive:": couldn't generate 2FA code: Decoding of secret as base32 failed.
will try removing the 2FA from the config file. I assume it is the file listed above?
/home/kameroncole/.config/rclone/rclone.conf
Would love to find the simple examples on the forum. When I created this post, it listed all related posts. I checked those, They weren’t simple enough. I need to know if I even need to perform the mount command, and exactly what the syntax is looking for on my system. I installed rclone, created a remote - now what? Do you have a link to the next steps, from the forum? Thank you!
It seems like the command rclone lsd protondrive: -vv itself did work - the CRITICAL log entry was from the earlier rclone mount command - that’s the command that did not work.
I removed the 2FA entry from the config file, and tried the mount command again. Seems to be working - although it is hanging - do I need to mount this in the background>
rclone mount protondrive:/home/kameroncole/protondrive /media/kameroncole/extradrive1/protondrive
2025/12/31 12:40:17 NOTICE: proton drive root link ID 'home/kameroncole/protondrive': --vfs-cache-mode writes or full is recommended for this remote as it can't stream
Per the notice above, not clear what to do: do I re-execute the command with the flag: --vfs-cache-mode writes? Or do I edit the remote config somehow?
Again, the command I executed has two arguments: one is a directory in my $HOME directory. I assume that is <path/to/files> whatever that means, The other is a directory on my additional harddrive, which has the arg placement for /path/to/local/mount
rclone lsd protondrive: -vv2025/12/31 12:50:57 DEBUG : rclone: Version "v1.72.1" starting with parameters ["rclone" "lsd" "protondrive:" "-vv"]
2025/12/31 12:50:57 DEBUG : Creating backend with remote "protondrive:"
2025/12/31 12:50:57 DEBUG : Using config file from "/home/kameroncole/.config/rclone/rclone.conf"
2025/12/31 12:50:57 DEBUG : proton drive root link ID '': Has cached credentials
2025/12/31 12:51:03 DEBUG : proton drive root link ID '': Used cached credential to initialize the ProtonDrive API
-1 2025-12-30 18:48:05 -1 kc0olm@gmail.com-drive
-1 2025-12-30 20:14:57 -1 kc0olm@gmail.com-iclouddrive
2025/12/31 12:51:03 DEBUG : 5 go routines active
Those are indeed directories in my protonmail online drive.
But now, how to add/sync a file? For example, I just created a testfile.txt in the /home/kameroncole/protondrive dir, which is the <path/to/files> Hoping it would show up in the mount directory, or even better, appear on my proton drive. Again, missing “next steps”
rclone mount protondrive:/home/kameroncole/protondrive /media/kameroncole/extradrive1/protondrive --vfs-cache-mode full&
Created a directory and file on proton drive online, and now I see it in this command.
rclone lsd protondrive: -vv2025/12/31 13:06:23 DEBUG : rclone: Version "v1.72.1" starting with parameters ["rclone" "lsd" "protondrive:" "-vv"]
2025/12/31 13:06:23 DEBUG : Creating backend with remote "protondrive:"
2025/12/31 13:06:23 DEBUG : Using config file from "/home/kameroncole/.config/rclone/rclone.conf"
2025/12/31 13:06:23 DEBUG : proton drive root link ID '': Has cached credentials
2025/12/31 13:06:27 DEBUG : proton drive root link ID '': Used cached credential to initialize the ProtonDrive API
-1 2025-12-30 18:48:05 -1 kc0olm@gmail.com-drive
-1 2025-12-30 20:14:57 -1 kc0olm@gmail.com-iclouddrive
-1 2025-12-31 12:57:27 -1 linux_test
Don’t know where/if I should see it in either the files drive or the mount drive - don’t see it in either at the moment. Feels like I need to run the rclone sync command, but again, syntax is not clear:
Usage:
rclone sync source:path dest:path [flags]
What exactly is source:path and dest:path? Are these local paths, or do I need to find the path somehow from the proton drive web UI?
thanks. good to know that sync is not needed, when using mount.
Just pasted a file into the mount point. this is what the logs wrote:
2026/01/02 09:30:34 ERROR : testfile.txt: vfs cache: failed to upload try #2, will retry in 20s: vfs cache: failed to transfer file from cache to remote: 422 GET https://mail.proton.me/api/drive/shares/yJtmSWzaD0ebJZZmPbkzisOhrelpvxArTk96HKXKWXhU3iOMvapXMaVJysM4mYMRrq6R3SSkePgA4ekEuSJoFg==/files/B2cw6Lx_jE1RuFEnKhsfHxxHP-OBCl6xc4bF0ctiIilg17VJkVT-1OMXVkW0Ke5_YtrABG9WNe2SCqvGCcMbfw==/revisions: File or folder not found (Code=2501, Status=422)
Hi all, thanks for the steps to here, wanted to share what I found useful.
In the rclone .config file, the second password should be sent as “mailbox_password” (ie., mailbox_password = xxx), not whatever rclone had it saved as (aep, I think). Was a handshake issue.
Also, I don’t have 2fa on, but I found that the config file worked with it as a blank string (2fa=” “).