How to move a Nextcloud-Installation from one S3-Datastore to a bigger S3-Datastore

Hi there,

we have a running Nextcloud Installation (14.0.6) with Datastore on a S3-storage (selfhosted) which is nearly full and can’t be extended.Our goal is to move this installation to a bigger S3 storage). First try was to copy all data with minio from old storage to new storage and change hostname and bucket of storage. This didn’t work, Nextcloud cant find file.
fopen(http://s3.a.lan/ocbucket/urn%3Aoid%3A9396504): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found at /var/www/html/nextcloud/lib/private/Files/ObjectStore/S3ObjectTrait.php#65
Part of config.php:
—cut—
‘objectstore’ =>
array (
‘class’ => ‘OC\Files\ObjectStore\S3’,
‘arguments’ =>
array (
‘bucket’ => ‘ocbucket’,
‘autocreate’ => true,
‘key’ => ‘###’,
‘secret’ => ‘###’,
‘hostname’ => ‘s3.a.lan’,
‘port’ => 80,
‘use_ssl’ => false,
‘region’ => ‘optional’,
‘use_path_style’ => true,
),
),
—cut—

Any hints to resolve this?