Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

erro: no vpn configuration file found #115

Open
sugaratias333 opened this issue Jan 2, 2024 · 7 comments
Open

erro: no vpn configuration file found #115

sugaratias333 opened this issue Jan 2, 2024 · 7 comments

Comments

@sugaratias333
Copy link

I am passing in CONFIG_FILE as documented, but the container just outputs 'err: no vpn configuration file found', no matter what I do.

@Pierric82
Copy link

Same here. Tried with CONFIG_FILE and without, including /config/ and not including it, but no luck.

@Pierric82
Copy link

This is actually because the image currently available at ghcr.io/wfg/openvpn-client does not match the codebase in this repo! it seems outdated.
It will start if you change CONFIG_FILE=something.ovpn to VPN_CONFIG_FILE=something.ovpn , and the mount from /config to /data/vpn
I haven't had time yet to check if it works, though!
The alternative might be to build the image locally from this repo.

@sugaratias333
Copy link
Author

Good spot. I shall try this later on and verify it on mine also.

@sugaratias333
Copy link
Author

Yes, I can confirm that does allow the container to startup. Thanks!

@MortenStabenau
Copy link

+1 for this issue

@wfg would it be possible to update the container in the registry?

@juev
Copy link

juev commented Feb 7, 2024

+1 the same problem
@wfg could you update the version in the registry?

@juev
Copy link

juev commented Feb 12, 2024

The master branch contains all the necessary changes to use the configuration files.
But the docker image must be rebuilt with the creation of a new tag in the repository.

There are also a number of problems in entry.sh file, corrected in PR #116

@wfg

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants