• Resolved Jan Reidel

    (@janreidelde)


    Hello,

    every time I update the Matomo plugin to version 5.2.0 I get a warning from Maxmind that my daily download volume is reached. Checking that in the Maxmind account I see that all the download were made in a few seconds time range shortly after updating/activating the Matomo plugin.

    In the previous versions I hadn’t this issue and rolling back to 5.1.7 worked fine.

    What happend with 5.2.0 that causes this issue?

    Thanks for your advise.

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

    (@dizzyatinnocraft)

    @janreidelde there’s was no change in 5.2.0 that would cause this. But the geolocation update task is a monthly cron task, so it likely just ran around the time you decided to update to 5.2.0. Can you provide your system report: https://matomo.org/faq/wordpress/how-do-i-find-and-copy-the-system-report-in-matomo-for-wordpress/ ?

    Are you using a MaxMind geolocation database (you would have to have set a license key in the Geolocation settings if this were the case)?

    Thread Starter Jan Reidel

    (@janreidelde)

    @dizzyatinnocraft I have set the MaxMind license key in the settings. Downloading works and the monthly cron task works too. Up to version 5.1.7 everything worked fine. After activation of the plugin an initial download happened and afterwards the monthly cron task.

    When I activate version 5.2.0 I see in my MaxMind account in the download history that every few minutes a download happens starting at the time the plugin was activated that goes on until the daily download limit of 30 is hit.

    Unfortunately the system report contains a lot of sensitive data, so I can’t post a full version of it in a public forum. But I have some interesting lines out of it regarding the GeoIP DB update.

    After activation of version 5.1.7 I see the following entry:

    Update GeoIP DB: Next run: 2025-02-07 14:10:46 (2 Tage 4 Stunden) ( Last started: 2025-02-05 09:54:16 (-1 Minuten 3s). Last ended: 2025-02-05 09:54:19 (-1 Minuten 0s). Interval: matomo_monthly)

    That looks good to me, as the activation was around 09:54 and the next update is scheduled in a few days which should be inline with the monthly cron task.

    After activation of version 5.2.0 I see the following entries:

    Update GeoIP DB: Next run: 2025-02-05 09:57:22 (34 Sek.) ( Last started: 2025-02-05 09:54:16 (-2 Minuten 32s). Last ended: 2025-02-05 09:54:19 (-2 Minuten 29s). Interval: matomo_monthly)

    Update GeoIP DB: Next run: 2025-02-05 09:58:29 (23 Sek.) ( Last started: 2025-02-05 09:57:49 (-17 Sek.). Last ended: 2025-02-05 09:57:51 (-15 Sek.). Interval: matomo_monthly)

    Update GeoIP DB: Next run: 2025-02-05 09:59:51 (-7 Sek.) ( Last started: 2025-02-05 09:59:11 (-47 Sek.). Last ended: 2025-02-05 09:59:14 (-44 Sek.). Interval: matomo_monthly)

    Update GeoIP DB: Next run: 2025-02-05 10:00:43 (-10 Sek.) ( Last started: 2025-02-05 09:59:58 (-55 Sek.). Last ended: 2025-02-05 10:00:01 (-52 Sek.). Interval: matomo_monthly)

    Update GeoIP DB: Next run: 2025-02-05 10:01:33 (-6 Sek.) ( Last started: 2025-02-05 10:00:53 (-46 Sek.). Last ended: 2025-02-05 10:00:56 (-43 Sek.). Interval: matomo_monthly)

    I took the system report immediately after activation before the initial download happened. What you can see from the second entry on is that approx. every minute a new download is scheduled. This goes on until the daily download limit is hit.

    Plugin Support dizzyatinnocraft

    (@dizzyatinnocraft)

    @janreidelde Would you be able to email the system report to dizzy (at) innocraft (dot) com?

    Could you try enabling debug logging by adding the following to wp-config.php:

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);

    then, upgrade to Matomo 5.2.0, and check the logs geolocation database update related logs? (If you’re willing, you can also email them to the above email.)

    Can you also tell me how often your WP cron is run? And is it setup to run in via the actual system crontab?

    Plugin Support dizzyatinnocraft

    (@dizzyatinnocraft)

    From the email exchange this problem is caused by using PHP on Windows rather than Linux. There will be a fix for this specific issue in the next release, but Matomo is not guaranteed to work on non-Linux environments.

    Plugin Support dizzyatinnocraft

    (@dizzyatinnocraft)

    I’m marking this as resolved as the issue is due to using Windows, and will be fixed in the next release. If you experience any other issues feel free to comment or create another issue.

    Also, please keep in mind that supporting Windows use will always be considered a low priority for us.

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