Comments (5)
Hi @namirda
Can you please try the following config for the replica and add the interfaceName for the replica?
replica:
# url of the replica instance
url: http://192.168.1.201:80
insecureSkipVerify: true
username: nnnn
password: xxxxxxxx
interfaceName: eth0
This is needed, as the network interface of the replica can not be evaluated by agd-sync.
from adguardhome-sync.
Hi @bakito
I have added the interfaceName to the replica config as you suggested but still the same result - see attached log file.
Adguardhome-sync successfully manages to GET the dhcp info from the origin using GET /dhcp/status because I can see all the lease information in the body of the GET. However when it later comes to POST the info to the replica, the body is empty.
from adguardhome-sync.
I might have found the culprit
Can you please do a check with the latest ghcr.io/bakito/adguardhome-sync:main image once the build https://github.com/bakito/adguardhome-sync/actions/runs/4118069889 is done?
from adguardhome-sync.
Hi @bakito,
That seems to have fixed the problem!
New log file showing static lease POSTS attached
Thanks for the quick work!
xtg6h4gskdm1qmwq94aqps3cz_logs.txt
from adguardhome-sync.
fixed in https://github.com/bakito/adguardhome-sync/releases/tag/v0.4.12
from adguardhome-sync.
Related Issues (20)
- Using docker with environment varibles it only syncs to one replica HOT 1
- Back Up adguardhome Configuration to Local HOT 1
- Allow configuration of logging encoding HOT 3
- Sync DHCP leases between servers HOT 3
- Sync error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation] HOT 4
- Questions on replicating an existing adguard home server to a newly created one HOT 2
- Default config file is $HOME/.adguardhome-sync not $HOME/.adguardhome-sync.yaml HOT 1
- Adguardhome-sync stopped working after adguard update v0.107.46 HOT 3
- Error syncing DNS server config HOT 4
- Logs configuration replica HOT 4
- SSL for Web UI HOT 4
- Cannot sync clients due to "400 Bad Request(Client already exists\n)" HOT 14
- "500 Internal Server Error(could not reconfigure the server: setting up resolvers: creating local resolvers: validating general upstreams: no upstream specified\n)" HOT 1
- Single modification on origin is constantly synced to replica HOT 4
- Error getting replica status HOT 3
- Clear logs button would be helpfull HOT 1
- Web API server takes long to come up and show the log HOT 1
- Is it possible for adguard home sync to read the origin password from AdguardHome.yaml HOT 1
- DHCPv4 Options additions are not replicated from Origin to Replica HOT 1
- RUNONSTART HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adguardhome-sync.