mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 09:13:19 +03:00
🐛 Bug Report: data/GeoLite2-City.mmdb: no such file or directory #25
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mitchplze on GitHub.
Reproduction steps
Login to Pocket ID usually triggers this WARN in the logs
Expected behavior
GeoLite database should be installed, and Audit Log should show approx. locations of logins.
Actual Behavior
This error is thrown in Docker logs:
No locations are reported in Audit Log (just says "Unknown").
The referenced file indeed does not exist in my
./datadirectory.Creating that file blank, changes the error to "file is empty".
I have tried various chmod permissions, and
user: 0:0, but it does not seem to repair or fix the GeoLite db.I also stood up a fresh Pocket ID instance, and noticed that this file is not created out of the box, either.
Pocket ID Version
v1.10.0
Database
SQLite
OS and Environment
Docker on Debian with Caddy
Log Output
No response
@stonith404 commented on GitHub:
Did you set the
MAXMIND_LICENSE_KEYenvironment variable?@mitchplze commented on GitHub:
@stonith404 Okay, interesting, now I'm getting the 'file is empty' error, even with a valid license key.
Thoughts?
@mitchplze commented on GitHub:
Somehow I completely missed that section of the docs, and when I typed "GeoLite" in search, nothing popped up for me.
Apologies, I will try this.