-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
0.6.0: Error syncing DHCP server config #272
Comments
If I update my config from Config # replicas instances (optional, if more than one)
replicas:
# url of the replica instance
- url: http://redacted:8085
username: redacted
password: redacted Log
|
Hi @golles can you please provide debug logs of the second configuration? |
With the second configuration, do you mean the adguard home replica?
Myabe I should mention that I've got 2 servers, the main AGH is running on the 1st, the 2nd AGH and sync are running on the 2nd server. All applications run in docker containers. |
2nd is the config with |
debug logs
|
Logs from 2nd instance
The last line repeats many times after that |
Do you have dhcp configuration enabled in you AdguatdHome master? If not, try disabling the DHCP feautures.
|
I don't have DHCP configured. With hat config I get the same error:
|
* correct config issues #271 #272 * rename type tags * replace env lib * move to config module * read flags * show e2e logs on error * extract env * replace deprecated env var * increment index * check replica numbers do not start with 0 * remove test suite * error handling * refactor flags * flags test * file test * file test * config tests * extend tests * test mixed mode * simplify * simplify * test mask * correct uniqe replicas * Update types_test.go * e2e test with file mode
Can you please try your config with the newest main image |
The main looks good, with no errors. Thanks! |
Without this config features:
dhcp:
serverConfig: false
staticLeases: false The error persists in 0.6.1
|
It's the the same as you tested in main. |
I had that config still there when testing on main, with that config it is working fine. AGH logs:
Sync:
Config: # cron expression to run in daemon mode. (default; "" = runs only once)
cron: "*/10 * * * *"
# runs the synchronisation on startup
runOnStart: true
origin:
# url of the origin instance
url: http://srv1:8085
# apiPath: define an api path if other than "/control"
insecureSkipVerify: true # disable tls check
username: redacted
password: redacted
# replicas instances (optional, if more than one)
replicas:
# url of the replica instance
- url: http://srv2:8085
username: redacted
password: redacted
# Configure the sync API server, disabled if api port is 0
api:
# Port, default 8080
port: 8080
# if username and password are defined, basic auth is applied to the sync API
# username: username
# password: password
# Configure sync features; by default all features are enabled.
# features:
# generalSettings: true
# queryLogConfig: true
# statsConfig: true
# clientSettings: true
# services: true
# filters: true
# dhcp:
# serverConfig: true
# staticLeases: true
# dns:
# serverConfig: true
# accessLists: true
# rewrites: true |
Please try v0.6.2 - I could reproduce the issue and fix it in my tests |
|
What happened?
After updating from version
0.5.4
to0.6.0
I see this error.Rolling back doesn't show this error.
AdguardHome-Sync Version
0.6.0
AdguardHome Version
v0.107.43
Configuration
Relevant log output
Anything else?
In the log, some
to
andhost
seem to be empty.The text was updated successfully, but these errors were encountered: