Oct 13, 2025
0
Level 1
can not uplode spatiemedialibraryfileupload in filament 3.5 in production the
can not uplode spatiemedialibraryfileupload in filament3.5 in production the data.images.f841d83f-8be2-4093-acac-7dc9502bb348 failed to upload. laravel 12
its work locle but un server side not working
i made it like
SpatieMediaLibraryFileUpload::make('images')
->collection('images')
->multiple()
->image()
->disk('public')
->enableReordering()
->imagePreviewHeight('150'),
filesystems.php
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path('app/private'),
'serve' => true,
'throw' => false,
'report' => false,
],
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL').'/storage',
'visibility' => 'public',
'throw' => false,
'report' => false,
],
'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,
'report' => false,
],
],
Please or to participate in this conversation.