F
Filament2mo ago
player

404 while downloading export files

Hello. After recent composer update, I started getting 404 when try to download files created from export action. I see no errors and queue logs says it's ok, but I can't reach file
No description
2 Replies
Mohamed Ayaou
Mohamed Ayaou2mo ago
Was it working before the composer update ? can you provide more details like the code, and if it is stored in the storage can you check the path?
player
playerOP2mo ago
Yes it was working Code: ->headerActions([ ExportAction::make() ->label('Export') ->exporter(MemberExporter::class) ]) Just average export action everywhere on resources. After artisan queue:work it says that file created but it doesn't appear on filesystem 'public' => [ 'driver' => 'local', 'root' => storage_path('app/public'), 'url' => env('APP_URL').'/storage', 'visibility' => 'public', 'permissions' => [ 'file' => [ 'public' => 0644, 'private' => 0755, ], 'dir' => [ 'public' => 0755, 'private' => 0755, ], ], 'throw' => false, ],

Did you find this page helpful?