• Resolved ReallyDeeJ

    (@reallydeej)


    We keep getting ‘Scan Stage Failed’ when trying to run a scan on our site. We get up to File Changes / Malware Scan / Content Safety & then it just fails. Ultimately resulting in ‘Scan failed’ after 2 attempts.

    Logs say:
    [Nov 28 19:23:01:1701159781.680020:2:info] Attempting to resume scan stage (0 attempt(s) remaining)…
    [Nov 28 19:21:47:1701159707.663533:2:info] Attempting to resume scan stage (1 attempt(s) remaining)…
    [Nov 28 19:20:39:1701159639.868594:2:info] Analyzed 31900 files containing 941.91 MB of data so far

    No useful error message, nothing in the webserver error logs, no indication of what’s the cause.

    Any help would be greatly appreciated.

Viewing 1 replies (of 1 total)
  • Plugin Support wfmark

    (@wfmark)

    Hi @reallydeej, Thank you for reaching out.

    To troubleshoot the scans please follow these steps:

    • Stop the existing scan if it is still running (The “Start New Scan” button turns into a “Stop” button while the scan is running).
    • Go to your Wordfence > Scan > Manage Scan and locate the “Performance Options” section. Set “Maximum execution time for each scan stage” to 20.
    • Click to “Save Changes”.
    • Go to the Tools > Diagnostics page.
    • In the “Debugging Options” section check the circle “Enable debugging mode”.
    • If “Start scan remotely” is checked, uncheck this option.
    • Click to “Save Changes”.
    • Start a new scan on the Scan page.
    • If the scan fails again, copy the last 20 lines or so from the Log (click the “Show Log” link) once the scan finishes and paste them in the post.

    On some sites, this will correct the issue. Adding “20” for the “Maximum execution time for each scan stage” tells the scan to pause every 20 seconds and start again where it left off, which makes the scan more performance-friendly for some servers. If this fixes the issue and scans run again, you can leave all the settings above except for “Enable Debugging Mode”.

    For a screenshot of my recommended Performance setting options – Click Here.

    Additionally, please send a diagnostic report to wftest @ wordfence.com. You can find the link to do so at the top of the Wordfence Tools > Diagnostics page. Then click on “Send Report by Email”. Please add your forum username where indicated and respond here after you have sent it.

    Thanks,

    Mark

Viewing 1 replies (of 1 total)

The topic ‘Scan Stage Failed’ is closed to new replies.