Missing ‘wflogs’ directory
-
Hello,
I am managing a site under version control and manually upgraded Wordfence to v7.9.2. The site is running on a server with nginx and WordPress v6.1.1.
I am getting the below error:The Wordfence Web Application Firewall cannot run. The configuration files are corrupt or inaccessible by the web server, which is preventing the WAF from functioning. Please verify the web server has permission to access the configuration files. You may also try to rebuild the configuration file by clicking here. It will automatically resume normal operation when it is fixed.
Attempting to rebuild the configuration files as instructed above gives the following error:
We were unable to write to ~/wp-content/wflogs/ which the WAF uses for storage. Please update permissions on the parent directory so the web server can write to it.
I do not have a
wflogs
directory insidewp-content
, or anywhere else. Nor do I have awordfence-waf.php
file.wp-content
has 775 file permissions, which I would expect to be sufficient.Wordfence Diagnostics flagged that the server cannot write to?
~/plugins/wordfence
?and that there are no files readable or writeable in?~/wp-content/wflogs
.What I have tried:
1. Manually creating awflogs
directory – no effect
2. Uninstalling Wordfence completely by deleting all associated files and reinstalling manually – no effectUsers are regularly being locked out of the site by Wordfence and I am having to manually disable the plugin each time.
Any suggestions for what I can try would be greatly appreciated.
Tamara
- The topic ‘Missing ‘wflogs’ directory’ is closed to new replies.