Multiple config files s3 ceph access

What is the problem you are having with rclone?

trying to create an rclone.conf file that will give me access to multiple clouds at the same time
I tried to create a combined rclone.conf file based on what I read here Multiple --config rclone.conf files? - #4 by asdffdsa
and here Documentation
but nothing is working, even though the individual rclone.conf files work fine!

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

rclone v1.50.2

  • os/arch: linux/amd64
  • go version: go1.13.8

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

s3 Ceph (multiple)

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

```rclone ls s3-hector


#### The rclone config contents with secrets removed.  
#Individual file 1: working fine as standalone
```[s3-hector]
```type = s3
```provider = Ceph
```access_key_id = xxxxxxxxxxxxxxxxxx
```secret_access_key = xxxxxxxxxxxxxxxxxx
```endpoint = https://s3.xxxxxxxxxxxxxxxxxx

#Individual file 2: working fine as standalone

```type = s3
```provider = Ceph
```access_key_id = xxxxxxxxxxxxxxxxxx
```secret_access_key = xxxxxxxxxxxxxxxxxx
```endpoint = https://s3.xxxxxxxxxxxxxxxxxx


combined file - not working
```RCLONE_CONFIG_S3-HECTOR_TYPE=s3
```RCLONE_CONFIG_S3-HECTOR_PROVIDER=Ceph
```RCLONE_CONFIG_S3-HECTOR_ACCESS_KEY_ID=xxxxxxxxxxxxxxxxxx
```RCLONE_CONFIG_S3-HECTOR_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxx
```RCLONE_CONFIG_S3-HECTOR_ENDPOINT=https://s3.xxxxxxxxxxxxxxxxxx
```RCLONE_CONFIG_S3-SARA_TYPE=s3
```RCLONE_CONFIG_S3-SARA_PROVIDER=Ceph
```RCLONE_CONFIG_S3-SARA_ACCESS_KEY_ID=xxxxxxxxxxxxxxxxxx
```RCLONE_CONFIG_S3-SARA_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxx
```RCLONE_CONFIG_S3-SARA_ENDPOINT=https://s3.xxxxxxxxxxxxxxxxxx



#### A log from the command with the `-vv` flag  

```2023/07/06 11:32:31 Failed to create file system for "s3-sara:": didn't find section in config file

Paste  log here

What

rclone listremotes

says?

First update your rclone to the latest version as you use ancient one. Delete your rclone and run:

sudo -v ; curl https://rclone.org/install.sh | sudo bash

Then edit your rclone.config file and put both remotes data there:

[s3-hector]
type = s3
provider = Ceph
access_key_id = xxxxxxxxxxxxxxxxxx
secret_access_key = xxxxxxxxxxxxxxxxxx
endpoint = https://s3.xxxxxxxxxxxxxxxxxx

[s3-sara]
type = s3
provider = Ceph
access_key_id = xxxxxxxxxxxxxxxxxx
secret_access_key = xxxxxxxxxxxxxxxxxx
endpoint = https://s3.xxxxxxxxxxxxxxxxxx
1 Like

thank you thank you thank you
its working beautifully!

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