Unable to bulk download selected files from a folder if they are >1GB total in size

Nextcloud version: 19.0.7
Operating system and version: OpenBSD 6.8
Apache or nginx version: nginx/1.18.0
PHP version: 7.3

The issue you are facing:

I have a big folder with 231 files, of which 230 are photos a few MB each (1.1GB total) in size and one is a large video, 2.9GB in size. I would like to download all the photos without downloading the video, so I select all files, deselect the video and press “Download” in the “Actions” menu. Nothing happens. Reopening the “Actions” menu shows a spinning circle next to the “Download” button.

Some interesting notes:

  1. Downloading the entire folder works, both by going up one level and pressing “Download” in the three-dots menu, as well as by selecting every file from inside the folder and pressing “Download” in the “Actions” menu.
  2. Downloading selected files from the folder works, as long as they are less than 1GB in size all together. I tested this by simply deselecting more photos until the counter at the top went from 1.1GB to ~950MB, at which point I was able to download the selected photos.
  3. There are no errors in the logs whatsoever. Literally nothing happens in the error logs of NC or nginx while doing this procedure.

I was able to reproduce this behaviour on various machines and networks on different days. If anyone has any clue what the issue may be (A PHP setting? Nginx? Some other limit?) then I’d be really thankful if you could point it out!

Steps to replicate it:

  1. In the web interface, open a folder with lots of files (230 total) that are a few megabytes each (1.1GB total) and a single big file, in my case a video (2.9GB).
  2. Select all of them, deselect the big video
  3. Press “Actions” and then “Download” in the menu that pops up.
  4. The menu closes, nothing happens.
  5. Reopening the menu shows just a spinning circle next to the “Download” button.

The output of your Nextcloud log in Admin > Logging:

Nothing here

The output of your Apache/nginx/system log in /var/log/____:

Nothing here

Funnily enough I was not able to reproduce this with a different folder of only a few files, where each file is 250MB in size. Even if I selected files that amounted to more than 1GB, I was able to download them. :weary: