Open ORESoftware opened 3 years ago
Is your docker image update to date? PR #620 fixed this.
docker pull kylemanna/openvpn
And retry.
Same here, and the pull is from a couple of hours ago
Oh, re-reading the error it seems that the volume container (or mount) isn't initialized. See the README.
Can verify this with something simple as:
docker run -v $OVPN_DATA:/etc/openvpn --rm -it kylemanna/openvpn ls /etc/openvpn
My VM reboots, and then SSH in and run:
and I get this logged:
I can confirm that OVPN_DATA is set to the original value, so not sure what's going on, but I get this error consistently so have to start from beginning each time when my VM stops and restarts. The docker volume that was originally created also exists always, so that volume is not MIA, so not sure what's goin on. Also note that I do not automatically restart the vpn server, I manually run the first line above.