Skip to content
Back

Issue with downloading large files (40GB) in Appwrite 1.8.0

  • 0
  • Self Hosted
  • General
  • Web
  • Storage
VanillaFish
22 Dec, 2025, 12:25

Hi everyone! I am using the latest Appwrite 1.8.0 version on my self-hosted server.

I successfully uploaded a large ZIP archive (~40GB) using the chunked upload method via the SDK. The file is marked as 'Available' in the console and I can see the full file size on my server's disk.

However, I am having trouble downloading it:

  • Using the 'download' link from the console (or the API endpoint) results in a perpetual loading state in the browser, eventually showing 0 Byte/s or a 504 Gateway Timeout.
  • I've tried multiple browsers and even download managers, but with no success.
  • I have already adjusted _APP_STORAGE_LIMIT, _APP_STORAGE_PREVIEW_LIMIT and _APP_STORAGE_ANTIVIRUS=disabled in my .env.
  • My proxy setup (Nginx Proxy Manager + Traefik) has Range Requests enabled (verified with curl -I returning HTTP 206), yet the stream never actually starts.

Thanks for any help! ❤️

TL;DR
Issue: Unable to download large (40GB) file in Appwrite 1.8.0. File uploads successfully but downloading results in perpetual loading state or 504 Gateway Timeout. Possible Solution: - Ensure that your proxy setup (Nginx Proxy Manager + Traefik) has Range Requests enabled. - Check if the _APP_STORAGE_LIMIT, _APP_STORAGE_PREVIEW_LIMIT, and _APP_STORAGE_ANTIVIRUS are properly adjusted in the .env file. - Consider checking firewall settings to ensure they are not blocking the download process.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more