I have set-up rclone for transfer data from local to oracle object storage bucket but encountering the error

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

root@mango-server:~# rclone ls oci_rkmsbackup:
2024/05/27 17:17:49 ERROR : oci: failed to create object storage client, can not create client, bad configuration: did not find a proper configuration for private key
2024/05/27 17:17:49 Failed to create file system for "oci_rkmsbackup:": can not create client, bad configuration: did not find a proper configuration for private key

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

root@mango-server:~# rclone version
rclone v1.66.0

  • os/version: ubuntu 22.04 (64 bit)
  • os/kernel: 5.15.0-106-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.22.1
  • go/linking: static
  • go/tags: none

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

Oracle object storage

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

I was attempting to list the Oracle Object Storage bucket using the command: rclone ls oci_rkmsbackup:

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

root@mango-server:~# rclone config redacted
[oci_rkmsbackup]
type = oracleobjectstorage
provider = oci
namespace = XXX
compartment = XXX
region = ap-mumbai-1
endpoint =
config_file = /root/.oci/config
key_file = /root/.oci/oci_api_key.pem
### Double check the config for sensitive info before posting publicly

A log from the command that you were trying to run with the -vv flag

root@mango-server:~# rclone ls -vv oci_rkmsbackup:
2024/05/27 17:16:45 DEBUG : rclone: Version "v1.66.0" starting with parameters ["rclone" "ls" "-vv" "oci_rkmsbackup:"]
2024/05/27 17:16:45 DEBUG : Creating backend with remote "oci_rkmsbackup:"
2024/05/27 17:16:45 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2024/05/27 17:16:45 ERROR : oci: failed to create object storage client, can not create client, bad configuration: did not find a proper configuration for private key
2024/05/27 17:16:45 Failed to create file system for "oci_rkmsbackup:": can not create client, bad configuration: did not find a proper configuration for private key

What is this option? Where did you get it from?

Have a look at docs:

And use options rclone knows.

I got the blog stating that key file is missing in the conf file. So I entered it but got no luck.

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