Install Nextcloud Error

Hello everyone, I install Nextcloud I get this error

  1. Could not open input file: ‘/home/fG9z4bdw3UbR/web/nextcloud.angellife.ru/public_html/occ’ Error: cmd exited with errors. Data loss warning!
    Your web folder already contains uploaded files. The installer will overwrite these files and / or the application installation may fail.
    Make sure that ~ / web/nextcloud. angellife. com/public_html is empty!
  2. Error: /tmp/hestia-webapp/latest.tar.bz2 was not extracted

What I’m doing

  1. Adding a domain nextcloud.angellife.ru
  2. I don’t issue the certificate and don’t configure anything else
  3. Click install NextCloud
  4. The first time I get error #1 and do this rm-rf /home/fG9z4bdw3UbR/web/nextcloud. angellife. ru/public_html / * clean the folder
  5. I try to install again, and once again the result is one that is higher
  6. I got error # 2 once
    In the logs I found this
2025/05/21 21:14:11 [error] 40061#40061: *58 directory index of "/home/fG9z4bdw3UbR/web/nextcloud.angellife.ru/public_html/" is forbidden, client: 34.173.141.205, server: nextcloud.angellife.ru, request: "GET / HTTP/1.1", host: "nextcloud.angellife.ru"
2025/05/21 21:14:11 [error] 40061#40061: *58 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 34.173.141.205, server: nextcloud.angellife.ru, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm-nextcloud.angellife.ru.sock:", host: "nextcloud.angellife.ru

Perhaps someone has experience of winning over this, or is it still unresolved as in this topic?
My system Debian 12.11, and install Nginx+PHP 8.2+MariaDB


I found on the net that you can install without Apache, but maybe in Hestia it is not installed without Apache?

occ permissions are not written correctly. Try installing manually.