Container crashes while downloading GeoLite2 #1540
-
I'm running Shlink in docker with these settings: When I leave the key entry empty, everything works fine, with the key, the container spins up and crashes immediately. The console log: Creating fresh database if needed... If you can tell me how to enable debug mode to get additional information, please do so. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
Try providing |
Beta Was this translation helpful? Give feedback.
-
In GeolocationDbUpdateFailedException.php line 34: [Shlinkio\Shlink\CLI\Exception\GeolocationDbUpdateFailedException] Exception trace: [Shlinkio\Shlink\IpGeolocation\Exception\DbUpdateException] (Oh, and how can I make the url-shorts persistent, without using an extra database? What do I need to map?) |
Beta Was this translation helpful? Give feedback.
-
This error means you did not provide a valid GeoLite2 license key.
You can't. A database is mandatory. |
Beta Was this translation helpful? Give feedback.
-
Found the issue, he was not able to resolve the dns name. I now mapped a custom resolv.conf, so that he uses another dns server. Problem solved. |
Beta Was this translation helpful? Give feedback.
-
One more question, where is the API Token stored? It seems currently that I have to generate a new one for the webinterface, everytime I restart the container? |
Beta Was this translation helpful? Give feedback.
Found the issue, he was not able to resolve the dns name. I now mapped a custom resolv.conf, so that he uses another dns server. Problem solved.