Update Maxmind GeoLite2 DB (IP geo blocking) without restarting SFTPGo docker container #2077
Unanswered
Staubgeborener
asked this question in
Q&A
Replies: 1 comment
-
Maybe someone can confirm this idea: What about restarting the init process, could this load all plugins with new data without restarting the whole container?
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the sftpgo-plugin-geoipfilter plugin with a Maxmind GeoLite2 country db. SFTPGo is running in a docker container. This is basically working like a charm.
The problem: I am using a cron which is downloading the current Maxmind DB once a week. The cron also unzips the tar file and puts the mmdb file into the correct place. But i have the feeling, i need to restart the whole SFTPGo docker container after that, otherwise SFTPGo is using the "old" db which is mounted inside the container. The solution is easy: Run your cron with curl/wget/whatsoever && restart the SFTPGo Container. That's a huge issue on my side as this would kick all my users from their current (downloading) session. Is there a way to do update the Maxmind GeoLite2 DB without restarting the container everytime?
Beta Was this translation helpful? Give feedback.
All reactions