Comments (6)
Hi @gawainXX
- adguardhome-sync is built as a static binary, therefore you do not need go to be installed.
- please provide more information. How is the config, what are the logs.
from adguardhome-sync.
I'm seeing the same behavior with ubuntu 20.04 using the static binary
I've created the ~/.adguardhome-sync.yaml file as instructed,
Here was how I installed adguardhome-sync (was placed into root of ~
`
cd ~
wget --no-check-certificate --content-disposition https://github.com/bakito/adguardhome-sync/releases/download/v0.4.5/adguardhome-sync_0.4.5_linux_x86_64.tar.gz
tar -xf adguardhome-sync_0.4.5_linux_x86_64.tar.gz
chmod +x ~/adguardhome-sync
`
2022-08-12T17:32:06.786-0700 INFO root cmd/root.go:118 Using config file:/home/adguardhome-sync/.adguardhome-sync.yaml 2022-08-12T17:32:06.788-0700 INFO sync sync/sync.go:30 AdGuardHome sync {"version": "0.4.5", "build": "2022-08-12T07:20:12Z"} 2022-08-12T17:32:06.789-0700 INFO sync types/features.go:70 Disabled features {"features": ["DHCP.ServerConfig", "DHCP.StaticLeases"]} 2022-08-12T17:32:06.789-0700 INFO sync sync/sync.go:50 Setup cronjob {"cron": "*/10 * * * *"}
from adguardhome-sync.
PLEASE provide your config file!
from adguardhome-sync.
PLEASE provide your config file!
Username and PW omitted
Works fine if I comment out the cron line.
# 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://192.168.4.3
# apiPath: define an api path if other than "/control"
# insecureSkipVerify: true # disable tls check
username: myusername
password: password
# replica instance (optional, if only one)
replica:
# url of the replica instance
url: http://192.168.4.4
username: myusername
password: password
# Configure the sync API server, disabled if api port is 0
api:
# Port, default 8080
port: 0
# if username and password are defined, basic auth is applied to the sync API
username: myusername
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: false
staticLeases: false
dns:
serverConfig: true
accessLists: true
rewrites: true
from adguardhome-sync.
Hi @gawainXX
I was not able to reproduce your issue.
I started a debian:11.4 docker container and started adguardhome-sync with your configuration.
The synchronization got started the next time the cron expression matches.
Since your config hast the cron expression "*/10 * * * *", this will be every 10 minutes. (x:00, x:10, x:20, ...)
from adguardhome-sync.
If you want to start it immediately, you need to add the following parameter:
runOnStart: true
from adguardhome-sync.
Related Issues (20)
- 403 Forbidden HOT 8
- Adguard Sync Error 403 Forbidden HOT 10
- Different URL for instances on the UI HOT 6
- Proxy for AdGuard Status HOT 4
- Version Check HOT 1
- How to set Timezone? HOT 2
- v0.6.0 not honoring configuration file settings HOT 3
- 0.6.0: Error syncing DHCP server config HOT 16
- Sync stops working to one of two targets after v0.5.3 HOT 5
- Error when upgrading from 0.5.4 to 0.6.2 HOT 6
- 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
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.