Uploading files to spaces via Laravel app hosted on app platform return internal error but works fine on local host. any help be will much appreciated.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Do you see any relevant logs in the control panel? If you are not seeing any logs at all, make sure to use the stack log driver and configure it to log to the stderr channel.
If you are using the default config/logging.php, I believe all you need to do is set a LOG_CHANNEL=stderr environment variable.
You’re not using a public directory, you’re using public_html. I don’t like this strategy. Make a public directory in public_html and set the the url to env(‘APP_URL’).‘/public/storage’.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.