-
-
Notifications
You must be signed in to change notification settings - Fork 7
MMDB_open("/config/geoip/GeoLite2-ASN.mmdb") failed #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I have this too after updating today. The file appears to be missing. Using MM_ACCOUNT and MM_LICENSE with valid info did not resolve the issue. Temporary solve while we wait for an update: Create an account at https://www.maxmind.com/en/geolite2/signup then download the missing file at https://www.maxmind.com/en/accounts/current/geoip/downloads and place it inside the container at |
Thank you for bringing this to me 🙏🏼 I've just checked and in the image there are the default databases. On a basic deployment, this poses no problem. Do you have any more information on the structure you're currently using?
I think there's a logic problem in init: https://github.com/k44sh/rutorrent/blob/main/rootfs/etc/cont-init.d/configurations.sh#L488-L499 Without account, the bases are here by default in the Docker: rutorrent:/# ls -lh /var/mmdb/
total 78M
-rw-r--r-- 1 root root 9.7M May 11 22:50 GeoLite2-ASN.mmdb
-rw-r--r-- 1 root root 59M May 11 22:50 GeoLite2-City.mmdb
-rw-r--r-- 1 root root 8.8M May 11 22:50 GeoLite2-Country.mmdb You can temporarily copy from it like this : docker create --name temp-mmdb k44sh/rutorrent:latest
docker cp temp-mmdb:/var/mmdb/. ./config/geoip/
docker rm temp-mmdb |
Hi @k44sh, thanks for looking into this, I can't speak for @YaPaY, but here is my details
|
The On a fresh deployment it works, as the files are sourced from the file system of the container image. Same goes for every other file updates within Every "static" file should be moved from |
I was having the same issue after updating. This got me up and running. Had a geoip folder in my main folder and stuck the ASN file in there. Fired right up. |
Hi, Version v5.2.5 has just been pushed to the dev branch. Once the pipeline is good, feel free to test. I believe it should be all good If everything works fine on your side with this version, I’ll push it to |
@k44sh looks good! Test: |
Hello,
I am giving this error and container stopping
nginx: [emerg] MMDB_open("/config/geoip/GeoLite2-ASN.mmdb") failed - Error opening the specified MaxMind DB file in /etc/nginx/nginx.conf:92
The text was updated successfully, but these errors were encountered: