[Nextcloud on Bookworm] Your data directory and files are probably accessible from the internet. The .htaccess file is not working. (Nextcloud Hub 8 (29.0.10))

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.8.2
What app is this about: Nextcloud

Describe your issue

I’ve a Nextcloud instance (29.0.10) installed on Yunohost (12.0.8.2) for about a year.
I’ve seen the following error message in the administration panel Your data directory and files are probably accessible from the internet. The .htaccess file is not working.

I read on the forum that this is a false alarm until last Nextcloud updates. This false warning seems fixed in the last versions of the app, but still shows up on my instance.
Therefore, I now believe that my files are actually accessible from the wild internet. Is there any way to double check this, and/or fix this somehow?

Thanks for your help, cheers

Share relevant logs or error messages

In the logs, I see some errors:

Exception Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory
Exception thrown: Doctrine\DBAL\Exception

Error: Class “OCA\DAV\Connector\Sabre\ExceptionLoggerPlugin” not found at /var/www/nextcloud/remote.php#62

Related issues:

You can upgrade to the latest version in testing.
sudo yunohost app upgrade nextcloud -u https://github.com/YunoHost-Apps/nextcloud_ynh/tree/testing
PS: No need to overload this thread with all the related issues.

1 Like

thanks for the reply. I’ll have a try with the testing version.
I may have misunderstood, but I though it was fixed in the main release. My bad if I was pushing.

Cheers,

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.