# IP lookup not working

**URL:** <https://forum.mautic.org/t/ip-lookup-not-working/35492>\
**Category:** Mautic 6 Install/Upgrade Support\
**Created:** [April 10, 2025, 5:48pm UTC](https://forum.mautic.org/t/ip-lookup-not-working/35492 "2025-04-10T17:48:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![floeby](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/floeby/32/1444_2.png) [@floeby](https://forum.mautic.org/u/floeby)\
**Post date:** [April 10, 2025, 5:48pm UTC](https://forum.mautic.org/t/ip-lookup-not-working/35492/1 "2025-04-10T17:48:52Z")

</div>

**Your software**  
My Mautic version is: 6.0.0  
My PHP version is: 8.2  
My Database type and version is: 10.6.20-MariaDB

**Your problem**  
The ip lookup sevice is not working. I’m at a bit of a loss here. I fill in the correct credentials for the Maxmind Geolite2 City. The .mmdb file is in the var/cache/ip\_data folder (pressing the button in mautic actually does nothing, but when I run the cron it gives a success!).

There are no errors in the log, it simply doesn’t log location.  
I tested it in several manners, but while in previous versions, opening the email would ‘reveal’ the location, it now does nothing.

Is there aybody else with this problem (even better with a solution ;))?

Kind regards,

floeby

---

<div class="post-metadata">

**Author:** ![dfwplay](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dfwplay/32/13388_2.png) [@dfwplay](https://forum.mautic.org/u/dfwplay)\
**Post date:** [June 23, 2025, 9:34pm UTC](https://forum.mautic.org/t/ip-lookup-not-working/35492/2 "2025-06-23T21:34:16Z")

</div>

Had the same issue.  
make sure file owner and group are set to www-data  
chown www-data:www-data GeoLite2-City.mmdb

---

<div class="post-metadata">

**Author:** ![andrew\_c3](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrew_c3/32/13547_2.png) [@andrew\_c3](https://forum.mautic.org/u/andrew_c3)\
**Post date:** [June 24, 2025, 8:28am UTC](https://forum.mautic.org/t/ip-lookup-not-working/35492/3 "2025-06-24T08:28:41Z")

</div>

Hello,

I had a problem with IP Lookup not working as well.  
My solution can be found here:

[Mautic:iplookup:download ssh console command reports error on line 99](https://forum.mautic.org/t/mauticdownload-ssh-console-command-reports-error-on-line-99/35504)

Thanks.
