Too many open files

Hi there

i have a new NextcloudPi installed and wanted to sync my data with the linux client, but now i always get this error

too many open files

in the client

I already found another thread wich this issue ( Desktop App - too many files open) and did this:

edit /etc/security/limits.conf

*         soft    nofile      500000
*         soft    nproc       500000
*         hard    nproc       500000

/etc/systemd/user.conf
DefaultLimitNOFILE=500000

/etc/systemd/system.conf
DefaultLimitNOFILE=500000:524288

I clicked in the webUI on Update and restarted the server but im still getting this error.

The Basics

Nextcloud Server version (e.g., 29.x.x):
    30.0.1.2
Operating system and version (e.g., Ubuntu 24.04):
    NextcloudPi Armbian-unofficial 24.8.2 Bookworm \l . 6.6.45-current-bcm2711 (aarch64)

Nextcloud Desktop-Client

Version 3.4.2 (Linux).

linuxmint-5.15.0-141-generic

How many files do you have in total, is it less than 500k?

This version was released 2.5 years ago…

Even if there is a bug, nobody will look into fixing something in an outdated version.

I found a very old issue on the bug tracker, where it is not clear. Might be completely unrelated:

yes, this is the actual upstream version from Ubuntu.

I uninstalled it and downloaded the 3.16 appimage from the Nextcloud website. Now the Error didnt occour again.

You can have also use a repository for Ubuntu: