-
-
Notifications
You must be signed in to change notification settings - Fork 334
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
Add updater vars to docker-compose example #1393
Conversation
Hello, first sorry for the huge delay I am just coming out of very busy times and am again able to work on Gluetun.
I think there is, if the healthcheck fails, the info log |
I did not. If you peek at the log (in my opening comment) in the discussion linked above, all I saw was this: It sent me down a rabbit hole of thinking something else was wrong when really the servers for the region I had selected had all become stale. If I had seen that health check error or anything indicating that it was related to the static server list, that would have saved me time. I feel it would be best to suggest those parameters to new users so they at least know about the servers.json file and can configure the updater accordingly. Enabling the updater by default could also work but that could cause issues if say a specific provider changed their DNS names before you noticed and pushed an update for it. I'm sure you probably have other reasons for it being disabled by default but just throwing out another idea. |
Ok, so logic was a bit intricate to understand with the many timers and signals, but I figured it out. It would only log the wiki link when gluetun would switch from healthy to unhealthy basically, but not the first time when it would stay unhealthy from the start (and restart the vpn). That got fixed in fe97e28 👍 Now your PR still adds value, since I keep on seeing issues created by people not even trying to update the servers list, so it's after all worth including it in the minimalist example. Merging it 💯 |
Just FYI / don't get mad at me 😄 After getting issues of people still unaware of updating servers data themselves, I decided to re-remove the
Hopefully this will clear it up further. There are also plenty of logged information as well as issue template description pointing to updating servers, but it seems a few people still don't want to read, so I guess it's a bit of a infinite battle against humanity 😄 |
I think that's a great change. Hopefully that will resolve all of stale server list issues. In my opinion, if they don't read the README or the issue template before asking for help, they deserve to suffer😂 |
I'm proposing the addition of
UPDATER_PERIOD
andUPDATER_VPN_SERVICE_PROVIDERS
to the docker-compose example in the README to prevent the issue described in the discussion linked below. This will help bring awareness to the static list of servers that are shipped with each release and prevent connection issues when the IPs in the user's selected region(s) have become stale and there's no clear indicator given to the users to direct them to updating their local servers.json file. Knowing that releases can happen daily or bi-annually and the updater is disabled by default, I feel this is probably a no-brainer to prevent others, especially new users, from running into the same issue.#1356 (comment)