VPN Client Using OVPN File Failed

Hi,
i got an error while using ovpn file from my vpn provider (ivacy) with vpn client,
just a note, i did use ivacy at the past with the old version of vpn client without any issues,

here is the error log please: (the ovpn file syntax is at the bottom underneath this log)
args:
app: vpnclient
args_file: null
key: main
value: null
ended_at: 2022-11-05 14:43:13.911651
error: Failed to apply config panel values.
interface: api
operation: app_config_set
parent: null
related_to:

    • app
    • vpnclient
      started_at: 2022-11-05 14:42:41.286646
      success: false
      yunohost_version: 11.0.10.2

============

2022-11-05 16:42:41,303: DEBUG - Calling ‘apply’ action from config script
2022-11-05 16:42:41,306: DEBUG - Executing command ‘[‘sh’, ‘-c’, ‘/bin/bash -x “./config” apply 7>&1’]’
2022-11-05 16:42:41,352: DEBUG - + source _common.sh
2022-11-05 16:42:41,354: DEBUG - ++ pkg_dependencies=‘sipcalc dnsutils openvpn curl fake-hwclock’
2022-11-05 16:42:41,354: DEBUG - ++ service_name=ynh-vpnclient
2022-11-05 16:42:41,354: DEBUG - ++ service_checker_name=ynh-vpnclient-checker
2022-11-05 16:42:41,355: DEBUG - + source /usr/share/yunohost/helpers
2022-11-05 16:42:41,355: DEBUG - +++ set +o
2022-11-05 16:42:41,356: DEBUG - +++ grep xtrace
2022-11-05 16:42:41,358: DEBUG - ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2022-11-05 16:42:41,358: DEBUG - ++ XTRACE_ENABLE=‘set -o xtrace’
2022-11-05 16:42:41,399: DEBUG - + ynh_abort_if_errors
2022-11-05 16:42:41,399: DEBUG - + trap ynh_exit_properly EXIT
2022-11-05 16:42:41,400: DEBUG - + BACKTICK=‘`’
2022-11-05 16:42:41,400: DEBUG - + TRIPLEBACKTICKS=‘' 2022-11-05 16:42:41,400: DEBUG - + ynh_app_config_run apply 2022-11-05 16:42:41,401: DEBUG - + old=() 2022-11-05 16:42:41,401: DEBUG - + declare -Ag old 2022-11-05 16:42:41,401: DEBUG - + changed=() 2022-11-05 16:42:41,401: DEBUG - + declare -Ag changed 2022-11-05 16:42:41,402: DEBUG - + file_hash=() 2022-11-05 16:42:41,402: DEBUG - + declare -Ag file_hash 2022-11-05 16:42:41,402: DEBUG - + binds=() 2022-11-05 16:42:41,402: DEBUG - + declare -Ag binds 2022-11-05 16:42:41,402: DEBUG - + types=() 2022-11-05 16:42:41,403: DEBUG - + declare -Ag types 2022-11-05 16:42:41,403: DEBUG - + formats=() 2022-11-05 16:42:41,403: DEBUG - + declare -Ag formats 2022-11-05 16:42:41,403: DEBUG - + case $1 in 2022-11-05 16:42:41,403: DEBUG - + max_progression=4 2022-11-05 16:42:41,556: DEBUG - + ynh_app_config_get 2022-11-05 16:42:41,557: DEBUG - + _ynh_app_config_get 2022-11-05 16:42:41,557: INFO - [+++++...............] > Reading config panel description and current configuration... 2022-11-05 16:42:41,559: DEBUG - ++ python3 2022-11-05 16:42:41,759: DEBUG - + lines='status;alert;settings 2022-11-05 16:42:41,760: DEBUG - service_enabled;boolean;settings 2022-11-05 16:42:41,761: DEBUG - doc;alert;settings 2022-11-05 16:42:41,761: DEBUG - config_file;file;/etc/openvpn/client.conf 2022-11-05 16:42:41,761: DEBUG - crt_server_ca;file;/etc/openvpn/keys/ca-server.crt 2022-11-05 16:42:41,762: DEBUG - crt_client;file;/etc/openvpn/keys/user.crt 2022-11-05 16:42:41,762: DEBUG - crt_client_key;file;/etc/openvpn/keys/user.key 2022-11-05 16:42:41,763: DEBUG - login_user;string;settings 2022-11-05 16:42:41,763: DEBUG - login_passphrase;password;settings 2022-11-05 16:42:41,764: DEBUG - crt_client_ta;file;/etc/openvpn/keys/user_ta.key 2022-11-05 16:42:41,764: DEBUG - dns_method;select;settings 2022-11-05 16:42:41,764: DEBUG - nameservers;tags;settings 2022-11-05 16:42:41,765: DEBUG - ip6_net;string;settings 2022-11-05 16:42:41,765: DEBUG - ip6_addr;string;settings' 2022-11-05 16:42:41,766: DEBUG - + for line in $lines 2022-11-05 16:42:41,767: DEBUG - + IFS=';' 2022-11-05 16:42:41,767: DEBUG - + read short_setting type bind 2022-11-05 16:42:41,767: DEBUG - + binds[${short_setting}]=settings 2022-11-05 16:42:41,767: DEBUG - + types[${short_setting}]=alert 2022-11-05 16:42:41,768: DEBUG - + file_hash[${short_setting}]= 2022-11-05 16:42:41,768: DEBUG - + formats[${short_setting}]= 2022-11-05 16:42:41,768: DEBUG - + ynh_app_config_get_one status alert settings 2022-11-05 16:42:41,768: DEBUG - + _ynh_app_config_get_one status alert settings 2022-11-05 16:42:41,768: DEBUG - + local short_setting=status 2022-11-05 16:42:41,769: DEBUG - + local type=alert 2022-11-05 16:42:41,769: DEBUG - + local bind=settings 2022-11-05 16:42:41,769: DEBUG - + local getter=get__status 2022-11-05 16:42:41,769: DEBUG - + type -t get__status 2022-11-05 16:42:41,769: DEBUG - + grep -q '^function$' 2022-11-05 16:42:41,770: DEBUG - ++ get__status 2022-11-05 16:42:41,787: DEBUG - +++ ynh_app_setting_get vpnclient service_enabled 2022-11-05 16:42:41,789: DEBUG - +++ local _globalapp=vpnclient 2022-11-05 16:42:41,910: DEBUG - +++ app=vpnclient 2022-11-05 16:42:41,918: DEBUG - +++ [[ service_enabled =~ (unprotected|protected|skipped)_ ]] 2022-11-05 16:42:41,921: DEBUG - +++ ynh_app_setting get vpnclient service_enabled 2022-11-05 16:42:42,112: DEBUG - ++ local service_enabled=1 2022-11-05 16:42:42,114: DEBUG - +++ ping -w3 -c1 ip.yunohost.org 2022-11-05 16:42:42,206: DEBUG - +++ curl --max-time 5 https://ip.yunohost.org --silent 2022-11-05 16:42:42,655: DEBUG - ++ ipv4=xx.xx.xx.xx 2022-11-05 16:42:42,656: DEBUG - +++ ping -w3 -c1 ip6.yunohost.org 2022-11-05 16:42:42,661: DEBUG - ++ ipv6= 2022-11-05 16:42:42,662: DEBUG - ++ ip route get 1.2.3.4 2022-11-05 16:42:42,663: DEBUG - ++ grep -q tun0 2022-11-05 16:42:42,667: DEBUG - ++ cat 2022-11-05 16:42:42,669: DEBUG - +++ journalctl -u ynh-vpnclient -o cat 2022-11-05 16:42:42,669: DEBUG - +++ sed 's/^/ /g' 2022-11-05 16:42:42,669: DEBUG - +++ tail -n 15 2022-11-05 16:42:42,785: DEBUG - + old[$short_setting]='style: danger 2022-11-05 16:42:42,786: DEBUG - ask: 2022-11-05 16:42:42,787: DEBUG - en: |- 2022-11-05 16:42:42,787: DEBUG - The VPN is down ! Here are errors logged in the last few minutes 2022-11-05 16:42:42,787: DEBUG -
2022-11-05 16:42:42,787: DEBUG - [ OK ] Settings retrieved
2022-11-05 16:42:42,788: DEBUG - [WARN] Service is disabled, not starting it
2022-11-05 16:42:42,788: DEBUG - Finished YunoHost VPN Client…
2022-11-05 16:42:42,788: DEBUG - Stopping YunoHost VPN Client…
2022-11-05 16:42:42,788: DEBUG - [INFO] Retrieving Yunohost settings…
2022-11-05 16:42:42,788: DEBUG - [ OK ] Settings retrieved
2022-11-05 16:42:42,788: DEBUG - [INFO] [vpnclient] Stopping…
2022-11-05 16:42:42,788: DEBUG - [INFO] Removing custom DNS resolvers from vpnclient
2022-11-05 16:42:42,789: DEBUG - ynh-vpnclient.service: Succeeded.
2022-11-05 16:42:42,789: DEBUG - Stopped YunoHost VPN Client…
2022-11-05 16:42:42,789: DEBUG - Starting YunoHost VPN Client…
2022-11-05 16:42:42,789: DEBUG - [INFO] Retrieving Yunohost settings…
2022-11-05 16:42:42,789: DEBUG - [ OK ] Settings retrieved
2022-11-05 16:42:42,789: DEBUG - [WARN] Service is disabled, not starting it
2022-11-05 16:42:42,789: DEBUG - Finished YunoHost VPN Client…
2022-11-05 16:42:42,790: DEBUG - ' 2022-11-05 16:42:42,808: DEBUG - + formats[${short_setting}]=yaml 2022-11-05 16:42:42,812: DEBUG - + for line in $lines 2022-11-05 16:42:42,812: DEBUG - + IFS=';' 2022-11-05 16:42:42,814: DEBUG - + read short_setting type bind 2022-11-05 16:42:42,815: DEBUG - + binds[${short_setting}]=settings 2022-11-05 16:42:42,815: DEBUG - + types[${short_setting}]=boolean 2022-11-05 16:42:42,815: DEBUG - + file_hash[${short_setting}]= 2022-11-05 16:42:42,815: DEBUG - + formats[${short_setting}]= 2022-11-05 16:42:42,815: DEBUG - + ynh_app_config_get_one service_enabled boolean settings 2022-11-05 16:42:42,816: DEBUG - + _ynh_app_config_get_one service_enabled boolean settings 2022-11-05 16:42:42,816: DEBUG - + local short_setting=service_enabled 2022-11-05 16:42:42,816: DEBUG - + local type=boolean 2022-11-05 16:42:42,816: DEBUG - + local bind=settings 2022-11-05 16:42:42,816: DEBUG - + local getter=get__service_enabled 2022-11-05 16:42:42,817: DEBUG - + type -t get__service_enabled 2022-11-05 16:42:42,817: DEBUG - + grep -q '^function$' 2022-11-05 16:42:42,819: DEBUG - + [[ settings == *\(* ]] 2022-11-05 16:42:42,820: DEBUG - + [[ settings == \n\u\l\l ]] 2022-11-05 16:42:42,820: DEBUG - + [[ boolean == \f\i\l\e ]] 2022-11-05 16:42:42,821: DEBUG - + [[ boolean == \t\e\x\t ]] 2022-11-05 16:42:42,821: DEBUG - + local bind_after= 2022-11-05 16:42:42,822: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]] 2022-11-05 16:42:42,822: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:42,823: DEBUG - ++ cut -d: -f1 2022-11-05 16:42:42,824: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:42,824: DEBUG - + local bind_key_= 2022-11-05 16:42:42,824: DEBUG - + bind_key_=service_enabled 2022-11-05 16:42:42,824: DEBUG - + [[ service_enabled == *\>* ]] 2022-11-05 16:42:42,825: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:42,825: DEBUG - ++ cut -d: -f2 2022-11-05 16:42:42,825: DEBUG - ++ sed s@__FINALPATH__@@ 2022-11-05 16:42:42,826: DEBUG - ++ sed s/__APP__/vpnclient/ 2022-11-05 16:42:42,829: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:42,836: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=service_enabled --after= 2022-11-05 16:42:43,044: DEBUG - ++ after= 2022-11-05 16:42:43,045: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]] 2022-11-05 16:42:43,088: DEBUG - + old[$short_setting]=1 2022-11-05 16:42:43,089: DEBUG - + for line in $lines 2022-11-05 16:42:43,089: DEBUG - + IFS=';' 2022-11-05 16:42:43,089: DEBUG - + read short_setting type bind 2022-11-05 16:42:43,090: DEBUG - + binds[${short_setting}]=settings 2022-11-05 16:42:43,091: DEBUG - + types[${short_setting}]=alert 2022-11-05 16:42:43,100: DEBUG - + file_hash[${short_setting}]= 2022-11-05 16:42:43,100: DEBUG - + formats[${short_setting}]= 2022-11-05 16:42:43,101: DEBUG - + ynh_app_config_get_one doc alert settings 2022-11-05 16:42:43,103: DEBUG - + _ynh_app_config_get_one doc alert settings 2022-11-05 16:42:43,104: DEBUG - + local short_setting=doc 2022-11-05 16:42:43,104: DEBUG - + local type=alert 2022-11-05 16:42:43,105: DEBUG - + local bind=settings 2022-11-05 16:42:43,106: DEBUG - + local getter=get__doc 2022-11-05 16:42:43,109: DEBUG - + type -t get__doc 2022-11-05 16:42:43,132: DEBUG - + grep -q '^function$' 2022-11-05 16:42:43,133: DEBUG - + [[ settings == *\(* ]] 2022-11-05 16:42:43,134: DEBUG - + [[ settings == \n\u\l\l ]] 2022-11-05 16:42:43,135: DEBUG - + [[ alert == \f\i\l\e ]] 2022-11-05 16:42:43,135: DEBUG - + [[ alert == \t\e\x\t ]] 2022-11-05 16:42:43,136: DEBUG - + local bind_after= 2022-11-05 16:42:43,136: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]] 2022-11-05 16:42:43,136: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:43,136: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:43,136: DEBUG - ++ cut -d: -f1 2022-11-05 16:42:43,136: DEBUG - + local bind_key_= 2022-11-05 16:42:43,137: DEBUG - + bind_key_=doc 2022-11-05 16:42:43,137: DEBUG - + [[ doc == *\>* ]] 2022-11-05 16:42:43,137: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:43,138: DEBUG - ++ cut -d: -f2 2022-11-05 16:42:43,138: DEBUG - ++ sed s/__APP__/vpnclient/ 2022-11-05 16:42:43,139: DEBUG - ++ sed s@__FINALPATH__@@ 2022-11-05 16:42:43,142: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:43,143: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=doc --after= 2022-11-05 16:42:43,365: DEBUG - ++ after= 2022-11-05 16:42:43,369: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]] 2022-11-05 16:42:43,400: DEBUG - ++ echo YNH_NULL 2022-11-05 16:42:43,400: DEBUG - ++ return 0 2022-11-05 16:42:43,401: DEBUG - + old[$short_setting]=YNH_NULL 2022-11-05 16:42:43,402: DEBUG - + for line in $lines 2022-11-05 16:42:43,402: DEBUG - + IFS=';' 2022-11-05 16:42:43,403: DEBUG - + read short_setting type bind 2022-11-05 16:42:43,403: DEBUG - + binds[${short_setting}]=/etc/openvpn/client.conf 2022-11-05 16:42:43,403: DEBUG - + types[${short_setting}]=file 2022-11-05 16:42:43,404: DEBUG - + file_hash[${short_setting}]= 2022-11-05 16:42:43,404: DEBUG - + formats[${short_setting}]= 2022-11-05 16:42:43,404: DEBUG - + ynh_app_config_get_one config_file file /etc/openvpn/client.conf 2022-11-05 16:42:43,405: DEBUG - + _ynh_app_config_get_one config_file file /etc/openvpn/client.conf 2022-11-05 16:42:43,405: DEBUG - + local short_setting=config_file 2022-11-05 16:42:43,405: DEBUG - + local type=file 2022-11-05 16:42:43,405: DEBUG - + local bind=/etc/openvpn/client.conf 2022-11-05 16:42:43,405: DEBUG - + local getter=get__config_file 2022-11-05 16:42:43,406: DEBUG - + type -t get__config_file 2022-11-05 16:42:43,407: DEBUG - + grep -q '^function$' 2022-11-05 16:42:43,409: DEBUG - + [[ /etc/openvpn/client.conf == *\(* ]] 2022-11-05 16:42:43,410: DEBUG - + [[ /etc/openvpn/client.conf == \n\u\l\l ]] 2022-11-05 16:42:43,424: DEBUG - + [[ file == \f\i\l\e ]] 2022-11-05 16:42:43,425: DEBUG - + [[ /etc/openvpn/client.conf == \s\e\t\t\i\n\g\s ]] 2022-11-05 16:42:43,435: DEBUG - +++ echo /etc/openvpn/client.conf 2022-11-05 16:42:43,435: DEBUG - +++ sed s@__FINALPATH__@@ 2022-11-05 16:42:43,435: DEBUG - +++ sed s/__APP__/vpnclient/ 2022-11-05 16:42:43,437: DEBUG - ++ ls /etc/openvpn/client.conf 2022-11-05 16:42:43,440: DEBUG - + old[$short_setting]=/etc/openvpn/client.conf 2022-11-05 16:42:43,441: DEBUG - + file_hash[$short_setting]=true 2022-11-05 16:42:43,441: DEBUG - + for line in $lines 2022-11-05 16:42:43,442: DEBUG - + IFS=';' 2022-11-05 16:42:43,442: DEBUG - + read short_setting type bind 2022-11-05 16:42:43,443: DEBUG - + binds[${short_setting}]=/etc/openvpn/keys/ca-server.crt 2022-11-05 16:42:43,444: DEBUG - + types[${short_setting}]=file 2022-11-05 16:42:43,445: DEBUG - + file_hash[${short_setting}]= 2022-11-05 16:42:43,445: DEBUG - + formats[${short_setting}]= 2022-11-05 16:42:43,446: DEBUG - + ynh_app_config_get_one crt_server_ca file /etc/openvpn/keys/ca-server.crt 2022-11-05 16:42:43,446: DEBUG - + _ynh_app_config_get_one crt_server_ca file /etc/openvpn/keys/ca-server.crt 2022-11-05 16:42:43,446: DEBUG - + local short_setting=crt_server_ca 2022-11-05 16:42:43,447: DEBUG - + local type=file 2022-11-05 16:42:43,447: DEBUG - + local bind=/etc/openvpn/keys/ca-server.crt 2022-11-05 16:42:43,447: DEBUG - + local getter=get__crt_server_ca 2022-11-05 16:42:43,447: DEBUG - + type -t get__crt_server_ca 2022-11-05 16:42:43,447: DEBUG - + grep -q '^function$' 2022-11-05 16:42:43,448: DEBUG - + [[ /etc/openvpn/keys/ca-server.crt == *\(* ]] 2022-11-05 16:42:43,448: DEBUG - + [[ /etc/openvpn/keys/ca-server.crt == \n\u\l\l ]] 2022-11-05 16:42:43,448: DEBUG - + [[ file == \f\i\l\e ]] 2022-11-05 16:42:43,448: DEBUG - + [[ /etc/openvpn/keys/ca-server.crt == \s\e\t\t\i\n\g\s ]] 2022-11-05 16:42:43,449: DEBUG - +++ echo /etc/openvpn/keys/ca-server.crt 2022-11-05 16:42:43,450: DEBUG - +++ sed s@__FINALPATH__@@ 2022-11-05 16:42:43,459: DEBUG - +++ sed s/__APP__/vpnclient/ 2022-11-05 16:42:43,482: DEBUG - ++ ls /etc/openvpn/keys/ca-server.crt 2022-11-05 16:42:43,491: DEBUG - + old[$short_setting]=/etc/openvpn/keys/ca-server.crt 2022-11-05 16:42:43,491: DEBUG - + file_hash[$short_setting]=true 2022-11-05 16:42:43,492: DEBUG - + for line in $lines 2022-11-05 16:42:43,492: DEBUG - + IFS=';' 2022-11-05 16:42:43,493: DEBUG - + read short_setting type bind 2022-11-05 16:42:43,493: DEBUG - + binds[${short_setting}]=/etc/openvpn/keys/user.crt 2022-11-05 16:42:43,493: DEBUG - + types[${short_setting}]=file 2022-11-05 16:42:43,494: DEBUG - + file_hash[${short_setting}]= 2022-11-05 16:42:43,494: DEBUG - + formats[${short_setting}]= 2022-11-05 16:42:43,494: DEBUG - + ynh_app_config_get_one crt_client file /etc/openvpn/keys/user.crt 2022-11-05 16:42:43,494: DEBUG - + _ynh_app_config_get_one crt_client file /etc/openvpn/keys/user.crt 2022-11-05 16:42:43,494: DEBUG - + local short_setting=crt_client 2022-11-05 16:42:43,495: DEBUG - + local type=file 2022-11-05 16:42:43,495: DEBUG - + local bind=/etc/openvpn/keys/user.crt 2022-11-05 16:42:43,495: DEBUG - + local getter=get__crt_client 2022-11-05 16:42:43,495: DEBUG - + type -t get__crt_client 2022-11-05 16:42:43,495: DEBUG - + grep -q '^function$' 2022-11-05 16:42:43,496: DEBUG - + [[ /etc/openvpn/keys/user.crt == *\(* ]] 2022-11-05 16:42:43,496: DEBUG - + [[ /etc/openvpn/keys/user.crt == \n\u\l\l ]] 2022-11-05 16:42:43,497: DEBUG - + [[ file == \f\i\l\e ]] 2022-11-05 16:42:43,497: DEBUG - + [[ /etc/openvpn/keys/user.crt == \s\e\t\t\i\n\g\s ]] 2022-11-05 16:42:43,498: DEBUG - +++ echo /etc/openvpn/keys/user.crt 2022-11-05 16:42:43,499: DEBUG - +++ sed s/__APP__/vpnclient/ 2022-11-05 16:42:43,500: DEBUG - +++ sed s@__FINALPATH__@@ 2022-11-05 16:42:43,503: DEBUG - ++ ls /etc/openvpn/keys/user.crt 2022-11-05 16:42:43,507: DEBUG - + old[$short_setting]=/etc/openvpn/keys/user.crt 2022-11-05 16:42:43,507: DEBUG - + file_hash[$short_setting]=true 2022-11-05 16:42:43,508: DEBUG - + for line in $lines 2022-11-05 16:42:43,508: DEBUG - + IFS=';' 2022-11-05 16:42:43,508: DEBUG - + read short_setting type bind 2022-11-05 16:42:43,508: DEBUG - + binds[${short_setting}]=/etc/openvpn/keys/user.key 2022-11-05 16:42:43,508: DEBUG - + types[${short_setting}]=file 2022-11-05 16:42:43,508: DEBUG - + file_hash[${short_setting}]= 2022-11-05 16:42:43,509: DEBUG - + formats[${short_setting}]= 2022-11-05 16:42:43,509: DEBUG - + ynh_app_config_get_one crt_client_key file /etc/openvpn/keys/user.key 2022-11-05 16:42:43,509: DEBUG - + _ynh_app_config_get_one crt_client_key file /etc/openvpn/keys/user.key 2022-11-05 16:42:43,509: DEBUG - + local short_setting=crt_client_key 2022-11-05 16:42:43,509: DEBUG - + local type=file 2022-11-05 16:42:43,509: DEBUG - + local bind=/etc/openvpn/keys/user.key 2022-11-05 16:42:43,510: DEBUG - + local getter=get__crt_client_key 2022-11-05 16:42:43,510: DEBUG - + type -t get__crt_client_key 2022-11-05 16:42:43,512: DEBUG - + grep -q '^function$' 2022-11-05 16:42:43,522: DEBUG - + [[ /etc/openvpn/keys/user.key == *\(* ]] 2022-11-05 16:42:43,523: DEBUG - + [[ /etc/openvpn/keys/user.key == \n\u\l\l ]] 2022-11-05 16:42:43,523: DEBUG - + [[ file == \f\i\l\e ]] 2022-11-05 16:42:43,524: DEBUG - + [[ /etc/openvpn/keys/user.key == \s\e\t\t\i\n\g\s ]] 2022-11-05 16:42:43,547: DEBUG - +++ echo /etc/openvpn/keys/user.key 2022-11-05 16:42:43,552: DEBUG - +++ sed s/__APP__/vpnclient/ 2022-11-05 16:42:43,554: DEBUG - +++ sed s@__FINALPATH__@@ 2022-11-05 16:42:43,555: DEBUG - ++ ls /etc/openvpn/keys/user.key 2022-11-05 16:42:43,558: DEBUG - + old[$short_setting]=/etc/openvpn/keys/user.key 2022-11-05 16:42:43,559: DEBUG - + file_hash[$short_setting]=true 2022-11-05 16:42:43,559: DEBUG - + for line in $lines 2022-11-05 16:42:43,559: DEBUG - + IFS=';' 2022-11-05 16:42:43,560: DEBUG - + read short_setting type bind 2022-11-05 16:42:43,560: DEBUG - + binds[${short_setting}]=settings 2022-11-05 16:42:43,560: DEBUG - + types[${short_setting}]=string 2022-11-05 16:42:43,560: DEBUG - + file_hash[${short_setting}]= 2022-11-05 16:42:43,560: DEBUG - + formats[${short_setting}]= 2022-11-05 16:42:43,560: DEBUG - + ynh_app_config_get_one login_user string settings 2022-11-05 16:42:43,561: DEBUG - + _ynh_app_config_get_one login_user string settings 2022-11-05 16:42:43,561: DEBUG - + local short_setting=login_user 2022-11-05 16:42:43,561: DEBUG - + local type=string 2022-11-05 16:42:43,561: DEBUG - + local bind=settings 2022-11-05 16:42:43,561: DEBUG - + local getter=get__login_user 2022-11-05 16:42:43,561: DEBUG - + type -t get__login_user 2022-11-05 16:42:43,561: DEBUG - + grep -q '^function$' 2022-11-05 16:42:43,563: DEBUG - ++ get__login_user 2022-11-05 16:42:43,564: DEBUG - ++ '[' -s /etc/openvpn/keys/credentials ']' 2022-11-05 16:42:43,564: DEBUG - ++ echo '' 2022-11-05 16:42:43,565: DEBUG - + old[$short_setting]= 2022-11-05 16:42:43,566: DEBUG - + formats[${short_setting}]=yaml 2022-11-05 16:42:43,566: DEBUG - + for line in $lines 2022-11-05 16:42:43,567: DEBUG - + IFS=';' 2022-11-05 16:42:43,567: DEBUG - + read short_setting type bind 2022-11-05 16:42:43,567: DEBUG - + binds[${short_setting}]=settings 2022-11-05 16:42:43,568: DEBUG - + types[${short_setting}]=password 2022-11-05 16:42:43,568: DEBUG - + file_hash[${short_setting}]= 2022-11-05 16:42:43,568: DEBUG - + formats[${short_setting}]= 2022-11-05 16:42:43,568: DEBUG - + ynh_app_config_get_one login_passphrase password settings 2022-11-05 16:42:43,568: DEBUG - + _ynh_app_config_get_one login_passphrase password settings 2022-11-05 16:42:43,569: DEBUG - + local short_setting=login_passphrase 2022-11-05 16:42:43,569: DEBUG - + local type=password 2022-11-05 16:42:43,569: DEBUG - + local bind=settings 2022-11-05 16:42:43,569: DEBUG - + local getter=get__login_passphrase 2022-11-05 16:42:43,569: DEBUG - + type -t get__login_passphrase 2022-11-05 16:42:43,569: DEBUG - + grep -q '^function$' 2022-11-05 16:42:43,580: DEBUG - ++ get__login_passphrase 2022-11-05 16:42:43,581: DEBUG - ++ '[' -s /etc/openvpn/keys/credentials ']' 2022-11-05 16:42:43,582: DEBUG - ++ echo '' 2022-11-05 16:42:43,584: DEBUG - + old[$short_setting]= 2022-11-05 16:42:43,586: DEBUG - + formats[${short_setting}]=yaml 2022-11-05 16:42:43,589: DEBUG - + for line in $lines 2022-11-05 16:42:43,591: DEBUG - + IFS=';' 2022-11-05 16:42:43,592: DEBUG - + read short_setting type bind 2022-11-05 16:42:43,592: DEBUG - + binds[${short_setting}]=/etc/openvpn/keys/user_ta.key 2022-11-05 16:42:43,593: DEBUG - + types[${short_setting}]=file 2022-11-05 16:42:43,593: DEBUG - + file_hash[${short_setting}]= 2022-11-05 16:42:43,593: DEBUG - + formats[${short_setting}]= 2022-11-05 16:42:43,594: DEBUG - + ynh_app_config_get_one crt_client_ta file /etc/openvpn/keys/user_ta.key 2022-11-05 16:42:43,594: DEBUG - + _ynh_app_config_get_one crt_client_ta file /etc/openvpn/keys/user_ta.key 2022-11-05 16:42:43,594: DEBUG - + local short_setting=crt_client_ta 2022-11-05 16:42:43,595: DEBUG - + local type=file 2022-11-05 16:42:43,595: DEBUG - + local bind=/etc/openvpn/keys/user_ta.key 2022-11-05 16:42:43,595: DEBUG - + local getter=get__crt_client_ta 2022-11-05 16:42:43,596: DEBUG - + type -t get__crt_client_ta 2022-11-05 16:42:43,596: DEBUG - + grep -q '^function$' 2022-11-05 16:42:43,596: DEBUG - + [[ /etc/openvpn/keys/user_ta.key == *\(* ]] 2022-11-05 16:42:43,597: DEBUG - + [[ /etc/openvpn/keys/user_ta.key == \n\u\l\l ]] 2022-11-05 16:42:43,597: DEBUG - + [[ file == \f\i\l\e ]] 2022-11-05 16:42:43,597: DEBUG - + [[ /etc/openvpn/keys/user_ta.key == \s\e\t\t\i\n\g\s ]] 2022-11-05 16:42:43,598: DEBUG - +++ echo /etc/openvpn/keys/user_ta.key 2022-11-05 16:42:43,599: DEBUG - +++ sed s@__FINALPATH__@@ 2022-11-05 16:42:43,599: DEBUG - +++ sed s/__APP__/vpnclient/ 2022-11-05 16:42:43,603: DEBUG - ++ ls /etc/openvpn/keys/user_ta.key 2022-11-05 16:42:43,607: DEBUG - + old[$short_setting]=/etc/openvpn/keys/user_ta.key 2022-11-05 16:42:43,607: DEBUG - + file_hash[$short_setting]=true 2022-11-05 16:42:43,608: DEBUG - + for line in $lines 2022-11-05 16:42:43,608: DEBUG - + IFS=';' 2022-11-05 16:42:43,608: DEBUG - + read short_setting type bind 2022-11-05 16:42:43,608: DEBUG - + binds[${short_setting}]=settings 2022-11-05 16:42:43,609: DEBUG - + types[${short_setting}]=select 2022-11-05 16:42:43,609: DEBUG - + file_hash[${short_setting}]= 2022-11-05 16:42:43,609: DEBUG - + formats[${short_setting}]= 2022-11-05 16:42:43,610: DEBUG - + ynh_app_config_get_one dns_method select settings 2022-11-05 16:42:43,615: DEBUG - + _ynh_app_config_get_one dns_method select settings 2022-11-05 16:42:43,617: DEBUG - + local short_setting=dns_method 2022-11-05 16:42:43,620: DEBUG - + local type=select 2022-11-05 16:42:43,620: DEBUG - + local bind=settings 2022-11-05 16:42:43,621: DEBUG - + local getter=get__dns_method 2022-11-05 16:42:43,625: DEBUG - + type -t get__dns_method 2022-11-05 16:42:43,625: DEBUG - + grep -q '^function$' 2022-11-05 16:42:43,628: DEBUG - + [[ settings == *\(* ]] 2022-11-05 16:42:43,629: DEBUG - + [[ settings == \n\u\l\l ]] 2022-11-05 16:42:43,643: DEBUG - + [[ select == \f\i\l\e ]] 2022-11-05 16:42:43,644: DEBUG - + [[ select == \t\e\x\t ]] 2022-11-05 16:42:43,645: DEBUG - + local bind_after= 2022-11-05 16:42:43,645: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]] 2022-11-05 16:42:43,645: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:43,646: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:43,650: DEBUG - ++ cut -d: -f1 2022-11-05 16:42:43,651: DEBUG - + local bind_key_= 2022-11-05 16:42:43,652: DEBUG - + bind_key_=dns_method 2022-11-05 16:42:43,652: DEBUG - + [[ dns_method == *\>* ]] 2022-11-05 16:42:43,652: DEBUG - ++ cut -d: -f2 2022-11-05 16:42:43,653: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:43,654: DEBUG - ++ sed s/__APP__/vpnclient/ 2022-11-05 16:42:43,655: DEBUG - ++ sed s@__FINALPATH__@@ 2022-11-05 16:42:43,658: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:43,659: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=dns_method --after= 2022-11-05 16:42:43,899: DEBUG - ++ after= 2022-11-05 16:42:43,900: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]] 2022-11-05 16:42:43,925: DEBUG - + old[$short_setting]=yunohost 2022-11-05 16:42:43,927: DEBUG - + for line in $lines 2022-11-05 16:42:43,930: DEBUG - + IFS=';' 2022-11-05 16:42:43,931: DEBUG - + read short_setting type bind 2022-11-05 16:42:43,931: DEBUG - + binds[${short_setting}]=settings 2022-11-05 16:42:43,932: DEBUG - + types[${short_setting}]=tags 2022-11-05 16:42:43,932: DEBUG - + file_hash[${short_setting}]= 2022-11-05 16:42:43,933: DEBUG - + formats[${short_setting}]= 2022-11-05 16:42:43,933: DEBUG - + ynh_app_config_get_one nameservers tags settings 2022-11-05 16:42:43,934: DEBUG - + _ynh_app_config_get_one nameservers tags settings 2022-11-05 16:42:43,936: DEBUG - + local short_setting=nameservers 2022-11-05 16:42:43,936: DEBUG - + local type=tags 2022-11-05 16:42:43,937: DEBUG - + local bind=settings 2022-11-05 16:42:43,937: DEBUG - + local getter=get__nameservers 2022-11-05 16:42:43,938: DEBUG - + type -t get__nameservers 2022-11-05 16:42:43,938: DEBUG - + grep -q '^function$' 2022-11-05 16:42:43,938: DEBUG - + [[ settings == *\(* ]] 2022-11-05 16:42:43,938: DEBUG - + [[ settings == \n\u\l\l ]] 2022-11-05 16:42:43,938: DEBUG - + [[ tags == \f\i\l\e ]] 2022-11-05 16:42:43,938: DEBUG - + [[ tags == \t\e\x\t ]] 2022-11-05 16:42:43,939: DEBUG - + local bind_after= 2022-11-05 16:42:43,939: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]] 2022-11-05 16:42:43,939: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:43,939: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:43,939: DEBUG - ++ cut -d: -f1 2022-11-05 16:42:43,940: DEBUG - + local bind_key_= 2022-11-05 16:42:43,940: DEBUG - + bind_key_=nameservers 2022-11-05 16:42:43,941: DEBUG - + [[ nameservers == *\>* ]] 2022-11-05 16:42:43,942: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:43,944: DEBUG - ++ cut -d: -f2 2022-11-05 16:42:43,944: DEBUG - ++ sed s@__FINALPATH__@@ 2022-11-05 16:42:43,945: DEBUG - ++ sed s/__APP__/vpnclient/ 2022-11-05 16:42:43,947: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:43,949: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=nameservers --after= 2022-11-05 16:42:44,171: DEBUG - ++ after= 2022-11-05 16:42:44,172: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]] 2022-11-05 16:42:44,203: DEBUG - + old[$short_setting]= 2022-11-05 16:42:44,205: DEBUG - + for line in $lines 2022-11-05 16:42:44,209: DEBUG - + IFS=';' 2022-11-05 16:42:44,218: DEBUG - + read short_setting type bind 2022-11-05 16:42:44,220: DEBUG - + binds[${short_setting}]=settings 2022-11-05 16:42:44,221: DEBUG - + types[${short_setting}]=string 2022-11-05 16:42:44,222: DEBUG - + file_hash[${short_setting}]= 2022-11-05 16:42:44,223: DEBUG - + formats[${short_setting}]= 2022-11-05 16:42:44,223: DEBUG - + ynh_app_config_get_one ip6_net string settings 2022-11-05 16:42:44,224: DEBUG - + _ynh_app_config_get_one ip6_net string settings 2022-11-05 16:42:44,224: DEBUG - + local short_setting=ip6_net 2022-11-05 16:42:44,225: DEBUG - + local type=string 2022-11-05 16:42:44,225: DEBUG - + local bind=settings 2022-11-05 16:42:44,225: DEBUG - + local getter=get__ip6_net 2022-11-05 16:42:44,226: DEBUG - + type -t get__ip6_net 2022-11-05 16:42:44,230: DEBUG - + grep -q '^function$' 2022-11-05 16:42:44,234: DEBUG - + [[ settings == *\(* ]] 2022-11-05 16:42:44,234: DEBUG - + [[ settings == \n\u\l\l ]] 2022-11-05 16:42:44,234: DEBUG - + [[ string == \f\i\l\e ]] 2022-11-05 16:42:44,235: DEBUG - + [[ string == \t\e\x\t ]] 2022-11-05 16:42:44,235: DEBUG - + local bind_after= 2022-11-05 16:42:44,235: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]] 2022-11-05 16:42:44,236: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:44,236: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:44,237: DEBUG - ++ cut -d: -f1 2022-11-05 16:42:44,239: DEBUG - + local bind_key_= 2022-11-05 16:42:44,240: DEBUG - + bind_key_=ip6_net 2022-11-05 16:42:44,240: DEBUG - + [[ ip6_net == *\>* ]] 2022-11-05 16:42:44,245: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:44,245: DEBUG - ++ cut -d: -f2 2022-11-05 16:42:44,245: DEBUG - ++ sed s/__APP__/vpnclient/ 2022-11-05 16:42:44,246: DEBUG - ++ sed s@__FINALPATH__@@ 2022-11-05 16:42:44,247: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:44,248: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=ip6_net --after= 2022-11-05 16:42:44,469: DEBUG - ++ after= 2022-11-05 16:42:44,469: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]] 2022-11-05 16:42:44,504: DEBUG - + old[$short_setting]= 2022-11-05 16:42:44,505: DEBUG - + for line in $lines 2022-11-05 16:42:44,505: DEBUG - + IFS=';' 2022-11-05 16:42:44,506: DEBUG - + read short_setting type bind 2022-11-05 16:42:44,506: DEBUG - + binds[${short_setting}]=settings 2022-11-05 16:42:44,507: DEBUG - + types[${short_setting}]=string 2022-11-05 16:42:44,507: DEBUG - + file_hash[${short_setting}]= 2022-11-05 16:42:44,507: DEBUG - + formats[${short_setting}]= 2022-11-05 16:42:44,507: DEBUG - + ynh_app_config_get_one ip6_addr string settings 2022-11-05 16:42:44,507: DEBUG - + _ynh_app_config_get_one ip6_addr string settings 2022-11-05 16:42:44,507: DEBUG - + local short_setting=ip6_addr 2022-11-05 16:42:44,507: DEBUG - + local type=string 2022-11-05 16:42:44,507: DEBUG - + local bind=settings 2022-11-05 16:42:44,508: DEBUG - + local getter=get__ip6_addr 2022-11-05 16:42:44,508: DEBUG - + type -t get__ip6_addr 2022-11-05 16:42:44,508: DEBUG - + grep -q '^function$' 2022-11-05 16:42:44,509: DEBUG - + [[ settings == *\(* ]] 2022-11-05 16:42:44,509: DEBUG - + [[ settings == \n\u\l\l ]] 2022-11-05 16:42:44,510: DEBUG - + [[ string == \f\i\l\e ]] 2022-11-05 16:42:44,510: DEBUG - + [[ string == \t\e\x\t ]] 2022-11-05 16:42:44,510: DEBUG - + local bind_after= 2022-11-05 16:42:44,510: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]] 2022-11-05 16:42:44,521: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:44,522: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:44,522: DEBUG - ++ cut -d: -f1 2022-11-05 16:42:44,528: DEBUG - + local bind_key_= 2022-11-05 16:42:44,530: DEBUG - + bind_key_=ip6_addr 2022-11-05 16:42:44,531: DEBUG - + [[ ip6_addr == *\>* ]] 2022-11-05 16:42:44,532: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:44,534: DEBUG - ++ sed s/__APP__/vpnclient/ 2022-11-05 16:42:44,535: DEBUG - ++ sed s@__FINALPATH__@@ 2022-11-05 16:42:44,535: DEBUG - ++ cut -d: -f2 2022-11-05 16:42:44,539: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml 2022-11-05 16:42:44,539: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=ip6_addr --after= 2022-11-05 16:42:44,763: DEBUG - ++ after= 2022-11-05 16:42:44,763: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]] 2022-11-05 16:42:44,843: DEBUG - + old[$short_setting]= 2022-11-05 16:42:44,845: DEBUG - + ynh_app_config_validate 2022-11-05 16:42:44,845: DEBUG - + '[' -z x ']' 2022-11-05 16:42:44,846: DEBUG - + '[' -f /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 ']' 2022-11-05 16:42:44,850: DEBUG - ++ cat /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:44,853: DEBUG - ++ grep -v '^$' 2022-11-05 16:42:44,855: DEBUG - ++ head -c1 2022-11-05 16:42:44,856: DEBUG - ++ tr -d ' ' 2022-11-05 16:42:44,859: DEBUG - + [[ p == \{ ]] 2022-11-05 16:42:44,859: DEBUG - + '[' -f /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 ']' 2022-11-05 16:42:44,860: DEBUG - ++ dirname /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:44,862: DEBUG - + tmp_dir=/tmp/ynh_filequestion_jmxl1y3x 2022-11-05 16:42:44,863: DEBUG - + ynh_print_info '--message=Extracting TLS keys from .ovpn file' 2022-11-05 16:42:44,901: DEBUG - + grep -q '^\s*<ca>' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:44,901: INFO - Extracting TLS keys from .ovpn file 2022-11-05 16:42:44,905: DEBUG - + grep -Poz '(?<=<ca>)(.*\n)*.*(?=</ca>)' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:44,906: DEBUG - + sed '/^$/d' 2022-11-05 16:42:44,909: DEBUG - + crt_server_ca=/tmp/ynh_filequestion_jmxl1y3x/crt_server_ca 2022-11-05 16:42:44,909: DEBUG - + sed -i '/^\s*<ca>/,/\s*<\/ca>/d' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:44,921: DEBUG - + sed -i '/^\s*ca\s/d' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:44,932: DEBUG - + grep -q '^\s*<cert>' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:44,957: DEBUG - + grep -Poz '(?<=<cert>)(.*\n)*.*(?=</cert>)' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:44,958: DEBUG - + sed '/^$/d' 2022-11-05 16:42:44,964: DEBUG - + crt_client=/tmp/ynh_filequestion_jmxl1y3x/crt_client 2022-11-05 16:42:44,965: DEBUG - + sed -i '/^\s*<cert>/,/\s*<\/cert>/d' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:44,969: DEBUG - + sed -i '/^\s*cert\s/d' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:44,985: DEBUG - + grep -q '^\s*<key>' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:45,004: DEBUG - + grep -Poz '(?<=<key>)(.*\n)*.*(?=</key>)' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:45,004: DEBUG - + sed '/^$/d' 2022-11-05 16:42:45,012: DEBUG - + crt_client_key=********** 2022-11-05 16:42:45,012: DEBUG - + sed -i '/^\s*<key>/,/\s*<\/key>/d' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:45,016: DEBUG - + sed -i '/^\s*key\s/d' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:45,021: DEBUG - + grep -q '^\s*<tls-auth>' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:45,044: DEBUG - + grep -Poz '(?<=<tls-auth>)(.*\n)*.*(?=</tls-auth>)' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:45,045: DEBUG - + sed '/^$/d' 2022-11-05 16:42:45,068: DEBUG - + crt_client_ta=/tmp/ynh_filequestion_jmxl1y3x/crt_client_ta 2022-11-05 16:42:45,074: DEBUG - + sed -i '/^\s*<tls-auth>/,/\s*<\/tls-auth>/d' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:45,080: DEBUG - + sed -i '/^\s*tls-auth\s/d' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:45,087: DEBUG - + sed -i 's@^\s*ca\s.*$@ca /etc/openvpn/keys/ca-server.crt@g' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:45,105: DEBUG - + sed -i 's@^\s*cert\s.*$@cert /etc/openvpn/keys/user.crt@g' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:45,118: DEBUG - + sed -i 's@^\s*key\s.*$@key /etc/openvpn/keys/user.key@g' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:45,121: DEBUG - + sed -i 's@^\s*tls-auth\s.*$@tls-auth /etc/openvpn/keys/user_ta.key 1@g' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:45,125: DEBUG - + '[' -f /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 ']' 2022-11-05 16:42:45,126: DEBUG - + sed -i '/^\s*user\s/d' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:45,129: DEBUG - + sed -i '/^\s*group\s/d' /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:45,142: DEBUG - + _ynh_app_config_validate 2022-11-05 16:42:45,386: DEBUG - + local nothing_changed=true 2022-11-05 16:42:45,386: DEBUG - + local changes_validated=true 2022-11-05 16:42:45,386: DEBUG - + for short_setting in "${!old[@]}" 2022-11-05 16:42:45,386: DEBUG - + changed[$short_setting]=false 2022-11-05 16:42:45,387: DEBUG - + '[' -z x ']' 2022-11-05 16:42:45,387: DEBUG - + '[' '!' -z true ']' 2022-11-05 16:42:45,387: DEBUG - + file_hash[old__$short_setting]= 2022-11-05 16:42:45,387: DEBUG - + file_hash[new__$short_setting]= 2022-11-05 16:42:45,388: INFO - [#####+++++..........] > Checking what changed in the new configuration... 2022-11-05 16:42:45,388: DEBUG - + '[' -f /etc/openvpn/client.conf ']' 2022-11-05 16:42:45,389: DEBUG - ++ sha256sum /etc/openvpn/client.conf 2022-11-05 16:42:45,390: DEBUG - ++ cut '-d ' -f1 2022-11-05 16:42:45,401: DEBUG - + file_hash[old__$short_setting]=4620869a5f31dfe26ce6a56a16b9be144f9f8fc4d0a1e6a07456a63c5a0e5584 2022-11-05 16:42:45,402: DEBUG - + '[' -z /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 ']' 2022-11-05 16:42:45,403: DEBUG - + '[' -f /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 ']' 2022-11-05 16:42:45,405: DEBUG - ++ sha256sum /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 2022-11-05 16:42:45,407: DEBUG - ++ cut '-d ' -f1 2022-11-05 16:42:45,425: DEBUG - + file_hash[new__$short_setting]=a09f9e650a810838ed528467a394914e2af8408a1c434a776f24051f0544f2cc 2022-11-05 16:42:45,426: DEBUG - + [[ 4620869a5f31dfe26ce6a56a16b9be144f9f8fc4d0a1e6a07456a63c5a0e5584 != \a\0\9\f\9\e\6\5\0\a\8\1\0\8\3\8\e\d\5\2\8\4\6\7\a\3\9\4\9\1\4\e\2\a\f\8\4\0\8\a\1\c\4\3\4\a\7\7\6\f\2\4\0\5\1\f\0\5\4\4\f\2\c\c ]] 2022-11-05 16:42:45,431: DEBUG - + changed[$short_setting]=true 2022-11-05 16:42:45,432: DEBUG - + nothing_changed=false 2022-11-05 16:42:45,432: DEBUG - + for short_setting in "${!old[@]}" 2022-11-05 16:42:45,433: DEBUG - + changed[$short_setting]=false 2022-11-05 16:42:45,434: DEBUG - + '[' -z ']' 2022-11-05 16:42:45,434: DEBUG - + declare -g doc=YNH_NULL 2022-11-05 16:42:45,435: DEBUG - + continue 2022-11-05 16:42:45,435: DEBUG - + for short_setting in "${!old[@]}" 2022-11-05 16:42:45,435: DEBUG - + changed[$short_setting]=false 2022-11-05 16:42:45,435: DEBUG - + '[' -z x ']' 2022-11-05 16:42:45,436: DEBUG - + '[' '!' -z true ']' 2022-11-05 16:42:45,436: DEBUG - + file_hash[old__$short_setting]= 2022-11-05 16:42:45,436: DEBUG - + file_hash[new__$short_setting]= 2022-11-05 16:42:45,436: DEBUG - + '[' -f /etc/openvpn/keys/ca-server.crt ']' 2022-11-05 16:42:45,436: DEBUG - ++ sha256sum /etc/openvpn/keys/ca-server.crt 2022-11-05 16:42:45,437: DEBUG - ++ cut '-d ' -f1 2022-11-05 16:42:45,437: DEBUG - + file_hash[old__$short_setting]=3b71264f7719af52bdc7647337c0ac8f841b7543eccf57a45a226bb4bdf99945 2022-11-05 16:42:45,437: DEBUG - + '[' -z /tmp/ynh_filequestion_jmxl1y3x/crt_server_ca ']' 2022-11-05 16:42:45,438: DEBUG - + '[' -f /tmp/ynh_filequestion_jmxl1y3x/crt_server_ca ']' 2022-11-05 16:42:45,439: DEBUG - ++ sha256sum /tmp/ynh_filequestion_jmxl1y3x/crt_server_ca 2022-11-05 16:42:45,439: DEBUG - ++ cut '-d ' -f1 2022-11-05 16:42:45,447: DEBUG - + file_hash[new__$short_setting]=3b71264f7719af52bdc7647337c0ac8f841b7543eccf57a45a226bb4bdf99945 2022-11-05 16:42:45,447: DEBUG - + [[ 3b71264f7719af52bdc7647337c0ac8f841b7543eccf57a45a226bb4bdf99945 != \3\b\7\1\2\6\4\f\7\7\1\9\a\f\5\2\b\d\c\7\6\4\7\3\3\7\c\0\a\c\8\f\8\4\1\b\7\5\4\3\e\c\c\f\5\7\a\4\5\a\2\2\6\b\b\4\b\d\f\9\9\9\4\5 ]] 2022-11-05 16:42:45,448: DEBUG - + for short_setting in "${!old[@]}" 2022-11-05 16:42:45,448: DEBUG - + changed[$short_setting]=false 2022-11-05 16:42:45,449: DEBUG - + '[' -z ']' 2022-11-05 16:42:45,449: DEBUG - + declare -g ip6_net= 2022-11-05 16:42:45,449: DEBUG - + continue 2022-11-05 16:42:45,449: DEBUG - + for short_setting in "${!old[@]}" 2022-11-05 16:42:45,450: DEBUG - + changed[$short_setting]=false 2022-11-05 16:42:45,466: DEBUG - + '[' -z x ']' 2022-11-05 16:42:45,473: DEBUG - + '[' '!' -z true ']' 2022-11-05 16:42:45,479: DEBUG - + file_hash[old__$short_setting]= 2022-11-05 16:42:45,480: DEBUG - + file_hash[new__$short_setting]= 2022-11-05 16:42:45,481: DEBUG - + '[' -f /etc/openvpn/keys/user.crt ']' 2022-11-05 16:42:45,485: DEBUG - ++ sha256sum /etc/openvpn/keys/user.crt 2022-11-05 16:42:45,510: DEBUG - ++ cut '-d ' -f1 2022-11-05 16:42:45,522: DEBUG - + file_hash[old__$short_setting]=2847d8db16df49a7d54cca4ab3cac4d9861d7e5d488ef8ebe92efc8f61bbfe2e 2022-11-05 16:42:45,523: DEBUG - + '[' -z /tmp/ynh_filequestion_jmxl1y3x/crt_client ']' 2022-11-05 16:42:45,524: DEBUG - + '[' -f /tmp/ynh_filequestion_jmxl1y3x/crt_client ']' 2022-11-05 16:42:45,524: DEBUG - ++ sha256sum /tmp/ynh_filequestion_jmxl1y3x/crt_client 2022-11-05 16:42:45,525: DEBUG - ++ cut '-d ' -f1 2022-11-05 16:42:45,532: DEBUG - + file_hash[new__$short_setting]=2847d8db16df49a7d54cca4ab3cac4d9861d7e5d488ef8ebe92efc8f61bbfe2e 2022-11-05 16:42:45,533: DEBUG - + [[ 2847d8db16df49a7d54cca4ab3cac4d9861d7e5d488ef8ebe92efc8f61bbfe2e != \2\8\4\7\d\8\d\b\1\6\d\f\4\9\a\7\d\5\4\c\c\a\4\a\b\3\c\a\c\4\d\9\8\6\1\d\7\e\5\d\4\8\8\e\f\8\e\b\e\9\2\e\f\c\8\f\6\1\b\b\f\e\2\e ]] 2022-11-05 16:42:45,533: DEBUG - + for short_setting in "${!old[@]}" 2022-11-05 16:42:45,534: DEBUG - + changed[$short_setting]=false 2022-11-05 16:42:45,534: DEBUG - + '[' -z x ']' 2022-11-05 16:42:45,534: DEBUG - + '[' '!' -z true ']' 2022-11-05 16:42:45,534: DEBUG - + file_hash[old__$short_setting]= 2022-11-05 16:42:45,535: DEBUG - + file_hash[new__$short_setting]= 2022-11-05 16:42:45,535: DEBUG - + '[' -f /etc/openvpn/keys/user_ta.key ']' 2022-11-05 16:42:45,536: DEBUG - ++ sha256sum /etc/openvpn/keys/user_ta.key 2022-11-05 16:42:45,536: DEBUG - ++ cut '-d ' -f1 2022-11-05 16:42:45,538: DEBUG - + file_hash[old__$short_setting]=fd71a45e05266673736503c5f5f8d7ca88af413c9b19b8d2b66096b0d37d477b 2022-11-05 16:42:45,539: DEBUG - + '[' -z /tmp/ynh_filequestion_jmxl1y3x/crt_client_ta ']' 2022-11-05 16:42:45,539: DEBUG - + '[' -f /tmp/ynh_filequestion_jmxl1y3x/crt_client_ta ']' 2022-11-05 16:42:45,540: DEBUG - ++ sha256sum /tmp/ynh_filequestion_jmxl1y3x/crt_client_ta 2022-11-05 16:42:45,541: DEBUG - ++ cut '-d ' -f1 2022-11-05 16:42:45,550: DEBUG - + file_hash[new__$short_setting]=fd71a45e05266673736503c5f5f8d7ca88af413c9b19b8d2b66096b0d37d477b 2022-11-05 16:42:45,552: DEBUG - + [[ fd71a45e05266673736503c5f5f8d7ca88af413c9b19b8d2b66096b0d37d477b != \f\d\7\1\a\4\5\e\0\5\2\6\6\6\7\3\7\3\6\5\0\3\c\5\f\5\f\8\d\7\c\a\8\8\a\f\4\1\3\c\9\b\1\9\b\8\d\2\b\6\6\0\9\6\b\0\d\3\7\d\4\7\7\b ]] 2022-11-05 16:42:45,554: DEBUG - + for short_setting in "${!old[@]}" 2022-11-05 16:42:45,555: DEBUG - + changed[$short_setting]=false 2022-11-05 16:42:45,561: DEBUG - + '[' -z ']' 2022-11-05 16:42:45,561: DEBUG - + declare -g dns_method=yunohost 2022-11-05 16:42:45,562: DEBUG - + continue 2022-11-05 16:42:45,563: DEBUG - + for short_setting in "${!old[@]}" 2022-11-05 16:42:45,563: DEBUG - + changed[$short_setting]=false 2022-11-05 16:42:45,564: DEBUG - + '[' -z x ']' 2022-11-05 16:42:45,564: DEBUG - + '[' '!' -z true ']' 2022-11-05 16:42:45,566: DEBUG - + file_hash[old__$short_setting]= 2022-11-05 16:42:45,575: DEBUG - + file_hash[new__$short_setting]= 2022-11-05 16:42:45,575: DEBUG - + '[' -f /etc/openvpn/keys/user.key ']' 2022-11-05 16:42:45,576: DEBUG - ++ cut '-d ' -f1 2022-11-05 16:42:45,576: DEBUG - ++ sha256sum /etc/openvpn/keys/user.key 2022-11-05 16:42:45,576: DEBUG - + file_hash[old__$short_setting]=36af1f2904e49a04b6db511cb51b8255a0457399caa8c7a91b1ee965c38d95da 2022-11-05 16:42:45,577: DEBUG - + '[' -z ********** ']' 2022-11-05 16:42:45,577: DEBUG - + '[' -f ********** ']' 2022-11-05 16:42:45,577: DEBUG - ++ cut '-d ' -f1 2022-11-05 16:42:45,578: DEBUG - ++ sha256sum ********** 2022-11-05 16:42:45,595: DEBUG - + file_hash[new__$short_setting]=36af1f2904e49a04b6db511cb51b8255a0457399caa8c7a91b1ee965c38d95da 2022-11-05 16:42:45,597: DEBUG - + [[ 36af1f2904e49a04b6db511cb51b8255a0457399caa8c7a91b1ee965c38d95da != \3\6\a\f\1\f\2\9\0\4\e\4\9\a\0\4\b\6\d\b\5\1\1\c\b\5\1\b\8\2\5\5\a\0\4\5\7\3\9\9\c\a\a\8\c\7\a\9\1\b\1\e\e\9\6\5\c\3\8\d\9\5\d\a ]] 2022-11-05 16:42:45,598: DEBUG - + for short_setting in "${!old[@]}" 2022-11-05 16:42:45,601: DEBUG - + changed[$short_setting]=false 2022-11-05 16:42:45,604: DEBUG - + '[' -z ']' 2022-11-05 16:42:45,605: DEBUG - + declare -g ip6_addr= 2022-11-05 16:42:45,605: DEBUG - + continue 2022-11-05 16:42:45,605: DEBUG - + for short_setting in "${!old[@]}" 2022-11-05 16:42:45,605: DEBUG - + changed[$short_setting]=false 2022-11-05 16:42:45,605: DEBUG - + '[' -z ']' 2022-11-05 16:42:45,605: DEBUG - + declare -g nameservers= 2022-11-05 16:42:45,606: DEBUG - + continue 2022-11-05 16:42:45,606: DEBUG - + for short_setting in "${!old[@]}" 2022-11-05 16:42:45,606: DEBUG - + changed[$short_setting]=false 2022-11-05 16:42:45,606: DEBUG - + '[' -z ']' 2022-11-05 16:42:45,606: DEBUG - + declare -g login_passphrase= 2022-11-05 16:42:45,606: DEBUG - + continue 2022-11-05 16:42:45,606: DEBUG - + for short_setting in "${!old[@]}" 2022-11-05 16:42:45,607: DEBUG - + changed[$short_setting]=false 2022-11-05 16:42:45,607: DEBUG - + '[' -z x ']' 2022-11-05 16:42:45,607: DEBUG - + '[' '!' -z '' ']' 2022-11-05 16:42:45,608: DEBUG - + [[ 1 != \1 ]] 2022-11-05 16:42:45,608: DEBUG - + for short_setting in "${!old[@]}" 2022-11-05 16:42:45,608: DEBUG - + changed[$short_setting]=false 2022-11-05 16:42:45,608: DEBUG - + '[' -z ']' 2022-11-05 16:42:45,608: DEBUG - + declare -g login_user= 2022-11-05 16:42:45,608: DEBUG - + continue 2022-11-05 16:42:45,608: DEBUG - + for short_setting in "${!old[@]}" 2022-11-05 16:42:45,609: DEBUG - + changed[$short_setting]=false 2022-11-05 16:42:45,609: DEBUG - + '[' -z ']' 2022-11-05 16:42:45,609: DEBUG - + declare -g 'status=style: danger 2022-11-05 16:42:45,609: DEBUG - ask: 2022-11-05 16:42:45,609: DEBUG - en: |- 2022-11-05 16:42:45,610: DEBUG - The VPN is down ! Here are errors logged in the last few minutes 2022-11-05 16:42:45,621: DEBUG -
2022-11-05 16:42:45,622: DEBUG - [ OK ] Settings retrieved
2022-11-05 16:42:45,623: DEBUG - [WARN] Service is disabled, not starting it
2022-11-05 16:42:45,625: DEBUG - Finished YunoHost VPN Client…
2022-11-05 16:42:45,626: DEBUG - Stopping YunoHost VPN Client…
2022-11-05 16:42:45,629: DEBUG - [INFO] Retrieving Yunohost settings…
2022-11-05 16:42:45,642: DEBUG - [ OK ] Settings retrieved
2022-11-05 16:42:45,645: DEBUG - [INFO] [vpnclient] Stopping…
2022-11-05 16:42:45,646: DEBUG - [INFO] Removing custom DNS resolvers from vpnclient
2022-11-05 16:42:45,651: DEBUG - ynh-vpnclient.service: Succeeded.
2022-11-05 16:42:45,652: DEBUG - Stopped YunoHost VPN Client…
2022-11-05 16:42:45,655: DEBUG - Starting YunoHost VPN Client…
2022-11-05 16:42:45,656: DEBUG - [INFO] Retrieving Yunohost settings…
2022-11-05 16:42:45,656: DEBUG - [ OK ] Settings retrieved
2022-11-05 16:42:45,656: DEBUG - [WARN] Service is disabled, not starting it
2022-11-05 16:42:45,657: DEBUG - Finished YunoHost VPN Client…
2022-11-05 16:42:45,657: DEBUG - ```’
2022-11-05 16:42:45,657: DEBUG - + continue
2022-11-05 16:42:45,657: DEBUG - + [[ false == \t\r\u\e ]]
2022-11-05 16:42:45,908: INFO - [##########+++++…] > Validating the new configuration…
2022-11-05 16:42:45,909: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:45,910: DEBUG - + [[ true == \f\a\l\s\e ]]
2022-11-05 16:42:45,929: DEBUG - + local result=
2022-11-05 16:42:45,932: DEBUG - + type -t validate__config_file
2022-11-05 16:42:45,935: DEBUG - + grep -q ‘^function$’
2022-11-05 16:42:45,937: DEBUG - + [[ settings == ( ]]
2022-11-05 16:42:45,942: DEBUG - + ‘[’ -n ‘’ ‘]’
2022-11-05 16:42:45,943: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:45,944: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-11-05 16:42:45,945: DEBUG - + continue
2022-11-05 16:42:45,946: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:45,946: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-11-05 16:42:45,946: DEBUG - + continue
2022-11-05 16:42:45,947: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:45,947: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-11-05 16:42:45,947: DEBUG - + continue
2022-11-05 16:42:45,948: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:45,948: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-11-05 16:42:45,952: DEBUG - + continue
2022-11-05 16:42:45,954: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:45,954: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-11-05 16:42:45,954: DEBUG - + continue
2022-11-05 16:42:45,955: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:45,955: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-11-05 16:42:45,955: DEBUG - + continue
2022-11-05 16:42:45,955: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:45,955: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-11-05 16:42:45,955: DEBUG - + continue
2022-11-05 16:42:45,956: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:45,956: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-11-05 16:42:45,956: DEBUG - + continue
2022-11-05 16:42:45,956: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:45,957: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-11-05 16:42:45,957: DEBUG - + continue
2022-11-05 16:42:45,957: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:45,957: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-11-05 16:42:45,958: DEBUG - + continue
2022-11-05 16:42:45,958: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:45,958: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-11-05 16:42:45,958: DEBUG - + continue
2022-11-05 16:42:45,958: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:45,958: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-11-05 16:42:45,958: DEBUG - + continue
2022-11-05 16:42:45,958: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:45,959: DEBUG - + [[ false == \f\a\l\s\e ]]
2022-11-05 16:42:45,959: DEBUG - + continue
2022-11-05 16:42:45,959: DEBUG - + [[ true == \f\a\l\s\e ]]
2022-11-05 16:42:46,211: INFO - [###############+++++] > Applying the new configuration…
2022-11-05 16:42:46,219: DEBUG - + ynh_app_config_apply
2022-11-05 16:42:46,219: DEBUG - + ynh_print_info ‘–message=Stopping vpnclient in order to edit files’
2022-11-05 16:42:46,252: INFO - Stopping vpnclient in order to edit files
2022-11-05 16:42:46,255: DEBUG - + touch /tmp/.ynh-vpnclient-stopped
2022-11-05 16:42:46,258: DEBUG - + /usr/local/bin/ynh-vpnclient stop
2022-11-05 16:42:46,281: DEBUG - [INFO] Retrieving Yunohost settings…
2022-11-05 16:42:46,501: DEBUG - [ OK ] Settings retrieved
2022-11-05 16:42:46,506: DEBUG - [INFO] [vpnclient] Stopping…
2022-11-05 16:42:46,555: DEBUG - [INFO] Removing custom DNS resolvers from vpnclient
2022-11-05 16:42:46,569: DEBUG - + chown vpnclient:vpnclient /etc/openvpn/keys
2022-11-05 16:42:46,582: DEBUG - + chmod go=— /etc/openvpn/keys
2022-11-05 16:42:46,585: DEBUG - + _ynh_app_config_apply
2022-11-05 16:42:46,590: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:46,594: DEBUG - + ynh_app_config_apply_one config_file
2022-11-05 16:42:46,595: DEBUG - + _ynh_app_config_apply_one config_file
2022-11-05 16:42:46,596: DEBUG - + local short_setting=config_file
2022-11-05 16:42:46,596: DEBUG - + local setter=set__config_file
2022-11-05 16:42:46,596: DEBUG - + local bind=/etc/openvpn/client.conf
2022-11-05 16:42:46,596: DEBUG - + local type=file
2022-11-05 16:42:46,597: DEBUG - + ‘[’ true == true ‘]’
2022-11-05 16:42:46,597: DEBUG - + type -t set__config_file
2022-11-05 16:42:46,597: DEBUG - + grep -q ‘^function$’
2022-11-05 16:42:46,598: DEBUG - + [[ /etc/openvpn/client.conf == ( ]]
2022-11-05 16:42:46,598: DEBUG - + [[ /etc/openvpn/client.conf == \n\u\l\l ]]
2022-11-05 16:42:46,598: DEBUG - + [[ file == \f\i\l\e ]]
2022-11-05 16:42:46,599: DEBUG - + [[ /etc/openvpn/client.conf == \s\e\t\t\i\n\g\s ]]
2022-11-05 16:42:46,599: DEBUG - ++ echo /etc/openvpn/client.conf
2022-11-05 16:42:46,600: DEBUG - ++ sed s/APP/vpnclient/
2022-11-05 16:42:46,600: DEBUG - ++ sed s@FINALPATH@@
2022-11-05 16:42:46,603: DEBUG - + local bind_file=/etc/openvpn/client.conf
2022-11-05 16:42:46,603: DEBUG - + [[ /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 == ‘’ ]]
2022-11-05 16:42:46,604: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/openvpn/client.conf
2022-11-05 16:42:46,652: DEBUG - + local checksum_setting_name=checksum__etc_openvpn_client.conf
2022-11-05 16:42:46,653: DEBUG - ++ ynh_app_setting_get --app=vpnclient --key=checksum__etc_openvpn_client.conf
2022-11-05 16:42:46,653: DEBUG - ++ local globalapp=vpnclient
2022-11-05 16:42:46,781: DEBUG - ++ app=vpnclient
2022-11-05 16:42:46,783: DEBUG - ++ [[ checksum__etc_openvpn_client.conf =~ (unprotected|protected|skipped)
]]
2022-11-05 16:42:46,784: DEBUG - ++ ynh_app_setting get vpnclient checksum__etc_openvpn_client.conf
2022-11-05 16:42:46,959: DEBUG - + local checksum_value=
2022-11-05 16:42:46,960: DEBUG - + backup_file_checksum=
2022-11-05 16:42:46,960: DEBUG - + ‘[’ -n ‘’ ‘]’
2022-11-05 16:42:46,961: DEBUG - + [[ /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 != /\e\t\c/\o\p\e\n\v\p\n/\c\l\i\e\n\t.\c\o\n\f ]]
2022-11-05 16:42:46,961: DEBUG - + cp /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3 /etc/openvpn/client.conf
2022-11-05 16:42:46,964: DEBUG - + ynh_store_file_checksum --file=/etc/openvpn/client.conf --update_only
2022-11-05 16:42:46,965: DEBUG - + update_only=0
2022-11-05 16:42:47,086: DEBUG - + local checksum_setting_name=checksum__etc_openvpn_client.conf
2022-11-05 16:42:47,087: DEBUG - ++ ynh_app_setting_get --app=vpnclient --key=checksum__etc_openvpn_client.conf
2022-11-05 16:42:47,087: DEBUG - ++ local globalapp=vpnclient
2022-11-05 16:42:47,217: DEBUG - ++ app=vpnclient
2022-11-05 16:42:47,217: DEBUG - ++ [[ checksum__etc_openvpn_client.conf =~ (unprotected|protected|skipped)
]]
2022-11-05 16:42:47,218: DEBUG - ++ ynh_app_setting get vpnclient checksum__etc_openvpn_client.conf
2022-11-05 16:42:47,405: DEBUG - + local checksum_value=
2022-11-05 16:42:47,405: DEBUG - + ‘[’ -z ‘’ ‘]’
2022-11-05 16:42:47,408: DEBUG - + unset backup_file_checksum
2022-11-05 16:42:47,410: DEBUG - + return 0
2022-11-05 16:42:47,420: DEBUG - + ynh_print_info ‘–message=File ‘'’/etc/openvpn/client.conf’'’ overwritten with /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3’
2022-11-05 16:42:47,444: INFO - File ‘/etc/openvpn/client.conf’ overwritten with /tmp/ynh_filequestion_jmxl1y3x/tmpr3kp6dp3
2022-11-05 16:42:47,445: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:47,446: DEBUG - + ynh_app_config_apply_one doc
2022-11-05 16:42:47,446: DEBUG - + _ynh_app_config_apply_one doc
2022-11-05 16:42:47,447: DEBUG - + local short_setting=doc
2022-11-05 16:42:47,447: DEBUG - + local setter=set__doc
2022-11-05 16:42:47,447: DEBUG - + local bind=settings
2022-11-05 16:42:47,447: DEBUG - + local type=alert
2022-11-05 16:42:47,448: DEBUG - + ‘[’ false == true ‘]’
2022-11-05 16:42:47,448: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:47,448: DEBUG - + ynh_app_config_apply_one crt_server_ca
2022-11-05 16:42:47,448: DEBUG - + _ynh_app_config_apply_one crt_server_ca
2022-11-05 16:42:47,448: DEBUG - + local short_setting=crt_server_ca
2022-11-05 16:42:47,448: DEBUG - + local setter=set__crt_server_ca
2022-11-05 16:42:47,448: DEBUG - + local bind=/etc/openvpn/keys/ca-server.crt
2022-11-05 16:42:47,449: DEBUG - + local type=file
2022-11-05 16:42:47,449: DEBUG - + ‘[’ false == true ‘]’
2022-11-05 16:42:47,450: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:47,450: DEBUG - + ynh_app_config_apply_one ip6_net
2022-11-05 16:42:47,450: DEBUG - + _ynh_app_config_apply_one ip6_net
2022-11-05 16:42:47,458: DEBUG - + local short_setting=ip6_net
2022-11-05 16:42:47,460: DEBUG - + local setter=set__ip6_net
2022-11-05 16:42:47,461: DEBUG - + local bind=settings
2022-11-05 16:42:47,462: DEBUG - + local type=string
2022-11-05 16:42:47,463: DEBUG - + ‘[’ false == true ‘]’
2022-11-05 16:42:47,463: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:47,464: DEBUG - + ynh_app_config_apply_one crt_client
2022-11-05 16:42:47,464: DEBUG - + _ynh_app_config_apply_one crt_client
2022-11-05 16:42:47,464: DEBUG - + local short_setting=crt_client
2022-11-05 16:42:47,465: DEBUG - + local setter=set__crt_client
2022-11-05 16:42:47,465: DEBUG - + local bind=/etc/openvpn/keys/user.crt
2022-11-05 16:42:47,465: DEBUG - + local type=file
2022-11-05 16:42:47,466: DEBUG - + ‘[’ false == true ‘]’
2022-11-05 16:42:47,469: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:47,482: DEBUG - + ynh_app_config_apply_one crt_client_ta
2022-11-05 16:42:47,484: DEBUG - + _ynh_app_config_apply_one crt_client_ta
2022-11-05 16:42:47,486: DEBUG - + local short_setting=crt_client_ta
2022-11-05 16:42:47,487: DEBUG - + local setter=set__crt_client_ta
2022-11-05 16:42:47,495: DEBUG - + local bind=/etc/openvpn/keys/user_ta.key
2022-11-05 16:42:47,495: DEBUG - + local type=file
2022-11-05 16:42:47,495: DEBUG - + ‘[’ false == true ‘]’
2022-11-05 16:42:47,496: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:47,496: DEBUG - + ynh_app_config_apply_one dns_method
2022-11-05 16:42:47,497: DEBUG - + _ynh_app_config_apply_one dns_method
2022-11-05 16:42:47,497: DEBUG - + local short_setting=dns_method
2022-11-05 16:42:47,497: DEBUG - + local setter=set__dns_method
2022-11-05 16:42:47,498: DEBUG - + local bind=settings
2022-11-05 16:42:47,498: DEBUG - + local type=select
2022-11-05 16:42:47,498: DEBUG - + ‘[’ false == true ‘]’
2022-11-05 16:42:47,499: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:47,499: DEBUG - + ynh_app_config_apply_one crt_client_key
2022-11-05 16:42:47,499: DEBUG - + _ynh_app_config_apply_one crt_client_key
2022-11-05 16:42:47,499: DEBUG - + local short_setting=crt_client_key
2022-11-05 16:42:47,500: DEBUG - + local setter=set__crt_client_key
2022-11-05 16:42:47,500: DEBUG - + local bind=/etc/openvpn/keys/user.key
2022-11-05 16:42:47,500: DEBUG - + local type=file
2022-11-05 16:42:47,500: DEBUG - + ‘[’ false == true ‘]’
2022-11-05 16:42:47,501: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:47,501: DEBUG - + ynh_app_config_apply_one ip6_addr
2022-11-05 16:42:47,501: DEBUG - + _ynh_app_config_apply_one ip6_addr
2022-11-05 16:42:47,502: DEBUG - + local short_setting=ip6_addr
2022-11-05 16:42:47,502: DEBUG - + local setter=set__ip6_addr
2022-11-05 16:42:47,502: DEBUG - + local bind=settings
2022-11-05 16:42:47,502: DEBUG - + local type=string
2022-11-05 16:42:47,503: DEBUG - + ‘[’ false == true ‘]’
2022-11-05 16:42:47,507: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:47,507: DEBUG - + ynh_app_config_apply_one nameservers
2022-11-05 16:42:47,507: DEBUG - + _ynh_app_config_apply_one nameservers
2022-11-05 16:42:47,507: DEBUG - + local short_setting=nameservers
2022-11-05 16:42:47,508: DEBUG - + local setter=set__nameservers
2022-11-05 16:42:47,508: DEBUG - + local bind=settings
2022-11-05 16:42:47,508: DEBUG - + local type=tags
2022-11-05 16:42:47,509: DEBUG - + ‘[’ false == true ‘]’
2022-11-05 16:42:47,509: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:47,522: DEBUG - + ynh_app_config_apply_one login_passphrase
2022-11-05 16:42:47,525: DEBUG - + _ynh_app_config_apply_one login_passphrase
2022-11-05 16:42:47,526: DEBUG - + local short_setting=login_passphrase
2022-11-05 16:42:47,528: DEBUG - + local setter=set__login_passphrase
2022-11-05 16:42:47,531: DEBUG - + local bind=settings
2022-11-05 16:42:47,531: DEBUG - + local type=password
2022-11-05 16:42:47,532: DEBUG - + ‘[’ false == true ‘]’
2022-11-05 16:42:47,532: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:47,532: DEBUG - + ynh_app_config_apply_one service_enabled
2022-11-05 16:42:47,533: DEBUG - + _ynh_app_config_apply_one service_enabled
2022-11-05 16:42:47,533: DEBUG - + local short_setting=service_enabled
2022-11-05 16:42:47,534: DEBUG - + local setter=set__service_enabled
2022-11-05 16:42:47,534: DEBUG - + local bind=settings
2022-11-05 16:42:47,534: DEBUG - + local type=boolean
2022-11-05 16:42:47,535: DEBUG - + ‘[’ false == true ‘]’
2022-11-05 16:42:47,535: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:47,536: DEBUG - + ynh_app_config_apply_one login_user
2022-11-05 16:42:47,536: DEBUG - + _ynh_app_config_apply_one login_user
2022-11-05 16:42:47,537: DEBUG - + local short_setting=login_user
2022-11-05 16:42:47,537: DEBUG - + local setter=set__login_user
2022-11-05 16:42:47,538: DEBUG - + local bind=settings
2022-11-05 16:42:47,538: DEBUG - + local type=string
2022-11-05 16:42:47,539: DEBUG - + ‘[’ false == true ‘]’
2022-11-05 16:42:47,539: DEBUG - + for short_setting in “${!old[@]}”
2022-11-05 16:42:47,539: DEBUG - + ynh_app_config_apply_one status
2022-11-05 16:42:47,539: DEBUG - + _ynh_app_config_apply_one status
2022-11-05 16:42:47,540: DEBUG - + local short_setting=status
2022-11-05 16:42:47,540: DEBUG - + local setter=set__status
2022-11-05 16:42:47,540: DEBUG - + local bind=settings
2022-11-05 16:42:47,541: DEBUG - + local type=alert
2022-11-05 16:42:47,541: DEBUG - + ‘[’ false == true ‘]’
2022-11-05 16:42:47,541: DEBUG - + set_permissions /etc/openvpn/client.conf
2022-11-05 16:42:47,541: DEBUG - + local file=/etc/openvpn/client.conf
2022-11-05 16:42:47,542: DEBUG - + ‘[’ -f /etc/openvpn/client.conf ‘]’
2022-11-05 16:42:47,542: DEBUG - + chown vpnclient:vpnclient /etc/openvpn/client.conf
2022-11-05 16:42:47,544: DEBUG - + chmod go=— /etc/openvpn/client.conf
2022-11-05 16:42:47,545: DEBUG - + set_permissions /etc/openvpn/keys/ca-server.crt
2022-11-05 16:42:47,545: DEBUG - + local file=/etc/openvpn/keys/ca-server.crt
2022-11-05 16:42:47,545: DEBUG - + ‘[’ -f /etc/openvpn/keys/ca-server.crt ‘]’
2022-11-05 16:42:47,546: DEBUG - + chown vpnclient:vpnclient /etc/openvpn/keys/ca-server.crt
2022-11-05 16:42:47,546: DEBUG - + chmod go=— /etc/openvpn/keys/ca-server.crt
2022-11-05 16:42:47,546: DEBUG - + set_permissions /etc/openvpn/keys/user.crt
2022-11-05 16:42:47,547: DEBUG - + local file=/etc/openvpn/keys/user.crt
2022-11-05 16:42:47,547: DEBUG - + ‘[’ -f /etc/openvpn/keys/user.crt ‘]’
2022-11-05 16:42:47,547: DEBUG - + chown vpnclient:vpnclient /etc/openvpn/keys/user.crt
2022-11-05 16:42:47,547: DEBUG - + chmod go=— /etc/openvpn/keys/user.crt
2022-11-05 16:42:47,547: DEBUG - + set_permissions /etc/openvpn/keys/user.key
2022-11-05 16:42:47,548: DEBUG - + local file=/etc/openvpn/keys/user.key
2022-11-05 16:42:47,548: DEBUG - + ‘[’ -f /etc/openvpn/keys/user.key ‘]’
2022-11-05 16:42:47,548: DEBUG - + chown vpnclient:vpnclient /etc/openvpn/keys/user.key
2022-11-05 16:42:47,549: DEBUG - + chmod go=— /etc/openvpn/keys/user.key
2022-11-05 16:42:47,549: DEBUG - + set_permissions /etc/openvpn/keys/user_ta.key
2022-11-05 16:42:47,549: DEBUG - + local file=/etc/openvpn/keys/user_ta.key
2022-11-05 16:42:47,550: DEBUG - + ‘[’ -f /etc/openvpn/keys/user_ta.key ‘]’
2022-11-05 16:42:47,557: DEBUG - + chown vpnclient:vpnclient /etc/openvpn/keys/user_ta.key
2022-11-05 16:42:47,560: DEBUG - + chmod go=— /etc/openvpn/keys/user_ta.key
2022-11-05 16:42:47,561: DEBUG - + ynh_print_info ‘–message=Starting vpnclient service if needed’
2022-11-05 16:42:47,595: INFO - Starting vpnclient service if needed
2022-11-05 16:42:47,596: DEBUG - + /usr/local/bin/ynh-vpnclient start
2022-11-05 16:42:47,642: DEBUG - [INFO] Retrieving Yunohost settings…
2022-11-05 16:42:47,993: DEBUG - [ OK ] Settings retrieved
2022-11-05 16:42:48,082: DEBUG - [INFO] [vpnclient] Starting…
2022-11-05 16:42:48,126: DEBUG - [INFO] Cleaning vpnclient custom rules from the firewall
2022-11-05 16:42:48,151: DEBUG - [INFO] Restarting yunohost firewall…
2022-11-05 16:43:00,030: DEBUG - [ OK ] Firewall restarted!
2022-11-05 16:43:00,048: DEBUG - [INFO] Now synchronizing time using ntp…
2022-11-05 16:43:11,882: DEBUG - [INFO] Now actually starting OpenVPN client…
2022-11-05 16:43:12,170: WARNING - Job for openvpn@client.service failed because the control process exited with error code.
2022-11-05 16:43:12,179: WARNING - See “systemctl status openvpn@client.service” and “journalctl -xe” for details.
2022-11-05 16:43:12,201: WARNING - tail: cannot open ‘/var/log/openvpn-client.log’ for reading: No such file or directory
2022-11-05 16:43:12,222: WARNING - [CRIT] Failed to start OpenVPN :confused:
2022-11-05 16:43:12,229: DEBUG - + ynh_exit_properly

and this is the ovpn file format in case you want to check if the syntax is right or incomaptible with yunohost vpn client:
proto tcp
remote usfl2-ovpn-tcp.dns2use.com 80
client
verb 1
dev tun
auth-user-pass
persist-key
persist-tun
nobind

-----BEGIN CERTIFICATE-----
MIIE6DCCA9CgAwIBAgIJAMjXFoeo5uSlMA0GCSqGSIb3DQEBCwUAMIGoMQswCQYD
VQQGEwJISzEQMA4GA1UECBMHQ2VudHJhbDELMAkGA1UEBxMCSEsxGDAWBgNVBAoT
D1NlY3VyZS1TZXJ2ZXJDQTELMAkGA1UECxMCSVQxGDAWBgNVBAMTD1NlY3VyZS1T
ZXJ2ZXJDQTEYMBYGA1UEKRMPU2VjdXJlLVNlcnZlckNBMR8wHQYJKoZIhvcNAQkB
FhBtYWlsQGhvc3QuZG9tYWluMB4XDTE2MDExNTE1MzQwOVoXDTI2MDExMjE1MzQw
OVowgagxCzAJBgNVBAYTAkhLMRAwDgYDVQQIEwdDZW50cmFsMQswCQYDVQQHEwJI
SzEYMBYGA1UEChMPU2VjdXJlLVNlcnZlckNBMQswCQYDVQQLEwJJVDEYMBYGA1UE
AxMPU2VjdXJlLVNlcnZlckNBMRgwFgYDVQQpEw9TZWN1cmUtU2VydmVyQ0ExHzAd
BgkqhkiG9w0BCQEWEG1haWxAaG9zdC5kb21haW4wggEiMA0GCSqGSIb3DQEBAQUA
A4IBDwAwggEKAoIBAQDluufhyLlyvXzPUL16kAWAdivl1roQv3QHbuRshyKacf/1
Er1JqEbtW3Mx9Fvr/u27qU2W8lQI6DaJhU2BfijPe/KHkib55mvHzIVvoexxya26
nk79F2c+d9PnuuMdThWQO3El5a/i2AASnM7T7piIBT2WRZW2i8RbfJaTT7G7LP7O
pMKIV1qyBg/cWoO7cIWQW4jmzqrNryIkF0AzStLN1DxvnQZwgXBGv0CwuAkfQuNS
Lu0PQgPp0PhdukNZFllv5D29IhPr0Z+kwPtrAgPQo+lHlOBHBMUpDT4XChTPeAvM
aUSBsqmonAE8UUHEabWrqYN/kWNHCNkYXMkiVmK1AgMBAAGjggERMIIBDTAdBgNV
HQ4EFgQU456ijsFrYnzHBShLAPpOUqQ+Z2cwgd0GA1UdIwSB1TCB0oAU456ijsFr
YnzHBShLAPpOUqQ+Z2ehga6kgaswgagxCzAJBgNVBAYTAkhLMRAwDgYDVQQIEwdD
ZW50cmFsMQswCQYDVQQHEwJISzEYMBYGA1UEChMPU2VjdXJlLVNlcnZlckNBMQsw
CQYDVQQLEwJJVDEYMBYGA1UEAxMPU2VjdXJlLVNlcnZlckNBMRgwFgYDVQQpEw9T
ZWN1cmUtU2VydmVyQ0ExHzAdBgkqhkiG9w0BCQEWEG1haWxAaG9zdC5kb21haW6C
CQDI1xaHqObkpTAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQCvga2H
MwOtUxWH/inL2qk24KX2pxLg939JNhqoyNrUpbDHag5xPQYXUmUpKrNJZ0z+o/Zn
NUPHydTSXE7Z7E45J0GDN5E7g4pakndKnDLSjp03NgGsCGW+cXnz6UBPM5FStFvG
dDeModeSUyoS9fjk+mYROvmiy5EiVDP91sKGcPLR7Ym0M7zl2aaqV7bb98HmMoBO
xpeZQinof67nKrCsgz/xjktWFgcmPl4/PQSsmqQD0fTtWxGuRX+FzwvF2OCMCAJg
p1RqJNlk2g50/kBIoJVPPCfjDFeDU5zGaWGSQ9+z1L6/z7VXdjUiHL0ouOcHwbiS
4ZjTr9nMn6WdAHU2
-----END CERTIFICATE-----


-----BEGIN CERTIFICATE-----
MIIEnzCCA4egAwIBAgIBAzANBgkqhkiG9w0BAQsFADCBqDELMAkGA1UEBhMCSEsx
EDAOBgNVBAgTB0NlbnRyYWwxCzAJBgNVBAcTAkhLMRgwFgYDVQQKEw9TZWN1cmUt
U2VydmVyQ0ExCzAJBgNVBAsTAklUMRgwFgYDVQQDEw9TZWN1cmUtU2VydmVyQ0Ex
GDAWBgNVBCkTD1NlY3VyZS1TZXJ2ZXJDQTEfMB0GCSqGSIb3DQEJARYQbWFpbEBo
b3N0LmRvbWFpbjAeFw0xNjAxMTUxNjE1MzhaFw0yNjAxMTIxNjE1MzhaMIGdMQsw
CQYDVQQGEwJISzEQMA4GA1UECBMHQ2VudHJhbDELMAkGA1UEBxMCSEsxFjAUBgNV
BAoTDVNlY3VyZS1DbGllbnQxCzAJBgNVBAsTAklUMRYwFAYDVQQDEw1TZWN1cmUt
Q2xpZW50MREwDwYDVQQpEwhjaGFuZ2VtZTEfMB0GCSqGSIb3DQEJARYQbWFpbEBo
b3N0LmRvbWFpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxsnyn4v6xxDP
nuDaYS0b9M1N8nxgg7OBPBlK+FWRxdTQ8yxt5U5CZGm7riVp7fya2J2iPZIgmHQE
v/KbxztsHAVlYSfYYlalrnhEL3bDP2tY+N43AwB1k5BrPq2s1pPLT2XG951drDKG
4PUuFHUP1sHzW5oQlfVCmxgIMAP8OYkCAwEAAaOCAV8wggFbMAkGA1UdEwQCMAAw
LQYJYIZIAYb4QgENBCAWHkVhc3ktUlNBIEdlbmVyYXRlZCBDZXJ0aWZpY2F0ZTAd
BgNVHQ4EFgQU9MwUnUDbQKKZKjoeieD2OD5NlAEwgd0GA1UdIwSB1TCB0oAU456i
jsFrYnzHBShLAPpOUqQ+Z2ehga6kgaswgagxCzAJBgNVBAYTAkhLMRAwDgYDVQQI
EwdDZW50cmFsMQswCQYDVQQHEwJISzEYMBYGA1UEChMPU2VjdXJlLVNlcnZlckNB
MQswCQYDVQQLEwJJVDEYMBYGA1UEAxMPU2VjdXJlLVNlcnZlckNBMRgwFgYDVQQp
Ew9TZWN1cmUtU2VydmVyQ0ExHzAdBgkqhkiG9w0BCQEWEG1haWxAaG9zdC5kb21h
aW6CCQDI1xaHqObkpTATBgNVHSUEDDAKBggrBgEFBQcDAjALBgNVHQ8EBAMCB4Aw
DQYJKoZIhvcNAQELBQADggEBAFyFo2VUX/UFixsdPdK9/Yt6mkCWc+XS1xbapGXX
b9U1d+h1iBCIV9odUHgNCXWpz1hR5Uu/OCzaZ0asLE4IFMZlQmJs8sMT0c1tfPPG
W45vxbL0lhqnQ8PNcBH7huNK7VFjUh4szXRKmaQPaM4S91R3L4CaNfVeHfAg7mN2
m9Zn5Gto1Q1/CFMGKu2hxwGEw5p+X1czBWEvg/O09ckx/ggkkI1NcZsNiYQ+6Pz8
DdGGX3+05YwLZu94+O6iIMrzxl/il0eK83g3YPbsOrASARvw6w/8sOnJCK5eOacl
21oww875KisnYdWjHB1FiI+VzQ1/gyoDsL5kPTJVuu2CoG8=
-----END CERTIFICATE-----


-----BEGIN PRIVATE KEY-----
MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAMbJ8p+L+scQz57g
2mEtG/TNTfJ8YIOzgTwZSvhVkcXU0PMsbeVOQmRpu64lae38mtidoj2SIJh0BL/y
m8c7bBwFZWEn2GJWpa54RC92wz9rWPjeNwMAdZOQaz6trNaTy09lxvedXawyhuD1
LhR1D9bB81uaEJX1QpsYCDAD/DmJAgMBAAECgYEAvTHbDupE5U0krUvHzBEIuHbl
ptGlcfNYHoDcD3oxYR3pOGeiuElBexv+mgHVzcFLBrsQfJUlHLPfCWi3xmjRvDQc
r7N7U1u7NIzazy/PpRBaKolMRiM1KMYi2DG0i4ZONwFT8bvNHOIrZzCLY54KDrqO
n55OzC70WYjWh4t5evkCQQDkkzZUAeskBC9+JP/zLps8jhwfoLBWGw/zbC9ePDmX
0N8MTZdcUpg6KUTf1wbkLUyVtIRjS2ao6qu1jWG6K0x3AkEA3qPWyaWQWCynhNDq
u2U1cPb2kh5AJip+gqxO3emikAdajsSxeoyEC2AfyBITbeB1tvCUZH17J4i/0+OF
TEQp/wJAb/zEOGJ8PzghwK8GC7JA8mk51DEZVAaMSRovFv9wxDXcoh191AjPdmdz
zCuAv9iF1i8MUc3GbWoUWK39PIYsPwJAWh63sqfx5b8tj/WBDpnJKBDPfhYAoXJS
A1L8GZeY1fQkE+ZKcPCwAmrGcpXeh3t0Krj3WDXyw+32uC5Apr5wwQJAPZwOORea
C4YNfBPZN9BdHvVjOYGGUffpI+X+hWpLRnQFJteAi+eqwyk0Oi0SkJB+a7jcerK2
d7q7xhec5WHlng==
-----END PRIVATE KEY-----

2048 bit OpenVPN static key

-----BEGIN OpenVPN Static key V1-----
e30af995f56d07426d9ba1f824730521
d4283db4b4d0cdda9c6e8759a3799dcb
7939b6a5989160c9660de0f6125cbb1f
585b41c074b2fe88ecfcf17eab9a33be
1352379cdf74952b588fb161a93e13df
9135b2b29038231e02d657a6225705e6
868ccb0c384ed11614690a1894bfbeb2
74cebf1fe9c2329bdd5c8a40fe882062
4d2ea7540cd79ab76892db51fc371a3a
c5fc9573afecb3fffe3281e61d72e915
79d9b03d8cbf7909b3aebf4d90850321
ee6b7d0a7846d15c27d8290e031e951e
19438a4654663cad975e138f5bc5af89
c737ad822f27e19057731f41e1e254cc
9c95b7175c622422cde9f1f2cfd3510a
dd94498b4d7133d3729dd214a16b27fb
-----END OpenVPN Static key V1-----

key-direction 1
remote-cert-tls server
cipher AES-256-CBC
route-method exe
route-delay 0
script-security 2

thank you!

Bro did you really published your private key …

1 Like

no man thats not my private key its the ovpn file provided by ivacy as public configuration files, i have a folder with 114 file like this one for each country,

any hope?

You need a spacial VPN that offers a public dedicated IP without port restriction.

See VPN providers | Yunohost Documentation for more information

We doesn’t have commercial list for this kind of VPN in english. We don’t even know if some yunohosters have succeeded to use a commercial entity for this. In france people go generally in FFDN isp for that.

hey thank you for your reply,
please be aware to the fact that until the upgrade i did use my vpn (ivacy) with yunohost, it is working as charm in the old vpn client version of yunohost,
after the upgrade the vpn client has been changed and now when i am choosing the ovpn file, inserting my credentials and click save, i get an error and the file is not appear anymore in input field,

about the port restriction, ivacy doesnt block outbound ports at all, but they do blocking inbound ports as long you dont have NAT plugin which is 10 dollars a year, once you have nat addon you can open any port you desire till 15 ports, or else, open all,

i dont have that addon anymore, but i wanted to test a wireguard connection with yunohost server while there is a vpn connection in it while i forgot completely the ports will be closed, just in thanks to you, you reminds me that even if i had a connection i couldnt test it,

i did installed a wireguard server today fully working in vmware, (not related to yunohost)
and also openvpn in another vm, they are both working well i tried them with android client and windows,

in general i can install ivacy connection on yunohost by the command line, but i miss the simple interface that used to be with yunohost VPN client, i hope you guys will take a look on it and find what the problem cause is,

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.