Docker: unable to create config file using rclone config

What is the problem you are having with rclone?

I've installed rclone via docker on my Synology. I'm using the following command:
docker run --rm --user $(id -u):$(id -g) --volume /volume1/Plex/zBin/:/zBin/ --volume /volume1/docker/configs/rclone:/config/rclone --volume /volume1/bytesized/rclone-complete:/data rclone/rclone:latest

I can successfully run rclone version and I can run rclone copy to copy the /zBin folder to /data as a test:

docker run --rm --user 1026:100 --volume /volume1/Plex/zBin/:/zBin/ --volume /volume1/docker/configs/rclone:/config/rclone --volume /volume1/bytesized/rclone-complete:/data rclone/rclone:latest version

docker run --rm --user 1026:100 --volume /volume1/Plex/zBin/:/zBin/ --volume /volume1/docker/configs/rclone:/config/rclone --volume /volume1/bytesized/rclone-complete:/data rclone/rclone:latest copy

I'm unable to generate a config file using rclone config. I'm getting the following error:

docker run --rm --user 1026:100 --volume /volume1/Plex/zBin/:/zBin/ --volume /volume1/docker/configs/rclone:/config/rclone --volume /volume1/bytesized/rclone-complete:/data rclone/rclone:latest config 2023/06/20 17:01:51 NOTICE: Config file "/config/rclone/rclone.conf" not found - using defaults 2023/06/20 17:01:51 Failed to read line: EOF No remotes found, make a new one? n) New remote s) Set configuration password q) Quit config n/s/q> ~ [ justin.fisher @ Synology ] q -sh: q: command not found

I've tried touching the rclone.conf file before running the command as well.

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

rclone v1.62.2

  • os/version: alpine 3.17.2 (64 bit)
  • os/kernel: 4.4.180+ (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.20.2
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Haven't got this far yet, but will be using SFTP to connect to a server

The command you were trying to run (eg rclone copy /tmp remote:tmp)

docker run --rm --user 1026:100 --volume /volume1/Plex/zBin/:/zBin/ --volume /volume1/docker/configs/rclone:/config/rclone --volume /volume1/bytesized/rclone-complete:/data rclone/rclone:latest config

The rclone config contents with secrets removed.

Currently unable to generate

A log from the command with the -vv flag

docker run --rm --user 1026:100 --volume /volume1/Plex/zBin/:/zBin/ --volume /volume1/docker/configs/rclone:/config/rclone --volume /volume1/bytesized/rclone-complete:/data rclone/rclone:latest -vv config
2023/06/20 17:11:15 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "-vv" "config"]
2023/06/20 17:11:15 NOTICE: Config file "/config/rclone/rclone.conf" not found - using defaults
No remotes found, make a new one?
n) New remote
s) Set configuration password
q) Quit config
n/s/q> 2023/06/20 17:11:15 Failed to read line: EOF

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