-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After upgrade to Nextcloud 29.0.2 «data directory and files are probably accessible from the internet » #696
Comments
I can confirm the behavior. I am not sure if #674 is related. When looking into the Nextcloud documentation it might be |
Hello, I have the same warning message. |
Documented here upstream https://help.nextcloud.com/t/frequent-nextcloud-29-hub-8-update-issues/189897#htaccess-issue-2 Looking at those threads, I found a working solution by removing 'localhost' from the 'trusted_domains' in nextcloud config. i.e. edit $CONFIG = array(
…
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'YOUR_ACTUAL_NEXTCLOUD_DOMAIN',
),
…
); to $CONFIG = array(
…
'trusted_domains' =>
array (
0 => 'YOUR_ACTUAL_NEXTCLOUD_DOMAIN',
),
…
); Then restart fpm: That said, I’m not really sure of the implication of removing localhost from the trusted domain list :/ And finally upstream issue is nextcloud/server#45087 and from my understanding the issue comes from the fact the nextcloud internal test succeed because of the http -> https redirection when trying the 'localhost' domain. Not sure how to deal with that :/ |
nextcloud/server#45033 (comment) Then I put back the I can try with another server if I am right, I tell you after testing. This issue is not related, but another one explain here: #701 |
Well, in another server I have a bug with the
seems something strange with the api nextcloud and the calendar |
well I have got the same error after a while, and the workaround was to delete Ok, this issue is not related, but explain here with a solution: #701 |
Is there a plan of a new release? |
I have Same error. I don’t understand cause or what to do. Is my data safe or at risk. Should I disconnect from internet until there is a fix |
@Luncheon3462 if you edit the file removing
For my errors with |
Also this works on my side
|
No, your datas should be safe. From what I understand, it's more of a false positive. Related topic I was able to fix this error message by removing the "localhost" entry from the |
Describe the bug
after upgrading to Nextcloud 29.0.2 I get this message
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.
Context
Steps to reproduce
Upgrade yunohost Nextcloud app from 28.x to 29.0.2
Upgrade works but when you click in Nextcloud in the admin settings you have a security warning
The text was updated successfully, but these errors were encountered: