How to recreate the location information of all accessed IPs #1703
-
How Shlink is set up
SummaryHello, I didn't enter Maxmind key in previous 3.4 version, but I configured the key before updating to 3.5.1, but after I updated it, I found that the location information is only available for the access logs after the update. I would like to know how to regenerate the location information for all visits (including the visits before the update)? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Try running It will try to take all existing visits that have not been geolocated yet and do it. The only consideration is that it will do it with the anonymized version of the IP address, so you'll lose a bit of accuracy, but it should be negligible and there's nothing to do about it anyway. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot. I executed it, and it displays properly. @acelaya |
Beta Was this translation helpful? Give feedback.
Try running
bin/cli visit:locate --retry
.It will try to take all existing visits that have not been geolocated yet and do it.
The only consideration is that it will do it with the anonymized version of the IP address, so you'll lose a bit of accuracy, but it should be negligible and there's nothing to do about it anyway.