NS records and permission related problem with NextCloud

No problem. Im glad you fixed the issue and I have no idea why you had all those problems. Perhaps you did something while installing nexcloud or nextcloud had some wierd glitch on Ubuntu.
Take care

Thanks parzival,

NextCloud is working much better right now, but I have noticed new errors on the /var/log/apache2/error.log

[Thu Sep 24 04:49:53.614746 2020] [access_compat:error] [pid 826:tid 140244125132544] [client 2a03:b0c0:1:e0::645:8001:0] AH01797: client denied by server configuration: /home/USER/web/NEXTCLOUD.WEBSITE/public_html/config/.env
[Thu Sep 24 23:50:29.880310 2020] [access_compat:error] [pid 782:tid 139729194424064] [client XX.XXX.XX.XXX:0] AH01797: client denied by server configuration: /home/USER/web/NEXTCLOUD.WEBSITE/public_html/data/.ocdata

I searched the net for your problem. It can be fixed but since its ongoing issue with nextcloud.


When dealing with those kind of problems, you have two options. Read logs carefully and try to trigger some other related issue by changing configuration files (in this case apache and .htaccess configs). Second option is to join NextCloud community and ask them to help you.
Its just too complex to resolve any issue without actually having access to your linux box.
Take care

parzival you helped my a lot and I appreciate all the effort you did.

I looked around and found out that this is not an actually a problem!

Thanks again.