Tried with the latest (at the moment) Firefox, Chrome and Brave Browser.
Shared folder has around 10 pictures (jpg). Downloading individually works. When pressing “Download all files” browser downloads a zip with a size of around 2 megabytes (1977679 bytes). The expected size of the zip should be ~tens of megabytes. The downloaded zip file is broken.
I’ll provide further information as needed. I’d appreciate any help to this.
Edit: After unsharing and resharing the same folder now even the individual files cannot be downloaded. This applies to new files. (Viewing them eg. photos and pictures is possible though.) Older (i guess before the latest Nextcloud upgrade) shared files will download with no problem.
Thank you for moving this to a new topic. Problem is not due lack of resources:
Cannot decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.
OC\Encryption\Exceptions\DecryptionFailedException: Cannot decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.
Encryption module "Default encryption module" is not able to read [path_to_shared_file]
OC\Encryption\Exceptions\DecryptionFailedException: Encryption module "Default encryption module" is not able to read [path_to_file]
Undefined variable $event at /[path_to_nextcloud]/lib/private/legacy/OC_Files.php
After a bit more testing it seems that the problem can be considered fixed. Some files that were uploaded and shared with earlier NC release, cannot be downloaded separately or zipped.
But new uploads and shares can be downloaded normally, zipped or not. Users just need to reupload and reshare their files, but i guess that is a minor problem considering that at least now it works as it should.
So the solution is to update Nextcloud to the latest version (at the moment 27.0.1.2).
Just remember to reupload and reshare all the files affected by the bug in earlier version(s). New uploads and shares work flawlessly (and the older ones that were shared before the bug).