Environment
Discourse Version: 2.7.0.beta1 ( 5f846531a5 )
Plugin Commit: e18de2a
Other Plugins
Name Version Enabled?
discourse-affiliate 0.2 Y
discourse-data-explorer 0.2 Y
discourse-locations 0.1 Y
discourse-yearly-review 0.1 Y
docker_manager 0.1 Y
styleguide 0.2 N
Steps to Reproduce
1a. Start typing the location in the user’s profile
1b. Nothing happens
- Changing the location geocoding provider to any of the available choices results in an error.
Example
In the user’s preferences, i.e. /u/username/preferences/profile
Logs
Message (2 copies reported)
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
Backtrace
/var/www/discourse/lib/discourse_ip_info.rb:81:in rescue in mmdb_load' /var/www/discourse/lib/discourse_ip_info.rb:77:in
mmdb_load’
/var/www/discourse/lib/discourse_ip_info.rb:15:in open_db' /var/www/discourse/lib/discourse_ip_info.rb:10:in
initialize’
/usr/local/lib/ruby/2.7.0/singleton.rb:125:in new' /usr/local/lib/ruby/2.7.0/singleton.rb:125:in
block in instance’
/usr/local/lib/ruby/2.7.0/singleton.rb:123:in synchronize' /usr/local/lib/ruby/2.7.0/singleton.rb:123:in
instance’
/var/www/discourse/lib/discourse_ip_info.rb:149:in get' /var/www/discourse/app/serializers/concerns/user_auth_tokens_mixin.rb:22:in
location’
Screenshot:
https://d11a6trkgmumsb.cloudfront.net/original/3X/6/a/6a998da9b5bc10825397742a49e41597c4e75197.png