agemo
(agemo)
October 24, 2024, 8:19am
1
No, I did not check the logs and just did, thanks, and pre-empts my other suspicion, MaxMindDB issue, I’m seeing some MaxMindDB alerts over time, here is one example being the latest and last log entry yesterday.
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb
We 11:29 pm
1 Like
Jagster
(Jakke Lehtonen)
October 24, 2024, 9:33am
2
If you are totally sure your credentials right then there is possibility you don’t have two spaces before those lines in app.yml.
agemo
(agemo)
October 24, 2024, 10:16am
3
@Jagster thanks for the pointer - which lines are you specifically referring to in the app.yml?
mcdanlj
(mcdanlj)
October 24, 2024, 11:29am
4
DISCOURSE_MAXMIND_LICENSE_KEY: bmljZSB0cnksIG5vIGdvb2QK
DISCOURSE_MAXMIND_ACCOUNT_ID: 1234567
(No those are not real key or ID, of course)
If you don’t have DISCOURSE_MAXMIND_ACCOUNT_ID
that might be your problem.
1 Like
agemo
(agemo)
October 24, 2024, 11:31am
5
Ah ha! I never knew you needed an account. Doh!
Does anyone know if there is a fee tier or is it pay for only service?
Jagster
(Jakke Lehtonen)
October 24, 2024, 11:38am
7
It’s free if basic data as country, ASN etc. are enough.
mcdanlj
(mcdanlj)
October 24, 2024, 11:57am
8
@agemo you want to read this page:
What is MAXMIND and why would I want it?
Discourse uses MAXMIND to provide geographical information for reverse IP lookups.
[location]
Without Maxmind’s database you’ll see something like this:
[nolocation]
Or perhaps you’ve noticed this message fly by when you rebuild your container:
MaxMind IP database download requires an account ID and a license key
Please set DISCOURSE_MAXMIND_ACCOUNT_ID and DISCOURSE_MAXMIND_LICENSE_KEY. See https://meta.discourse.org/t/configure-maxmind-for-reverse-i…
3 Likes