Rules not updating
-
Hosting environment:
- Linux (AlmaLinux)
- Nginx with PHP 8.1
- WordPress 6.2.2
- WordFence version: 7.10.3
- Site is behind Cloudflare, but I have followed the configuration steps in the WordFence documentation
- All diagnostics pass except “Connecting back to this site via IPv6”
- SELinux set to permissive (so not enforcing any policy)
- Modsecurity disabled
The rules file (rules.php) does not update, automatically or manually. When I try to manually update the rules, I get the error message: “No rules were updated. Please verify you have permission to write to the /wp-content/wflogs directory.”
But, that directory is writeable, and there are other files in that directory and appear normal to me.
Based on searching these forums, some posts suggested to deactivate/uninstall the plugin and reinstall it, but that did not work. I also separately deleted rules.php and let it get recreated, but the recreated file is 0 KB.
I tested out “
curl -v https://noc1.wordfence.com/” from the terminal and that works just fine and gets a response.I have been through every troubleshooting step I can think of. Any ideas? Thanks in advance for your help.
The topic ‘Rules not updating’ is closed to new replies.