Unable to download files on nextcloud when multiple files selected

  • Nextcloud Server version:
    • 31.0.2
  • Operating system and version:
    • Debian 12
  • Web server and version:
    • Apache/2.4.62 (Debian)
  • Reverse proxy and version:
    • nginx openresty/1.25.3.2 (trough NGINX Proxy manager)
  • Installation method
    • using LXC template turnkey-nextcloud from Proxmox

I have a fresh install where everything seems to be working fine, except one thing. I am unable to download files when more than one is selected. Downloading a single file works, but if I check multiple files, it does not. This does not generate any error in the Nexcloud log.

In my chrome downloads, I see a failed download named “téléchargement.htm” with the message “Fichier non disponible sur le site” which is french for “file not available on the site”.

When I go on firefox instead, I get a 404 page instead of a failed download.

Looks like there’s a problem with this site

https://nextcloud.mydomain.com/remote.php/dav/files/myusername/?accept=zip&files=["m/Templates credits.md","m/Reasons to use Nextcloud.pdf"] might have a temporary problem or it could have moved.

Error code: 404

    The site could be temporarily unavailable or too busy. Try again in a few moments.

I noticed that there is a “m/” prefix on every file. If I edit the url to remove the prefix, the download starts. It works without the “m/” prefixes.

So, it looks like nexcloud is expecting the files to be in a subfolder named “m”, but they are not.

Anyone knows how I could fix that?

EDIT: Turns out the problem was caused by my username. I used my email as a username. I Guess that it caused the url to be missinterpreted. Creating a new user with a normal usernam fixed it.

Same Configuration - Same Problem. Even if I try to download multiple Files i´ll get the 404 Page.

Brand new AIO (version 31.0.2) install in Docker on Unraid 7.01 and I too experienced this. Confirming I too was using email as username. Got the error. Created myself a new user with simple user name and all works as expected.

I experience this too. Given I use IMAP authentication (via user_external) I can’t really resolve my issue for my users. Whole folders work but not multiple individual files.

NC 31.0.2 via cosmos - on Proxmox pve
OS: Debian 12, same apache version …
no email as username … still same error … I can download single files, but not multiple files

We’re also seeing a similar problem I think might be related.

To reproduce:

  • Create 3 new files called “1+1.md”, “1_1.md” and “1.md”
  • Select “1_1.md” and “1.md”
  • Download, zip file is created and download is successful
  • Select “1+1.md” and “1.md”
  • Click download

404 error

Looks like there’s a problem with this site
https://nextcloud.example.com/remote.php/dav/files/username/?accept=zip&files=[“1%2B1.md”,“1.md”] might have a temporary problem or it could have moved.

Nothing in the audit logs, since the HTTP request didn’t succeed.

Ubuntu, NC v 31.0.2, Apache.