Ok, I can confirm that the solution still works in 2022.
I’ve managed to install the database and the contact’s location is showing up within the dashboard, the issue is that the dynamic content feature I’m testing doesn’t seem to work yet.
Am I missing something?
I followed the tutorial, created the Maxmind account, generated the key, put the key in the AccountID:Licensekey format and nothing happens when I click on Fetch IP Lookup Data Store.
Actually something happens on the backend. The ajax request returns 200 but with response {“success”:0}.
Request: https://{mautic.mydomain}/s/ajax?action=downloadIpLookupDataStore&service=maxmind_download&auth={MyAccountID}%3{MyLicensekey}&_={UnknownNumber}&mauticUserLastActive=705&mauticLastNotificationId=
Request Method: GET
Status Code: 200
I had the same problem. I solved it by running the command php /opt/bitnami/mautic/bin/console mautic:iplookup:download
as sudo (otherwise it produces a permissions’ error).
Hope it helps!
Cool, it helped a lot. The button still doesn’t work, but with this command I created a cron job that periodically updates the file. A better solution than having to update manually via button. Thanks!