• Hi

    Interested in potentially using Ninja Scanner Premium on quite a few sites (for scheduled scans). However I’m testing the free version on two sites, and the scans don’t seem to run.

    — Site 1 —

    Here’s the debug log:

    01-May-20 14:05:52 INFO Starting scanning process
    01-May-20 14:05:52 DEBUG Server memory_limit: 256M
    01-May-20 14:05:52 DEBUG Server max_execution_time: 0
    01-May-20 14:05:52 INFO Processing step 1 (0/10)
    01-May-20 14:05:52 INFO Skipping NinjaScanner files integrity check
    01-May-20 14:05:52 DEBUG Process used 33,948,264 bytes out of 8,388,608 bytes of allocated memory.
    01-May-20 14:05:52 INFO Processing step 2 (0/10)
    01-May-20 14:05:52 INFO Checking NinjaScanner files integrity
    01-May-20 14:05:52 INFO Total files found: 38925
    01-May-20 14:05:52 WARN Symlinks found: 1
    01-May-20 14:05:52 INFO Building database posts and pages checksum
    01-May-20 14:05:52 INFO Found 41 posts and 24 pages in the database
    01-May-20 14:05:52 DEBUG Process used 62,573,016 bytes out of 38,010,880 bytes of allocated memory.
    01-May-20 14:05:52 INFO Processing step 3 (0/10)
    01-May-20 14:05:52 INFO Checking WordPress core files integrity
    01-May-20 14:05:52 DEBUG Downloading wordpress-5.4.1.zip from ww.wp.xz.cn
    01-May-20 14:05:53 INFO Cancelling scanning process
    01-May-20 14:05:53 DEBUG Could not get lock, exiting

    — Site 2 —

    Tested on another site and it just get’s stuck on step 9/10 every time, here’s the final parts of that log:

    02-May-20 01:26:00 DEBUG Local copy is too old, deleting it
    02-May-20 01:26:00 DEBUG Downloading the latest version
    02-May-20 01:26:00 DEBUG Verifying digital signature with public key
    02-May-20 01:26:00 DEBUG Verifying signatures
    02-May-20 01:26:00 DEBUG Verified signatures: 1111
    02-May-20 01:26:00 INFO  Total loaded signatures: 1111

    Any ideas why, and how to fix this?

    Both sites are on different hosting. Site 2 is on a VPS.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author nintechnet

    (@nintechnet)

    The second scan is likely a issue with PHP memory limit or execution time. Check this post (look in the “The scanning process does not terminate” section): https://blog.nintechnet.com/ninjascanner-troubleshooting/

    Regarding the first scan, it stops after 1 second only and when trying to download the WordPress zip file. Can you try to disable “Settings > Advanced Users Settings > Compare WordPress core files to their original package” and run the scan to see if it still stop after one second? If it does, then disable the two other options from the “File integrity checker” section and try again. That will show whether there’s an connection issue or not.

    Thread Starter Elliot Sowersby / RelyWP

    (@elliotvs)

    Thanks for the reply.

    Managed to fix the scan for “site 2” by increasing the memory limit and execution time.

    For site 1, disabled all 3 of these settings, but does the same thing: https://i.gyazo.com/2c9ed7135afb3067f19077c114628bce.png

    Plugin Author nintechnet

    (@nintechnet)

    Try to enable debugging in WordPress with the WP_DEBUG and WP_DEBUG_LOG constants as indicated in the https://blog.nintechnet.com/ninjascanner-troubleshooting/ post. Then run a scan and check the /wp-content/debug.log if there’s anything related to this issue.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Scans not working’ is closed to new replies.