Giter Club home page Giter Club logo

Comments (6)

robflate avatar robflate commented on August 29, 2024 1

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.

mmangione avatar mmangione commented on August 29, 2024

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.

Place1 avatar Place1 commented on August 29, 2024

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.

Place1 avatar Place1 commented on August 29, 2024

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.

mlawren avatar mlawren commented on August 29, 2024

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.

mlawren avatar mlawren commented on August 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.