• Hi!

    Love the plugin but the updates of the Maxmind GeoIP Lite City database keeps failing. Or it’s not executing, not sure which. We have to manually click “Update now” under the options settings for it to work.

    We’re running WordPress 5.5.1 and the 3.1.1 version of the plugin. We’ve disabled WP-Cron and run a custom cron job from our server (Siteground) every 30 mins.

    Thank you for an otherwise great plugin.

    The page I need help with: [log in to see the link]

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

    (@benjaminpick)

    If the Cron update is failing, you would see an admin notice in the backend. So probably it’s not executing.

    Did you disable the Web Cron and running wp-cron.php manually instead?

    Thread Starter frii

    (@frii)

    Hi Benjamin,

    Thank you for your reply. We haven’t received any notifications regarding failed cron updates, but I’m not sure if Siteground even offers this service.

    We followed this short tutorial to disable wp-cron and implement a cron job on the server side to execute every 30 mins.

    https://www.siteground.com/tutorials/wordpress/real-cron-job/

    I’m trying to find anything related to the plugin under Tools -> Scheduled actions in the WordPress backend but there are 5580 items on that list and we don’t know what Hook to search for.

    Plugin Author Benjamin Pick

    (@benjamin4)

    Real Cron job – yes that should work.

    The hook is called geoipdetectupdate

    Can you call /wp-cron.php in your browser and see if there are any PHP errors? If such errors occurs, the cron wget command silently discards it. You could add them to a file instead:

    
    wget -q -O - https://yourdomain.com/wp-cron.php?doing_wp_cron >> /some/directory/that/is/not/accessible/from/www/cron_error.log 2>&1
    

    Of course, replace both the URL and the file directory.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Maxmind automatic updates failing’ is closed to new replies.