@revathi-muthana123 opened this Issue on September 16th 2020

Hello,
We have Matomo 3.12.0 setup on my environment. We are using GeoIP2 (php) plugin for the location tracking from visitors. but we have an issue here, some of the users are browsing from their websites & monitoring analytics. But it is showing default location as “united States” instead of original locations. I read some of the official documents like after 1.9 or later versions it is using GeoIP2 for tracking locations instead of languages. So we tried to download latest version of this plugin from Maxmind website “https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz” in the same way which we have done earlier.
Finally we found that & signed up for the account & provided license details as well. But it’s not installing properly. It’s throwing some error like " Error: Matomo tried checking the location of a known IP address (194.57.91.215), but your server returned ‘L’Ecouvotte, BFC, FR’. If this provider were configured correctly, it would return ‘Besançon, BFC, FR’.".
Please help me on this. How we can install, what are the steps we need to follow.

image

Thanks & Best Regards
Revathi

@Findus23 commented on September 16th 2020 Member
@Findus23 commented on September 16th 2020 Member

Can you try updating to Matomo 3.13.1 or later?
3.12.0 was released before Maxmind changed their free database and therefore probably can't properly support the new files.

@sgiehl commented on September 16th 2020 Member

Updating Matomo to 3.14 should actually solve that issue. The detected
location seems to have changed in a newer release of the geoip2 database.
We have already changed that check when integrating support for db-ip.
If updating is not possible in your case you may need to adjust the code
manually...

@revathi-muthana123 commented on September 16th 2020

Can you try updating to Matomo 3.13.1 or later?
3.12.0 was released before Maxmind changed their free database and therefore probably can't properly support the new files.

Yes, we will update when it is only the solution. Thanks for the suggestion.

@revathi-muthana123 commented on September 16th 2020

Updating Matomo to 3.14 should actually solve that issue. The detected location seems to have changed in a newer release of the geoip2 database. We have already changed that check when integrating support for db-ip. If updating is not possible in your case you may need to adjust the code manually...

Thanks for the answer, Will take time to update. Meanwhile if we need to change the code manually, can you suggest the process where & what we need to change ?

@revathi-muthana123 commented on September 16th 2020

Hello, There is one more issue, we are not sure exactly relates to Matomo or GeoIP plugin. For example in my team 2 colleges are there but working from different locations, i am from India & he is from Poland. He is in another network & i am from different.
When he is trying to get that location from "https://www.maxmind.com/en/locate-my-ip-address" website, it's not tracking any ip address but when i tried from India it is working fine & displaying locations also as i am sharing the screenshots.

india
Poland

Please help us to find the cause for this.

@tsteur commented on September 16th 2020 Member

@revathi-muthana123 I suggest you get in touch directly with MaxMind regarding your last two comments. Maybe they can help you. It's possible their database simply doesn't have the data for that IP.

I'll close the issue for now as I understand the issue is fixed in a newer version. Let us know if updating didn't help @revathi-muthana123 and we'll be happy to reopen.

Thanks

This Issue was closed on September 16th 2020
Powered by GitHub Issue Mirror