From 6e83b9002855019b3a30ff40083b69bb4a578921 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sat, 21 Nov 2020 12:36:30 +0100 Subject: [PATCH 1/2] #899 Changed temp directory in which geolite DB files are downloaded --- config/autoload/geolite2.global.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/autoload/geolite2.global.php b/config/autoload/geolite2.global.php index 10f58042..83702ca3 100644 --- a/config/autoload/geolite2.global.php +++ b/config/autoload/geolite2.global.php @@ -6,8 +6,8 @@ return [ 'geolite2' => [ 'db_location' => __DIR__ . '/../../data/GeoLite2-City.mmdb', - 'temp_dir' => sys_get_temp_dir(), - 'license_key' => 'G4Lm0C60yJsnkdPi', + 'temp_dir' => __DIR__ . '/../../data', + 'license_key' => 'G4Lm0C60yJsnkdPi', // Deprecated. Remove hardcoded license on v3 ], ]; From a452aeaf7e93def96fe0d970b7aa3fcf980f3c9a Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sat, 21 Nov 2020 12:38:14 +0100 Subject: [PATCH 2/2] #899 Updated changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e709a493..3003edba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and this ### Fixed * [#904](https://github.com/shlinkio/shlink/issues/904) Explicitly added missing "Domains" and "Integrations" tags to swagger docs. * [#901](https://github.com/shlinkio/shlink/issues/901) Ensured domains which are not in use on any short URL are not returned on the list of domains. +* [#899](https://github.com/shlinkio/shlink/issues/899) Avoided filesystem errors produced while downloading geolite DB files on several shlink instances that share the same filesystem. ## [2.4.1] - 2020-11-10