Open nath67 opened 3 years ago
If I install it in SSH with apt install openmediavault-openvpn
, there is no error but if I try to create a certificate I get this error :
Erreur #0: OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; /usr/sbin/omv-openvpn add '1a90ac33-426b-46f0-a50f-778541d3398b' 2>&1' with exit code '2': Easy-RSA error:
EASYRSA_PKI does not exist (perhaps you need to run init-pki)? Expected to find the EASYRSA_PKI at: /etc/openvpn/pki Run easyrsa without commands for usage and command help. /opt/EasyRSA-v3.0.6/easyrsa: 319: set: Illegal option -o echo in /usr/share/php/openmediavault/system/process.inc:182 Stack trace:
0 /usr/share/openmediavault/engined/rpc/openvpn.inc(209): OMV\System\Process->execute()
1 [internal function]: OMV\Engined\Rpc\OpenVpn->set(Array, Array)
2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('set', Array, Array)
4 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('OpenVpn', 'set', Array, Array, 1)
5 {main}
There is no error in your first post that you need to worry about. The fail to read from socket error (really a warning) happens when omv-engine is restarted and is unavoidable.
Someone who actually uses the plugin will have to help with the second problem. Posting on the forum will give it more visibility.
Hello,
I have an issue when I install openvpn from OMV-Extras, it gives me the error below and the error as in #32 if I try to use it anyway :