NS records and permission related problem with NextCloud

That’s correct. I will not increase max_children any more because I not sure how to calculate the optimal value for my VPS.

I have renamed the file to .htaccess.bak, then I restarted the server and added users with different permissions. I didn’t had any problems.

However, I am still getting the error on the /var/log/apache2/domains/DOMAIN.error.log

[Tue Sep 22 09:21:16.445677 2020] [core:crit] [pid 439584:tid 140519130408704] (13)Permission denied: [client MY.IP.ADDRESSE:0] AH00529: /home/USER/web/NEXTCLOUD.WEBSITE/public_html/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that ‘/home/USER/web/NEXTCLOUD.WEBSITE/public_html/data/’ is executable
[Tue Sep 22 10:38:41.903099 2020] [core:crit] [pid 439583:tid 140518965073664] (13)Permission denied: [client MY.IP.ADDRESSE:0] AH00529: /home/USER/web/NEXTCLOUD.WEBSITE/public_html/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that ‘/home/USER/web/NEXTCLOUD.WEBSITE/public_html/data/’ is executable
[Tue Sep 22 11:09:28.834464 2020] [core:crit] [pid 787:tid 140261829052160] (13)Permission denied: [client MY.IP.ADDRESSE:0] AH00529: /home/USER/web/NEXTCLOUD.WEBSITE/public_html/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that ‘/home/USER/web/NEXTCLOUD.WEBSITE/public_html/data/’ is executable

I am not sure how to fix this…