agemo
(agemo)
2024 年 10 月 24 日午前 8:19
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
Jagster
(Jakke Lehtonen)
2024 年 10 月 24 日午前 9:33
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)
2024 年 10 月 24 日午前 10:16
3
@Jagster thanks for the pointer - which lines are you specifically referring to in the app.yml?
mcdanlj
(Michael K Johnson)
2024 年 10 月 24 日午前 11:29
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
agemo
(agemo)
2024 年 10 月 24 日午前 11:31
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)
2024 年 10 月 24 日午前 11:38
7
It’s free if basic data as country, ASN etc. are enough.
mcdanlj
(Michael K Johnson)
2024 年 10 月 24 日午前 11:57
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