Comments (6)
Thanks. I created the blank config.yaml
, uncommented the config volume and added WG_
to the env vars and it's working.
from wg-access-server.
Ran into the same problem. Fix by uncommenting the config.yaml line and adding a blank file of the same name.
You're actually going to want to create a config.yaml
https://place1.github.io/wg-access-server/2-configuration/
from wg-access-server.
I think this may have been a docs problem.
In v0.3.0 I refactored config for a few reasons covered in the CHANGELOG. Have a quick look over the changelog.
You'll need to prefix your environment variables with WG_
in v0.3.0
from wg-access-server.
Incase you had data in your volume already you can use the migration tool to migrate from file:// storage to sqlite3:// which is the new default for docker.
https://place1.github.io/wg-access-server/3-storage/#example-file-to-sqlite3
from wg-access-server.
I'm not sure which Docs chapter Place1 is referring to two coments about this one, but just running the example command from the README also results in the same error:
mark@b:~/src/wg-access-server$ cat x
#!/bin/bash
WG_WIREGUARD_PRIVATE_KEY="xxx="
WG_ADMIN_PASSWORD=ur2good
docker run \
-it \
--rm \
--cap-add NET_ADMIN \
--device /dev/net/tun:/dev/net/tun \
-v wg-access-server-data:/data \
-e "WG_ADMIN_PASSWORD=$WG_ADMIN_PASSWORD" \
-e "WG_WIREGUARD_PRIVATE_KEY=$WG_WIREGUARD_PRIVATE_KEY" \
-p 8003:8003/tcp \
-p 51821:51821/udp \
place1/wg-access-server
mark@b:~/src/wg-access-server$ sudo bash x
wg-access-server: error: open /config.yaml: no such file or directory, try --help
from wg-access-server.
I don't think this is just a README issue. I can see that the README changed, but it only changed to the same KEY names I was already demonstrating with above.
I still get the same error when running the plain docker start command example.
from wg-access-server.
Related Issues (20)
- Arm Support HOT 3
- the input device is not a TTY
- Initial VPN
- Cannot parse endpoint from wireguard android app HOT 2
- Control trafic user HOT 2
- [Feature request] label outdated devices HOT 1
- doc / feature to port forward in yaml rules ? HOT 1
- Disable basic auth at all HOT 3
- Fresh install on Kubernetes cant access services
- Fresh install on Kubernetes cant access services HOT 2
- how to use grpc?
- Can this app be used with an existing wireguard?
- How can I continue to see the transmission flow of each Peer on the management page?
- Running on Mac M2 HOT 1
- OIDC Azure issue HOT 3
- How to configure Docker's NAT? HOT 1
- linux/arm64/v8 HOT 1
- can't initialize iptables table `filter': Table does not exist HOT 1
- Help! HOT 1
- Need to change DNS address and DHCP SERVER. HOT 1
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 wg-access-server.