Users report a persistent network error during backup downloads from Discourse, with downloads failing around 50% or after 30 seconds. The issue affects various users across different server setups, with backup sizes ranging from 1.5GB to 13GB. Possible causes include one-time download links expiring, Nginx timeouts, and file system limitations. Some users suggest using alternative methods like WinSCP or S3 for backups. A fix was proposed via a PR to increase Nginx timeouts. The issue appears to be resolved in the latest update, as confirmed by users Canapin and NJGF-Admin.
My co-admin told me he couldn’t download a backup from the received email because the download crashed at roughly 50%.
I tried and experienced the same. The archive download works well until it stops with “Failed - Network error”. Trying to resume on Chrome returns “Failed - Unknown server error”. I had no issue the last time I downloaded backups from this server (months ago). (this is expected)
Trying to resume on Chrome returns “Failed - Unknown server error”. I had no issue the last time I downloaded backups from this server (months ago).
I’m wondering whether this is due to the one-time link. You can’t download a backup twice with a single link. So, when it fails once, resuming the download is probably cancelled by Discourse itself.
I have been experiencing this same issue for over a week. Fully updated twice in that time but the issue still persists. Self-hosted on IONOS. Backup size 1.5GB.
I’ve submitted a PR to address this by increasing the Nginx timeouts specifically for /admin/backups/, which should help prevent mid-stream “Failed – Network error” drops during larger downloads:
Edit: I can download the backups via WinSCP or something like that but it would be nice if it worked as advertised and the email link + browser download completes successfully.
AI is probably wrong but also advising to increase the: DISCOURSE_NGINX_PROXY_READ_TIMEOUT: 600 to resolve this issue.
It doesn’t know. It can’t know. It depends on your docker configuration in your yml file. It’s usually in standalone, but it could be in web_only, but it could also be anywhere in the file system.
While that’s technically true, I don’t remember anyone else expressing that concern in the past decade. Do you find it very misleading? You can change it on your own site if you think it’ll help.