Browsers fail to download uploaded folder

Hey, I installed and configured seafile behind a ssl secured nginx reverse proxy, but downloads via browser of big (800MB) folders fail, small work perfect.
In Firefox I get this error: “tmp/mozilla_mask0/JNcQvuxp.zip.part could not be saved, because the source file could not be read. Try again later, or contact the server administrator.”
With chromium I don’t get that error but the packaged file is only ~1MB and a broken zip file when I download/look at it.
With the android app it seems to work correct, but it downloads the single pictures in the folder and doesn’t package to a zip.

How big is your temp space on the Seafile server?

I don’t have a certain /tmp partition, so I assume the root file system is used? There is more or less 10G free space.
The mount command also shows a tmpfs on /run/user/0 with size=205244k. Is this used by seafile?

Hello,
Sorry to revive this thread.
I also got this error after upgrading my OS (Debian Buster).
Seafile server version is 7.0.5, behind nginx.
I have tried with the clients:

  • Firefox on Linux (Debian)
  • Chromium in Linux (Debian)
  • Firefox on Mac OS
  • Safari on Mac OS

So it seems that the issue is really on the server.
I haven’t found any relevant logs.

Adding:

proxy_max_temp_file_size 0;
proxy_buffering off;

in the nginx configuration file seems to fix the issue.