-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Branch master
No problems reported, already checked clean installation and VPN container logs
Branch v0.2.8
Logs after clean installation:
Error:
ERROR [index:46] Error creating dappnode_admin device Error: Error retrieving client dappnode_admin: Command failed: /usr/local/bin/ovpn_getclient dappnode_admin
/usr/local/bin/ovpn_getclient: line 16: /usr/src/app/ovpn_env.sh: No such file or directory
at Object.<anonymous> (/usr/src/app/src/openvpn/getClient.ts:18:11)
at Generator.throw (<anonymous>)
at rejected (/usr/src/app/src/openvpn/getClient.js:6:65)
Branch pablo/fix
Change:
rm $OVPN_ENV
touch $OVPN_ENV
to
true > "$(pwd)"/ovpn_env.sh
Logs after clean installation:
Error:
ERROR [index:46] Error creating dappnode_admin device Error: Error retrieving client dappnode_admin: Command failed: /usr/local/bin/ovpn_getclient dappnode_admin
Unable to find "dappnode_admin", please try again or generate the key first
at Object.<anonymous> (/usr/src/app/src/openvpn/getClient.ts:18:11)
at Generator.throw (<anonymous>)
at rejected (/usr/src/app/src/openvpn/getClient.js:6:65)
Variables:
/etc/openvpn # cat ovpn_env.sh
declare -x OVPN_AUTH=
declare -x OVPN_CIPHER=
declare -x OVPN_CLIENT_TO_CLIENT=1
declare -x OVPN_CN=5cb0a32c555dff13.dyndns.dappnode.io
declare -x OVPN_COMP_LZO=0
declare -x OVPN_DEFROUTE=0
declare -x OVPN_DEVICE=tun
declare -x OVPN_DEVICEN=0
declare -x OVPN_DISABLE_PUSH_BLOCK_DNS=1
declare -x OVPN_DNS=1
declare -x OVPN_DNS_SERVERS=([0]="172.33.1.2")
declare -x OVPN_ENV=/etc/openvpn/ovpn_env.sh
declare -x OVPN_EXTRA_CLIENT_CONFIG=()
declare -x OVPN_EXTRA_SERVER_CONFIG=()
declare -x OVPN_FRAGMENT=
declare -x OVPN_HOSTNAME=5cb0a32c555dff13.dyndns.dappnode.io
declare -x OVPN_INTERNAL_IP=167.99.133.187
declare -x OVPN_KEEPALIVE='10 60'
declare -x OVPN_MTU=
declare -x OVPN_NAT=0
declare -x OVPN_PORT=1194
declare -x OVPN_PROTO=udp
declare -x OVPN_PUSH=([0]="route 172.33.0.0 255.255.0.0")
declare -x OVPN_ROUTES=()
declare -x OVPN_SERVER=172.33.8.0/22
declare -x OVPN_SERVER_URL=udp://5cb0a32c555dff13.dyndns.dappnode.io
declare -x OVPN_TLS_CIPHER=
declare -x OVPN_AUTH=
declare -x OVPN_CIPHER=
declare -x OVPN_CLIENT_TO_CLIENT=1
declare -x OVPN_CN=5cb0a32c555dff13.dyndns.dappnode.io
declare -x OVPN_COMP_LZO=0
declare -x OVPN_DEFROUTE=0
declare -x OVPN_DEVICE=tun
declare -x OVPN_DEVICEN=0
declare -x OVPN_DISABLE_PUSH_BLOCK_DNS=1
declare -x OVPN_DNS=1
declare -x OVPN_DNS_SERVERS=([0]="172.33.1.2")
declare -x OVPN_ENV=/etc/openvpn/ovpn_env.sh
declare -x OVPN_EXTRA_CLIENT_CONFIG=()
declare -x OVPN_EXTRA_SERVER_CONFIG=()
declare -x OVPN_FRAGMENT=
declare -x OVPN_HOSTNAME=5cb0a32c555dff13.dyndns.dappnode.io
declare -x OVPN_INTERNAL_IP=167.99.133.187
declare -x OVPN_KEEPALIVE='10 60'
declare -x OVPN_MTU=
declare -x OVPN_NAT=0
declare -x OVPN_PORT=1194
declare -x OVPN_PROTO=udp
declare -x OVPN_PUSH=([0]="route 172.33.0.0 255.255.0.0")
declare -x OVPN_ROUTES=()
declare -x OVPN_SERVER=172.33.8.0/22
declare -x OVPN_SERVER_URL=udp://5cb0a32c555dff13.dyndns.dappnode.io
declare -x OVPN_TLS_CIPHER=
declare -x OVPN_AUTH=
declare -x OVPN_CIPHER=
declare -x OVPN_CLIENT_TO_CLIENT=1
declare -x OVPN_CN=5cb0a32c555dff13.dyndns.dappnode.io
declare -x OVPN_COMP_LZO=0
declare -x OVPN_DEFROUTE=0
declare -x OVPN_DEVICE=tun
declare -x OVPN_DEVICEN=0
declare -x OVPN_DISABLE_PUSH_BLOCK_DNS=1
declare -x OVPN_DNS=1
declare -x OVPN_DNS_SERVERS=([0]="172.33.1.2")
declare -x OVPN_ENV=/etc/openvpn/ovpn_env.sh
declare -x OVPN_EXTRA_CLIENT_CONFIG=()
declare -x OVPN_EXTRA_SERVER_CONFIG=()
declare -x OVPN_FRAGMENT=
declare -x OVPN_HOSTNAME=5cb0a32c555dff13.dyndns.dappnode.io
declare -x OVPN_INTERNAL_IP=167.99.133.187
declare -x OVPN_KEEPALIVE='10 60'
declare -x OVPN_MTU=
declare -x OVPN_NAT=0
declare -x OVPN_PORT=1194
declare -x OVPN_PROTO=udp
declare -x OVPN_PUSH=([0]="route 172.33.0.0 255.255.0.0")
declare -x OVPN_ROUTES=()
declare -x OVPN_SERVER=172.33.8.0/22
declare -x OVPN_SERVER_URL=udp://5cb0a32c555dff13.dyndns.dappnode.io
declare -x OVPN_TLS_CIPHER=
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

