© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•13mo ago•
7 replies
waterflai

File upload Error in production

Hi community,
I need a help on my problem

i did :
- the storage link
- giving the right permission to the www-data
- set the right url in env
- increase the php limit

but i got thit by
The mountedActionsData.0.photos.58524194-e822-43c6-b894-fb6b06a72306 failed to upload.
The mountedActionsData.0.photos.58524194-e822-43c6-b894-fb6b06a72306 failed to upload.

error, when trying to upload files on production server, this is my code

                Section::make('Media')
                    ->icon('heroicon-o-photo') // Add icon to section
                    ->description('Upload photos of the WiFi equipment.')
                    ->schema([
                        FileUpload::make('photos')
                            ->image()
                            ->panelLayout('grid')
                            ->reorderable()
                            ->appendFiles()
                            ->openable()
                            ->downloadable()
                            ->multiple()
                            ->maxParallelUploads(10)
                            ->directory('wifi-photos')
                            ->imageResizeMode('cover')
                            ->imageCropAspectRatio('16:9')
                            ->imageResizeTargetWidth('1920')
                            ->imageResizeTargetHeight('1080')
                            ->required()
                    ]),
                Section::make('Media')
                    ->icon('heroicon-o-photo') // Add icon to section
                    ->description('Upload photos of the WiFi equipment.')
                    ->schema([
                        FileUpload::make('photos')
                            ->image()
                            ->panelLayout('grid')
                            ->reorderable()
                            ->appendFiles()
                            ->openable()
                            ->downloadable()
                            ->multiple()
                            ->maxParallelUploads(10)
                            ->directory('wifi-photos')
                            ->imageResizeMode('cover')
                            ->imageCropAspectRatio('16:9')
                            ->imageResizeTargetWidth('1920')
                            ->imageResizeTargetHeight('1080')
                            ->required()
                    ]),


what could possily goes wrong
image.png
Solution
i found the error, it was allow trusted proxy since im using reverse proxy :>
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

file upload error
FilamentFFilament / ❓┊help
2y ago
File Upload Error
FilamentFFilament / ❓┊help
3y ago
File upload error
FilamentFFilament / ❓┊help
3y ago
Error in production - file_put_contents
FilamentFFilament / ❓┊help
3y ago