So, I am testing the cloud sync feature of FreeNAS and was greeted by an error
With some troubleshooting, I believe that was due to the
Specifically, the config generated by FreeNAS contains:
And a working config generated by running
Apparently the
For obvious reasons you may not want to expose the root folder, so I believe this is an important feature. Some boxes to let you manually enter "advanced options" should be able to do the job.
PS:I am currently running 11.2-U4 so this may have been addressed already. Please let me know if this is the case
Code:
error reading destination directory: couldn't list directory: googleapi: Error 403: The granted scopes do not give access to all of the requested spaces., insufficientScopes
With some troubleshooting, I believe that was due to the
drive.appdata scope was used but root_folder_id was not set correctly. rclonetries to read the root folder and got denied, hence the error.Specifically, the config generated by FreeNAS contains:
Code:
[remote]
token = {"access_token":"***","token_type":"***","refresh_token":"***","expiry":"***"}
type = drive
folder = foldernameAnd a working config generated by running
rclone in CLI:Code:
[Gdrive]
type = drive
scope = drive.appfolder
root_folder_id = appDataFolder
token = {"access_token":"***","token_type":"***","refresh_token":"***","expiry":"***"}
Apparently the
scope and root_folder_id is missing, but only the latter would generate the same error when comments out (while the former seems to do nothing when comments out).For obvious reasons you may not want to expose the root folder, so I believe this is an important feature. Some boxes to let you manually enter "advanced options" should be able to do the job.
PS:I am currently running 11.2-U4 so this may have been addressed already. Please let me know if this is the case