-
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
All DHCP Static Leases are gone after update 106 #3027
Comments
Same issue here, not all, but some of my static leases seem to have been removed since the update last night to v0.106.0 Please look into this asap as this will be causing some serious problems with my local network now! EDIT - having looked into the problem, it seems the only entries removed were ones I had entered with duplicate hostnames (so technically my own fault). I have re-added them with unique hostnames and all seems well now. Thanks. |
Same issue here ... all static DHCP leases are gone. |
@Vercety87, @DavidPasch, thank you for your reports. We're investigating that. Can you please look into the This is probably caused by #2952, and we'll probably need to release a migration for that in v0.106.1. |
No duplicates but (maybe) invalid HostNames using "blank space" character in their names. |
Updates #3027. Squashed commit of the following: commit 171ebae Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Thu Apr 29 14:45:04 2021 +0300 all: imp docs commit 48b13ed Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Thu Apr 29 14:34:28 2021 +0300 dhcpd: normalize hostnames of invalid static leases
The fix was pushed to the edge channel in snapshot c8092fe recently. It should apply a best-effort algorithm to make previously added invalid hostnames of the static DHCP leases valid, so most of them should reappear. Can you please check if that fix works for you? |
Had installed AdGuard manually, not via snap. So no access to that edge cannel source. Sorry. Updated manually leases.db from " " to "-" and it works. Update was fine. So yes, it's a "valid naming" problem. |
Hi, thanks for your help. I just tried the latest edge v0.107.0-a.5+59f48d79 but still the same problem. I got this in logs file :
I will check device name in leases.db file. |
Thanks for testing and providing the output. The hostname migration we've implemented works well, but apparently there are also several records with the same IP address in your leases. We will have to think if we can fix that automatically. |
My bad I was on a bad leases.db. I just push one of my backup, into edge version and all my DHCP leases are back. |
Thanks for the good news! We will release the fix with v0.106.1 in the next couple of days. I'll close this issue for now. |
Updates #3027. Squashed commit of the following: commit 171ebae Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Thu Apr 29 14:45:04 2021 +0300 all: imp docs commit 48b13ed Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Thu Apr 29 14:34:28 2021 +0300 dhcpd: normalize hostnames of invalid static leases
Updates AdguardTeam#3027. Squashed commit of the following: commit 171ebae Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Thu Apr 29 14:45:04 2021 +0300 all: imp docs commit 48b13ed Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Thu Apr 29 14:34:28 2021 +0300 dhcpd: normalize hostnames of invalid static leases
Issue Details
After upgrading my ADGH docker container, I loose all my DHCP Static Leases
Expected Behavior
Find all my previous DHCP Static Leases from previous version of ADGH
Actual Behavior
No DHCP Static Leases found
Additional Information
DHCP Static Leases seams to still be in ADGH Database, logs says :
The text was updated successfully, but these errors were encountered: