I recently updated to nextcloud hub 7 (NC28) but I am experiencing issues with downloading folders or multiple files in the webgui. Instead of generating and downloading a zip file, the download location prompt is for a download.htm file now, which also fails due to a āsite not availableā error.
looking in the nginx logs I got the following entry
"OC_Util" not found in /config/www/nextcloud/apps/files/ajax/download.php:31
I thought this was a bug at first, but there have been 3 updates since that hasnāt fixed it for me, making me think the issue is with my configuration?
Anyone has the same trouble?
Nextcloud version : 28.0.0.11 (docker container)
Operating system and version : Unraid 6.12.6
nginx version: 1.24.0
PHP version: 8.2.13
Instance running behind nginx reverse proxy
For me it is solved, it was the (not yet supported) App āConfigurable Share Links - cfg_share_linksā that was causing this behaviour. Disabling that app did solve it and I get a normal zipfile.
Good: Now I know that cfg_share_links does not work and I filed the bug there
It arises from having an outdated web server configuration, that lacks the rewrite handling for ajax (and other) urls. Or at least that was the only way I was able to reproduce this behavior.
Maybe there are other ways of triggering it, given @ernolf got the behavior using the cfg_share_links app (which Iām not familiar with the internals of).
My testing was limited to stock/shipped NC Server apps. If a third-party app can also trigger this behavior thatāll have to be addressed by that app generally.