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:
FileUpload::make('file')
->storeFiles(false)
->maxSize(100 * 1024)
->required(),
FileUpload::make('file')
->storeFiles(false)
->maxSize(100 * 1024)
->required(),
The attached image shows what I get. Any ideas what is going on?
No description
5 Replies
Dhru
Dhru3w ago
Does it work if you chain a method like to the form… ->disk(‘cloud’) The issue is the config of your disks probably
Patrick Stephan
Patrick StephanOP3w ago
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 variables
toeknee
toeknee3w ago
Do 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.
Patrick Stephan
Patrick StephanOP3w ago
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
No description
toeknee
toeknee3w ago
What does the browser console say when you upload? Check the netowkr logs

Did you find this page helpful?