Comments (3)
I did some digging:
Thank you. I had the same issue. So, I simply changed WIREGUARD_PEERS to PEERS. Problem solved)
from wirehole.
I did some digging:
- This is the PR that changed things.
- I tried to run the
init-wireguard-confs
migration locally but it kept starting in client mode. - Looking closer,
docker-wireguard
uses aPEERS
env var to determine if the binary should run in client or server mode. - The
wirehole
README doesn't mention aPEERS
env var, but does mentionWIREGUARD_PEERS
. - The only place on GitHub I can find the
WIREGUARD_PEERS
env var is stuff referencingwirehole
. - This is where I got stuck because I can't figure out how to run
init-wireguard-confs/run
in server mode locally. - Unless there is some magic shell env var string concatenation going on, I'm not sure if
WIREGUARD_PEERS
is ever used. 😅
from wirehole.
Can confirm, the Docker compose logs also report a few errors.
wireguard-ui | jq: error: Could not open file db/server/global_settings.json: No such file or directory
wireguard-ui | wg-quick: `/etc/wireguard/wg0.conf' does not exist
wireguard-ui | Wireguard UI
wireguard-ui | App Version : dev
wireguard-ui | Git Commit : b55543f
wireguard-ui | Git Ref : N/A
wireguard-ui | Build Time : 11-14-2023 16:37:32
wireguard-ui | Git Repo : https://github.com/ngoduykhanh/wireguard-ui
wireguard-ui | Authentication : true
wireguard-ui | Bind address : 0.0.0.0:5000
wireguard-ui | Email from :
wireguard-ui | Email from name : WireGuard UI
wireguard-ui | Custom wg.conf :
wireguard-ui | Base path : /
wireguard-ui | ⇨ http server started on [::]:5000
unbound | cp: cannot create special file '/opt/unbound/etc/unbound/dev/random': Operation not permitted
unbound | cp: cannot create special file '/opt/unbound/etc/unbound/dev/urandom': Operation not permitted
unbound | cp: cannot create special file '/opt/unbound/etc/unbound/dev/null': Operation not permitted
wireguard | [migrations] started
wireguard | [migrations] no migrations found
wireguard | ───────────────────────────────────────
wireguard |
wireguard | ██╗ ███████╗██╗ ██████╗
wireguard | ██║ ██╔════╝██║██╔═══██╗
wireguard | ██║ ███████╗██║██║ ██║
wireguard | ██║ ╚════██║██║██║ ██║
wireguard | ███████╗███████║██║╚██████╔╝
wireguard | ╚══════╝╚══════╝╚═╝ ╚═════╝
wireguard |
wireguard | Brought to you by linuxserver.io
wireguard | ───────────────────────────────────────
wireguard |
wireguard | To support the app dev(s) visit:
wireguard | WireGuard: https://www.wireguard.com/donations/
wireguard |
wireguard | To support LSIO projects visit:
wireguard | https://www.linuxserver.io/donate/
wireguard |
wireguard | ───────────────────────────────────────
wireguard | GID/UID
wireguard | ───────────────────────────────────────
wireguard |
wireguard | User UID: 1000
wireguard | User GID: 1000
wireguard | ───────────────────────────────────────
wireguard |
wireguard | Uname info: Linux 6472663df5d8 6.5.7-orbstack-00109-gd8500ae6683d #1 SMP Fri Oct 13 01:28:33 UTC 2023 aarch64 GNU/Linux
wireguard | **** It seems the wireguard module is already active. Skipping kernel header install and module compilation. ****
wireguard | **** As the wireguard module is already active you can remove the SYS_MODULE capability from your container run/compose. ****
wireguard | **** Client mode selected. ****
wireguard | [custom-init] No custom files found, skipping...
wireguard | crontab: can't open 'abc': No such file or directory
wireguard | **** Disabling CoreDNS ****
wireguard | ls: cannot access '/config/wg_confs/*.conf': No such file or directory
wireguard | **** No valid tunnel config found. Please create a valid config and restart the container ****
wireguard | [ls.io-init] done.
This might be fixable via some custom entrypoint script and/or Docker Compose config. I'll experiment and report back.
from wirehole.
Related Issues (20)
- chown: cannot access / so-rcvbuf 1048576 HOT 5
- unable to install script on fresh install HOT 3
- fresh install and old installs with fresh updates becomes not working HOT 5
- script: command not found HOT 2
- Unbound Broken HOT 6
- Update Gravity appears "DNS resolution is currently unavailable", please advise
- how to configure Pi-hole to recognize each peer as a separate client? HOT 1
- License to be OSI-compatible HOT 1
- Recent changes don't work HOT 6
- No Wireguard folders and files HOT 2
- Failed to Register Layer
- Vpn2
- What is the Apply Config
- Add features; Warp as client and wirehole as server
- Can't connect with anything after spinning up new version of Wirehole HOT 2
- [Question] is it ready to use "out of the box" ? HOT 1
- Wireguard UI unreachable when used with network_mode: service:wireguard
- Awful performance with Unbound as DNS, config issues HOT 3
- I seem to result connected to the vpn, but no response from the server. HOT 2
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 wirehole.