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 fix "Required Private Directories"; Now I'm banned from my server because matomo system check. #18182
Comments
This seems to be the same issue as #17589
It just re-creates the .htaccess files and is unrelated to the issue. But the "issue" is that files like Therefore, Matomo 4.5.0 has a new option |
Thanks, unfortunately, that doesn't really help me in my case. I set
config.ini.php
or does the line belong in global.ini.php? Because https://github.com/matomo-org/matomo/blob/4.x-dev/config/global.ini.php#L836 UPDATE: I set it in both and problem remains. |
@Daijobou As far as I know, the option will be released in 4.6.0, so it's not yet implemented in the current release. |
@Daijobou, is there any news on version 4.6+? Do you still encounter the problem? |
I installed matomo years ago and system check was fine and updated every time with new release per automatic. So I dont checked system check again. Unfortunately, updates do not do a system check and report problems right after the update.
Today I updated to newest version per automatic and saw by chance that the system check showed me errors for "Required Private Directories". That was new for me. This problem has however created an update or its a new check that not exists before. I found this tutorial to fix this issue: https://matomo.org/faq/troubleshooting/how-do-i-fix-the-error-private-directories-are-accessible/
After set apache config "AllowOverride None" to "AllowOverride All" and execute
./console core:create-security-files
now I get banned from server each time I open matomo settings and there is automatic starting a system check. Because in error_log I see this:and server modsecurity/fail2ban detect this as attack and ban my ip. What exactly does
./console core:create-security-files
and how can I take it back?The text was updated successfully, but these errors were encountered: