ovpn-admin
ovpn-admin copied to clipboard
msg="open /mnt/ccd/test: no such file or directory
docker run -dit
-p 7777:1194
-p 8080:8080
-e OVPN_SERVER_NET='192.168.100.0'
-e OVPN_SERVER_MASK='255.255.255.0'
--cap-add=NET_ADMIN
--volume=/root/ovpn-admin/easyrsa_master:/etc/openvpn/easyrsa
--volume=/root/ovpn-admin/ccd_master:/etc/openvpn/ccd
--name openvpn
--hostname openvpn openvpn:local
docker exec -dit openvpn /etc/openvpn/setup/configure.sh
docker run -dit
-e OVPN_CCD="True"
-e OVPN_CCD_PATH="/mnt/ccd"
-e OVPN_DEBUG="True"
-e OVPN_VERBOSE="True"
-e OVPN_NETWORK="192.168.100.0/24"
-e EASYRSA_PATH="/mnt/easyrsa"
-e OVPN_SERVER="127.0.0.1:7777:tcp"
-e OVPN_INDEX_PATH="/mnt/easyrsa/pki/index.txt"
--volume=/root/ovpn-admin/easyrsa_master:/mnt/easyrsa
--volume=/root/ovpn-admin/ccd_master:/mnt/ccd
--network="container:openvpn"
--name ovpn-admin ovpn-admin:local
docker exec ovpn-admin /app/ovpn-admin
Getting time="2022-08-05T08:13:05Z" level=fatal msg="open /mnt/ccd/test: no such file or directory" when I open "Edit route" for user "test". Please help me to fix :(
which version are you using?
which version are you using?
1.7.5
does the directory /mnt/ccd/
really exist inside the container?
does the directory
/mnt/ccd/
really exist inside the container?
Yes, if I manually create client file inside /mnt/ccd/
aka touch /mnt/ccd/test
it will be ok.
this is very strange because I can't reproduce such an error
https://github.com/flant/ovpn-admin/issues/112
looks like same issue
fixed here https://github.com/flant/ovpn-admin/pull/92