-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Client Settings - Service blocking Time Zone fails #6565
Comments
We cannot reproduce this, unfortunately.
This likely means that your machine doesn't have that time zone installed. Please update the router's I've also noticed that the list doesn't include a list of fixed timezones, which could help work around these issues, and we do need to add them. I've filed #6568 for that. |
I had same issue and this is how I fixed it:
It's weird how inside AdGuard all showed the correct timestamps for events but it seems for this feature it goes to the OS for the time. |
Thanks. I just SSH into my gl-inet Flint2 and checked the 'date' It's set correctly... Sat Dec 30 10:22:50 AEST 2023 |
@ainar-g i'm having the same issue on router setup (entware) |
@odcold, see the messages above. First and foremost, update your tzdata, if you're able to. If not, you're probably stuck using If you want to investigate further, the verbose logs are the way. I'm not sure what you mean by “only error 400” though. You should be able to see records with |
i meant that even with verbose logs enabled this is all i get, related to this error
it's not, error doesnt show up but timezone is still in UTC reason for this behavior is that by default paths to timezone are: "/usr/share/zoneinfo/", but in Entware its and also for localtime https://github.com/Entware/Entware/blob/master/tools/go-src/patches/010-entware.patch maybe there is a way to implement exceptions for these installations? |
I feel like at this point it's easier to just not rely on the operating system's own tzdata at all. Go allows shipping a recent version of tzdata with the binary, and we'll probably go this way. I'll file a separate issue about that. |
Anyone found a solution for this? Any quick fix for it? Found a solution: |
Prerequisites
I have checked the Wiki and Discussions and found no answer
I have searched other issues and found no duplicates
I want to report a bug and not ask a question or ask for help
I have set up AdGuard Home correctly and configured clients to use it. (Use the Discussions for help with installing and configuring clients.)
Platform (OS and CPU architecture)
Linux, ARMv7
Installation
Custom package (OpenWrt, HomeAssistant, etc; please mention in the description)
Setup
On a router, DHCP is handled by the router
AdGuard Home version
v0.107.43
Action
Adguard Home, Settings, Client Settings, Add Client (or Edit existing client). Add IP address of device. Device has MAC address set to static IP address in GL-iNET MT6000 (Flint2).
Select 'Block Specific Service' and choose just YouTube. Go to 'Pause service blocking' and select a time and time zone . Click save and error appears.
Delete Client and try again. Still same error message.
Expected result
Pause service blocking saves selected days and time successfully for Oceania / Brisbane. Blocked YouTube service is unblocked during the time specified.
Actual result
Error: control/clients/update | failed to process request body: unknown time zone Australia/Brisbane | 4000
Additional information and/or screenshots
No response
The text was updated successfully, but these errors were encountered: