• Resolved itguynw

    (@itguynw)


    Keep being shown the banner

    “The last rules update for the Wordfence Web Application Firewall was unsuccessful. The last successful update check was May 15, 2022 4:23 pm, so this site may be missing new rules added since then. You may wait for the next automatic attempt at May 19, 2022 4:58 pm or try to Manually Update by clicking the “Manually Refresh Rules” button below the Rules list.”

    Manual update doesn’t work. Permissions on folder are correct 755. Rule updates have worked fine then stopped working on 10th May for no apparent reason.

    Anyone else experiencing this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • I’ve been having the same problem since updating Wordfence a few days ago.

    Manual updates fail. All diagnostics appear to be ok

    Thread Starter itguynw

    (@itguynw)

    Yeah still the same for me.

    Anyone help with this?

    Plugin Support wfpeter

    (@wfpeter)

    Hi @itguynw, thanks for reaching out to us.

    If the “manually refresh…” button isn’t suppressing the message, in your FTP or hosting file manager, navigating to your wp-content/wflogs folder and checking for rules.php can show you the last modified date on this file. If it’s 0kb in size or the last updated time matches what Wordfence is saying, you should be able to delete the wflogs folder or its contents entirely and Wordfence should try to repopulate it within 30 minutes.

    It’s also worth checking that in addition to 755 permissions on your WordPress site’s directories, the process owner is also www-data.

    If you have persistent problems with this file/folder but don’t see connectivity or permissions failures/error messages in your Wordfence > Tools > Diagnostics page, you can bypass this entirely by setting Wordfence to write to the MySQLi storage engine instead of a file: https://www.wordfence.com/help/firewall/mysqli-storage-engine/

    I hope that helps you out.

    Peter.

    Thread Starter itguynw

    (@itguynw)

    Why would it suddenly stop after a Wordfence update? It was fine before the one around the 10th May?

    Thanks, this worked for me. The files in that directory were updating with the exception of “rules” stuck on 9 May. The warning is now gone.

    Plugin Support wfpeter

    (@wfpeter)

    Hi @itguynw,

    There’s no reason I’m aware of why a Wordfence update alone would cause the issues you saw, but if there has been an error read/writing the location or the file itself was inadvertently corrupted due to access issues during the update process then it may have resulted in manual action being required to clear the folder.

    You can also check for permissions issues in your Wordfence > Tools > Diagnostics page, but if everything worked before then I don’t necessarily expect to see any issues in this area.

    Thanks,

    Peter.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘last rules update for the Wordfence Web Application Firewall was unsuccessful’ is closed to new replies.