TeamSpeak-Systems / teamspeak-linux-docker-images

docker build files for TeamSpeak servers
Other
114 stars 52 forks source link

mmdbpath parameter not working #95

Open Marcel1802 opened 1 year ago

Marcel1802 commented 1 year ago

The mmdbpath parameter is not working due to the missing maxminddb library inside the container.

How to reproduce the problem:

Your docker-compose.yml should contain a volumes entry like this: - "/usr/share/GeoIP/GeoLite2-Country.mmdb:/opt/geo.mmdb"
and a command entry like this: command: ["ts3server","mmdbpath=/opt/geo.mmdb"]

Then you get an error message like this:

teamspeak_server | 2022-11-11 15:12:27.447249|WARNING |GeoIP | |maxminddb library not found, disabling MMDB usage

Solution:

The missing library needs to be added inside the container. If you want the docker image to be as small as possible so that is does not contain unnecessary packages, a new tag like teamspeak:3.13.7-maxminddb would be nice.

EvilBlood commented 1 year ago

there is already a fix, unfortunately it has not been pulled by the Teamspeak team for over a year: https://github.com/TeamSpeak-Systems/teamspeak-linux-docker-images/pull/89