Why are large files failing to upload to my app on App Platform?

Upload issues to apps are often caused by exceeding one of the following limits:

  • The host instances running App Platform containers do not provide persistent data storage. Data in the host instance’s local filesystem is permanently lost after deployments and other container replacements. The local filesystem is additionally limited to 2GiB, and if it is filled to capacity, the container is detected as unhealthy and replaced.

    Apps should only use the host instance’s local filesystem for small amounts of temporary storage. For persistent storage, you can use Spaces Object Storage or DigitalOcean Managed Databases.

  • File uploads to apps timeout after 100 seconds.

If you are exceeding one of these limits, you may need to decrease the size of your files or consider another storage option for your app.

Your app may have crashed while trying to receive an upload or return a response larger than it has been configured to manage.
Your team balance may be past due. Pay your balance to lift restrictions on actions you can take on the platform.
If an app’s health check fails, the app currently does not restart. This is because App Platform does not currently support liveness probes. An app only automatically restarts if the app crashes or if its disk or RAM usage exceeds the its limits.
In this article...