I have a Chromebook. I got rclone working in the Crostini Linux a couple of years ago, but due to the permissions of the container could not use "rclone mount" . Revisiting this today, I have set up a debian system with cinamon desktop, using qemu in Crostini. It is dreadfully slow but finally rclone was able to auto-authorise, starting firefox by itself, but Google failed to comply.
I'll attach a screenshot if possible here.
No attachment possible. Screen said:
Access blocked: authorisation error
The OAuth client was not found
If you are a developer [etc]
Error 401: Invalid_client
Run the command 'rclone version' and share the full output of the command.
Sorry, system no longer up! It was latest in Debian's repository.
31st August 2024
It would take me another hour to do that...
Which cloud storage system are you using? (eg Google Drive)
Google drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
Were you in "developer mode"?
Mounting anything is not allowed in Crostini unless the Chromebook is in "developer mode" which cannot be entered without losing all data.
I've read that "fuse" mounting can be done, but never managed it myself.
i installed the linux environment, without loss of any files, without developer mode, without a reboot.
no problem running rclone mount in crostini as non-root user and then see the mountpoint in chromeos file manager.
no problem running vlc in chromeos and streaming a media file from the mountpoint.
user01@penguin:~$ rclone mount gdrive01:zork ./mpoint/ -vv
DEBUG : rclone: Version "v1.67.0" starting with parameters ["rclone" "mount" "gdrive01:zork" "./mpoint/" "-vv"]
DEBUG : Creating backend with remote "gdrive01:zork"
DEBUG : Using config file from "/home/user01/.config/rclone/rclone.conf"
DEBUG : Google drive root 'zork': Mounting on "./mpoint/"
DEBUG : : Root:
DEBUG : : >Root: node=/, err=<nil>
Well, perhaps mounting will work in the latest Crostini - it has been improved a lot. However, I can't get gdrive authorised in neither Crostini nor Debian.
I was trying to reach another Google account's drive when I got "The OAuth client was not found" from Google. Using my own account's drive, I get "Access blocked: authorisation error
Client missing a project id.
If you are a developer of this app, see error details.
Error 401: invalid_client"
The details are just "Request details: flowName=GeneralOAuthFlow"
myatescbk@penguin:~$ rclone version
rclone v1.60.1-DEV
myatescbk@penguin:~$ sudo apt install rclone
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
rclone is already the newest version (1.60.1+dfsg-2+b5).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
myatescbk@penguin:~$