bnhf / openvpn-admin-plus

Docker-based web interface (with golang backend) for monitoring and admin of an OpenVPN TAP/TUN server setup with PiVPN or other OpenVPN server installations. This project has been renamed from pivpn-tap-web-ui, to reflect its new broader scope.
MIT License
138 stars 23 forks source link

No such file or directory easy-rsa vars #67

Open vncloudsco opened 7 months ago

vncloudsco commented 7 months ago

we get error like below when initializing through docker

openvpn-admin-plus  | TERM environment variable not set.
openvpn-admin-plus  | OpenVPN directory set to: /etc/openvpn
openvpn-admin-plus  | Working directory set to: /opt
openvpn-admin-plus  | Preparing vars
openvpn-admin-plus  | cp: cannot create regular file '/etc/openvpn/easy-rsa/vars': No such file or directory
openvpn-admin-plus  | TERM environment variable not set.
openvpn-admin-plus  | OpenVPN directory set to: /etc/openvpn
openvpn-admin-plus  | Working directory set to: /opt
openvpn-admin-plus  | Preparing vars
openvpn-admin-plus  | cp: cannot create regular file '/etc/openvpn/easy-rsa/vars': No such file or directory
openvpn-admin-plus  | TERM environment variable not set.
openvpn-admin-plus  | OpenVPN directory set to: /etc/openvpn
openvpn-admin-plus  | Working directory set to: /opt
openvpn-admin-plus  | Preparing vars
openvpn-admin-plus  | cp: cannot create regular file '/etc/openvpn/easy-rsa/vars': No such file or directory
openvpn-admin-plus  | TERM environment variable not set.
openvpn-admin-plus  | OpenVPN directory set to: /etc/openvpn
openvpn-admin-plus  | Working directory set to: /opt
openvpn-admin-plus  | Preparing vars
openvpn-admin-plus  | cp: cannot create regular file '/etc/openvpn/easy-rsa/vars': No such file or directory
antoniomolram commented 5 months ago

same here ;)

bnhf commented 5 months ago

@antoniomolram

same here ;)

Though this project can work with OpenVPN installed via other methods than PiVPN -- that's what it's designed to work with, and as such, EasyRSA needs to be available in the standard location defined by PiVPN:

screenshot-nuc10-vm2-2024 02 11-11_57_58

screenshot-github com-2024 02 11-11_51_54