Hi,
I’m testing Nextcloud. I would like use S3 like primary storage. But I have a trouble Nextcloud only lets to create S3 Buckets on us-east-1 region. When I try another AWS region a I get this exception message:
“Exception: Creation of bucket failed. The unspecified location constraint is incompatible for the region specific endpoint this request was sent to.”
config.php:
‘objectstore’ => array(
‘class’ => ‘OC\Files\ObjectStore\S3’,
‘arguments’ => array(
‘bucket’ => ‘nextcloud.s3-eu-west-1.amazonaws.com’,
‘autocreate’ => true,
‘key’ => ‘X’,
‘secret’ => ‘X’,
‘hostname’ => ‘s3-eu-west-1.amazonaws.com’,
//‘port’ => 1234,
‘use_ssl’ => true,
‘region’ => ‘eu-west-1’,
// required for some non amazon s3 implementations
//‘use_path_style’=>true
),
),
Have anyone some idea what I am doing wrong?
Thanks!