I am running Nextcloud App in Truenas Scale, and I am seeing a similary .htaccess error in the Overview tab when I login into Nextcloud.
" * Your data directory and files are probably accessible from the internet. The .htaccess file is not working. It is strongly recommended that you configure your web server so that the data directory is no longer accessible, or move the data directory outside the web server document root."
This has only occurred since updating to Nextcloud 29.0.0.
I looked at some forums about having to edit the apache2.conf to resolve the issue, but since Nextcloud in running in Kubernates Docker container so that any changes I make would be lost when the service is restarted.
For reference the solution appears to be to edit /etc/apache2/apache2.conf and ensure the following lines:
I am running Nextcloud App in Truenas Scale, and I am seeing a similary .htaccess error in the Overview tab when I login into Nextcloud.
" * Your data directory and files are probably accessible from the internet. The .htaccess file is not working. It is strongly recommended that you configure your web server so that the data directory is no longer accessible, or move the data directory outside the web server document root."
This has only occurred since updating to Nextcloud 29.0.0.
I looked at some forums about having to edit the apache2.conf to resolve the issue, but since Nextcloud in running in Kubernates Docker container so that any changes I make would be lost when the service is restarted.
For reference the solution appears to be to edit /etc/apache2/apache2.conf and ensure the following lines:
<Directory /var/www/nextcloud>
AllowOverride All
<Directory /var/www/nextcloud>
AllowOverride All
</Directory>