-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
I am using
PHP v8.1 and Laravel 9
Whilst trying to upload a media with the disk set to 's3', I always get the error, Disk named s3 cannot be accessed.
I then created a test route just to test it but I got the same error. Find here the image describing the error.
I tried adding the custom header with ACL set to public-read as suggested in this issue's comment and also in my media-library config file but I still get the same error.
My s3 filesystem disk config:
's3' => [
'driver' => 's3',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION'),
'bucket' => env('AWS_BUCKET'),
'url' => env('AWS_URL'),
'endpoint' => env('AWS_ENDPOINT'),
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
'throw' => false,
],I also tried setting the visibility="public" but it still failed
Metadata
Metadata
Assignees
Labels
No labels
