Difficulties setting up rclone via GUI on Synology Docker app

What is the problem you are having with rclone?

I am using the GUI via the Synology Docker app and I have trouble accessing my folders and google drive. I get some errors in the GUI (Error creating config. Error: Request failed with status code 500) and in the log (see below).

Run the command 'rclone version' and share the full output of the command.

v1.58.1 (sorry but I don't know how to run rclone version from the docker app)

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)

I wanted to set up a new config - with and without a self generated google api token.

The rclone config contents with secrets removed.

Again, I'm not sure how to get the config resulting from the GUI - here is a screen-captured pdf: rclone_config.pdf - Google Drive

A log from the command with the -vv flag

Same here - I pulled these from the synology docker application

2022-06-28T17:40:44.205433696Z	stdout	2022/06/28 17:40:44 ERROR : rc: "mount/mount": error: drive: failed when making oauth client: failed to create oauth client: empty token found - please run "rclone config reconnect google-drive-workspace2:"
2022-06-28T17:38:01.907722710Z	stdout	2022/06/28 17:38:01 ERROR : rc: "config/update": error: config failed to refresh token: failed to start auth webserver: listen tcp 127.0.0.1:53682: bind: address already in use
2022-06-28T17:38:01.907224642Z	stdout	2022/06/28 17:38:01 NOTICE: Make sure your Redirect URL is set to "http://127.0.0.1:53682/" in your custom config.```

hello and welcome to the forum,

i do not know how/if what you want can be done with docker.

to create a gdrive remote, to allow for oauth2, rclone needs to be run on a computer with a web browser.
or can use https://rclone.org/remote_setup/

so might be easier to create the remote on a computer with a web browser and then copy the rclone.conf to the synbox.
which is what i do with my synbox.

or use a gdrive service account file, which does not use oauth or tokens.

and can you post the docker compose file.

hey, thanks for the fast reply

to create a gdrive remote, to allow for oauth2, rclone needs to be run on a computer with a web browser.
or can use https://rclone.org/remote_setup/

right - this is for the oauth window that pops up?

so might be easier to create the remote on a computer with a web browser and then copy the rclone.conf to the synbox. which is what i do with my synbox.

so this has do be done once per drive account, and then I should be able to select folder-syncs the folders from within the gui?

or use a gdrive service account file, which does not use oauth or tokens.

how would that work exactly?

and can you post the docker compose file.

I didn't use compose, but the synology docker gui suite

right.

correct. tho can have multiple client_id per account.

https://rclone.org/drive/#service-account-support

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.