• Resolved Mark Howells-Mead

    (@markhowellsmead)


    The following error is occurring with every CRON execution across multiple websites. It happens from time to time and I receive hundreds of emails from all of the websites I manage. The problem usually resolves itself after a few days with no interaction from me, but the flood of emails is very inconvenient.

    Fatal error: Uncaught Exception: GeoIP2AutoUpdater: failed to unzip '[[WEBROOT]]/wp-content/cache/matomo/latest/DBIP-City.mmdb.gz.download' after downloading 'https://download.db-ip.com/free/dbip-city-lite-2024-05.mmdb.gz': The downloaded file is not a valid geolocation database. Please re-check the URL or download the file manually. in [[WEBROOT]]/wp-content/plugins/matomo/app/plugins/GeoIp2/GeoIP2AutoUpdater.php:156

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

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter Mark Howells-Mead

    (@markhowellsmead)

    Sorry, I don’t understand your question. I mentioned that I have used WP CLI for the crontask for several years, and that I have executed it again manually for you today.

    I have also now run wp cron event run matomo_scheduled_geoipdb as requested, which did not produce an error because it’s not the first day of the month, which is when the error always happens.

    Plugin Support dizzyatinnocraft

    (@dizzyatinnocraft)

    Ok, well, my apologies, but I don’t know what is causing this issue that only happens on the first of the month, and only happens for you on your system and none of our other users. I’d like to help find the root cause, but given the error itself is that a download just hangs, there’s little more I can do.

    The next version which makes sure emails are not sent in this case will be released before the end of this month.

    Thread Starter Mark Howells-Mead

    (@markhowellsmead)

    An additional update: although the error messages usually only come in on the first night of each month, I received emails at 03:10 and 03:15 this morning, which notify that the download failed after trying for an hour.

    The initial reason for opening this ticket was because of the error message that the file https://download.db-ip.com/free/dbip-city-lite-2024-05.mmdb.gz was not “a valid geolocation database”, however the issue has since changed to the file (most recently https://download.db-ip.com/free/dbip-city-lite-2024-06.mmdb.gz) not being available for download after the script waiting for one hour.)

    Plugin Support dizzyatinnocraft

    (@dizzyatinnocraft)

    If the problem is due to the DB-IP servers, you can try switching to MaxMind for geolocation: https://matomo.org/faq/wordpress/improve-matomo-for-wordpress-geolocation/ . There are free MaxMind databases, but you do have to sign up for an account with them.

    Thread Starter Mark Howells-Mead

    (@markhowellsmead)

    Oh, thanks for the suggestion. I’ve set up a MaxMind key and will monitor the situation.

Viewing 5 replies - 16 through 20 (of 20 total)
  • You must be logged in to reply to this topic.