Cannot upload files to Laravel Cloud Bucket
I have an app where I am attempting to deploy a test environment to Laravel cloud. I have the app deployed and running, but the buckets do not appear to be working with the application.
I have a public bucket setup so that it maps to filament uploads disk, the livewire tmp upload disk, and the application filesystem disks. However, when I attempt to upload a file using a Filament form and the FileUpload component, I just get a hanging "Uploading" status and the file never actually uploads. This is for the initial upload and not the actual submission of the form. The uploading works locally, on a non-laravel-cloud environment, and in production. The Bucket has public visibility.
I am using a
CreateAction
with this components in the form:
The attached image shows what I get. Any ideas what is going on?
5 Replies
Does it work if you chain a method like to the form…
->disk(‘cloud’)
The issue is the config of your disks probably
The disks show up correctly when I run
php artisan config:show filesystems
and the disks are accessible and writeable using a local GUI with the provided env variablesDo the files upload to temp correctly? That says storeFiles(false) so surey it won't store them... Check your network logs, clear them then upload a file and see what the requests are doing. I suspect one is failing.
One of them hangs, but I am struggling to find out why. The storeFiles(false) just keeps the file from being permanent after you upload it

What does the browser console say when you upload? Check the netowkr logs