-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Database file path incorrect #75
Comments
Hey @rama31244, this seems to be a somewhat recent behavior change in how plugins are installed by traefik. I personally install plugins in local mode (see https://plugins.traefik.io/install), which avoids this problem.
Yes, you can change the database file path to a location of your choice: traefik-plugin-geoblock/.traefik.yml Line 10 in 069f3ec
I try to keep the bundled database updated in with each plugin release. So yes, if you specify a custom database file path, you'd need to keep it updated on your own. This is easily to automate however, perhaps the https://github.com/nscuro/traefik-plugin-geoblock/blob/main/tools/dbdownload/main.go |
Same happened for me today. Installed plugin as via helm chart traefik config
Same error, no "plugins-local" folder. Maybe it can read database as relative path ? |
Hi, I attempted to install this plugin to my traefik docker container but it can't locate the database since the path is incorrect. I attempted to correct the path but the location of the database on my container seems to be dynamic and changes every restart:
/plugins-storage/sources/gop-**********/src/github.com/nscuro/traefik-plugin-geoblock
The value after gop- seems to be a random 10 digit number that changes when restarting the container. How can I correct this? Can i copy out the database to another static folder on the docker container? Or does this database change periodically?
The text was updated successfully, but these errors were encountered: