© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3mo ago•
5 replies
r3venant

Fileupload bug, images stuck on livewire-tmp

Below is a basic FileUpload form for an image that uses s3 storage. I tried using both Amazon s3 and DO s3 but the problem seems persistent specially when uploading multiple files. The images remained stuck in livewire-tmp folder and not moved. Sometimes all are properly uploaded to img folder but most of the time there are missing upload like 1 to 15 images missing.

I searched all over for a fix and found others have the same issue as well with the fileupload.

Here's my basic fileupload that accepts maximum of 50 images
FileUpload::make('images')
    ->multiple()
    ->image()
    ->maxFiles(50)
    ->maxParallelUploads(1)
    ->previewable(false)
    ->disk('s3')
    ->directory('img')
    ->visibility('public')
    ->moveFiles(),
FileUpload::make('images')
    ->multiple()
    ->image()
    ->maxFiles(50)
    ->maxParallelUploads(1)
    ->previewable(false)
    ->disk('s3')
    ->directory('img')
    ->visibility('public')
    ->moveFiles(),

And here's the model that accepts json array of images.
protected $casts = [
    'vote_date' => 'date',
    'upload_date' => 'datetime',
    'images' => 'array',
];
protected $casts = [
    'vote_date' => 'date',
    'upload_date' => 'datetime',
    'images' => 'array',
];
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

FileUpload BUG
FilamentFFilament / ❓┊help
2y ago
Livewire Fileupload (error 401)
FilamentFFilament / ❓┊help
7mo ago
FileUpload in Livewire Component
FilamentFFilament / ❓┊help
2y ago
Livewire compenent add fileupload
FilamentFFilament / ❓┊help
3y ago