S3 disk config

Hello everyone! Can you help me use an s3 disk in Filament? I'm trying but I get the error: Unable to check existence for. Here is my filesystem configuration 's3' => [ 'driver' => 's3', 'key' => env('AWS_ACCESS_KEY_ID'), 'secret' => env('AWS_SECRET_ACCESS_KEY'), 'region' => env('AWS_DEFAULT_REGION'), 'bucket' => env('AWS_BUCKET'), 'endpoint' => env('AWS_ENDPOINT'), 'use_path_style_endpoint' => true, 'visibility' => 'public', ],
10 Replies
awcodes
awcodes2d ago
What is your FileUpload code? Also make sure the bucket permissions are correct.
kobosoft.dev
kobosoft.devOP2d ago
My FileUpload code : Forms\Components\FileUpload::make('Image')->required()->image()->downloadable()->disk('s3')->directory('Images/Categories'),
awcodes
awcodes2d ago
Add ->visibility(‘private’)
kobosoft.dev
kobosoft.devOP2d ago
My Bucket config
No description
kobosoft.dev
kobosoft.devOP2d ago
I have same error
kobosoft.dev
kobosoft.devOP2d ago
But link work
No description
kobosoft.dev
kobosoft.devOP2d ago
I use supabase
awcodes
awcodes2d ago
Sorry, never worked with supabase and s3 so not 100 sure. But any s3 connection needs to be a private visibilty even if the bucket is public. Hopefully someone else has some more experience and can help further.
kobosoft.dev
kobosoft.devOP2d ago
Ha okay! Thank you very much
Dennis Koch
Dennis Koch2d ago
Did Adams answer solve the issue?

Did you find this page helpful?