bnhf/openvpn-admin-plus

No such file or directory easy-rsa vars

Opened this issue · 2 comments

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

same here ;)

bnhf commented

@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