I started playing around with minio for laravel. When uploading a profile picture with jetstream I get following error:
League \ Flysystem\ UnableToRetrieveMetadata Unable to retrieve the file_size for file at location: livewire-tmp/pIqncr1JVuMmhYbPmHyyZ1QWBqSeYy-metaQXZhdGFyTWFrZXIucG5n-.png.
Using the local driver works without any issue.
filesystems.php
return [
'default' => env('FILESYSTEM_DRIVER', 'local'),
'disks' => [
//...
'minio' => [
'driver' => 's3',
'endpoint' => env('MINIO_ENDPOINT'),
'use_path_style_endpoint' => true,
'key' => env('MINIO_KEY'),
'secret' => env('MINIO_SECRET'),
'region' => env('MINIO_REGION'),
'bucket' => env('MINIO_BUCKET'),
],
],
'links' => [
public_path('storage') => storage_path('app/public'),
],
];
env
FILESYSTEM_DRIVER=minio
MINIO_ENDPOINT=http://localhost:9000
MINIO_KEY=...
MINIO_SECRET=...
MINIO_REGION=us-east-1
MINIO_BUCKET=test
Images are uploaded to the test bucket.
Any ideas what's wrong? Am I missing some configuration?

