Can't create new OCI bucket from rclone mkdir

What is the problem you are having with rclone?

I can't create new buckets with rclone mkdir on Oracle Cloud (OCI).

I can list buckets/dirs fine. Copy and sync both work to an existing bucket but I can't make a new one.
I've checked the permissions a few times with multiple accounts and that's not the issue either.

Any help appreciated!

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

rclone v1.57.0
- os/version: amazon 2 (64 bit)
- os/kernel: 5.10.76-linuxkit (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.17.2
- go/linking: static
- go/tags: none

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

Oracle (OCI)

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

rclone mkdir oci:some_new_bucket -vvvv

The rclone config contents with secrets removed.

[oci]
type = s3
provider = Other
env_auth = true

Then in the env vars I have:

RCLONE_CONFIG_OCI_TYPE=s3
RCLONE_CONFIG_OCI_REGION=us-ashburn-1
RCLONE_CONFIG_OCI_ENDPOINT=https://ENDPOINT.compat.objectstorage.us-ashburn-1.oraclecloud.com
RCLONE_CONFIG_OCI_ACCESS_KEY_ID=SOME_KEY
RCLONE_CONFIG_OCI_SECRET_ACCESS_KEY=SOME_SECRET_KEY

A log from the command with the -vv flag

> rclone mkdir oci:some_new_bucket -vvvv
2022/02/21 17:22:00 DEBUG : rclone: Version "v1.57.0" starting with parameters ["/usr/bin/rclone" "mkdir" "oci:some_new_bucket" "-vvvv"]
2022/02/21 17:22:00 DEBUG : Creating backend with remote "oci:some_new_bucket"
2022/02/21 17:22:00 DEBUG : Setting type="s3" for "oci" from environment variable RCLONE_CONFIG_OCI_TYPE
2022/02/21 17:22:00 DEBUG : Setting access_key_id="SOME_KEY" for "oci" from environment variable RCLONE_CONFIG_OCI_ACCESS_KEY_ID
2022/02/21 17:22:00 DEBUG : Setting secret_access_key="SOME_SECRET_KEY" for "oci" from environment variable RCLONE_CONFIG_OCI_SECRET_ACCESS_KEY
2022/02/21 17:22:00 DEBUG : Setting region="us-ashburn-1" for "oci" from environment variable RCLONE_CONFIG_OCI_REGION
2022/02/21 17:22:00 DEBUG : Setting region="us-ashburn-1" for "oci" from environment variable RCLONE_CONFIG_OCI_REGION
2022/02/21 17:22:00 DEBUG : Setting region="us-ashburn-1" for "oci" from environment variable RCLONE_CONFIG_OCI_REGION
2022/02/21 17:22:00 DEBUG : Setting endpoint="https://ENDPOINT.compat.objectstorage.us-ashburn-1.oraclecloud.com" for "oci" from environment variable RCLONE_CONFIG_OCI_ENDPOINT
2022/02/21 17:22:00 DEBUG : Setting endpoint="https://ENDPOINT.compat.objectstorage.us-ashburn-1.oraclecloud.com" for "oci" from environment variable RCLONE_CONFIG_OCI_ENDPOINT
2022/02/21 17:22:00 DEBUG : Setting endpoint="https://ENDPOINT.compat.objectstorage.us-ashburn-1.oraclecloud.com" for "oci" from environment variable RCLONE_CONFIG_OCI_ENDPOINT
2022/02/21 17:22:00 DEBUG : Setting endpoint="https://ENDPOINT.compat.objectstorage.us-ashburn-1.oraclecloud.com" for "oci" from environment variable RCLONE_CONFIG_OCI_ENDPOINT
2022/02/21 17:22:00 DEBUG : Setting endpoint="https://ENDPOINT.compat.objectstorage.us-ashburn-1.oraclecloud.com" for "oci" from environment variable RCLONE_CONFIG_OCI_ENDPOINT
2022/02/21 17:22:00 DEBUG : Setting endpoint="https://ENDPOINT.compat.objectstorage.us-ashburn-1.oraclecloud.com" for "oci" from environment variable RCLONE_CONFIG_OCI_ENDPOINT
2022/02/21 17:22:00 DEBUG : Setting endpoint="https://ENDPOINT.compat.objectstorage.us-ashburn-1.oraclecloud.com" for "oci" from environment variable RCLONE_CONFIG_OCI_ENDPOINT
2022/02/21 17:22:00 DEBUG : oci: detected overridden config - adding "{8hP7c}" suffix to name
2022/02/21 17:22:00 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2022/02/21 17:22:00 DEBUG : Setting access_key_id="SOME_KEY" for "oci" from environment variable RCLONE_CONFIG_OCI_ACCESS_KEY_ID
2022/02/21 17:22:00 DEBUG : Setting secret_access_key="SOME_SECRET_KEY" for "oci" from environment variable RCLONE_CONFIG_OCI_SECRET_ACCESS_KEY
2022/02/21 17:22:00 DEBUG : Setting region="us-ashburn-1" for "oci" from environment variable RCLONE_CONFIG_OCI_REGION
2022/02/21 17:22:00 DEBUG : Setting endpoint="https://ENDPOINT.compat.objectstorage.us-ashburn-1.oraclecloud.com" for "oci" from environment variable RCLONE_CONFIG_OCI_ENDPOINT
2022/02/21 17:22:00 DEBUG : fs cache: renaming cache item "oci:some_new_bucket" to be canonical "oci{8hP7c}:some_new_bucket"
2022/02/21 17:22:00 DEBUG : S3 bucket some_new_bucket: Making directory
2022/02/21 17:22:00 DEBUG : 4 go routines active

hello and welcome to the forum,

OCI is not fully compatible with the aws s3 standard.
and there seem to be some differences with the creation of buckets.

That command looked like it worked? What did it do?

Can you re-run with --dump bodies flag and post the result?

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