Bucket Does Not Exist

Created on 26 March 2019, about 6 years ago
Updated 16 May 2025, 3 days ago

Sorry to re-open this issue but I have exactly the same problem.

My settings.php :

$schemes = [
's3' => [
'type' => 's3',
'driver' => 's3',
'config' => [
'key' => '[SECRET]',
'secret' => '[SECRET]',
'bucket' => '[name-bucket]',
'region' => '[eu-west-3]',

],
],

'local' => [ // The name of the stream wrapper. localexample://

'driver' => 'local', // The plugin key.

'config' => [
'root' => 'sites/default/files', // If 'root' is inside the public directory,
], // then files will be served directly. Can be
// relative or absolute.

// Optional settings that apply to all adapters.

'cache' => FALSE, // Cache filesystem metadata. Not necessary,
// since this is a local filesystem.

'replicate' => 'local', // 'replicate' writes to both filesystems, but
// reads from this one. Functions as a backup.

]
];

$settings['flysystem'] = $schemes;

And in statut report I have "FLYSYSTEM: S3 Bucket [name-bucket] does not exist."
I tried to remove the square brackets, still got the error, I tried to implement the code given here β†’ and it removed the error BUT the option of S3 disappeared with it.

What do I wrong?

πŸ’¬ Support request
Status

Closed: outdated

Component

Code

Created by

πŸ‡©πŸ‡°Denmark cbe243

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024