diff --git a/README.md b/README.md index cd4b9ba..17b06a7 100644 --- a/README.md +++ b/README.md @@ -327,6 +327,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **15.07.21:** - Fix libmaxminddb issue due to upstream change. * **07.07.21:** - Rebase to alpine 3.14. * **24.06.21:** - Update default nginx conf folder. * **28.05.21:** - [Existing users should update:](https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs) authelia-server.conf - Use `resolver.conf` and patch for `CVE-2021-32637`. diff --git a/readme-vars.yml b/readme-vars.yml index edbe29c..fd011c5 100755 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -151,6 +151,7 @@ app_setup_nginx_reverse_proxy_block: "" # changelog changelogs: + - { date: "15.07.21:", desc: "Fix libmaxminddb issue due to upstream change." } - { date: "07.07.21:", desc: "Rebase to alpine 3.14." } - { date: "24.06.21:", desc: "Update default nginx conf folder." } - { date: "28.05.21:", desc: "[Existing users should update:](https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs) authelia-server.conf - Use `resolver.conf` and patch for `CVE-2021-32637`." } diff --git a/root/etc/cont-init.d/50-config b/root/etc/cont-init.d/50-config index ec9f69c..9abf671 100644 --- a/root/etc/cont-init.d/50-config +++ b/root/etc/cont-init.d/50-config @@ -355,7 +355,7 @@ fi ln -s /config/geoip2db /var/lib/libmaxminddb # check GeoIP2 database if [ -n "$MAXMINDDB_LICENSE_KEY" ]; then - sed -i "s|.*MAXMINDDB_LICENSE_KEY.*|MAXMINDDB_LICENSE_KEY=\"${MAXMINDDB_LICENSE_KEY}\"|g" /etc/conf.d/libmaxminddb + sed -i "s|.*MAXMINDDB_LICENSE_KEY.*|MAXMINDDB_LICENSE_KEY=\"${MAXMINDDB_LICENSE_KEY}\"|g" /etc/libmaxminddb.cron.conf if [ ! -f /var/lib/libmaxminddb/GeoLite2-City.mmdb ]; then echo "Downloading GeoIP2 City database." /etc/periodic/weekly/libmaxminddb