我已在三个位置配置了我的 MaxMind 许可证密钥和账户 ID:~/.bashrc、<Discourse root>/config/discourse.conf 和 discourse.service (Systemd)。但是,它仍然无法查询 IP 的位置,但可以显示它们的组织名称。
如下所示:
IP 地址查询
位置
(未知)
组织
NETLAB-SDN
当我执行 rake assets:precompile 时,它实际上下载了一些数据库文件,并且没有打印出类似 MaxMind 许可证密钥和账户 ID 不可用或缺失的警告。我不知道为什么会发生这种情况。
我将 MaxMind 账户的国家/地区设置为中国,下载 City.mmdb 时,它会返回以下内容:
Downloads of this database from CN are forbidden due to US bulk sensitive data transfer rules
我已在此处手动下载:https://github.com/wp-statistics/GeoLite2-City。
1 个赞
system
(system)
关闭
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.