$ rclone ls proton: -vv
<7>DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "ls" "proton:" "-vv"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "proton:"
<7>DEBUG : Using config file from "/home/fred/.config/rclone/rclone.conf"
<7>DEBUG : proton drive root link ID '': Has cached credentials
<7>DEBUG : proton drive root link ID '': Used cached credential to initialize the ProtonDrive API
<3>ERROR : : error listing: object not found
<7>DEBUG : 5 go routines active
Failed to ls with 2 errors: last error was: object not found
rclone ls proton01: -vv
2023/11/07 09:22:30 DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "ls" "proton01:" "-vv"]
2023/11/07 09:22:30 DEBUG : Creating backend with remote "proton01:"
2023/11/07 09:22:30 DEBUG : Using config file from "c:\\data\\rclone\\rclone.conf"
2023/11/07 09:22:30 DEBUG : proton drive root link ID '': Has cached credentials
2023/11/07 09:22:33 DEBUG : proton drive root link ID '': Used cached credential to initialize the ProtonDrive API
17 file.ext
did proton: work in the past and just now failed, or is this the first time using it?
i would create a new remote from scratch.
Uploading a file works (and I could check online that the file was there)
$ rclone copy ~/temp/file.ext Proton: -vv
<7>DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "copy" "/home/fred/temp/file.ext" "Proton:" "-vv"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "/home/fred/temp/file.ext"
<7>DEBUG : Using config file from "/home/fred/.config/rclone/rclone.conf"
<7>DEBUG : fs cache: adding new entry for parent of "/home/fred/temp/file.ext", "/home/fred/temp"
<7>DEBUG : Creating backend with remote "Proton:"
<7>DEBUG : proton drive root link ID '': Has cached credentials
<7>DEBUG : proton drive root link ID '': Used cached credential to initialize the ProtonDrive API
<7>DEBUG : file.ext: Need to transfer - File not found at Destination
<7>DEBUG : file.ext: sha1 = 4eb5f318a048763f4e2c625ccc5111947584e2b1 OK
<6>INFO : file.ext: Copied (new)
<6>INFO :
Transferred: 5 B / 5 B, 100%, 2 B/s, ETA 0s
Transferred: 1 / 1, 100%
Elapsed time: 5.6s
<7>DEBUG : 8 go routines active
However, right after that:
$ rclone ls Proton: -vv
<7>DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "ls" "Proton:" "-vv"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "Proton:"
<7>DEBUG : Using config file from "/home/fred/.config/rclone/rclone.conf"
<7>DEBUG : proton drive root link ID '': Has cached credentials
<7>DEBUG : proton drive root link ID '': Used cached credential to initialize the ProtonDrive API
<3>ERROR : : error listing: object not found
<7>DEBUG : 5 go routines active
Failed to ls with 2 errors: last error was: object not found
Same with folder creation, which I can create but not list, whether I then use ls or lsd
Note: the remote is now Proton, as I tried to delete and create the remote yet a second time, with a different name.
if you do not post the debug out, we cannot be sure what you are doing?
rclone mkdir proton01:zork -vv
2023/11/07 09:42:06 DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "mkdir" "proton01:zork" "-vv"]
2023/11/07 09:42:06 DEBUG : Creating backend with remote "proton01:zork"
2023/11/07 09:42:06 DEBUG : Using config file from "c:\\data\\rclone\\rclone.conf"
2023/11/07 09:42:06 DEBUG : proton drive root link ID 'zork': Has cached credentials
2023/11/07 09:42:07 DEBUG : proton drive root link ID 'zork': Used cached credential to initialize the ProtonDrive API
2023/11/07 09:42:08 DEBUG : proton drive root link ID 'zork': Making directory
2023/11/07 09:42:09 DEBUG : 3 go routines active
c:\data\rclone>rclone ls proton01:zork -vv
2023/11/07 09:42:14 DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "ls" "proton01:zork" "-vv"]
2023/11/07 09:42:14 DEBUG : Creating backend with remote "proton01:zork"
2023/11/07 09:42:14 DEBUG : Using config file from "c:\\data\\rclone\\rclone.conf"
2023/11/07 09:42:14 DEBUG : proton drive root link ID 'zork': Has cached credentials
2023/11/07 09:42:15 DEBUG : proton drive root link ID 'zork': Used cached credential to initialize the ProtonDrive API
2023/11/07 09:42:17 DEBUG : 3 go routines active
c:\data\rclone>rclone lsd proton01:zork -vv
2023/11/07 09:42:19 DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "lsd" "proton01:zork" "-vv"]
2023/11/07 09:42:19 DEBUG : Creating backend with remote "proton01:zork"
2023/11/07 09:42:19 DEBUG : Using config file from "c:\\data\\rclone\\rclone.conf"
2023/11/07 09:42:19 DEBUG : proton drive root link ID 'zork': Has cached credentials
2023/11/07 09:42:21 DEBUG : proton drive root link ID 'zork': Used cached credential to initialize the ProtonDrive API
2023/11/07 09:42:24 DEBUG : 3 go routines active
$ rclone mkdir Proton:test-folder -vv
<7>DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "mkdir" "Proton:test-folder" "-vv"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "Proton:test-folder"
<7>DEBUG : Using config file from "/home/fred/.config/rclone/rclone.conf"
<7>DEBUG : proton drive root link ID 'test-folder': Has cached credentials
<7>DEBUG : proton drive root link ID 'test-folder': Used cached credential to initialize the ProtonDrive API
<7>DEBUG : proton drive root link ID 'test-folder': Making directory
<7>DEBUG : 5 go routines active
Folder is visible online. But...
$ rclone ls Proton: -vv
<7>DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "ls" "Proton:" "-vv"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "Proton:"
<7>DEBUG : Using config file from "/home/fred/.config/rclone/rclone.conf"
<7>DEBUG : proton drive root link ID '': Has cached credentials
<7>DEBUG : proton drive root link ID '': Used cached credential to initialize the ProtonDrive API
<3>ERROR : : error listing: object not found
<7>DEBUG : 5 go routines active
Failed to ls with 2 errors: last error was: object not found
$ rclone lsd Proton: -vv
<7>DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "lsd" "Proton:" "-vv"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "Proton:"
<7>DEBUG : Using config file from "/home/fred/.config/rclone/rclone.conf"
<7>DEBUG : proton drive root link ID '': Has cached credentials
<7>DEBUG : proton drive root link ID '': Used cached credential to initialize the ProtonDrive API
<3>ERROR : : error listing: object not found
<7>DEBUG : 5 go routines active
Failed to lsd with 2 errors: last error was: object not found
Indeed, I can list files that I updated in the folder i have earlier created. But I cannot list the content of the root. Wonder whether it's a limitation on Proton's side, a bug on either side or a security measure on Proton's side
imho, neither, as i already posted an example of listing root and it work...
rclone ls proton01: -vv
2023/11/07 09:22:30 DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "ls" "proton01:" "-vv"]
2023/11/07 09:22:30 DEBUG : Creating backend with remote "proton01:"
2023/11/07 09:22:30 DEBUG : Using config file from "c:\\data\\rclone\\rclone.conf"
2023/11/07 09:22:30 DEBUG : proton drive root link ID '': Has cached credentials
2023/11/07 09:22:33 DEBUG : proton drive root link ID '': Used cached credential to initialize the ProtonDrive API
17 file.ext
NB This backend is currently in Beta. It is believed to be correct and all the integration tests pass. However the Proton Drive protocol has evolved over time there may be accounts it is not compatible with. Please post on the rclone forum if you find an incompatibility.
I think the proton remote maintainer might be the best person to answer this one.