A user, emonunix, reports a MaxMindDB error in their Discourse logs, indicating the GeoLite2-City.mmdb file is missing. Arkshine clarifies that the free GeoLite2 database is available and provides a guide, while Jagster notes that proper formatting in app.yml is crucial. emonunix confirms the free database can be used and later reports resolving the issue after setting up a MaxMind account and correctly configuring the database, thanking both contributors for their help 1, 2, 3, 4.
I’m encountering an issue in my Discourse instance where the following error appears in the logs:
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory 2 rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb
It seems like Discourse is unable to locate the GeoLite2-City database.
Has anyone else encountered this issue? What’s the best way to resolve it?
Any guidance would be appreciated!
Thank you so much for your guidance and suggestions in fixing the MaxMind error issue! With your help, I successfully signed up for a MaxMind account, set up the GeoLite2 database for my forums, and resolved the issue. Everything is working perfectly now!
I really appreciate your time and expertise in helping me out. Thank you again!