• As recommended in this support ticket, I have signed up for MaxMind and am using the GeoIP Database. However, I am getting error message emails from MaxMind because the plugin appears to be trying to download the database every time the WP Cron runs. (Every five minutes using WP CLI.) I cannot find an option in the Matomo plugin to define that the plugin should only attempt to download the database in line with MaxMind’s requirements, for example once per day.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support dizzyatinnocraft

    (@dizzyatinnocraft)

    That would suggest that a critical error is happening during the download as that task is scheduled to run only once a month. Are you getting any other emails? Do you see any relevant log information in System Report?

    Plugin Support dizzyatinnocraft

    (@dizzyatinnocraft)

    Also, if you’re using some sort of managed hosting, can you tell me who your hosting provider is? Perhaps I can reproduce the issues you’re facing.

    Thread Starter Mark Howells-Mead

    (@markhowellsmead)

    I’m not using managed hosting. I am not receiving any other emails which indicate additional problems at this time.

    The system report indicates the following error once per day (although at random times, not always at the same time of day).

    GeoIP2AutoUpdater: failed to unzip ‘$abs_path/wp-content/cache/matomo/latest/GeoIP2-City.mmdb.tar.gz.download’ after downloading ‘https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&suffix=tar.gz&license_key=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’: Couldn’t list content for ‘$abs_path/wp-content/cache/matomo/latest/GeoIP2-City.mmdb.tar.gz.download’: Invalid block size : 44 => GeoIP2AutoUpdater.php:153; GeoIP2AutoUpdater.php:89; ScheduledTasks.php:249; class-wp-hook.php:322; class-wp-hook.php:348; plugin.php:565; Cron_Event_Command.php:361; Cron_Event_Command.php:284; CommandFactory.php:100; Subcommand.php:497; Runner.php:441; Runner.php:464; Runner.php:1295; LaunchRunner.php:28; bootstrap.php:83; wp-cli.php:32; boot-phar.php:20; wp:4;

    Plugin Support dizzyatinnocraft

    (@dizzyatinnocraft)

    That would suggest that the download is failing with an incomplete file. But if your system is continually trying to download the geoipdb that is most likely a symptom and not the cause. Would you be able and willing to add extra logging to your WordPress (by updating files and turning WP_DEBUG/WP_DEBUG_LOG on)? (I sent an email about this as well a couple days ago.)

    Thread Starter Mark Howells-Mead

    (@markhowellsmead)

    I’ve now done so and will send you an excerpt from it after I receive the next email.

    Plugin Support dizzyatinnocraft

    (@dizzyatinnocraft)

    @markhowellsmead would you be able to check what the currently scheduled WP cron tasks in your WordPress are and send the information to me? (I sent an email about this as well with some more details/an alternative.) (Also note there are plugins that can display this information if you need them.)

    Thread Starter Mark Howells-Mead

    (@markhowellsmead)

    I’ve responded to your email.

    Thread Starter Mark Howells-Mead

    (@markhowellsmead)

    I am still receiving these emails at irregular intervals. They only appear in one of my installations.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.