Effectivement, j’ai trouvé ça dans le webadmin, et le VPN n’était pas activé.
Après (tentative d’) activation, j’ai toutefois des erreurs.
Je copie le log que ça m’affiche ici :
args:
app: vpnclient
args_file: null
key: main
value: null
ended_at: 2022-02-06 08:55:29.089248
error: "\xC9chec de l'application des valeurs du panneau de configuration."
interface: api
operation: app_config_set
parent: null
related_to:
- - app
- vpnclient
started_at: 2022-02-06 08:55:02.335003
success: false
yunohost_version: 4.3.6.2
============
2022-02-06 09:55:02,378: DEBUG - Calling 'apply' action from config script
2022-02-06 09:55:02,408: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./config" apply 7>&1']'
2022-02-06 09:55:02,444: DEBUG - + source _common.sh
2022-02-06 09:55:02,448: DEBUG - ++ pkg_dependencies='sipcalc dnsutils openvpn curl fake-hwclock'
2022-02-06 09:55:02,450: DEBUG - ++ service_name=ynh-vpnclient
2022-02-06 09:55:02,453: DEBUG - ++ service_checker_name=ynh-vpnclient-checker
2022-02-06 09:55:02,455: DEBUG - + source /usr/share/yunohost/helpers
2022-02-06 09:55:02,459: DEBUG - +++ grep xtrace
2022-02-06 09:55:02,462: DEBUG - +++ set +o
2022-02-06 09:55:02,472: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2022-02-06 09:55:02,474: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2022-02-06 09:55:02,755: DEBUG - + ynh_abort_if_errors
2022-02-06 09:55:02,762: DEBUG - + trap ynh_exit_properly EXIT
2022-02-06 09:55:02,763: DEBUG - + BACKTICK='`'
2022-02-06 09:55:02,765: DEBUG - + TRIPLEBACKTICKS='```'
2022-02-06 09:55:02,773: DEBUG - + ynh_app_config_run apply
2022-02-06 09:55:02,776: DEBUG - + old=()
2022-02-06 09:55:02,779: DEBUG - + declare -Ag old
2022-02-06 09:55:02,781: DEBUG - + changed=()
2022-02-06 09:55:02,784: DEBUG - + declare -Ag changed
2022-02-06 09:55:02,786: DEBUG - + file_hash=()
2022-02-06 09:55:02,789: DEBUG - + declare -Ag file_hash
2022-02-06 09:55:02,791: DEBUG - + binds=()
2022-02-06 09:55:02,794: DEBUG - + declare -Ag binds
2022-02-06 09:55:02,796: DEBUG - + types=()
2022-02-06 09:55:02,799: DEBUG - + declare -Ag types
2022-02-06 09:55:02,802: DEBUG - + formats=()
2022-02-06 09:55:02,804: DEBUG - + declare -Ag formats
2022-02-06 09:55:02,806: DEBUG - + case $1 in
2022-02-06 09:55:02,809: DEBUG - + max_progression=4
2022-02-06 09:55:03,141: INFO - [+++++...............] > Reading config panel description and current configuration...
2022-02-06 09:55:03,153: DEBUG - + ynh_app_config_get
2022-02-06 09:55:03,156: DEBUG - + _ynh_app_config_get
2022-02-06 09:55:03,161: DEBUG - ++ python3
2022-02-06 09:55:03,478: DEBUG - + lines='status;alert;settings
2022-02-06 09:55:03,480: DEBUG - service_enabled;boolean;settings
2022-02-06 09:55:03,484: DEBUG - doc;alert;settings
2022-02-06 09:55:03,487: DEBUG - config_file;file;/etc/openvpn/client.conf
2022-02-06 09:55:03,489: DEBUG - crt_server_ca;file;/etc/openvpn/keys/ca-server.crt
2022-02-06 09:55:03,492: DEBUG - crt_client;file;/etc/openvpn/keys/user.crt
2022-02-06 09:55:03,494: DEBUG - crt_client_key;file;/etc/openvpn/keys/user.key
2022-02-06 09:55:03,496: DEBUG - login_user;string;settings
2022-02-06 09:55:03,499: DEBUG - login_passphrase;password;settings
2022-02-06 09:55:03,501: DEBUG - crt_client_ta;file;/etc/openvpn/keys/user_ta.key
2022-02-06 09:55:03,504: DEBUG - dns_method;select;settings
2022-02-06 09:55:03,506: DEBUG - nameservers;tags;settings
2022-02-06 09:55:03,508: DEBUG - ip6_net;string;settings
2022-02-06 09:55:03,511: DEBUG - ip6_addr;string;settings'
2022-02-06 09:55:03,514: DEBUG - + for line in $lines
2022-02-06 09:55:03,516: DEBUG - + IFS=';'
2022-02-06 09:55:03,520: DEBUG - + read short_setting type bind
2022-02-06 09:55:03,522: DEBUG - + binds[${short_setting}]=settings
2022-02-06 09:55:03,525: DEBUG - + types[${short_setting}]=alert
2022-02-06 09:55:03,527: DEBUG - + file_hash[${short_setting}]=
2022-02-06 09:55:03,530: DEBUG - + formats[${short_setting}]=
2022-02-06 09:55:03,533: DEBUG - + ynh_app_config_get_one status alert settings
2022-02-06 09:55:03,535: DEBUG - + _ynh_app_config_get_one status alert settings
2022-02-06 09:55:03,538: DEBUG - + local short_setting=status
2022-02-06 09:55:03,540: DEBUG - + local type=alert
2022-02-06 09:55:03,543: DEBUG - + local bind=settings
2022-02-06 09:55:03,545: DEBUG - + local getter=get__status
2022-02-06 09:55:03,547: DEBUG - + type -t get__status
2022-02-06 09:55:03,553: DEBUG - + grep -q '^function$'
2022-02-06 09:55:03,556: DEBUG - ++ get__status
2022-02-06 09:55:03,558: DEBUG - +++ ynh_app_setting_get vpnclient service_enabled
2022-02-06 09:55:03,561: DEBUG - +++ local _globalapp=vpnclient
2022-02-06 09:55:03,761: DEBUG - +++ app=vpnclient
2022-02-06 09:55:03,764: DEBUG - +++ [[ service_enabled =~ (unprotected|protected|skipped)_ ]]
2022-02-06 09:55:03,766: DEBUG - +++ ynh_app_setting get vpnclient service_enabled
2022-02-06 09:55:04,289: DEBUG - ++ local service_enabled=0
2022-02-06 09:55:04,294: DEBUG - +++ ping -w3 -c1 ip.yunohost.org
2022-02-06 09:55:04,330: DEBUG - +++ curl --max-time 5 https://ip.yunohost.org --silent
2022-02-06 09:55:04,514: DEBUG - ++ ipv4=xx.xx.xx.xx
2022-02-06 09:55:04,521: DEBUG - +++ ping -w3 -c1 ip6.yunohost.org
2022-02-06 09:55:04,546: DEBUG - ++ ipv6=
2022-02-06 09:55:04,553: DEBUG - ++ ip route get 1.2.3.4
2022-02-06 09:55:04,555: DEBUG - ++ grep -q tun0
2022-02-06 09:55:04,576: DEBUG - ++ cat
2022-02-06 09:55:04,585: DEBUG - + old[$short_setting]='style: info
2022-02-06 09:55:04,587: DEBUG - ask:
2022-02-06 09:55:04,590: DEBUG - en: The VPN is not enabled'
2022-02-06 09:55:04,594: DEBUG - + formats[${short_setting}]=yaml
2022-02-06 09:55:04,597: DEBUG - + for line in $lines
2022-02-06 09:55:04,600: DEBUG - + IFS=';'
2022-02-06 09:55:04,602: DEBUG - + read short_setting type bind
2022-02-06 09:55:04,605: DEBUG - + binds[${short_setting}]=settings
2022-02-06 09:55:04,607: DEBUG - + types[${short_setting}]=boolean
2022-02-06 09:55:04,610: DEBUG - + file_hash[${short_setting}]=
2022-02-06 09:55:04,612: DEBUG - + formats[${short_setting}]=
2022-02-06 09:55:04,616: DEBUG - + ynh_app_config_get_one service_enabled boolean settings
2022-02-06 09:55:04,619: DEBUG - + _ynh_app_config_get_one service_enabled boolean settings
2022-02-06 09:55:04,622: DEBUG - + local short_setting=service_enabled
2022-02-06 09:55:04,624: DEBUG - + local type=boolean
2022-02-06 09:55:04,627: DEBUG - + local bind=settings
2022-02-06 09:55:04,630: DEBUG - + local getter=get__service_enabled
2022-02-06 09:55:04,633: DEBUG - + grep -q '^function$'
2022-02-06 09:55:04,635: DEBUG - + type -t get__service_enabled
2022-02-06 09:55:04,638: DEBUG - + [[ settings == *\(* ]]
2022-02-06 09:55:04,639: DEBUG - + [[ settings == \n\u\l\l ]]
2022-02-06 09:55:04,641: DEBUG - + [[ boolean == \f\i\l\e ]]
2022-02-06 09:55:04,643: DEBUG - + [[ boolean == \t\e\x\t ]]
2022-02-06 09:55:04,646: DEBUG - + local bind_after=
2022-02-06 09:55:04,650: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2022-02-06 09:55:04,658: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:04,660: DEBUG - ++ cut -d: -f1
2022-02-06 09:55:04,668: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:04,671: DEBUG - + local bind_key_=
2022-02-06 09:55:04,673: DEBUG - + bind_key_=service_enabled
2022-02-06 09:55:04,684: DEBUG - + [[ service_enabled == *\>* ]]
2022-02-06 09:55:04,686: DEBUG - ++ cut -d: -f2
2022-02-06 09:55:04,689: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:04,692: DEBUG - ++ sed s@__FINALPATH__@@
2022-02-06 09:55:04,695: DEBUG - ++ sed s/__APP__/vpnclient/
2022-02-06 09:55:04,698: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:04,700: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=service_enabled --after=
2022-02-06 09:55:05,212: DEBUG - ++ after=
2022-02-06 09:55:05,215: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]]
2022-02-06 09:55:05,311: DEBUG - + old[$short_setting]=0
2022-02-06 09:55:05,315: DEBUG - + for line in $lines
2022-02-06 09:55:05,318: DEBUG - + IFS=';'
2022-02-06 09:55:05,321: DEBUG - + read short_setting type bind
2022-02-06 09:55:05,324: DEBUG - + binds[${short_setting}]=settings
2022-02-06 09:55:05,326: DEBUG - + types[${short_setting}]=alert
2022-02-06 09:55:05,328: DEBUG - + file_hash[${short_setting}]=
2022-02-06 09:55:05,331: DEBUG - + formats[${short_setting}]=
2022-02-06 09:55:05,334: DEBUG - + ynh_app_config_get_one doc alert settings
2022-02-06 09:55:05,336: DEBUG - + _ynh_app_config_get_one doc alert settings
2022-02-06 09:55:05,339: DEBUG - + local short_setting=doc
2022-02-06 09:55:05,341: DEBUG - + local type=alert
2022-02-06 09:55:05,344: DEBUG - + local bind=settings
2022-02-06 09:55:05,349: DEBUG - + local getter=get__doc
2022-02-06 09:55:05,355: DEBUG - + grep -q '^function$'
2022-02-06 09:55:05,357: DEBUG - + type -t get__doc
2022-02-06 09:55:05,360: DEBUG - + [[ settings == *\(* ]]
2022-02-06 09:55:05,362: DEBUG - + [[ settings == \n\u\l\l ]]
2022-02-06 09:55:05,365: DEBUG - + [[ alert == \f\i\l\e ]]
2022-02-06 09:55:05,368: DEBUG - + [[ alert == \t\e\x\t ]]
2022-02-06 09:55:05,373: DEBUG - + local bind_after=
2022-02-06 09:55:05,383: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2022-02-06 09:55:05,386: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:05,388: DEBUG - ++ cut -d: -f1
2022-02-06 09:55:05,391: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:05,393: DEBUG - + local bind_key_=
2022-02-06 09:55:05,395: DEBUG - + bind_key_=doc
2022-02-06 09:55:05,397: DEBUG - + [[ doc == *\>* ]]
2022-02-06 09:55:05,400: DEBUG - ++ cut -d: -f2
2022-02-06 09:55:05,403: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:05,405: DEBUG - ++ sed s@__FINALPATH__@@
2022-02-06 09:55:05,407: DEBUG - ++ sed s/__APP__/vpnclient/
2022-02-06 09:55:05,411: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:05,414: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=doc --after=
2022-02-06 09:55:05,984: DEBUG - ++ after=
2022-02-06 09:55:05,986: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]]
2022-02-06 09:55:05,994: DEBUG - ++ echo YNH_NULL
2022-02-06 09:55:05,996: DEBUG - ++ return 0
2022-02-06 09:55:05,999: DEBUG - + old[$short_setting]=YNH_NULL
2022-02-06 09:55:06,005: DEBUG - + for line in $lines
2022-02-06 09:55:06,007: DEBUG - + IFS=';'
2022-02-06 09:55:06,010: DEBUG - + read short_setting type bind
2022-02-06 09:55:06,012: DEBUG - + binds[${short_setting}]=/etc/openvpn/client.conf
2022-02-06 09:55:06,015: DEBUG - + types[${short_setting}]=file
2022-02-06 09:55:06,018: DEBUG - + file_hash[${short_setting}]=
2022-02-06 09:55:06,020: DEBUG - + formats[${short_setting}]=
2022-02-06 09:55:06,023: DEBUG - + ynh_app_config_get_one config_file file /etc/openvpn/client.conf
2022-02-06 09:55:06,028: DEBUG - + _ynh_app_config_get_one config_file file /etc/openvpn/client.conf
2022-02-06 09:55:06,034: DEBUG - + local short_setting=config_file
2022-02-06 09:55:06,036: DEBUG - + local type=file
2022-02-06 09:55:06,039: DEBUG - + local bind=/etc/openvpn/client.conf
2022-02-06 09:55:06,041: DEBUG - + local getter=get__config_file
2022-02-06 09:55:06,043: DEBUG - + grep -q '^function$'
2022-02-06 09:55:06,045: DEBUG - + type -t get__config_file
2022-02-06 09:55:06,048: DEBUG - + [[ /etc/openvpn/client.conf == *\(* ]]
2022-02-06 09:55:06,051: DEBUG - + [[ /etc/openvpn/client.conf == \n\u\l\l ]]
2022-02-06 09:55:06,053: DEBUG - + [[ file == \f\i\l\e ]]
2022-02-06 09:55:06,055: DEBUG - + [[ /etc/openvpn/client.conf == \s\e\t\t\i\n\g\s ]]
2022-02-06 09:55:06,059: DEBUG - +++ echo /etc/openvpn/client.conf
2022-02-06 09:55:06,061: DEBUG - +++ sed s@__FINALPATH__@@
2022-02-06 09:55:06,064: DEBUG - +++ sed s/__APP__/vpnclient/
2022-02-06 09:55:06,066: DEBUG - ++ ls /etc/openvpn/client.conf
2022-02-06 09:55:06,073: DEBUG - + old[$short_setting]=/etc/openvpn/client.conf
2022-02-06 09:55:06,075: DEBUG - + file_hash[$short_setting]=true
2022-02-06 09:55:06,079: DEBUG - + for line in $lines
2022-02-06 09:55:06,084: DEBUG - + IFS=';'
2022-02-06 09:55:06,086: DEBUG - + read short_setting type bind
2022-02-06 09:55:06,088: DEBUG - + binds[${short_setting}]=/etc/openvpn/keys/ca-server.crt
2022-02-06 09:55:06,094: DEBUG - + types[${short_setting}]=file
2022-02-06 09:55:06,096: DEBUG - + file_hash[${short_setting}]=
2022-02-06 09:55:06,099: DEBUG - + formats[${short_setting}]=
2022-02-06 09:55:06,102: DEBUG - + ynh_app_config_get_one crt_server_ca file /etc/openvpn/keys/ca-server.crt
2022-02-06 09:55:06,104: DEBUG - + _ynh_app_config_get_one crt_server_ca file /etc/openvpn/keys/ca-server.crt
2022-02-06 09:55:06,107: DEBUG - + local short_setting=crt_server_ca
2022-02-06 09:55:06,112: DEBUG - + local type=file
2022-02-06 09:55:06,114: DEBUG - + local bind=/etc/openvpn/keys/ca-server.crt
2022-02-06 09:55:06,117: DEBUG - + local getter=get__crt_server_ca
2022-02-06 09:55:06,125: DEBUG - + grep -q '^function$'
2022-02-06 09:55:06,128: DEBUG - + type -t get__crt_server_ca
2022-02-06 09:55:06,130: DEBUG - + [[ /etc/openvpn/keys/ca-server.crt == *\(* ]]
2022-02-06 09:55:06,132: DEBUG - + [[ /etc/openvpn/keys/ca-server.crt == \n\u\l\l ]]
2022-02-06 09:55:06,134: DEBUG - + [[ file == \f\i\l\e ]]
2022-02-06 09:55:06,137: DEBUG - + [[ /etc/openvpn/keys/ca-server.crt == \s\e\t\t\i\n\g\s ]]
2022-02-06 09:55:06,139: DEBUG - +++ sed s/__APP__/vpnclient/
2022-02-06 09:55:06,141: DEBUG - +++ echo /etc/openvpn/keys/ca-server.crt
2022-02-06 09:55:06,144: DEBUG - +++ sed s@__FINALPATH__@@
2022-02-06 09:55:06,147: DEBUG - ++ ls /etc/openvpn/keys/ca-server.crt
2022-02-06 09:55:06,157: DEBUG - + old[$short_setting]=/etc/openvpn/keys/ca-server.crt
2022-02-06 09:55:06,159: DEBUG - + file_hash[$short_setting]=true
2022-02-06 09:55:06,165: DEBUG - + for line in $lines
2022-02-06 09:55:06,168: DEBUG - + IFS=';'
2022-02-06 09:55:06,171: DEBUG - + read short_setting type bind
2022-02-06 09:55:06,175: DEBUG - + binds[${short_setting}]=/etc/openvpn/keys/user.crt
2022-02-06 09:55:06,177: DEBUG - + types[${short_setting}]=file
2022-02-06 09:55:06,179: DEBUG - + file_hash[${short_setting}]=
2022-02-06 09:55:06,182: DEBUG - + formats[${short_setting}]=
2022-02-06 09:55:06,184: DEBUG - + ynh_app_config_get_one crt_client file /etc/openvpn/keys/user.crt
2022-02-06 09:55:06,187: DEBUG - + _ynh_app_config_get_one crt_client file /etc/openvpn/keys/user.crt
2022-02-06 09:55:06,188: DEBUG - + local short_setting=crt_client
2022-02-06 09:55:06,190: DEBUG - + local type=file
2022-02-06 09:55:06,192: DEBUG - + local bind=/etc/openvpn/keys/user.crt
2022-02-06 09:55:06,195: DEBUG - + local getter=get__crt_client
2022-02-06 09:55:06,197: DEBUG - + type -t get__crt_client
2022-02-06 09:55:06,200: DEBUG - + grep -q '^function$'
2022-02-06 09:55:06,203: DEBUG - + [[ /etc/openvpn/keys/user.crt == *\(* ]]
2022-02-06 09:55:06,210: DEBUG - + [[ /etc/openvpn/keys/user.crt == \n\u\l\l ]]
2022-02-06 09:55:06,213: DEBUG - + [[ file == \f\i\l\e ]]
2022-02-06 09:55:06,215: DEBUG - + [[ /etc/openvpn/keys/user.crt == \s\e\t\t\i\n\g\s ]]
2022-02-06 09:55:06,217: DEBUG - +++ echo /etc/openvpn/keys/user.crt
2022-02-06 09:55:06,230: DEBUG - +++ sed s@__FINALPATH__@@
2022-02-06 09:55:06,232: DEBUG - +++ sed s/__APP__/vpnclient/
2022-02-06 09:55:06,235: DEBUG - ++ ls /etc/openvpn/keys/user.crt
2022-02-06 09:55:06,247: DEBUG - + old[$short_setting]=/etc/openvpn/keys/user.crt
2022-02-06 09:55:06,249: DEBUG - + file_hash[$short_setting]=true
2022-02-06 09:55:06,252: DEBUG - + for line in $lines
2022-02-06 09:55:06,255: DEBUG - + IFS=';'
2022-02-06 09:55:06,258: DEBUG - + read short_setting type bind
2022-02-06 09:55:06,261: DEBUG - + binds[${short_setting}]=/etc/openvpn/keys/user.key
2022-02-06 09:55:06,265: DEBUG - + types[${short_setting}]=file
2022-02-06 09:55:06,267: DEBUG - + file_hash[${short_setting}]=
2022-02-06 09:55:06,270: DEBUG - + formats[${short_setting}]=
2022-02-06 09:55:06,272: DEBUG - + ynh_app_config_get_one crt_client_key file /etc/openvpn/keys/user.key
2022-02-06 09:55:06,274: DEBUG - + _ynh_app_config_get_one crt_client_key file /etc/openvpn/keys/user.key
2022-02-06 09:55:06,276: DEBUG - + local short_setting=crt_client_key
2022-02-06 09:55:06,279: DEBUG - + local type=file
2022-02-06 09:55:06,282: DEBUG - + local bind=/etc/openvpn/keys/user.key
2022-02-06 09:55:06,284: DEBUG - + local getter=get__crt_client_key
2022-02-06 09:55:06,287: DEBUG - + type -t get__crt_client_key
2022-02-06 09:55:06,290: DEBUG - + grep -q '^function$'
2022-02-06 09:55:06,295: DEBUG - + [[ /etc/openvpn/keys/user.key == *\(* ]]
2022-02-06 09:55:06,299: DEBUG - + [[ /etc/openvpn/keys/user.key == \n\u\l\l ]]
2022-02-06 09:55:06,302: DEBUG - + [[ file == \f\i\l\e ]]
2022-02-06 09:55:06,304: DEBUG - + [[ /etc/openvpn/keys/user.key == \s\e\t\t\i\n\g\s ]]
2022-02-06 09:55:06,314: DEBUG - +++ echo /etc/openvpn/keys/user.key
2022-02-06 09:55:06,316: DEBUG - +++ sed s@__FINALPATH__@@
2022-02-06 09:55:06,318: DEBUG - +++ sed s/__APP__/vpnclient/
2022-02-06 09:55:06,324: DEBUG - ++ ls /etc/openvpn/keys/user.key
2022-02-06 09:55:06,340: DEBUG - + old[$short_setting]=/etc/openvpn/keys/user.key
2022-02-06 09:55:06,342: DEBUG - + file_hash[$short_setting]=true
2022-02-06 09:55:06,346: DEBUG - + for line in $lines
2022-02-06 09:55:06,350: DEBUG - + IFS=';'
2022-02-06 09:55:06,352: DEBUG - + read short_setting type bind
2022-02-06 09:55:06,360: DEBUG - + binds[${short_setting}]=settings
2022-02-06 09:55:06,362: DEBUG - + types[${short_setting}]=string
2022-02-06 09:55:06,365: DEBUG - + file_hash[${short_setting}]=
2022-02-06 09:55:06,368: DEBUG - + formats[${short_setting}]=
2022-02-06 09:55:06,370: DEBUG - + ynh_app_config_get_one login_user string settings
2022-02-06 09:55:06,374: DEBUG - + _ynh_app_config_get_one login_user string settings
2022-02-06 09:55:06,377: DEBUG - + local short_setting=login_user
2022-02-06 09:55:06,382: DEBUG - + local type=string
2022-02-06 09:55:06,384: DEBUG - + local bind=settings
2022-02-06 09:55:06,386: DEBUG - + local getter=get__login_user
2022-02-06 09:55:06,388: DEBUG - + grep -q '^function$'
2022-02-06 09:55:06,391: DEBUG - + type -t get__login_user
2022-02-06 09:55:06,393: DEBUG - ++ get__login_user
2022-02-06 09:55:06,396: DEBUG - ++ '[' -s /etc/openvpn/keys/credentials ']'
2022-02-06 09:55:06,399: DEBUG - ++ echo ''
2022-02-06 09:55:06,402: DEBUG - + old[$short_setting]=
2022-02-06 09:55:06,404: DEBUG - + formats[${short_setting}]=yaml
2022-02-06 09:55:06,407: DEBUG - + for line in $lines
2022-02-06 09:55:06,409: DEBUG - + IFS=';'
2022-02-06 09:55:06,414: DEBUG - + read short_setting type bind
2022-02-06 09:55:06,416: DEBUG - + binds[${short_setting}]=settings
2022-02-06 09:55:06,419: DEBUG - + types[${short_setting}]=password
2022-02-06 09:55:06,421: DEBUG - + file_hash[${short_setting}]=
2022-02-06 09:55:06,424: DEBUG - + formats[${short_setting}]=
2022-02-06 09:55:06,426: DEBUG - + ynh_app_config_get_one login_passphrase password settings
2022-02-06 09:55:06,428: DEBUG - + _ynh_app_config_get_one login_passphrase password settings
2022-02-06 09:55:06,431: DEBUG - + local short_setting=login_passphrase
2022-02-06 09:55:06,434: DEBUG - + local type=password
2022-02-06 09:55:06,437: DEBUG - + local bind=settings
2022-02-06 09:55:06,440: DEBUG - + local getter=get__login_passphrase
2022-02-06 09:55:06,443: DEBUG - + type -t get__login_passphrase
2022-02-06 09:55:06,447: DEBUG - + grep -q '^function$'
2022-02-06 09:55:06,455: DEBUG - ++ get__login_passphrase
2022-02-06 09:55:06,458: DEBUG - ++ '[' -s /etc/openvpn/keys/credentials ']'
2022-02-06 09:55:06,460: DEBUG - ++ echo ''
2022-02-06 09:55:06,463: DEBUG - + old[$short_setting]=
2022-02-06 09:55:06,465: DEBUG - + formats[${short_setting}]=yaml
2022-02-06 09:55:06,467: DEBUG - + for line in $lines
2022-02-06 09:55:06,470: DEBUG - + IFS=';'
2022-02-06 09:55:06,472: DEBUG - + read short_setting type bind
2022-02-06 09:55:06,475: DEBUG - + binds[${short_setting}]=/etc/openvpn/keys/user_ta.key
2022-02-06 09:55:06,478: DEBUG - + types[${short_setting}]=file
2022-02-06 09:55:06,481: DEBUG - + file_hash[${short_setting}]=
2022-02-06 09:55:06,483: DEBUG - + formats[${short_setting}]=
2022-02-06 09:55:06,485: DEBUG - + ynh_app_config_get_one crt_client_ta file /etc/openvpn/keys/user_ta.key
2022-02-06 09:55:06,488: DEBUG - + _ynh_app_config_get_one crt_client_ta file /etc/openvpn/keys/user_ta.key
2022-02-06 09:55:06,490: DEBUG - + local short_setting=crt_client_ta
2022-02-06 09:55:06,492: DEBUG - + local type=file
2022-02-06 09:55:06,495: DEBUG - + local bind=/etc/openvpn/keys/user_ta.key
2022-02-06 09:55:06,498: DEBUG - + local getter=get__crt_client_ta
2022-02-06 09:55:06,501: DEBUG - + type -t get__crt_client_ta
2022-02-06 09:55:06,504: DEBUG - + grep -q '^function$'
2022-02-06 09:55:06,506: DEBUG - + [[ /etc/openvpn/keys/user_ta.key == *\(* ]]
2022-02-06 09:55:06,508: DEBUG - + [[ /etc/openvpn/keys/user_ta.key == \n\u\l\l ]]
2022-02-06 09:55:06,511: DEBUG - + [[ file == \f\i\l\e ]]
2022-02-06 09:55:06,514: DEBUG - + [[ /etc/openvpn/keys/user_ta.key == \s\e\t\t\i\n\g\s ]]
2022-02-06 09:55:06,516: DEBUG - +++ sed s@__FINALPATH__@@
2022-02-06 09:55:06,518: DEBUG - +++ sed s/__APP__/vpnclient/
2022-02-06 09:55:06,521: DEBUG - +++ echo /etc/openvpn/keys/user_ta.key
2022-02-06 09:55:06,524: DEBUG - ++ ls /etc/openvpn/keys/user_ta.key
2022-02-06 09:55:06,527: DEBUG - + old[$short_setting]=/etc/openvpn/keys/user_ta.key
2022-02-06 09:55:06,530: DEBUG - + file_hash[$short_setting]=true
2022-02-06 09:55:06,532: DEBUG - + for line in $lines
2022-02-06 09:55:06,534: DEBUG - + IFS=';'
2022-02-06 09:55:06,537: DEBUG - + read short_setting type bind
2022-02-06 09:55:06,540: DEBUG - + binds[${short_setting}]=settings
2022-02-06 09:55:06,542: DEBUG - + types[${short_setting}]=select
2022-02-06 09:55:06,544: DEBUG - + file_hash[${short_setting}]=
2022-02-06 09:55:06,547: DEBUG - + formats[${short_setting}]=
2022-02-06 09:55:06,551: DEBUG - + ynh_app_config_get_one dns_method select settings
2022-02-06 09:55:06,554: DEBUG - + _ynh_app_config_get_one dns_method select settings
2022-02-06 09:55:06,561: DEBUG - + local short_setting=dns_method
2022-02-06 09:55:06,569: DEBUG - + local type=select
2022-02-06 09:55:06,571: DEBUG - + local bind=settings
2022-02-06 09:55:06,574: DEBUG - + local getter=get__dns_method
2022-02-06 09:55:06,576: DEBUG - + grep -q '^function$'
2022-02-06 09:55:06,579: DEBUG - + type -t get__dns_method
2022-02-06 09:55:06,582: DEBUG - + [[ settings == *\(* ]]
2022-02-06 09:55:06,584: DEBUG - + [[ settings == \n\u\l\l ]]
2022-02-06 09:55:06,587: DEBUG - + [[ select == \f\i\l\e ]]
2022-02-06 09:55:06,589: DEBUG - + [[ select == \t\e\x\t ]]
2022-02-06 09:55:06,591: DEBUG - + local bind_after=
2022-02-06 09:55:06,594: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2022-02-06 09:55:06,597: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:06,599: DEBUG - ++ cut -d: -f1
2022-02-06 09:55:06,602: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:06,605: DEBUG - + local bind_key_=
2022-02-06 09:55:06,607: DEBUG - + bind_key_=dns_method
2022-02-06 09:55:06,610: DEBUG - + [[ dns_method == *\>* ]]
2022-02-06 09:55:06,613: DEBUG - ++ cut -d: -f2
2022-02-06 09:55:06,615: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:06,617: DEBUG - ++ sed s@__FINALPATH__@@
2022-02-06 09:55:06,620: DEBUG - ++ sed s/__APP__/vpnclient/
2022-02-06 09:55:06,623: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:06,625: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=dns_method --after=
2022-02-06 09:55:07,115: DEBUG - ++ after=
2022-02-06 09:55:07,119: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]]
2022-02-06 09:55:07,190: DEBUG - + old[$short_setting]=custom
2022-02-06 09:55:07,198: DEBUG - + for line in $lines
2022-02-06 09:55:07,202: DEBUG - + IFS=';'
2022-02-06 09:55:07,205: DEBUG - + read short_setting type bind
2022-02-06 09:55:07,208: DEBUG - + binds[${short_setting}]=settings
2022-02-06 09:55:07,213: DEBUG - + types[${short_setting}]=tags
2022-02-06 09:55:07,216: DEBUG - + file_hash[${short_setting}]=
2022-02-06 09:55:07,219: DEBUG - + formats[${short_setting}]=
2022-02-06 09:55:07,222: DEBUG - + ynh_app_config_get_one nameservers tags settings
2022-02-06 09:55:07,227: DEBUG - + _ynh_app_config_get_one nameservers tags settings
2022-02-06 09:55:07,229: DEBUG - + local short_setting=nameservers
2022-02-06 09:55:07,231: DEBUG - + local type=tags
2022-02-06 09:55:07,234: DEBUG - + local bind=settings
2022-02-06 09:55:07,236: DEBUG - + local getter=get__nameservers
2022-02-06 09:55:07,238: DEBUG - + type -t get__nameservers
2022-02-06 09:55:07,241: DEBUG - + grep -q '^function$'
2022-02-06 09:55:07,244: DEBUG - + [[ settings == *\(* ]]
2022-02-06 09:55:07,247: DEBUG - + [[ settings == \n\u\l\l ]]
2022-02-06 09:55:07,249: DEBUG - + [[ tags == \f\i\l\e ]]
2022-02-06 09:55:07,254: DEBUG - + [[ tags == \t\e\x\t ]]
2022-02-06 09:55:07,257: DEBUG - + local bind_after=
2022-02-06 09:55:07,259: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2022-02-06 09:55:07,274: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:07,277: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:07,280: DEBUG - ++ cut -d: -f1
2022-02-06 09:55:07,282: DEBUG - + local bind_key_=
2022-02-06 09:55:07,284: DEBUG - + bind_key_=nameservers
2022-02-06 09:55:07,287: DEBUG - + [[ nameservers == *\>* ]]
2022-02-06 09:55:07,290: DEBUG - ++ cut -d: -f2
2022-02-06 09:55:07,293: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:07,296: DEBUG - ++ sed s@__FINALPATH__@@
2022-02-06 09:55:07,298: DEBUG - ++ sed s/__APP__/vpnclient/
2022-02-06 09:55:07,301: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:07,303: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=nameservers --after=
2022-02-06 09:55:07,797: DEBUG - ++ after=
2022-02-06 09:55:07,800: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]]
2022-02-06 09:55:07,868: DEBUG - + old[$short_setting]=79.143.250.1,79.143.250.2
2022-02-06 09:55:07,874: DEBUG - + for line in $lines
2022-02-06 09:55:07,877: DEBUG - + IFS=';'
2022-02-06 09:55:07,880: DEBUG - + read short_setting type bind
2022-02-06 09:55:07,884: DEBUG - + binds[${short_setting}]=settings
2022-02-06 09:55:07,886: DEBUG - + types[${short_setting}]=string
2022-02-06 09:55:07,888: DEBUG - + file_hash[${short_setting}]=
2022-02-06 09:55:07,891: DEBUG - + formats[${short_setting}]=
2022-02-06 09:55:07,894: DEBUG - + ynh_app_config_get_one ip6_net string settings
2022-02-06 09:55:07,896: DEBUG - + _ynh_app_config_get_one ip6_net string settings
2022-02-06 09:55:07,899: DEBUG - + local short_setting=ip6_net
2022-02-06 09:55:07,902: DEBUG - + local type=string
2022-02-06 09:55:07,905: DEBUG - + local bind=settings
2022-02-06 09:55:07,910: DEBUG - + local getter=get__ip6_net
2022-02-06 09:55:07,912: DEBUG - + type -t get__ip6_net
2022-02-06 09:55:07,914: DEBUG - + grep -q '^function$'
2022-02-06 09:55:07,917: DEBUG - + [[ settings == *\(* ]]
2022-02-06 09:55:07,919: DEBUG - + [[ settings == \n\u\l\l ]]
2022-02-06 09:55:07,921: DEBUG - + [[ string == \f\i\l\e ]]
2022-02-06 09:55:07,924: DEBUG - + [[ string == \t\e\x\t ]]
2022-02-06 09:55:07,927: DEBUG - + local bind_after=
2022-02-06 09:55:07,930: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2022-02-06 09:55:07,932: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:07,942: DEBUG - ++ cut -d: -f1
2022-02-06 09:55:07,944: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:07,951: DEBUG - + local bind_key_=
2022-02-06 09:55:07,953: DEBUG - + bind_key_=ip6_net
2022-02-06 09:55:07,955: DEBUG - + [[ ip6_net == *\>* ]]
2022-02-06 09:55:07,958: DEBUG - ++ cut -d: -f2
2022-02-06 09:55:07,960: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:07,963: DEBUG - ++ sed s@__FINALPATH__@@
2022-02-06 09:55:07,965: DEBUG - ++ sed s/__APP__/vpnclient/
2022-02-06 09:55:07,969: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:07,974: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=ip6_net --after=
2022-02-06 09:55:08,484: DEBUG - ++ after=
2022-02-06 09:55:08,489: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]]
2022-02-06 09:55:08,585: DEBUG - + old[$short_setting]=
2022-02-06 09:55:08,591: DEBUG - + for line in $lines
2022-02-06 09:55:08,594: DEBUG - + IFS=';'
2022-02-06 09:55:08,597: DEBUG - + read short_setting type bind
2022-02-06 09:55:08,602: DEBUG - + binds[${short_setting}]=settings
2022-02-06 09:55:08,604: DEBUG - + types[${short_setting}]=string
2022-02-06 09:55:08,607: DEBUG - + file_hash[${short_setting}]=
2022-02-06 09:55:08,609: DEBUG - + formats[${short_setting}]=
2022-02-06 09:55:08,612: DEBUG - + ynh_app_config_get_one ip6_addr string settings
2022-02-06 09:55:08,615: DEBUG - + _ynh_app_config_get_one ip6_addr string settings
2022-02-06 09:55:08,618: DEBUG - + local short_setting=ip6_addr
2022-02-06 09:55:08,620: DEBUG - + local type=string
2022-02-06 09:55:08,627: DEBUG - + local bind=settings
2022-02-06 09:55:08,630: DEBUG - + local getter=get__ip6_addr
2022-02-06 09:55:08,634: DEBUG - + type -t get__ip6_addr
2022-02-06 09:55:08,636: DEBUG - + grep -q '^function$'
2022-02-06 09:55:08,639: DEBUG - + [[ settings == *\(* ]]
2022-02-06 09:55:08,641: DEBUG - + [[ settings == \n\u\l\l ]]
2022-02-06 09:55:08,644: DEBUG - + [[ string == \f\i\l\e ]]
2022-02-06 09:55:08,647: DEBUG - + [[ string == \t\e\x\t ]]
2022-02-06 09:55:08,657: DEBUG - + local bind_after=
2022-02-06 09:55:08,659: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2022-02-06 09:55:08,661: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:08,664: DEBUG - ++ cut -d: -f1
2022-02-06 09:55:08,666: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:08,668: DEBUG - + local bind_key_=
2022-02-06 09:55:08,671: DEBUG - + bind_key_=ip6_addr
2022-02-06 09:55:08,673: DEBUG - + [[ ip6_addr == *\>* ]]
2022-02-06 09:55:08,675: DEBUG - ++ cut -d: -f2
2022-02-06 09:55:08,678: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:08,680: DEBUG - ++ sed s@__FINALPATH__@@
2022-02-06 09:55:08,682: DEBUG - ++ sed s/__APP__/vpnclient/
2022-02-06 09:55:08,689: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml
2022-02-06 09:55:08,694: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=ip6_addr --after=
2022-02-06 09:55:09,199: DEBUG - ++ after=
2022-02-06 09:55:09,203: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]]
2022-02-06 09:55:09,329: DEBUG - + old[$short_setting]=
2022-02-06 09:55:09,331: DEBUG - + ynh_app_config_validate
2022-02-06 09:55:09,333: DEBUG - + '[' -z x ']'
2022-02-06 09:55:09,334: DEBUG - + '[' -f /tmp/ynh_filequestion_uqzgmmqz/tmpu0illh7j ']'
2022-02-06 09:55:09,346: DEBUG - ++ cat /tmp/ynh_filequestion_uqzgmmqz/tmpu0illh7j
2022-02-06 09:55:09,350: DEBUG - ++ head -c1
2022-02-06 09:55:09,353: DEBUG - ++ grep -v '^$'
2022-02-06 09:55:09,356: DEBUG - ++ tr -d ' '
2022-02-06 09:55:09,380: DEBUG - + [[ # == \{ ]]
2022-02-06 09:55:09,383: DEBUG - + '[' -f /tmp/ynh_filequestion_uqzgmmqz/tmpu0illh7j ']'
2022-02-06 09:55:09,385: DEBUG - ++ dirname /tmp/ynh_filequestion_uqzgmmqz/tmpu0illh7j
2022-02-06 09:55:09,393: DEBUG - + tmp_dir=/tmp/ynh_filequestion_uqzgmmqz
2022-02-06 09:55:09,395: DEBUG - + ynh_print_info '--message=Extracting TLS keys from .ovpn file'
2022-02-06 09:55:09,480: DEBUG - + grep -q '^\s*<ca>' /tmp/ynh_filequestion_uqzgmmqz/tmpu0illh7j
2022-02-06 09:55:09,483: INFO - Extracting TLS keys from .ovpn file
2022-02-06 09:55:09,494: DEBUG - + grep -q '^\s*<cert>' /tmp/ynh_filequestion_uqzgmmqz/tmpu0illh7j
2022-02-06 09:55:09,507: DEBUG - + grep -q '^\s*cert\s' /tmp/ynh_filequestion_uqzgmmqz/tmpu0illh7j
2022-02-06 09:55:09,519: DEBUG - + grep -q '^\s*<key>' /tmp/ynh_filequestion_uqzgmmqz/tmpu0illh7j
2022-02-06 09:55:09,531: DEBUG - + grep -q '^\s*key\s' /tmp/ynh_filequestion_uqzgmmqz/tmpu0illh7j
2022-02-06 09:55:09,543: DEBUG - + grep -q '^\s*<tls-auth>' /tmp/ynh_filequestion_uqzgmmqz/tmpu0illh7j
2022-02-06 09:55:09,555: DEBUG - + grep -q '^\s*tls-auth\s' /tmp/ynh_filequestion_uqzgmmqz/tmpu0illh7j
2022-02-06 09:55:09,567: DEBUG - + sed -i 's@^\s*ca\s.*$@ca /etc/openvpn/keys/ca-server.crt@g' /tmp/ynh_filequestion_uqzgmmqz/tmpu0illh7j
2022-02-06 09:55:09,582: DEBUG - + sed -i 's@^\s*cert\s.*$@cert /etc/openvpn/keys/user.crt@g' /tmp/ynh_filequestion_uqzgmmqz/tmpu0illh7j
2022-02-06 09:55:09,598: DEBUG - + sed -i 's@^\s*key\s.*$@key /etc/openvpn/keys/user.key@g' /tmp/ynh_filequestion_uqzgmmqz/tmpu0illh7j
2022-02-06 09:55:09,614: DEBUG - + sed -i 's@^\s*tls-auth\s.*$@tls-auth /etc/openvpn/keys/user-ta.key@g' /tmp/ynh_filequestion_uqzgmmqz/tmpu0illh7j
2022-02-06 09:55:09,628: DEBUG - + '[' -f /tmp/ynh_filequestion_uqzgmmqz/tmpu0illh7j ']'
2022-02-06 09:55:09,631: DEBUG - + sed -i '/^\s*user\s/d' /tmp/ynh_filequestion_uqzgmmqz/tmpu0illh7j
2022-02-06 09:55:09,643: DEBUG - + sed -i '/^\s*group\s/d' /tmp/ynh_filequestion_uqzgmmqz/tmpu0illh7j
2022-02-06 09:55:09,659: DEBUG - + _ynh_app_config_validate
2022-02-06 09:55:10,225: INFO - [#####+++++..........] > Checking what changed in the new configuration...
2022-02-06 09:55:10,234: DEBUG - + local nothing_changed=true
2022-02-06 09:55:10,247: DEBUG - + local changes_validated=true
2022-02-06 09:55:10,252: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:10,255: DEBUG - + changed[$short_setting]=false
2022-02-06 09:55:10,258: DEBUG - + '[' -z ']'
2022-02-06 09:55:10,261: DEBUG - + declare -g ip6_net=
2022-02-06 09:55:10,264: DEBUG - + continue
2022-02-06 09:55:10,267: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:10,269: DEBUG - + changed[$short_setting]=false
2022-02-06 09:55:10,271: DEBUG - + '[' -z ']'
2022-02-06 09:55:10,274: DEBUG - + declare -g login_passphrase=
2022-02-06 09:55:10,276: DEBUG - + continue
2022-02-06 09:55:10,278: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:10,280: DEBUG - + changed[$short_setting]=false
2022-02-06 09:55:10,283: DEBUG - + '[' -z ']'
2022-02-06 09:55:10,285: DEBUG - + declare -g crt_client=/etc/openvpn/keys/user.crt
2022-02-06 09:55:10,292: DEBUG - + continue
2022-02-06 09:55:10,295: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:10,299: DEBUG - + changed[$short_setting]=false
2022-02-06 09:55:10,306: DEBUG - + '[' -z x ']'
2022-02-06 09:55:10,312: DEBUG - + '[' '!' -z true ']'
2022-02-06 09:55:10,319: DEBUG - + file_hash[old__$short_setting]=
2022-02-06 09:55:10,322: DEBUG - + file_hash[new__$short_setting]=
2022-02-06 09:55:10,324: DEBUG - + '[' -f /etc/openvpn/client.conf ']'
2022-02-06 09:55:10,327: DEBUG - ++ sha256sum /etc/openvpn/client.conf
2022-02-06 09:55:10,330: DEBUG - ++ cut '-d ' -f1
2022-02-06 09:55:10,332: DEBUG - + file_hash[old__$short_setting]=90e2168938311917bd1a28fa981897877ac5bd3c4ef627b7d3f25abca386b235
2022-02-06 09:55:10,335: DEBUG - + '[' -z /tmp/ynh_filequestion_uqzgmmqz/tmpu0illh7j ']'
2022-02-06 09:55:10,337: DEBUG - + '[' -f /tmp/ynh_filequestion_uqzgmmqz/tmpu0illh7j ']'
2022-02-06 09:55:10,339: DEBUG - ++ cut '-d ' -f1
2022-02-06 09:55:10,342: DEBUG - ++ sha256sum /tmp/ynh_filequestion_uqzgmmqz/tmpu0illh7j
2022-02-06 09:55:10,344: DEBUG - + file_hash[new__$short_setting]=90e2168938311917bd1a28fa981897877ac5bd3c4ef627b7d3f25abca386b235
2022-02-06 09:55:10,347: DEBUG - + [[ 90e2168938311917bd1a28fa981897877ac5bd3c4ef627b7d3f25abca386b235 != \9\0\e\2\1\6\8\9\3\8\3\1\1\9\1\7\b\d\1\a\2\8\f\a\9\8\1\8\9\7\8\7\7\a\c\5\b\d\3\c\4\e\f\6\2\7\b\7\d\3\f\2\5\a\b\c\a\3\8\6\b\2\3\5 ]]
2022-02-06 09:55:10,350: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:10,352: DEBUG - + changed[$short_setting]=false
2022-02-06 09:55:10,355: DEBUG - + '[' -z ']'
2022-02-06 09:55:10,357: DEBUG - + declare -g doc=YNH_NULL
2022-02-06 09:55:10,359: DEBUG - + continue
2022-02-06 09:55:10,362: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:10,364: DEBUG - + changed[$short_setting]=false
2022-02-06 09:55:10,367: DEBUG - + '[' -z ']'
2022-02-06 09:55:10,369: DEBUG - + declare -g nameservers=79.143.250.1,79.143.250.2
2022-02-06 09:55:10,371: DEBUG - + continue
2022-02-06 09:55:10,374: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:10,376: DEBUG - + changed[$short_setting]=false
2022-02-06 09:55:10,378: DEBUG - + '[' -z x ']'
2022-02-06 09:55:10,381: DEBUG - + '[' '!' -z '' ']'
2022-02-06 09:55:10,383: DEBUG - + [[ 1 != \0 ]]
2022-02-06 09:55:10,386: DEBUG - + changed[$short_setting]=true
2022-02-06 09:55:10,388: DEBUG - + nothing_changed=false
2022-02-06 09:55:10,391: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:10,393: DEBUG - + changed[$short_setting]=false
2022-02-06 09:55:10,395: DEBUG - + '[' -z ']'
2022-02-06 09:55:10,396: DEBUG - + declare -g crt_client_ta=/etc/openvpn/keys/user_ta.key
2022-02-06 09:55:10,398: DEBUG - + continue
2022-02-06 09:55:10,400: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:10,401: DEBUG - + changed[$short_setting]=false
2022-02-06 09:55:10,403: DEBUG - + '[' -z ']'
2022-02-06 09:55:10,404: DEBUG - + declare -g login_user=
2022-02-06 09:55:10,405: DEBUG - + continue
2022-02-06 09:55:10,407: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:10,408: DEBUG - + changed[$short_setting]=false
2022-02-06 09:55:10,410: DEBUG - + '[' -z ']'
2022-02-06 09:55:10,411: DEBUG - + declare -g crt_server_ca=/etc/openvpn/keys/ca-server.crt
2022-02-06 09:55:10,412: DEBUG - + continue
2022-02-06 09:55:10,414: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:10,415: DEBUG - + changed[$short_setting]=false
2022-02-06 09:55:10,417: DEBUG - + '[' -z ']'
2022-02-06 09:55:10,418: DEBUG - + declare -g dns_method=custom
2022-02-06 09:55:10,420: DEBUG - + continue
2022-02-06 09:55:10,421: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:10,423: DEBUG - + changed[$short_setting]=false
2022-02-06 09:55:10,424: DEBUG - + '[' -z ']'
2022-02-06 09:55:10,426: DEBUG - + declare -g crt_client_key=**********
2022-02-06 09:55:10,427: DEBUG - + continue
2022-02-06 09:55:10,429: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:10,430: DEBUG - + changed[$short_setting]=false
2022-02-06 09:55:10,432: DEBUG - + '[' -z ']'
2022-02-06 09:55:10,433: DEBUG - + declare -g 'status=style: info
2022-02-06 09:55:10,435: DEBUG - ask:
2022-02-06 09:55:10,436: DEBUG - en: The VPN is not enabled'
2022-02-06 09:55:10,438: DEBUG - + continue
2022-02-06 09:55:10,439: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:10,440: DEBUG - + changed[$short_setting]=false
2022-02-06 09:55:10,442: DEBUG - + '[' -z ']'
2022-02-06 09:55:10,443: DEBUG - + declare -g ip6_addr=
2022-02-06 09:55:10,445: DEBUG - + continue
2022-02-06 09:55:10,446: DEBUG - + [[ false == \t\r\u\e ]]
2022-02-06 09:55:10,969: INFO - [##########+++++.....] > Validating the new configuration...
2022-02-06 09:55:10,979: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:10,981: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-02-06 09:55:10,985: DEBUG - + continue
2022-02-06 09:55:10,987: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:10,989: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-02-06 09:55:10,994: DEBUG - + continue
2022-02-06 09:55:10,998: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:11,000: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-02-06 09:55:11,003: DEBUG - + continue
2022-02-06 09:55:11,006: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:11,008: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-02-06 09:55:11,010: DEBUG - + continue
2022-02-06 09:55:11,013: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:11,016: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-02-06 09:55:11,018: DEBUG - + continue
2022-02-06 09:55:11,021: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:11,023: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-02-06 09:55:11,030: DEBUG - + continue
2022-02-06 09:55:11,032: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:11,035: DEBUG - + [[ true == \f\a\l\s\e ]]
2022-02-06 09:55:11,038: DEBUG - + local result=
2022-02-06 09:55:11,040: DEBUG - + grep -q '^function$'
2022-02-06 09:55:11,043: DEBUG - + type -t validate__service_enabled
2022-02-06 09:55:11,046: DEBUG - + [[ settings == *\(* ]]
2022-02-06 09:55:11,048: DEBUG - + '[' -n '' ']'
2022-02-06 09:55:11,050: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:11,053: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-02-06 09:55:11,055: DEBUG - + continue
2022-02-06 09:55:11,058: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:11,060: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-02-06 09:55:11,062: DEBUG - + continue
2022-02-06 09:55:11,065: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:11,069: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-02-06 09:55:11,071: DEBUG - + continue
2022-02-06 09:55:11,074: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:11,076: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-02-06 09:55:11,079: DEBUG - + continue
2022-02-06 09:55:11,081: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:11,084: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-02-06 09:55:11,086: DEBUG - + continue
2022-02-06 09:55:11,089: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:11,096: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-02-06 09:55:11,098: DEBUG - + continue
2022-02-06 09:55:11,100: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:11,103: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-02-06 09:55:11,105: DEBUG - + continue
2022-02-06 09:55:11,107: DEBUG - + [[ true == \f\a\l\s\e ]]
2022-02-06 09:55:11,411: INFO - [###############+++++] > Applying the new configuration...
2022-02-06 09:55:11,420: DEBUG - + ynh_app_config_apply
2022-02-06 09:55:11,423: DEBUG - + ynh_print_info '--message=Stopping vpnclient in order to edit files'
2022-02-06 09:55:11,505: INFO - Stopping vpnclient in order to edit files
2022-02-06 09:55:11,511: DEBUG - + touch /tmp/.ynh-vpnclient-stopped
2022-02-06 09:55:11,518: DEBUG - + /usr/local/bin/ynh-vpnclient stop
2022-02-06 09:55:11,686: DEBUG - [INFO] Retrieving Yunohost settings...
2022-02-06 09:55:12,232: DEBUG - [ OK ] Settings retrieved
2022-02-06 09:55:12,262: DEBUG - [INFO] [vpnclient] Stopping...
2022-02-06 09:55:12,593: DEBUG - + chown vpnclient:vpnclient /etc/openvpn/keys
2022-02-06 09:55:12,604: DEBUG - + chmod go=--- /etc/openvpn/keys
2022-02-06 09:55:12,613: DEBUG - + _ynh_app_config_apply
2022-02-06 09:55:12,618: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:12,625: DEBUG - + ynh_app_config_apply_one ip6_net
2022-02-06 09:55:12,628: DEBUG - + _ynh_app_config_apply_one ip6_net
2022-02-06 09:55:12,632: DEBUG - + local short_setting=ip6_net
2022-02-06 09:55:12,634: DEBUG - + local setter=set__ip6_net
2022-02-06 09:55:12,636: DEBUG - + local bind=settings
2022-02-06 09:55:12,637: DEBUG - + local type=string
2022-02-06 09:55:12,639: DEBUG - + '[' false == true ']'
2022-02-06 09:55:12,640: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:12,642: DEBUG - + ynh_app_config_apply_one login_passphrase
2022-02-06 09:55:12,643: DEBUG - + _ynh_app_config_apply_one login_passphrase
2022-02-06 09:55:12,645: DEBUG - + local short_setting=login_passphrase
2022-02-06 09:55:12,646: DEBUG - + local setter=set__login_passphrase
2022-02-06 09:55:12,647: DEBUG - + local bind=settings
2022-02-06 09:55:12,649: DEBUG - + local type=password
2022-02-06 09:55:12,650: DEBUG - + '[' false == true ']'
2022-02-06 09:55:12,652: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:12,653: DEBUG - + ynh_app_config_apply_one crt_client
2022-02-06 09:55:12,655: DEBUG - + _ynh_app_config_apply_one crt_client
2022-02-06 09:55:12,656: DEBUG - + local short_setting=crt_client
2022-02-06 09:55:12,658: DEBUG - + local setter=set__crt_client
2022-02-06 09:55:12,659: DEBUG - + local bind=/etc/openvpn/keys/user.crt
2022-02-06 09:55:12,661: DEBUG - + local type=file
2022-02-06 09:55:12,662: DEBUG - + '[' false == true ']'
2022-02-06 09:55:12,664: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:12,666: DEBUG - + ynh_app_config_apply_one config_file
2022-02-06 09:55:12,668: DEBUG - + _ynh_app_config_apply_one config_file
2022-02-06 09:55:12,669: DEBUG - + local short_setting=config_file
2022-02-06 09:55:12,671: DEBUG - + local setter=set__config_file
2022-02-06 09:55:12,672: DEBUG - + local bind=/etc/openvpn/client.conf
2022-02-06 09:55:12,682: DEBUG - + local type=file
2022-02-06 09:55:12,684: DEBUG - + '[' false == true ']'
2022-02-06 09:55:12,685: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:12,687: DEBUG - + ynh_app_config_apply_one doc
2022-02-06 09:55:12,688: DEBUG - + _ynh_app_config_apply_one doc
2022-02-06 09:55:12,692: DEBUG - + local short_setting=doc
2022-02-06 09:55:12,694: DEBUG - + local setter=set__doc
2022-02-06 09:55:12,696: DEBUG - + local bind=settings
2022-02-06 09:55:12,697: DEBUG - + local type=alert
2022-02-06 09:55:12,699: DEBUG - + '[' false == true ']'
2022-02-06 09:55:12,700: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:12,702: DEBUG - + ynh_app_config_apply_one nameservers
2022-02-06 09:55:12,703: DEBUG - + _ynh_app_config_apply_one nameservers
2022-02-06 09:55:12,705: DEBUG - + local short_setting=nameservers
2022-02-06 09:55:12,707: DEBUG - + local setter=set__nameservers
2022-02-06 09:55:12,709: DEBUG - + local bind=settings
2022-02-06 09:55:12,710: DEBUG - + local type=tags
2022-02-06 09:55:12,712: DEBUG - + '[' false == true ']'
2022-02-06 09:55:12,713: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:12,715: DEBUG - + ynh_app_config_apply_one service_enabled
2022-02-06 09:55:12,716: DEBUG - + _ynh_app_config_apply_one service_enabled
2022-02-06 09:55:12,718: DEBUG - + local short_setting=service_enabled
2022-02-06 09:55:12,719: DEBUG - + local setter=set__service_enabled
2022-02-06 09:55:12,721: DEBUG - + local bind=settings
2022-02-06 09:55:12,723: DEBUG - + local type=boolean
2022-02-06 09:55:12,724: DEBUG - + '[' true == true ']'
2022-02-06 09:55:12,726: DEBUG - + grep -q '^function$'
2022-02-06 09:55:12,735: DEBUG - + type -t set__service_enabled
2022-02-06 09:55:12,739: DEBUG - + [[ settings == *\(* ]]
2022-02-06 09:55:12,743: DEBUG - + [[ settings == \n\u\l\l ]]
2022-02-06 09:55:12,746: DEBUG - + [[ boolean == \f\i\l\e ]]
2022-02-06 09:55:12,748: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2022-02-06 09:55:12,750: DEBUG - + ynh_app_setting_set --app=vpnclient --key=service_enabled --value=1
2022-02-06 09:55:12,753: DEBUG - + local _globalapp=vpnclient
2022-02-06 09:55:13,271: DEBUG - + app=vpnclient
2022-02-06 09:55:13,273: DEBUG - + [[ service_enabled =~ (unprotected|protected|skipped)_ ]]
2022-02-06 09:55:13,276: DEBUG - + ynh_app_setting set vpnclient service_enabled 1
2022-02-06 09:55:13,922: DEBUG - + ynh_print_info '--message=Configuration key '\''service_enabled'\'' edited in app settings'
2022-02-06 09:55:14,007: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:14,009: INFO - Configuration key 'service_enabled' edited in app settings
2022-02-06 09:55:14,019: DEBUG - + ynh_app_config_apply_one crt_client_ta
2022-02-06 09:55:14,022: DEBUG - + _ynh_app_config_apply_one crt_client_ta
2022-02-06 09:55:14,024: DEBUG - + local short_setting=crt_client_ta
2022-02-06 09:55:14,028: DEBUG - + local setter=set__crt_client_ta
2022-02-06 09:55:14,031: DEBUG - + local bind=/etc/openvpn/keys/user_ta.key
2022-02-06 09:55:14,033: DEBUG - + local type=file
2022-02-06 09:55:14,036: DEBUG - + '[' false == true ']'
2022-02-06 09:55:14,038: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:14,040: DEBUG - + ynh_app_config_apply_one login_user
2022-02-06 09:55:14,043: DEBUG - + _ynh_app_config_apply_one login_user
2022-02-06 09:55:14,045: DEBUG - + local short_setting=login_user
2022-02-06 09:55:14,048: DEBUG - + local setter=set__login_user
2022-02-06 09:55:14,050: DEBUG - + local bind=settings
2022-02-06 09:55:14,052: DEBUG - + local type=string
2022-02-06 09:55:14,055: DEBUG - + '[' false == true ']'
2022-02-06 09:55:14,058: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:14,060: DEBUG - + ynh_app_config_apply_one crt_server_ca
2022-02-06 09:55:14,062: DEBUG - + _ynh_app_config_apply_one crt_server_ca
2022-02-06 09:55:14,064: DEBUG - + local short_setting=crt_server_ca
2022-02-06 09:55:14,076: DEBUG - + local setter=set__crt_server_ca
2022-02-06 09:55:14,080: DEBUG - + local bind=/etc/openvpn/keys/ca-server.crt
2022-02-06 09:55:14,083: DEBUG - + local type=file
2022-02-06 09:55:14,088: DEBUG - + '[' false == true ']'
2022-02-06 09:55:14,090: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:14,093: DEBUG - + ynh_app_config_apply_one dns_method
2022-02-06 09:55:14,096: DEBUG - + _ynh_app_config_apply_one dns_method
2022-02-06 09:55:14,099: DEBUG - + local short_setting=dns_method
2022-02-06 09:55:14,102: DEBUG - + local setter=set__dns_method
2022-02-06 09:55:14,104: DEBUG - + local bind=settings
2022-02-06 09:55:14,113: DEBUG - + local type=select
2022-02-06 09:55:14,115: DEBUG - + '[' false == true ']'
2022-02-06 09:55:14,117: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:14,120: DEBUG - + ynh_app_config_apply_one crt_client_key
2022-02-06 09:55:14,123: DEBUG - + _ynh_app_config_apply_one crt_client_key
2022-02-06 09:55:14,125: DEBUG - + local short_setting=crt_client_key
2022-02-06 09:55:14,128: DEBUG - + local setter=set__crt_client_key
2022-02-06 09:55:14,130: DEBUG - + local bind=**********
2022-02-06 09:55:14,132: DEBUG - + local type=file
2022-02-06 09:55:14,135: DEBUG - + '[' false == true ']'
2022-02-06 09:55:14,138: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:14,140: DEBUG - + ynh_app_config_apply_one status
2022-02-06 09:55:14,143: DEBUG - + _ynh_app_config_apply_one status
2022-02-06 09:55:14,152: DEBUG - + local short_setting=status
2022-02-06 09:55:14,154: DEBUG - + local setter=set__status
2022-02-06 09:55:14,157: DEBUG - + local bind=settings
2022-02-06 09:55:14,159: DEBUG - + local type=alert
2022-02-06 09:55:14,162: DEBUG - + '[' false == true ']'
2022-02-06 09:55:14,167: DEBUG - + for short_setting in "${!old[@]}"
2022-02-06 09:55:14,170: DEBUG - + ynh_app_config_apply_one ip6_addr
2022-02-06 09:55:14,172: DEBUG - + _ynh_app_config_apply_one ip6_addr
2022-02-06 09:55:14,175: DEBUG - + local short_setting=ip6_addr
2022-02-06 09:55:14,177: DEBUG - + local setter=set__ip6_addr
2022-02-06 09:55:14,187: DEBUG - + local bind=settings
2022-02-06 09:55:14,189: DEBUG - + local type=string
2022-02-06 09:55:14,191: DEBUG - + '[' false == true ']'
2022-02-06 09:55:14,200: DEBUG - + set_permissions /etc/openvpn/client.conf
2022-02-06 09:55:14,203: DEBUG - + local file=/etc/openvpn/client.conf
2022-02-06 09:55:14,206: DEBUG - + '[' -f /etc/openvpn/client.conf ']'
2022-02-06 09:55:14,211: DEBUG - + chown vpnclient:vpnclient /etc/openvpn/client.conf
2022-02-06 09:55:14,222: DEBUG - + chmod go=--- /etc/openvpn/client.conf
2022-02-06 09:55:14,225: DEBUG - + set_permissions /etc/openvpn/keys/ca-server.crt
2022-02-06 09:55:14,227: DEBUG - + local file=/etc/openvpn/keys/ca-server.crt
2022-02-06 09:55:14,238: DEBUG - + '[' -f /etc/openvpn/keys/ca-server.crt ']'
2022-02-06 09:55:14,240: DEBUG - + chown vpnclient:vpnclient /etc/openvpn/keys/ca-server.crt
2022-02-06 09:55:14,242: DEBUG - + chmod go=--- /etc/openvpn/keys/ca-server.crt
2022-02-06 09:55:14,245: DEBUG - + set_permissions /etc/openvpn/keys/user.crt
2022-02-06 09:55:14,251: DEBUG - + local file=/etc/openvpn/keys/user.crt
2022-02-06 09:55:14,254: DEBUG - + '[' -f /etc/openvpn/keys/user.crt ']'
2022-02-06 09:55:14,256: DEBUG - + chown vpnclient:vpnclient /etc/openvpn/keys/user.crt
2022-02-06 09:55:14,263: DEBUG - + chmod go=--- /etc/openvpn/keys/user.crt
2022-02-06 09:55:14,267: DEBUG - + set_permissions **********
2022-02-06 09:55:14,269: DEBUG - + local file=**********
2022-02-06 09:55:14,272: DEBUG - + '[' -f ********** ']'
2022-02-06 09:55:14,275: DEBUG - + chown vpnclient:vpnclient **********
2022-02-06 09:55:14,277: DEBUG - + chmod go=--- **********
2022-02-06 09:55:14,280: DEBUG - + set_permissions /etc/openvpn/keys/user_ta.key
2022-02-06 09:55:14,283: DEBUG - + local file=/etc/openvpn/keys/user_ta.key
2022-02-06 09:55:14,285: DEBUG - + '[' -f /etc/openvpn/keys/user_ta.key ']'
2022-02-06 09:55:14,287: DEBUG - + chown vpnclient:vpnclient /etc/openvpn/keys/user_ta.key
2022-02-06 09:55:14,290: DEBUG - + chmod go=--- /etc/openvpn/keys/user_ta.key
2022-02-06 09:55:14,292: DEBUG - + ynh_print_info '--message=Starting vpnclient service if needed'
2022-02-06 09:55:14,364: INFO - Starting vpnclient service if needed
2022-02-06 09:55:14,372: DEBUG - + /usr/local/bin/ynh-vpnclient start
2022-02-06 09:55:14,495: DEBUG - [INFO] Retrieving Yunohost settings...
2022-02-06 09:55:15,012: DEBUG - [ OK ] Settings retrieved
2022-02-06 09:55:15,168: DEBUG - [INFO] [vpnclient] Starting...
2022-02-06 09:55:15,228: DEBUG - [INFO] Cleaning vpnclient custom rules from the firewall
2022-02-06 09:55:15,252: DEBUG - [INFO] Restarting yunohost firewall...
2022-02-06 09:55:18,616: WARNING - Could not execute the command 'systemctl reload fail2ban'
2022-02-06 09:55:18,952: DEBUG - [ OK ] Firewall restarted!
2022-02-06 09:55:18,964: DEBUG - [INFO] Now synchronizing time using ntp...
2022-02-06 09:55:27,225: DEBUG - [INFO] Now actually starting OpenVPN client...
2022-02-06 09:55:27,518: WARNING - Job for openvpn@client.service failed because the control process exited with error code.
2022-02-06 09:55:27,525: WARNING - See "systemctl status openvpn@client.service" and "journalctl -xe" for details.
2022-02-06 09:55:27,537: DEBUG - Sun Feb 6 09:52:34 2022 WARNING: cannot stat file '/etc/openvpn/keys/user-ta.key': No such file or directory (errno=2)
2022-02-06 09:55:27,539: DEBUG - Options error: --tls-auth fails with '/etc/openvpn/keys/user-ta.key': No such file or directory (errno=2)
2022-02-06 09:55:27,542: DEBUG - Options error: Please correct these errors.
2022-02-06 09:55:27,544: DEBUG - Use --help for more information.
2022-02-06 09:55:27,547: DEBUG - Sun Feb 6 09:52:35 2022 WARNING: cannot stat file '/etc/openvpn/keys/user-ta.key': No such file or directory (errno=2)
2022-02-06 09:55:27,549: DEBUG - Options error: --tls-auth fails with '/etc/openvpn/keys/user-ta.key': No such file or directory (errno=2)
2022-02-06 09:55:27,552: DEBUG - Options error: Please correct these errors.
2022-02-06 09:55:27,555: DEBUG - Use --help for more information.
2022-02-06 09:55:27,558: DEBUG - Sun Feb 6 09:52:36 2022 WARNING: cannot stat file '/etc/openvpn/keys/user-ta.key': No such file or directory (errno=2)
2022-02-06 09:55:27,560: DEBUG - Options error: --tls-auth fails with '/etc/openvpn/keys/user-ta.key': No such file or directory (errno=2)
2022-02-06 09:55:27,563: DEBUG - Options error: Please correct these errors.
2022-02-06 09:55:27,565: DEBUG - Use --help for more information.
2022-02-06 09:55:27,569: DEBUG - Sun Feb 6 09:52:38 2022 WARNING: cannot stat file '/etc/openvpn/keys/user-ta.key': No such file or directory (errno=2)
2022-02-06 09:55:27,572: DEBUG - Options error: --tls-auth fails with '/etc/openvpn/keys/user-ta.key': No such file or directory (errno=2)
2022-02-06 09:55:27,574: DEBUG - Options error: Please correct these errors.
2022-02-06 09:55:27,576: DEBUG - Use --help for more information.
2022-02-06 09:55:27,578: DEBUG - Sun Feb 6 09:55:27 2022 WARNING: cannot stat file '/etc/openvpn/keys/user-ta.key': No such file or directory (errno=2)
2022-02-06 09:55:27,579: DEBUG - Options error: --tls-auth fails with '/etc/openvpn/keys/user-ta.key': No such file or directory (errno=2)
2022-02-06 09:55:27,581: DEBUG - Options error: Please correct these errors.
2022-02-06 09:55:27,583: DEBUG - Use --help for more information.
2022-02-06 09:55:27,584: WARNING - [CRIT] Failed to start OpenVPN :/
2022-02-06 09:55:27,589: DEBUG - + ynh_exit_properly