My YunoHost server
Hardware: AMD 64
YunoHost version: 11.2.26 Stable
I have access to my server : Yes
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes
If yes, please explain: it should be behind a VPN
If your request is related to an app, specify its name and version: ** VPNclient 2.2~ynh4**
Description of my issue
After a failed update of the vpnclient app, the VPN Client is unable to start. I’ve tried to remove the app and re-install it but no luck. The log’s don’t tell me anything useful maybe you can help me?!
Thank you!
The VPN is down ! Here are errors logged in the last few minutes
Soliciting pool server 2a01:e0a:431:b527::b123
ntpd: time slew -0.004890 s
[INFO] Checking if configuration is valid...
[INFO] Now actually starting OpenVPN client...
[INFO] OpenVPN client started ... waiting for tun0 interface to show up
[ OK ] tun0 interface is up!
[INFO] Waiting for VPN client to be ready...
tail: kan '/var/log/openvpn-client.log' niet openen om te lezen: Bestand of map bestaat niet
tail: geen bestanden meer over
[FAIL] The VPN client didn't complete initiliasation
tail: kan '/var/log/openvpn-client.log' niet openen om te lezen: Bestand of map bestaat niet
[CRIT] Failed to start OpenVPN client
ynh-vpnclient.service: Main process exited, code=exited, status=1/FAILURE
ynh-vpnclient.service: Failed with result 'exit-code'.
Failed to start YunoHost VPN Client..```
``
args:
app: vpnclient
args_file: null
key: main
value: null
ended_at: 2024-08-02 09:20:16.326137
error: De waarden in het configuratiescherm konden niet toegepast worden.
interface: api
operation: app_config_set
parent: null
related_to:
- - app
- vpnclient
started_at: 2024-08-02 09:20:00.553749
success: false
yunohost_version: 11.2.26
============
2024-08-02 11:20:00,563: DEBUG - Calling 'apply' action from config script
2024-08-02 11:20:00,573: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./config" apply 7>&1']'
2024-08-02 11:20:00,581: DEBUG - + source _common.sh
2024-08-02 11:20:00,581: DEBUG - ++ service_name=ynh-vpnclient
2024-08-02 11:20:00,582: DEBUG - ++ service_checker_name=ynh-vpnclient-checker
2024-08-02 11:20:00,582: DEBUG - + source /usr/share/yunohost/helpers
2024-08-02 11:20:00,583: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2024-08-02 11:20:00,584: DEBUG - +++ cd -- /usr/share/yunohost
2024-08-02 11:20:00,584: DEBUG - +++ pwd
2024-08-02 11:20:00,584: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2024-08-02 11:20:00,584: DEBUG - ++ YNH_HELPERS_VERSION=2
2024-08-02 11:20:00,587: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-08-02 11:20:00,587: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-08-02 11:20:00,607: DEBUG - + ynh_abort_if_errors
2024-08-02 11:20:00,608: DEBUG - + trap ynh_exit_properly EXIT
2024-08-02 11:20:00,608: DEBUG - + BACKTICK='`'
2024-08-02 11:20:00,608: DEBUG - + TRIPLEBACKTICKS='```'
2024-08-02 11:20:00,609: DEBUG - + ynh_app_config_run apply
2024-08-02 11:20:00,609: DEBUG - + old=()
2024-08-02 11:20:00,609: DEBUG - + declare -Ag old
2024-08-02 11:20:00,609: DEBUG - + changed=()
2024-08-02 11:20:00,609: DEBUG - + declare -Ag changed
2024-08-02 11:20:00,609: DEBUG - + file_hash=()
2024-08-02 11:20:00,609: DEBUG - + declare -Ag file_hash
2024-08-02 11:20:00,610: DEBUG - + binds=()
2024-08-02 11:20:00,610: DEBUG - + declare -Ag binds
2024-08-02 11:20:00,610: DEBUG - + types=()
2024-08-02 11:20:00,610: DEBUG - + declare -Ag types
2024-08-02 11:20:00,610: DEBUG - + formats=()
2024-08-02 11:20:00,610: DEBUG - + declare -Ag formats
2024-08-02 11:20:00,610: DEBUG - + case $1 in
2024-08-02 11:20:00,611: DEBUG - + max_progression=4
2024-08-02 11:20:00,644: INFO - [+++++...............] > Reading config panel description and current configuration...
2024-08-02 11:20:00,645: DEBUG - + ynh_app_config_get
2024-08-02 11:20:00,645: DEBUG - + _ynh_app_config_get
2024-08-02 11:20:00,645: DEBUG - ++ python3
2024-08-02 11:20:00,671: DEBUG - + lines='status|alert|settings
2024-08-02 11:20:00,672: DEBUG - service_enabled|boolean|settings
2024-08-02 11:20:00,672: DEBUG - doc|alert|settings
2024-08-02 11:20:00,672: DEBUG - config_file|file|/etc/openvpn/client.conf
2024-08-02 11:20:00,672: DEBUG - config_template|file|/etc/openvpn/client.conf.tpl
2024-08-02 11:20:00,673: DEBUG - cube_file|file|/etc/openvpn/client.cube
2024-08-02 11:20:00,673: DEBUG - ovpn_file|file|/etc/openvpn/client.ovpn
2024-08-02 11:20:00,673: DEBUG - crt_server_ca|file|/etc/openvpn/keys/ca-server.crt
2024-08-02 11:20:00,673: DEBUG - crt_client|file|/etc/openvpn/keys/user.crt
2024-08-02 11:20:00,673: DEBUG - crt_client_key|file|/etc/openvpn/keys/user.key
2024-08-02 11:20:00,673: DEBUG - login_user|string|settings
2024-08-02 11:20:00,673: DEBUG - login_passphrase|password|settings
2024-08-02 11:20:00,673: DEBUG - crt_client_ta|file|/etc/openvpn/keys/user_ta.key
2024-08-02 11:20:00,673: DEBUG - dns_method|select|settings
2024-08-02 11:20:00,674: DEBUG - nameservers|tags|settings
2024-08-02 11:20:00,674: DEBUG - ip6_net|string|settings
2024-08-02 11:20:00,674: DEBUG - ip6_addr|string|settings'
2024-08-02 11:20:00,674: DEBUG - + for line in $lines
2024-08-02 11:20:00,674: DEBUG - + IFS='|'
2024-08-02 11:20:00,674: DEBUG - + read short_setting type bind
2024-08-02 11:20:00,674: DEBUG - + binds[${short_setting}]=settings
2024-08-02 11:20:00,674: DEBUG - + types[${short_setting}]=alert
2024-08-02 11:20:00,674: DEBUG - + file_hash[${short_setting}]=
2024-08-02 11:20:00,675: DEBUG - + formats[${short_setting}]=
2024-08-02 11:20:00,675: DEBUG - + ynh_app_config_get_one status alert settings
2024-08-02 11:20:00,675: DEBUG - + _ynh_app_config_get_one status alert settings
2024-08-02 11:20:00,675: DEBUG - + local short_setting=status
2024-08-02 11:20:00,675: DEBUG - + local type=alert
2024-08-02 11:20:00,675: DEBUG - + local bind=settings
2024-08-02 11:20:00,675: DEBUG - + local getter=get__status
2024-08-02 11:20:00,675: DEBUG - + type -t get__status
2024-08-02 11:20:00,675: DEBUG - + grep -q '^function$'
2024-08-02 11:20:00,675: DEBUG - ++ get__status
2024-08-02 11:20:00,675: DEBUG - +++ ynh_app_setting_get vpnclient service_enabled
2024-08-02 11:20:00,692: DEBUG - +++ app=vpnclient
2024-08-02 11:20:00,692: DEBUG - +++ [[ service_enabled =~ (unprotected|protected|skipped)_ ]]
2024-08-02 11:20:00,739: DEBUG - ++ local service_enabled=0
2024-08-02 11:20:00,739: DEBUG - +++ ping -w3 -c1 ip.yunohost.org
2024-08-02 11:20:00,765: DEBUG - +++ curl --max-time 5 https://ip.yunohost.org --silent
2024-08-02 11:20:00,908: DEBUG - ++ ipv4=xx.xx.xx.xx
2024-08-02 11:20:00,908: DEBUG - +++ ping -w3 -c1 ip6.yunohost.org
2024-08-02 11:20:00,912: DEBUG - ++ ipv6=
2024-08-02 11:20:00,912: DEBUG - ++ ip route get 1.2.3.4
2024-08-02 11:20:00,912: DEBUG - ++ grep -q tun0
2024-08-02 11:20:00,915: DEBUG - ++ cat
2024-08-02 11:20:00,916: DEBUG - + old[$short_setting]='style: info
2024-08-02 11:20:00,916: DEBUG - ask:
2024-08-02 11:20:00,917: DEBUG - en: The VPN is not enabled'
2024-08-02 11:20:00,917: DEBUG - + formats[${short_setting}]=yaml
2024-08-02 11:20:00,917: DEBUG - + for line in $lines
2024-08-02 11:20:00,917: DEBUG - + IFS='|'
2024-08-02 11:20:00,917: DEBUG - + read short_setting type bind
2024-08-02 11:20:00,917: DEBUG - + binds[${short_setting}]=settings
2024-08-02 11:20:00,918: DEBUG - + types[${short_setting}]=boolean
2024-08-02 11:20:00,918: DEBUG - + file_hash[${short_setting}]=
2024-08-02 11:20:00,918: DEBUG - + formats[${short_setting}]=
2024-08-02 11:20:00,918: DEBUG - + ynh_app_config_get_one service_enabled boolean settings
2024-08-02 11:20:00,918: DEBUG - + _ynh_app_config_get_one service_enabled boolean settings
2024-08-02 11:20:00,918: DEBUG - + local short_setting=service_enabled
2024-08-02 11:20:00,918: DEBUG - + local type=boolean
2024-08-02 11:20:00,919: DEBUG - + local bind=settings
2024-08-02 11:20:00,919: DEBUG - + local getter=get__service_enabled
2024-08-02 11:20:00,919: DEBUG - + type -t get__service_enabled
2024-08-02 11:20:00,919: DEBUG - + grep -q '^function$'
2024-08-02 11:20:00,919: DEBUG - + [[ settings == *\(* ]]
2024-08-02 11:20:00,919: DEBUG - + [[ settings == \n\u\l\l ]]
2024-08-02 11:20:00,919: DEBUG - + [[ boolean == \f\i\l\e ]]
2024-08-02 11:20:00,920: DEBUG - + [[ boolean == \t\e\x\t ]]
2024-08-02 11:20:00,920: DEBUG - + local bind_after=
2024-08-02 11:20:00,920: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2024-08-02 11:20:00,920: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:00,920: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:00,920: DEBUG - ++ cut -d: -f1
2024-08-02 11:20:00,921: DEBUG - + local bind_key_=
2024-08-02 11:20:00,921: DEBUG - + bind_key_=service_enabled
2024-08-02 11:20:00,922: DEBUG - + [[ service_enabled == *\>* ]]
2024-08-02 11:20:00,922: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:00,922: DEBUG - ++ cut -d: -f2
2024-08-02 11:20:00,923: DEBUG - ++ sed s@__FINALPATH__@@
2024-08-02 11:20:00,923: DEBUG - ++ sed s@__INSTALL_DIR__@@
2024-08-02 11:20:00,923: DEBUG - ++ sed s/__APP__/vpnclient/
2024-08-02 11:20:00,926: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:00,926: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=service_enabled --after=
2024-08-02 11:20:00,981: DEBUG - ++ after=
2024-08-02 11:20:00,981: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]]
2024-08-02 11:20:00,991: DEBUG - + old[$short_setting]=0
2024-08-02 11:20:00,992: DEBUG - + for line in $lines
2024-08-02 11:20:00,992: DEBUG - + IFS='|'
2024-08-02 11:20:00,992: DEBUG - + read short_setting type bind
2024-08-02 11:20:00,992: DEBUG - + binds[${short_setting}]=settings
2024-08-02 11:20:00,992: DEBUG - + types[${short_setting}]=alert
2024-08-02 11:20:00,992: DEBUG - + file_hash[${short_setting}]=
2024-08-02 11:20:00,992: DEBUG - + formats[${short_setting}]=
2024-08-02 11:20:00,992: DEBUG - + ynh_app_config_get_one doc alert settings
2024-08-02 11:20:00,992: DEBUG - + _ynh_app_config_get_one doc alert settings
2024-08-02 11:20:00,993: DEBUG - + local short_setting=doc
2024-08-02 11:20:00,993: DEBUG - + local type=alert
2024-08-02 11:20:00,993: DEBUG - + local bind=settings
2024-08-02 11:20:00,993: DEBUG - + local getter=get__doc
2024-08-02 11:20:00,993: DEBUG - + type -t get__doc
2024-08-02 11:20:00,993: DEBUG - + grep -q '^function$'
2024-08-02 11:20:00,994: DEBUG - + [[ settings == *\(* ]]
2024-08-02 11:20:00,994: DEBUG - + [[ settings == \n\u\l\l ]]
2024-08-02 11:20:00,994: DEBUG - + [[ alert == \f\i\l\e ]]
2024-08-02 11:20:00,994: DEBUG - + [[ alert == \t\e\x\t ]]
2024-08-02 11:20:00,994: DEBUG - + local bind_after=
2024-08-02 11:20:00,994: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2024-08-02 11:20:00,994: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:00,995: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:00,995: DEBUG - ++ cut -d: -f1
2024-08-02 11:20:00,996: DEBUG - + local bind_key_=
2024-08-02 11:20:00,996: DEBUG - + bind_key_=doc
2024-08-02 11:20:00,997: DEBUG - + [[ doc == *\>* ]]
2024-08-02 11:20:00,997: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:00,997: DEBUG - ++ cut -d: -f2
2024-08-02 11:20:00,998: DEBUG - ++ sed s/__APP__/vpnclient/
2024-08-02 11:20:00,998: DEBUG - ++ sed s@__FINALPATH__@@
2024-08-02 11:20:00,998: DEBUG - ++ sed s@__INSTALL_DIR__@@
2024-08-02 11:20:01,000: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:01,000: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=doc --after=
2024-08-02 11:20:01,046: DEBUG - ++ after=
2024-08-02 11:20:01,046: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]]
2024-08-02 11:20:01,051: DEBUG - ++ echo YNH_NULL
2024-08-02 11:20:01,051: DEBUG - ++ return 0
2024-08-02 11:20:01,051: DEBUG - + old[$short_setting]=YNH_NULL
2024-08-02 11:20:01,052: DEBUG - + for line in $lines
2024-08-02 11:20:01,052: DEBUG - + IFS='|'
2024-08-02 11:20:01,052: DEBUG - + read short_setting type bind
2024-08-02 11:20:01,052: DEBUG - + binds[${short_setting}]=/etc/openvpn/client.conf
2024-08-02 11:20:01,052: DEBUG - + types[${short_setting}]=file
2024-08-02 11:20:01,052: DEBUG - + file_hash[${short_setting}]=
2024-08-02 11:20:01,053: DEBUG - + formats[${short_setting}]=
2024-08-02 11:20:01,053: DEBUG - + ynh_app_config_get_one config_file file /etc/openvpn/client.conf
2024-08-02 11:20:01,053: DEBUG - + _ynh_app_config_get_one config_file file /etc/openvpn/client.conf
2024-08-02 11:20:01,053: DEBUG - + local short_setting=config_file
2024-08-02 11:20:01,053: DEBUG - + local type=file
2024-08-02 11:20:01,053: DEBUG - + local bind=/etc/openvpn/client.conf
2024-08-02 11:20:01,053: DEBUG - + local getter=get__config_file
2024-08-02 11:20:01,054: DEBUG - + type -t get__config_file
2024-08-02 11:20:01,054: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,054: DEBUG - + [[ /etc/openvpn/client.conf == *\(* ]]
2024-08-02 11:20:01,054: DEBUG - + [[ /etc/openvpn/client.conf == \n\u\l\l ]]
2024-08-02 11:20:01,054: DEBUG - + [[ file == \f\i\l\e ]]
2024-08-02 11:20:01,054: DEBUG - + [[ /etc/openvpn/client.conf == \s\e\t\t\i\n\g\s ]]
2024-08-02 11:20:01,054: DEBUG - +++ echo /etc/openvpn/client.conf
2024-08-02 11:20:01,055: DEBUG - +++ sed s@__INSTALL_DIR__@@
2024-08-02 11:20:01,055: DEBUG - +++ sed s@__FINALPATH__@@
2024-08-02 11:20:01,055: DEBUG - +++ sed s/__APP__/vpnclient/
2024-08-02 11:20:01,057: DEBUG - ++ ls /etc/openvpn/client.conf
2024-08-02 11:20:01,058: DEBUG - ++ echo YNH_NULL
2024-08-02 11:20:01,058: DEBUG - + old[$short_setting]=YNH_NULL
2024-08-02 11:20:01,058: DEBUG - + file_hash[$short_setting]=true
2024-08-02 11:20:01,058: DEBUG - + for line in $lines
2024-08-02 11:20:01,058: DEBUG - + IFS='|'
2024-08-02 11:20:01,058: DEBUG - + read short_setting type bind
2024-08-02 11:20:01,059: DEBUG - + binds[${short_setting}]=/etc/openvpn/client.conf.tpl
2024-08-02 11:20:01,059: DEBUG - + types[${short_setting}]=file
2024-08-02 11:20:01,059: DEBUG - + file_hash[${short_setting}]=
2024-08-02 11:20:01,059: DEBUG - + formats[${short_setting}]=
2024-08-02 11:20:01,059: DEBUG - + ynh_app_config_get_one config_template file /etc/openvpn/client.conf.tpl
2024-08-02 11:20:01,059: DEBUG - + _ynh_app_config_get_one config_template file /etc/openvpn/client.conf.tpl
2024-08-02 11:20:01,059: DEBUG - + local short_setting=config_template
2024-08-02 11:20:01,060: DEBUG - + local type=file
2024-08-02 11:20:01,060: DEBUG - + local bind=/etc/openvpn/client.conf.tpl
2024-08-02 11:20:01,060: DEBUG - + local getter=get__config_template
2024-08-02 11:20:01,060: DEBUG - + type -t get__config_template
2024-08-02 11:20:01,060: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,060: DEBUG - + [[ /etc/openvpn/client.conf.tpl == *\(* ]]
2024-08-02 11:20:01,060: DEBUG - + [[ /etc/openvpn/client.conf.tpl == \n\u\l\l ]]
2024-08-02 11:20:01,061: DEBUG - + [[ file == \f\i\l\e ]]
2024-08-02 11:20:01,061: DEBUG - + [[ /etc/openvpn/client.conf.tpl == \s\e\t\t\i\n\g\s ]]
2024-08-02 11:20:01,061: DEBUG - +++ echo /etc/openvpn/client.conf.tpl
2024-08-02 11:20:01,061: DEBUG - +++ sed s@__INSTALL_DIR__@@
2024-08-02 11:20:01,061: DEBUG - +++ sed s/__APP__/vpnclient/
2024-08-02 11:20:01,061: DEBUG - +++ sed s@__FINALPATH__@@
2024-08-02 11:20:01,062: DEBUG - ++ ls /etc/openvpn/client.conf.tpl
2024-08-02 11:20:01,063: DEBUG - + old[$short_setting]=/etc/openvpn/client.conf.tpl
2024-08-02 11:20:01,063: DEBUG - + file_hash[$short_setting]=true
2024-08-02 11:20:01,064: DEBUG - + for line in $lines
2024-08-02 11:20:01,064: DEBUG - + IFS='|'
2024-08-02 11:20:01,064: DEBUG - + read short_setting type bind
2024-08-02 11:20:01,064: DEBUG - + binds[${short_setting}]=/etc/openvpn/client.cube
2024-08-02 11:20:01,064: DEBUG - + types[${short_setting}]=file
2024-08-02 11:20:01,064: DEBUG - + file_hash[${short_setting}]=
2024-08-02 11:20:01,064: DEBUG - + formats[${short_setting}]=
2024-08-02 11:20:01,064: DEBUG - + ynh_app_config_get_one cube_file file /etc/openvpn/client.cube
2024-08-02 11:20:01,064: DEBUG - + _ynh_app_config_get_one cube_file file /etc/openvpn/client.cube
2024-08-02 11:20:01,064: DEBUG - + local short_setting=cube_file
2024-08-02 11:20:01,064: DEBUG - + local type=file
2024-08-02 11:20:01,064: DEBUG - + local bind=/etc/openvpn/client.cube
2024-08-02 11:20:01,064: DEBUG - + local getter=get__cube_file
2024-08-02 11:20:01,064: DEBUG - + type -t get__cube_file
2024-08-02 11:20:01,064: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,065: DEBUG - + [[ /etc/openvpn/client.cube == *\(* ]]
2024-08-02 11:20:01,065: DEBUG - + [[ /etc/openvpn/client.cube == \n\u\l\l ]]
2024-08-02 11:20:01,065: DEBUG - + [[ file == \f\i\l\e ]]
2024-08-02 11:20:01,065: DEBUG - + [[ /etc/openvpn/client.cube == \s\e\t\t\i\n\g\s ]]
2024-08-02 11:20:01,066: DEBUG - +++ echo /etc/openvpn/client.cube
2024-08-02 11:20:01,066: DEBUG - +++ sed s@__INSTALL_DIR__@@
2024-08-02 11:20:01,066: DEBUG - +++ sed s@__FINALPATH__@@
2024-08-02 11:20:01,066: DEBUG - +++ sed s/__APP__/vpnclient/
2024-08-02 11:20:01,068: DEBUG - ++ ls /etc/openvpn/client.cube
2024-08-02 11:20:01,070: DEBUG - ++ echo YNH_NULL
2024-08-02 11:20:01,070: DEBUG - + old[$short_setting]=YNH_NULL
2024-08-02 11:20:01,070: DEBUG - + file_hash[$short_setting]=true
2024-08-02 11:20:01,070: DEBUG - + for line in $lines
2024-08-02 11:20:01,070: DEBUG - + IFS='|'
2024-08-02 11:20:01,070: DEBUG - + read short_setting type bind
2024-08-02 11:20:01,070: DEBUG - + binds[${short_setting}]=/etc/openvpn/client.ovpn
2024-08-02 11:20:01,070: DEBUG - + types[${short_setting}]=file
2024-08-02 11:20:01,070: DEBUG - + file_hash[${short_setting}]=
2024-08-02 11:20:01,070: DEBUG - + formats[${short_setting}]=
2024-08-02 11:20:01,070: DEBUG - + ynh_app_config_get_one ovpn_file file /etc/openvpn/client.ovpn
2024-08-02 11:20:01,070: DEBUG - + _ynh_app_config_get_one ovpn_file file /etc/openvpn/client.ovpn
2024-08-02 11:20:01,071: DEBUG - + local short_setting=ovpn_file
2024-08-02 11:20:01,071: DEBUG - + local type=file
2024-08-02 11:20:01,071: DEBUG - + local bind=/etc/openvpn/client.ovpn
2024-08-02 11:20:01,071: DEBUG - + local getter=get__ovpn_file
2024-08-02 11:20:01,071: DEBUG - + type -t get__ovpn_file
2024-08-02 11:20:01,071: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,071: DEBUG - + [[ /etc/openvpn/client.ovpn == *\(* ]]
2024-08-02 11:20:01,072: DEBUG - + [[ /etc/openvpn/client.ovpn == \n\u\l\l ]]
2024-08-02 11:20:01,072: DEBUG - + [[ file == \f\i\l\e ]]
2024-08-02 11:20:01,072: DEBUG - + [[ /etc/openvpn/client.ovpn == \s\e\t\t\i\n\g\s ]]
2024-08-02 11:20:01,072: DEBUG - +++ echo /etc/openvpn/client.ovpn
2024-08-02 11:20:01,072: DEBUG - +++ sed s@__INSTALL_DIR__@@
2024-08-02 11:20:01,072: DEBUG - +++ sed s/__APP__/vpnclient/
2024-08-02 11:20:01,073: DEBUG - +++ sed s@__FINALPATH__@@
2024-08-02 11:20:01,074: DEBUG - ++ ls /etc/openvpn/client.ovpn
2024-08-02 11:20:01,075: DEBUG - ++ echo YNH_NULL
2024-08-02 11:20:01,075: DEBUG - + old[$short_setting]=YNH_NULL
2024-08-02 11:20:01,075: DEBUG - + file_hash[$short_setting]=true
2024-08-02 11:20:01,075: DEBUG - + for line in $lines
2024-08-02 11:20:01,076: DEBUG - + IFS='|'
2024-08-02 11:20:01,076: DEBUG - + read short_setting type bind
2024-08-02 11:20:01,076: DEBUG - + binds[${short_setting}]=/etc/openvpn/keys/ca-server.crt
2024-08-02 11:20:01,076: DEBUG - + types[${short_setting}]=file
2024-08-02 11:20:01,076: DEBUG - + file_hash[${short_setting}]=
2024-08-02 11:20:01,076: DEBUG - + formats[${short_setting}]=
2024-08-02 11:20:01,076: DEBUG - + ynh_app_config_get_one crt_server_ca file /etc/openvpn/keys/ca-server.crt
2024-08-02 11:20:01,076: DEBUG - + _ynh_app_config_get_one crt_server_ca file /etc/openvpn/keys/ca-server.crt
2024-08-02 11:20:01,076: DEBUG - + local short_setting=crt_server_ca
2024-08-02 11:20:01,077: DEBUG - + local type=file
2024-08-02 11:20:01,077: DEBUG - + local bind=/etc/openvpn/keys/ca-server.crt
2024-08-02 11:20:01,077: DEBUG - + local getter=get__crt_server_ca
2024-08-02 11:20:01,077: DEBUG - + type -t get__crt_server_ca
2024-08-02 11:20:01,077: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,077: DEBUG - + [[ /etc/openvpn/keys/ca-server.crt == *\(* ]]
2024-08-02 11:20:01,077: DEBUG - + [[ /etc/openvpn/keys/ca-server.crt == \n\u\l\l ]]
2024-08-02 11:20:01,077: DEBUG - + [[ file == \f\i\l\e ]]
2024-08-02 11:20:01,077: DEBUG - + [[ /etc/openvpn/keys/ca-server.crt == \s\e\t\t\i\n\g\s ]]
2024-08-02 11:20:01,078: DEBUG - +++ echo /etc/openvpn/keys/ca-server.crt
2024-08-02 11:20:01,078: DEBUG - +++ sed s@__FINALPATH__@@
2024-08-02 11:20:01,078: DEBUG - +++ sed s/__APP__/vpnclient/
2024-08-02 11:20:01,078: DEBUG - +++ sed s@__INSTALL_DIR__@@
2024-08-02 11:20:01,079: DEBUG - ++ ls /etc/openvpn/keys/ca-server.crt
2024-08-02 11:20:01,080: DEBUG - ++ echo YNH_NULL
2024-08-02 11:20:01,081: DEBUG - + old[$short_setting]=YNH_NULL
2024-08-02 11:20:01,081: DEBUG - + file_hash[$short_setting]=true
2024-08-02 11:20:01,081: DEBUG - + for line in $lines
2024-08-02 11:20:01,081: DEBUG - + IFS='|'
2024-08-02 11:20:01,081: DEBUG - + read short_setting type bind
2024-08-02 11:20:01,081: DEBUG - + binds[${short_setting}]=/etc/openvpn/keys/user.crt
2024-08-02 11:20:01,081: DEBUG - + types[${short_setting}]=file
2024-08-02 11:20:01,081: DEBUG - + file_hash[${short_setting}]=
2024-08-02 11:20:01,081: DEBUG - + formats[${short_setting}]=
2024-08-02 11:20:01,081: DEBUG - + ynh_app_config_get_one crt_client file /etc/openvpn/keys/user.crt
2024-08-02 11:20:01,081: DEBUG - + _ynh_app_config_get_one crt_client file /etc/openvpn/keys/user.crt
2024-08-02 11:20:01,081: DEBUG - + local short_setting=crt_client
2024-08-02 11:20:01,081: DEBUG - + local type=file
2024-08-02 11:20:01,081: DEBUG - + local bind=/etc/openvpn/keys/user.crt
2024-08-02 11:20:01,082: DEBUG - + local getter=get__crt_client
2024-08-02 11:20:01,082: DEBUG - + type -t get__crt_client
2024-08-02 11:20:01,082: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,083: DEBUG - + [[ /etc/openvpn/keys/user.crt == *\(* ]]
2024-08-02 11:20:01,083: DEBUG - + [[ /etc/openvpn/keys/user.crt == \n\u\l\l ]]
2024-08-02 11:20:01,083: DEBUG - + [[ file == \f\i\l\e ]]
2024-08-02 11:20:01,083: DEBUG - + [[ /etc/openvpn/keys/user.crt == \s\e\t\t\i\n\g\s ]]
2024-08-02 11:20:01,083: DEBUG - +++ echo /etc/openvpn/keys/user.crt
2024-08-02 11:20:01,083: DEBUG - +++ sed s@__INSTALL_DIR__@@
2024-08-02 11:20:01,083: DEBUG - +++ sed s/__APP__/vpnclient/
2024-08-02 11:20:01,084: DEBUG - +++ sed s@__FINALPATH__@@
2024-08-02 11:20:01,085: DEBUG - ++ ls /etc/openvpn/keys/user.crt
2024-08-02 11:20:01,085: DEBUG - ++ echo YNH_NULL
2024-08-02 11:20:01,086: DEBUG - + old[$short_setting]=YNH_NULL
2024-08-02 11:20:01,086: DEBUG - + file_hash[$short_setting]=true
2024-08-02 11:20:01,086: DEBUG - + for line in $lines
2024-08-02 11:20:01,086: DEBUG - + IFS='|'
2024-08-02 11:20:01,086: DEBUG - + read short_setting type bind
2024-08-02 11:20:01,086: DEBUG - + binds[${short_setting}]=/etc/openvpn/keys/user.key
2024-08-02 11:20:01,086: DEBUG - + types[${short_setting}]=file
2024-08-02 11:20:01,086: DEBUG - + file_hash[${short_setting}]=
2024-08-02 11:20:01,086: DEBUG - + formats[${short_setting}]=
2024-08-02 11:20:01,086: DEBUG - + ynh_app_config_get_one crt_client_key file /etc/openvpn/keys/user.key
2024-08-02 11:20:01,086: DEBUG - + _ynh_app_config_get_one crt_client_key file /etc/openvpn/keys/user.key
2024-08-02 11:20:01,086: DEBUG - + local short_setting=crt_client_key
2024-08-02 11:20:01,086: DEBUG - + local type=file
2024-08-02 11:20:01,086: DEBUG - + local bind=/etc/openvpn/keys/user.key
2024-08-02 11:20:01,087: DEBUG - + local getter=get__crt_client_key
2024-08-02 11:20:01,087: DEBUG - + type -t get__crt_client_key
2024-08-02 11:20:01,087: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,087: DEBUG - + [[ /etc/openvpn/keys/user.key == *\(* ]]
2024-08-02 11:20:01,087: DEBUG - + [[ /etc/openvpn/keys/user.key == \n\u\l\l ]]
2024-08-02 11:20:01,087: DEBUG - + [[ file == \f\i\l\e ]]
2024-08-02 11:20:01,087: DEBUG - + [[ /etc/openvpn/keys/user.key == \s\e\t\t\i\n\g\s ]]
2024-08-02 11:20:01,087: DEBUG - +++ echo /etc/openvpn/keys/user.key
2024-08-02 11:20:01,088: DEBUG - +++ sed s@__INSTALL_DIR__@@
2024-08-02 11:20:01,088: DEBUG - +++ sed s/__APP__/vpnclient/
2024-08-02 11:20:01,088: DEBUG - +++ sed s@__FINALPATH__@@
2024-08-02 11:20:01,089: DEBUG - ++ ls /etc/openvpn/keys/user.key
2024-08-02 11:20:01,090: DEBUG - ++ echo YNH_NULL
2024-08-02 11:20:01,090: DEBUG - + old[$short_setting]=YNH_NULL
2024-08-02 11:20:01,090: DEBUG - + file_hash[$short_setting]=true
2024-08-02 11:20:01,090: DEBUG - + for line in $lines
2024-08-02 11:20:01,090: DEBUG - + IFS='|'
2024-08-02 11:20:01,090: DEBUG - + read short_setting type bind
2024-08-02 11:20:01,090: DEBUG - + binds[${short_setting}]=settings
2024-08-02 11:20:01,090: DEBUG - + types[${short_setting}]=string
2024-08-02 11:20:01,090: DEBUG - + file_hash[${short_setting}]=
2024-08-02 11:20:01,091: DEBUG - + formats[${short_setting}]=
2024-08-02 11:20:01,091: DEBUG - + ynh_app_config_get_one login_user string settings
2024-08-02 11:20:01,091: DEBUG - + _ynh_app_config_get_one login_user string settings
2024-08-02 11:20:01,091: DEBUG - + local short_setting=login_user
2024-08-02 11:20:01,091: DEBUG - + local type=string
2024-08-02 11:20:01,091: DEBUG - + local bind=settings
2024-08-02 11:20:01,091: DEBUG - + local getter=get__login_user
2024-08-02 11:20:01,091: DEBUG - + type -t get__login_user
2024-08-02 11:20:01,091: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,091: DEBUG - ++ get__login_user
2024-08-02 11:20:01,092: DEBUG - ++ '[' -s /etc/openvpn/keys/credentials ']'
2024-08-02 11:20:01,092: DEBUG - ++ echo ''
2024-08-02 11:20:01,092: DEBUG - + old[$short_setting]=
2024-08-02 11:20:01,092: DEBUG - + formats[${short_setting}]=yaml
2024-08-02 11:20:01,092: DEBUG - + for line in $lines
2024-08-02 11:20:01,092: DEBUG - + IFS='|'
2024-08-02 11:20:01,092: DEBUG - + read short_setting type bind
2024-08-02 11:20:01,092: DEBUG - + binds[${short_setting}]=settings
2024-08-02 11:20:01,092: DEBUG - + types[${short_setting}]=password
2024-08-02 11:20:01,092: DEBUG - + file_hash[${short_setting}]=
2024-08-02 11:20:01,092: DEBUG - + formats[${short_setting}]=
2024-08-02 11:20:01,092: DEBUG - + ynh_app_config_get_one login_passphrase password settings
2024-08-02 11:20:01,093: DEBUG - + _ynh_app_config_get_one login_passphrase password settings
2024-08-02 11:20:01,093: DEBUG - + local short_setting=login_passphrase
2024-08-02 11:20:01,093: DEBUG - + local type=password
2024-08-02 11:20:01,093: DEBUG - + local bind=settings
2024-08-02 11:20:01,093: DEBUG - + local getter=get__login_passphrase
2024-08-02 11:20:01,093: DEBUG - + type -t get__login_passphrase
2024-08-02 11:20:01,093: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,093: DEBUG - ++ get__login_passphrase
2024-08-02 11:20:01,093: DEBUG - ++ '[' -s /etc/openvpn/keys/credentials ']'
2024-08-02 11:20:01,094: DEBUG - ++ echo ''
2024-08-02 11:20:01,094: DEBUG - + old[$short_setting]=
2024-08-02 11:20:01,094: DEBUG - + formats[${short_setting}]=yaml
2024-08-02 11:20:01,094: DEBUG - + for line in $lines
2024-08-02 11:20:01,094: DEBUG - + IFS='|'
2024-08-02 11:20:01,094: DEBUG - + read short_setting type bind
2024-08-02 11:20:01,094: DEBUG - + binds[${short_setting}]=/etc/openvpn/keys/user_ta.key
2024-08-02 11:20:01,094: DEBUG - + types[${short_setting}]=file
2024-08-02 11:20:01,094: DEBUG - + file_hash[${short_setting}]=
2024-08-02 11:20:01,094: DEBUG - + formats[${short_setting}]=
2024-08-02 11:20:01,094: DEBUG - + ynh_app_config_get_one crt_client_ta file /etc/openvpn/keys/user_ta.key
2024-08-02 11:20:01,094: DEBUG - + _ynh_app_config_get_one crt_client_ta file /etc/openvpn/keys/user_ta.key
2024-08-02 11:20:01,094: DEBUG - + local short_setting=crt_client_ta
2024-08-02 11:20:01,095: DEBUG - + local type=file
2024-08-02 11:20:01,095: DEBUG - + local bind=/etc/openvpn/keys/user_ta.key
2024-08-02 11:20:01,095: DEBUG - + local getter=get__crt_client_ta
2024-08-02 11:20:01,095: DEBUG - + type -t get__crt_client_ta
2024-08-02 11:20:01,095: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,095: DEBUG - + [[ /etc/openvpn/keys/user_ta.key == *\(* ]]
2024-08-02 11:20:01,095: DEBUG - + [[ /etc/openvpn/keys/user_ta.key == \n\u\l\l ]]
2024-08-02 11:20:01,095: DEBUG - + [[ file == \f\i\l\e ]]
2024-08-02 11:20:01,095: DEBUG - + [[ /etc/openvpn/keys/user_ta.key == \s\e\t\t\i\n\g\s ]]
2024-08-02 11:20:01,096: DEBUG - +++ echo /etc/openvpn/keys/user_ta.key
2024-08-02 11:20:01,096: DEBUG - +++ sed s@__INSTALL_DIR__@@
2024-08-02 11:20:01,096: DEBUG - +++ sed s@__FINALPATH__@@
2024-08-02 11:20:01,096: DEBUG - +++ sed s/__APP__/vpnclient/
2024-08-02 11:20:01,098: DEBUG - ++ ls /etc/openvpn/keys/user_ta.key
2024-08-02 11:20:01,099: DEBUG - ++ echo YNH_NULL
2024-08-02 11:20:01,099: DEBUG - + old[$short_setting]=YNH_NULL
2024-08-02 11:20:01,099: DEBUG - + file_hash[$short_setting]=true
2024-08-02 11:20:01,099: DEBUG - + for line in $lines
2024-08-02 11:20:01,099: DEBUG - + IFS='|'
2024-08-02 11:20:01,099: DEBUG - + read short_setting type bind
2024-08-02 11:20:01,099: DEBUG - + binds[${short_setting}]=settings
2024-08-02 11:20:01,099: DEBUG - + types[${short_setting}]=select
2024-08-02 11:20:01,099: DEBUG - + file_hash[${short_setting}]=
2024-08-02 11:20:01,099: DEBUG - + formats[${short_setting}]=
2024-08-02 11:20:01,100: DEBUG - + ynh_app_config_get_one dns_method select settings
2024-08-02 11:20:01,100: DEBUG - + _ynh_app_config_get_one dns_method select settings
2024-08-02 11:20:01,100: DEBUG - + local short_setting=dns_method
2024-08-02 11:20:01,100: DEBUG - + local type=select
2024-08-02 11:20:01,100: DEBUG - + local bind=settings
2024-08-02 11:20:01,100: DEBUG - + local getter=get__dns_method
2024-08-02 11:20:01,100: DEBUG - + type -t get__dns_method
2024-08-02 11:20:01,100: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,101: DEBUG - + [[ settings == *\(* ]]
2024-08-02 11:20:01,101: DEBUG - + [[ settings == \n\u\l\l ]]
2024-08-02 11:20:01,101: DEBUG - + [[ select == \f\i\l\e ]]
2024-08-02 11:20:01,101: DEBUG - + [[ select == \t\e\x\t ]]
2024-08-02 11:20:01,101: DEBUG - + local bind_after=
2024-08-02 11:20:01,101: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2024-08-02 11:20:01,101: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:01,101: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:01,101: DEBUG - ++ cut -d: -f1
2024-08-02 11:20:01,102: DEBUG - + local bind_key_=
2024-08-02 11:20:01,102: DEBUG - + bind_key_=dns_method
2024-08-02 11:20:01,102: DEBUG - + [[ dns_method == *\>* ]]
2024-08-02 11:20:01,102: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:01,103: DEBUG - ++ cut -d: -f2
2024-08-02 11:20:01,103: DEBUG - ++ sed s@__INSTALL_DIR__@@
2024-08-02 11:20:01,103: DEBUG - ++ sed s/__APP__/vpnclient/
2024-08-02 11:20:01,103: DEBUG - ++ sed s@__FINALPATH__@@
2024-08-02 11:20:01,105: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:01,105: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=dns_method --after=
2024-08-02 11:20:01,138: DEBUG - ++ after=
2024-08-02 11:20:01,138: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]]
2024-08-02 11:20:01,143: DEBUG - + old[$short_setting]=yunohost
2024-08-02 11:20:01,143: DEBUG - + for line in $lines
2024-08-02 11:20:01,143: DEBUG - + IFS='|'
2024-08-02 11:20:01,143: DEBUG - + read short_setting type bind
2024-08-02 11:20:01,143: DEBUG - + binds[${short_setting}]=settings
2024-08-02 11:20:01,143: DEBUG - + types[${short_setting}]=tags
2024-08-02 11:20:01,144: DEBUG - + file_hash[${short_setting}]=
2024-08-02 11:20:01,144: DEBUG - + formats[${short_setting}]=
2024-08-02 11:20:01,144: DEBUG - + ynh_app_config_get_one nameservers tags settings
2024-08-02 11:20:01,144: DEBUG - + _ynh_app_config_get_one nameservers tags settings
2024-08-02 11:20:01,144: DEBUG - + local short_setting=nameservers
2024-08-02 11:20:01,144: DEBUG - + local type=tags
2024-08-02 11:20:01,144: DEBUG - + local bind=settings
2024-08-02 11:20:01,144: DEBUG - + local getter=get__nameservers
2024-08-02 11:20:01,144: DEBUG - + type -t get__nameservers
2024-08-02 11:20:01,144: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,144: DEBUG - + [[ settings == *\(* ]]
2024-08-02 11:20:01,144: DEBUG - + [[ settings == \n\u\l\l ]]
2024-08-02 11:20:01,145: DEBUG - + [[ tags == \f\i\l\e ]]
2024-08-02 11:20:01,145: DEBUG - + [[ tags == \t\e\x\t ]]
2024-08-02 11:20:01,145: DEBUG - + local bind_after=
2024-08-02 11:20:01,145: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2024-08-02 11:20:01,145: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:01,145: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:01,145: DEBUG - ++ cut -d: -f1
2024-08-02 11:20:01,146: DEBUG - + local bind_key_=
2024-08-02 11:20:01,146: DEBUG - + bind_key_=nameservers
2024-08-02 11:20:01,146: DEBUG - + [[ nameservers == *\>* ]]
2024-08-02 11:20:01,146: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:01,147: DEBUG - ++ cut -d: -f2
2024-08-02 11:20:01,147: DEBUG - ++ sed s@__FINALPATH__@@
2024-08-02 11:20:01,147: DEBUG - ++ sed s/__APP__/vpnclient/
2024-08-02 11:20:01,147: DEBUG - ++ sed s@__INSTALL_DIR__@@
2024-08-02 11:20:01,148: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:01,148: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=nameservers --after=
2024-08-02 11:20:01,183: DEBUG - ++ after=
2024-08-02 11:20:01,183: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]]
2024-08-02 11:20:01,191: DEBUG - + old[$short_setting]=
2024-08-02 11:20:01,191: DEBUG - + for line in $lines
2024-08-02 11:20:01,191: DEBUG - + IFS='|'
2024-08-02 11:20:01,191: DEBUG - + read short_setting type bind
2024-08-02 11:20:01,191: DEBUG - + binds[${short_setting}]=settings
2024-08-02 11:20:01,191: DEBUG - + types[${short_setting}]=string
2024-08-02 11:20:01,191: DEBUG - + file_hash[${short_setting}]=
2024-08-02 11:20:01,191: DEBUG - + formats[${short_setting}]=
2024-08-02 11:20:01,191: DEBUG - + ynh_app_config_get_one ip6_net string settings
2024-08-02 11:20:01,192: DEBUG - + _ynh_app_config_get_one ip6_net string settings
2024-08-02 11:20:01,192: DEBUG - + local short_setting=ip6_net
2024-08-02 11:20:01,192: DEBUG - + local type=string
2024-08-02 11:20:01,192: DEBUG - + local bind=settings
2024-08-02 11:20:01,192: DEBUG - + local getter=get__ip6_net
2024-08-02 11:20:01,192: DEBUG - + type -t get__ip6_net
2024-08-02 11:20:01,192: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,192: DEBUG - + [[ settings == *\(* ]]
2024-08-02 11:20:01,192: DEBUG - + [[ settings == \n\u\l\l ]]
2024-08-02 11:20:01,192: DEBUG - + [[ string == \f\i\l\e ]]
2024-08-02 11:20:01,192: DEBUG - + [[ string == \t\e\x\t ]]
2024-08-02 11:20:01,193: DEBUG - + local bind_after=
2024-08-02 11:20:01,193: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2024-08-02 11:20:01,193: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:01,193: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:01,193: DEBUG - ++ cut -d: -f1
2024-08-02 11:20:01,194: DEBUG - + local bind_key_=
2024-08-02 11:20:01,194: DEBUG - + bind_key_=ip6_net
2024-08-02 11:20:01,194: DEBUG - + [[ ip6_net == *\>* ]]
2024-08-02 11:20:01,194: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:01,194: DEBUG - ++ cut -d: -f2
2024-08-02 11:20:01,194: DEBUG - ++ sed s@__FINALPATH__@@
2024-08-02 11:20:01,195: DEBUG - ++ sed s@__INSTALL_DIR__@@
2024-08-02 11:20:01,195: DEBUG - ++ sed s/__APP__/vpnclient/
2024-08-02 11:20:01,196: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:01,196: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=ip6_net --after=
2024-08-02 11:20:01,227: DEBUG - ++ after=
2024-08-02 11:20:01,227: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]]
2024-08-02 11:20:01,234: DEBUG - + old[$short_setting]=
2024-08-02 11:20:01,234: DEBUG - + for line in $lines
2024-08-02 11:20:01,234: DEBUG - + IFS='|'
2024-08-02 11:20:01,234: DEBUG - + read short_setting type bind
2024-08-02 11:20:01,234: DEBUG - + binds[${short_setting}]=settings
2024-08-02 11:20:01,234: DEBUG - + types[${short_setting}]=string
2024-08-02 11:20:01,234: DEBUG - + file_hash[${short_setting}]=
2024-08-02 11:20:01,234: DEBUG - + formats[${short_setting}]=
2024-08-02 11:20:01,234: DEBUG - + ynh_app_config_get_one ip6_addr string settings
2024-08-02 11:20:01,234: DEBUG - + _ynh_app_config_get_one ip6_addr string settings
2024-08-02 11:20:01,234: DEBUG - + local short_setting=ip6_addr
2024-08-02 11:20:01,234: DEBUG - + local type=string
2024-08-02 11:20:01,235: DEBUG - + local bind=settings
2024-08-02 11:20:01,235: DEBUG - + local getter=get__ip6_addr
2024-08-02 11:20:01,235: DEBUG - + type -t get__ip6_addr
2024-08-02 11:20:01,235: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,235: DEBUG - + [[ settings == *\(* ]]
2024-08-02 11:20:01,235: DEBUG - + [[ settings == \n\u\l\l ]]
2024-08-02 11:20:01,235: DEBUG - + [[ string == \f\i\l\e ]]
2024-08-02 11:20:01,235: DEBUG - + [[ string == \t\e\x\t ]]
2024-08-02 11:20:01,235: DEBUG - + local bind_after=
2024-08-02 11:20:01,235: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2024-08-02 11:20:01,235: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:01,236: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:01,236: DEBUG - ++ cut -d: -f1
2024-08-02 11:20:01,236: DEBUG - + local bind_key_=
2024-08-02 11:20:01,236: DEBUG - + bind_key_=ip6_addr
2024-08-02 11:20:01,236: DEBUG - + [[ ip6_addr == *\>* ]]
2024-08-02 11:20:01,237: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:01,237: DEBUG - ++ cut -d: -f2
2024-08-02 11:20:01,237: DEBUG - ++ sed s@__INSTALL_DIR__@@
2024-08-02 11:20:01,237: DEBUG - ++ sed s/__APP__/vpnclient/
2024-08-02 11:20:01,237: DEBUG - ++ sed s@__FINALPATH__@@
2024-08-02 11:20:01,239: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml
2024-08-02 11:20:01,239: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=ip6_addr --after=
2024-08-02 11:20:01,273: DEBUG - ++ after=
2024-08-02 11:20:01,274: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]]
2024-08-02 11:20:01,281: DEBUG - + old[$short_setting]=
2024-08-02 11:20:01,281: DEBUG - + ynh_app_config_validate
2024-08-02 11:20:01,281: DEBUG - + '[' -z x ']'
2024-08-02 11:20:01,281: DEBUG - + '[' -f /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt ']'
2024-08-02 11:20:01,281: DEBUG - ++ cat /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,281: DEBUG - ++ tr -d ' '
2024-08-02 11:20:01,281: DEBUG - ++ head -c1
2024-08-02 11:20:01,282: DEBUG - ++ grep -v '^$'
2024-08-02 11:20:01,283: DEBUG - + [[ # == \{ ]]
2024-08-02 11:20:01,283: DEBUG - + '[' -f /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt ']'
2024-08-02 11:20:01,283: DEBUG - ++ dirname /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,283: DEBUG - + local tmp_dir=/tmp/ynh_filequestion_rw9q5462
2024-08-02 11:20:01,284: DEBUG - + ovpn_file=/tmp/ynh_filequestion_rw9q5462/client.ovpn
2024-08-02 11:20:01,284: DEBUG - + cp -f /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt /tmp/ynh_filequestion_rw9q5462/client.ovpn
2024-08-02 11:20:01,284: DEBUG - + convert_ovpn_file /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,285: DEBUG - + local config_file=/tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,285: DEBUG - ++ dirname /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,285: DEBUG - + local tmp_dir=/tmp/ynh_filequestion_rw9q5462
2024-08-02 11:20:01,285: DEBUG - + ynh_print_info '--message=Extracting TLS keys from .ovpn file'
2024-08-02 11:20:01,291: INFO - Extracting TLS keys from .ovpn file
2024-08-02 11:20:01,292: DEBUG - + grep -q '^\s*<ca>' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,292: DEBUG - + grep -Poz '(?<=<ca>)(.*\n)*.*(?=</ca>)' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,292: DEBUG - + sed '/^$/d'
2024-08-02 11:20:01,294: DEBUG - + crt_server_ca=/tmp/ynh_filequestion_rw9q5462/crt_server_ca
2024-08-02 11:20:01,294: DEBUG - + sed -i '/^\s*<ca>/,/\s*<\/ca>/d' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,296: DEBUG - + sed -i '/^\s*ca\s/d' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,298: DEBUG - + echo -e '\nca /etc/openvpn/keys/ca-server.crt'
2024-08-02 11:20:01,298: DEBUG - + grep -q '^\s*<cert>' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,299: DEBUG - + grep -Poz '(?<=<cert>)(.*\n)*.*(?=</cert>)' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,299: DEBUG - + sed '/^$/d'
2024-08-02 11:20:01,301: DEBUG - + crt_client=/tmp/ynh_filequestion_rw9q5462/crt_client
2024-08-02 11:20:01,301: DEBUG - + sed -i '/^\s*<cert>/,/\s*<\/cert>/d' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,302: DEBUG - + sed -i '/^\s*cert\s/d' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,304: DEBUG - + echo -e '\ncert /etc/openvpn/keys/user.crt'
2024-08-02 11:20:01,304: DEBUG - + grep -q '^\s*<key>' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,305: DEBUG - + grep -Poz '(?<=<key>)(.*\n)*.*(?=</key>)' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,306: DEBUG - + sed '/^$/d'
2024-08-02 11:20:01,307: DEBUG - + crt_client_key=**********
2024-08-02 11:20:01,307: DEBUG - + sed -i '/^\s*<key>/,/\s*<\/key>/d' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,309: DEBUG - + sed -i '/^\s*key\s/d' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,310: DEBUG - + echo -e '\nkey /etc/openvpn/keys/user.key'
2024-08-02 11:20:01,310: DEBUG - + grep -q '^\s*<tls-auth>' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,312: DEBUG - + grep -q '^\s*tls-auth\s' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,313: DEBUG - + crt_client_ta=
2024-08-02 11:20:01,313: DEBUG - + sed -i 's@^\s*ca\s.*$@ca /etc/openvpn/keys/ca-server.crt@g' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,314: DEBUG - + sed -i 's@^\s*cert\s.*$@cert /etc/openvpn/keys/user.crt@g' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,316: DEBUG - + sed -i 's@^\s*key\s.*$@key /etc/openvpn/keys/user.key@g' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,317: DEBUG - + sed -i 's@^\s*tls-auth\s.*$@tls-auth /etc/openvpn/keys/user_ta.key 1@g' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,319: DEBUG - + script_security='script-security 2'
2024-08-02 11:20:01,319: DEBUG - + grep -q '^\s*script-security\s.*$' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,320: DEBUG - + route_up='route-up "/etc/openvpn/scripts/run-parts.sh route-up"'
2024-08-02 11:20:01,320: DEBUG - + grep -q '^\s*route-up\s.*$' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,322: DEBUG - + route_down='down "/etc/openvpn/scripts/run-parts.sh route-down"'
2024-08-02 11:20:01,322: DEBUG - + grep -q '^\s*down\s.*$' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,323: DEBUG - + sed -i '/^\s*user\s/d' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,324: DEBUG - + sed -i '/^\s*group\s/d' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,326: DEBUG - + _ynh_app_config_validate
2024-08-02 11:20:01,365: INFO - [#####+++++..........] > Checking what changed in the new configuration...
2024-08-02 11:20:01,365: DEBUG - + local nothing_changed=true
2024-08-02 11:20:01,365: DEBUG - + local changes_validated=true
2024-08-02 11:20:01,366: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,366: DEBUG - + changed[$short_setting]=false
2024-08-02 11:20:01,366: DEBUG - + '[' -z x ']'
2024-08-02 11:20:01,366: DEBUG - + '[' '!' -z true ']'
2024-08-02 11:20:01,366: DEBUG - + file_hash[old__$short_setting]=
2024-08-02 11:20:01,366: DEBUG - + file_hash[new__$short_setting]=
2024-08-02 11:20:01,366: DEBUG - + '[' -f YNH_NULL ']'
2024-08-02 11:20:01,366: DEBUG - + '[' -f /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt ']'
2024-08-02 11:20:01,366: DEBUG - ++ sha256sum /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,366: DEBUG - ++ cut '-d ' -f1
2024-08-02 11:20:01,366: DEBUG - + file_hash[new__$short_setting]=4feec67af729a5e5483eeac1c48d87c1be15a685234a8354214996b7371d0235
2024-08-02 11:20:01,367: DEBUG - + [[ '' != \4\f\e\e\c\6\7\a\f\7\2\9\a\5\e\5\4\8\3\e\e\a\c\1\c\4\8\d\8\7\c\1\b\e\1\5\a\6\8\5\2\3\4\a\8\3\5\4\2\1\4\9\9\6\b\7\3\7\1\d\0\2\3\5 ]]
2024-08-02 11:20:01,367: DEBUG - + changed[$short_setting]=true
2024-08-02 11:20:01,367: DEBUG - + nothing_changed=false
2024-08-02 11:20:01,367: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,367: DEBUG - + changed[$short_setting]=false
2024-08-02 11:20:01,367: DEBUG - + '[' -z ']'
2024-08-02 11:20:01,367: DEBUG - + declare -g doc=YNH_NULL
2024-08-02 11:20:01,367: DEBUG - + continue
2024-08-02 11:20:01,367: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,367: DEBUG - + changed[$short_setting]=false
2024-08-02 11:20:01,367: DEBUG - + '[' -z ']'
2024-08-02 11:20:01,368: DEBUG - + declare -g config_template=/etc/openvpn/client.conf.tpl
2024-08-02 11:20:01,368: DEBUG - + continue
2024-08-02 11:20:01,368: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,368: DEBUG - + changed[$short_setting]=false
2024-08-02 11:20:01,368: DEBUG - + '[' -z ']'
2024-08-02 11:20:01,368: DEBUG - + declare -g cube_file=YNH_NULL
2024-08-02 11:20:01,368: DEBUG - + continue
2024-08-02 11:20:01,368: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,368: DEBUG - + changed[$short_setting]=false
2024-08-02 11:20:01,368: DEBUG - + '[' -z x ']'
2024-08-02 11:20:01,368: DEBUG - + '[' '!' -z true ']'
2024-08-02 11:20:01,368: DEBUG - + file_hash[old__$short_setting]=
2024-08-02 11:20:01,368: DEBUG - + file_hash[new__$short_setting]=
2024-08-02 11:20:01,368: DEBUG - + '[' -f YNH_NULL ']'
2024-08-02 11:20:01,369: DEBUG - + '[' -f /tmp/ynh_filequestion_rw9q5462/crt_server_ca ']'
2024-08-02 11:20:01,369: DEBUG - ++ sha256sum /tmp/ynh_filequestion_rw9q5462/crt_server_ca
2024-08-02 11:20:01,369: DEBUG - ++ cut '-d ' -f1
2024-08-02 11:20:01,369: DEBUG - + file_hash[new__$short_setting]=1cecaa6064970923023d3e458bcd324e25aaa270404a97fc9fab965d7f73af63
2024-08-02 11:20:01,369: DEBUG - + [[ '' != \1\c\e\c\a\a\6\0\6\4\9\7\0\9\2\3\0\2\3\d\3\e\4\5\8\b\c\d\3\2\4\e\2\5\a\a\a\2\7\0\4\0\4\a\9\7\f\c\9\f\a\b\9\6\5\d\7\f\7\3\a\f\6\3 ]]
2024-08-02 11:20:01,369: DEBUG - + changed[$short_setting]=true
2024-08-02 11:20:01,369: DEBUG - + nothing_changed=false
2024-08-02 11:20:01,369: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,369: DEBUG - + changed[$short_setting]=false
2024-08-02 11:20:01,369: DEBUG - + '[' -z x ']'
2024-08-02 11:20:01,369: DEBUG - + '[' '!' -z '' ']'
2024-08-02 11:20:01,369: DEBUG - + [[ '' != '' ]]
2024-08-02 11:20:01,369: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,369: DEBUG - + changed[$short_setting]=false
2024-08-02 11:20:01,369: DEBUG - + '[' -z x ']'
2024-08-02 11:20:01,370: DEBUG - + '[' '!' -z true ']'
2024-08-02 11:20:01,370: DEBUG - + file_hash[old__$short_setting]=
2024-08-02 11:20:01,370: DEBUG - + file_hash[new__$short_setting]=
2024-08-02 11:20:01,370: DEBUG - + '[' -f YNH_NULL ']'
2024-08-02 11:20:01,370: DEBUG - + '[' -f /tmp/ynh_filequestion_rw9q5462/crt_client ']'
2024-08-02 11:20:01,370: DEBUG - ++ sha256sum /tmp/ynh_filequestion_rw9q5462/crt_client
2024-08-02 11:20:01,370: DEBUG - ++ cut '-d ' -f1
2024-08-02 11:20:01,370: DEBUG - + file_hash[new__$short_setting]=be9c0ae96a54f58f2e26927896c684b22fdf9bd06e9103dcf577f7f039023dd7
2024-08-02 11:20:01,370: DEBUG - + [[ '' != \b\e\9\c\0\a\e\9\6\a\5\4\f\5\8\f\2\e\2\6\9\2\7\8\9\6\c\6\8\4\b\2\2\f\d\f\9\b\d\0\6\e\9\1\0\3\d\c\f\5\7\7\f\7\f\0\3\9\0\2\3\d\d\7 ]]
2024-08-02 11:20:01,370: DEBUG - + changed[$short_setting]=true
2024-08-02 11:20:01,370: DEBUG - + nothing_changed=false
2024-08-02 11:20:01,370: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,370: DEBUG - + changed[$short_setting]=false
2024-08-02 11:20:01,370: DEBUG - + '[' -z x ']'
2024-08-02 11:20:01,371: DEBUG - + '[' '!' -z true ']'
2024-08-02 11:20:01,371: DEBUG - + file_hash[old__$short_setting]=
2024-08-02 11:20:01,371: DEBUG - + file_hash[new__$short_setting]=
2024-08-02 11:20:01,371: DEBUG - + '[' -f YNH_NULL ']'
2024-08-02 11:20:01,371: DEBUG - + '[' -f '' ']'
2024-08-02 11:20:01,371: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,371: DEBUG - + changed[$short_setting]=false
2024-08-02 11:20:01,371: DEBUG - + '[' -z x ']'
2024-08-02 11:20:01,371: DEBUG - + '[' '!' -z '' ']'
2024-08-02 11:20:01,371: DEBUG - + [[ yunohost != \y\u\n\o\h\o\s\t ]]
2024-08-02 11:20:01,371: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,371: DEBUG - + changed[$short_setting]=false
2024-08-02 11:20:01,371: DEBUG - + '[' -z x ']'
2024-08-02 11:20:01,371: DEBUG - + '[' '!' -z true ']'
2024-08-02 11:20:01,371: DEBUG - + file_hash[old__$short_setting]=
2024-08-02 11:20:01,372: DEBUG - + file_hash[new__$short_setting]=
2024-08-02 11:20:01,372: DEBUG - + '[' -f YNH_NULL ']'
2024-08-02 11:20:01,372: DEBUG - + '[' -f ********** ']'
2024-08-02 11:20:01,372: DEBUG - ++ sha256sum **********
2024-08-02 11:20:01,372: DEBUG - ++ cut '-d ' -f1
2024-08-02 11:20:01,372: DEBUG - + file_hash[new__$short_setting]=91dee1512a3e5c99413a237c9c2fdbdf1a1491b26336fa45c927c296c8804558
2024-08-02 11:20:01,372: DEBUG - + [[ '' != \9\1\d\e\e\1\5\1\2\a\3\e\5\c\9\9\4\1\3\a\2\3\7\c\9\c\2\f\d\b\d\f\1\a\1\4\9\1\b\2\6\3\3\6\f\a\4\5\c\9\2\7\c\2\9\6\c\8\8\0\4\5\5\8 ]]
2024-08-02 11:20:01,372: DEBUG - + changed[$short_setting]=true
2024-08-02 11:20:01,372: DEBUG - + nothing_changed=false
2024-08-02 11:20:01,372: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,372: DEBUG - + changed[$short_setting]=false
2024-08-02 11:20:01,372: DEBUG - + '[' -z x ']'
2024-08-02 11:20:01,372: DEBUG - + '[' '!' -z '' ']'
2024-08-02 11:20:01,372: DEBUG - + [[ '' != '' ]]
2024-08-02 11:20:01,372: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,373: DEBUG - + changed[$short_setting]=false
2024-08-02 11:20:01,373: DEBUG - + '[' -z x ']'
2024-08-02 11:20:01,373: DEBUG - + '[' '!' -z '' ']'
2024-08-02 11:20:01,373: DEBUG - + [[ '' != '' ]]
2024-08-02 11:20:01,373: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,373: DEBUG - + changed[$short_setting]=false
2024-08-02 11:20:01,373: DEBUG - + '[' -z x ']'
2024-08-02 11:20:01,373: DEBUG - + '[' '!' -z true ']'
2024-08-02 11:20:01,373: DEBUG - + file_hash[old__$short_setting]=
2024-08-02 11:20:01,373: DEBUG - + file_hash[new__$short_setting]=
2024-08-02 11:20:01,373: DEBUG - + '[' -f YNH_NULL ']'
2024-08-02 11:20:01,373: DEBUG - + '[' -f /tmp/ynh_filequestion_rw9q5462/client.ovpn ']'
2024-08-02 11:20:01,373: DEBUG - ++ sha256sum /tmp/ynh_filequestion_rw9q5462/client.ovpn
2024-08-02 11:20:01,374: DEBUG - ++ cut '-d ' -f1
2024-08-02 11:20:01,374: DEBUG - + file_hash[new__$short_setting]=44f0ca830572835d5fd6e771038aed8046273689466d67e92564041d2efbaee9
2024-08-02 11:20:01,374: DEBUG - + [[ '' != \4\4\f\0\c\a\8\3\0\5\7\2\8\3\5\d\5\f\d\6\e\7\7\1\0\3\8\a\e\d\8\0\4\6\2\7\3\6\8\9\4\6\6\d\6\7\e\9\2\5\6\4\0\4\1\d\2\e\f\b\a\e\e\9 ]]
2024-08-02 11:20:01,374: DEBUG - + changed[$short_setting]=true
2024-08-02 11:20:01,374: DEBUG - + nothing_changed=false
2024-08-02 11:20:01,374: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,374: DEBUG - + changed[$short_setting]=false
2024-08-02 11:20:01,374: DEBUG - + '[' -z ']'
2024-08-02 11:20:01,374: DEBUG - + declare -g login_passphrase=
2024-08-02 11:20:01,374: DEBUG - + continue
2024-08-02 11:20:01,374: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,374: DEBUG - + changed[$short_setting]=false
2024-08-02 11:20:01,374: DEBUG - + '[' -z x ']'
2024-08-02 11:20:01,374: DEBUG - + '[' '!' -z '' ']'
2024-08-02 11:20:01,374: DEBUG - + [[ 1 != \0 ]]
2024-08-02 11:20:01,374: DEBUG - + changed[$short_setting]=true
2024-08-02 11:20:01,374: DEBUG - + nothing_changed=false
2024-08-02 11:20:01,375: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,375: DEBUG - + changed[$short_setting]=false
2024-08-02 11:20:01,375: DEBUG - + '[' -z ']'
2024-08-02 11:20:01,375: DEBUG - + declare -g login_user=
2024-08-02 11:20:01,375: DEBUG - + continue
2024-08-02 11:20:01,375: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,375: DEBUG - + changed[$short_setting]=false
2024-08-02 11:20:01,375: DEBUG - + '[' -z ']'
2024-08-02 11:20:01,375: DEBUG - + declare -g 'status=style: info
2024-08-02 11:20:01,375: DEBUG - ask:
2024-08-02 11:20:01,375: DEBUG - en: The VPN is not enabled'
2024-08-02 11:20:01,375: DEBUG - + continue
2024-08-02 11:20:01,375: DEBUG - + [[ false == \t\r\u\e ]]
2024-08-02 11:20:01,413: INFO - [##########+++++.....] > Validating the new configuration...
2024-08-02 11:20:01,414: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,414: DEBUG - + [[ true == \f\a\l\s\e ]]
2024-08-02 11:20:01,414: DEBUG - + local result=
2024-08-02 11:20:01,414: DEBUG - + type -t validate__config_file
2024-08-02 11:20:01,414: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,414: DEBUG - + [[ settings == *\(* ]]
2024-08-02 11:20:01,415: DEBUG - + '[' -n '' ']'
2024-08-02 11:20:01,415: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,415: DEBUG - + [[ false == \f\a\l\s\e ]]
2024-08-02 11:20:01,415: DEBUG - + continue
2024-08-02 11:20:01,415: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,415: DEBUG - + [[ false == \f\a\l\s\e ]]
2024-08-02 11:20:01,415: DEBUG - + continue
2024-08-02 11:20:01,415: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,415: DEBUG - + [[ false == \f\a\l\s\e ]]
2024-08-02 11:20:01,416: DEBUG - + continue
2024-08-02 11:20:01,416: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,416: DEBUG - + [[ true == \f\a\l\s\e ]]
2024-08-02 11:20:01,416: DEBUG - + local result=
2024-08-02 11:20:01,416: DEBUG - + type -t validate__crt_server_ca
2024-08-02 11:20:01,416: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,416: DEBUG - ++ validate__crt_server_ca
2024-08-02 11:20:01,416: DEBUG - ++ grep -q '^\s*ca\s' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,417: DEBUG - ++ [[ ! -e /tmp/ynh_filequestion_rw9q5462/crt_server_ca ]]
2024-08-02 11:20:01,417: DEBUG - + result=
2024-08-02 11:20:01,417: DEBUG - + '[' -n '' ']'
2024-08-02 11:20:01,418: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,418: DEBUG - + [[ false == \f\a\l\s\e ]]
2024-08-02 11:20:01,418: DEBUG - + continue
2024-08-02 11:20:01,418: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,418: DEBUG - + [[ true == \f\a\l\s\e ]]
2024-08-02 11:20:01,418: DEBUG - + local result=
2024-08-02 11:20:01,418: DEBUG - + type -t validate__crt_client
2024-08-02 11:20:01,418: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,419: DEBUG - ++ validate__crt_client
2024-08-02 11:20:01,419: DEBUG - ++ grep -q '^\s*cert\s' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,420: DEBUG - ++ [[ ! -e /tmp/ynh_filequestion_rw9q5462/crt_client ]]
2024-08-02 11:20:01,420: DEBUG - + result=
2024-08-02 11:20:01,420: DEBUG - + '[' -n '' ']'
2024-08-02 11:20:01,420: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,420: DEBUG - + [[ false == \f\a\l\s\e ]]
2024-08-02 11:20:01,420: DEBUG - + continue
2024-08-02 11:20:01,420: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,420: DEBUG - + [[ false == \f\a\l\s\e ]]
2024-08-02 11:20:01,421: DEBUG - + continue
2024-08-02 11:20:01,421: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,421: DEBUG - + [[ true == \f\a\l\s\e ]]
2024-08-02 11:20:01,421: DEBUG - + local result=
2024-08-02 11:20:01,421: DEBUG - + type -t validate__crt_client_key
2024-08-02 11:20:01,421: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,421: DEBUG - ++ validate__crt_client_key
2024-08-02 11:20:01,421: DEBUG - ++ grep -q '^\s*key\s' /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,422: DEBUG - ++ [[ ! -e ********** ]]
2024-08-02 11:20:01,422: DEBUG - + result=
2024-08-02 11:20:01,422: DEBUG - + '[' -n '' ']'
2024-08-02 11:20:01,423: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,423: DEBUG - + [[ false == \f\a\l\s\e ]]
2024-08-02 11:20:01,423: DEBUG - + continue
2024-08-02 11:20:01,423: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,423: DEBUG - + [[ false == \f\a\l\s\e ]]
2024-08-02 11:20:01,423: DEBUG - + continue
2024-08-02 11:20:01,423: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,423: DEBUG - + [[ true == \f\a\l\s\e ]]
2024-08-02 11:20:01,423: DEBUG - + local result=
2024-08-02 11:20:01,423: DEBUG - + type -t validate__ovpn_file
2024-08-02 11:20:01,423: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,424: DEBUG - + [[ settings == *\(* ]]
2024-08-02 11:20:01,424: DEBUG - + '[' -n '' ']'
2024-08-02 11:20:01,424: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,424: DEBUG - + [[ false == \f\a\l\s\e ]]
2024-08-02 11:20:01,424: DEBUG - + continue
2024-08-02 11:20:01,424: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,425: DEBUG - + [[ true == \f\a\l\s\e ]]
2024-08-02 11:20:01,425: DEBUG - + local result=
2024-08-02 11:20:01,425: DEBUG - + type -t validate__service_enabled
2024-08-02 11:20:01,425: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,426: DEBUG - + [[ settings == *\(* ]]
2024-08-02 11:20:01,426: DEBUG - + '[' -n '' ']'
2024-08-02 11:20:01,426: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,426: DEBUG - + [[ false == \f\a\l\s\e ]]
2024-08-02 11:20:01,426: DEBUG - + continue
2024-08-02 11:20:01,426: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,426: DEBUG - + [[ false == \f\a\l\s\e ]]
2024-08-02 11:20:01,426: DEBUG - + continue
2024-08-02 11:20:01,426: DEBUG - + [[ true == \f\a\l\s\e ]]
2024-08-02 11:20:01,452: INFO - [###############+++++] > Applying the new configuration...
2024-08-02 11:20:01,453: DEBUG - + ynh_app_config_apply
2024-08-02 11:20:01,453: DEBUG - + ynh_print_info '--message=Stopping vpnclient in order to edit files'
2024-08-02 11:20:01,458: INFO - Stopping vpnclient in order to edit files
2024-08-02 11:20:01,458: DEBUG - + ynh_systemd_action --service_name=ynh-vpnclient-checker.timer --action=stop
2024-08-02 11:20:01,501: DEBUG - + service_name=ynh-vpnclient-checker.timer
2024-08-02 11:20:01,501: DEBUG - + action=stop
2024-08-02 11:20:01,501: DEBUG - + line_match=
2024-08-02 11:20:01,501: DEBUG - + length=20
2024-08-02 11:20:01,501: DEBUG - + log_path=/var/log/ynh-vpnclient-checker.timer/ynh-vpnclient-checker.timer.log
2024-08-02 11:20:01,501: DEBUG - + timeout=300
2024-08-02 11:20:01,501: DEBUG - + '[' stop == stop ']'
2024-08-02 11:20:01,501: DEBUG - + systemctl is-active --quiet ynh-vpnclient-checker.timer
2024-08-02 11:20:01,504: DEBUG - + '[' stop == reload ']'
2024-08-02 11:20:01,504: DEBUG - ++ date --utc --rfc-3339=seconds
2024-08-02 11:20:01,504: DEBUG - ++ cut -d+ -f1
2024-08-02 11:20:01,505: DEBUG - + local 'time_start=2024-08-02 09:20:01 UTC'
2024-08-02 11:20:01,505: DEBUG - + systemctl stop ynh-vpnclient-checker.timer
2024-08-02 11:20:01,509: DEBUG - + ynh_systemd_action --service_name=ynh-vpnclient --action=stop
2024-08-02 11:20:01,559: DEBUG - + service_name=ynh-vpnclient
2024-08-02 11:20:01,559: DEBUG - + action=stop
2024-08-02 11:20:01,559: DEBUG - + line_match=
2024-08-02 11:20:01,559: DEBUG - + length=20
2024-08-02 11:20:01,560: DEBUG - + log_path=/var/log/ynh-vpnclient/ynh-vpnclient.log
2024-08-02 11:20:01,560: DEBUG - + timeout=300
2024-08-02 11:20:01,560: DEBUG - + '[' stop == stop ']'
2024-08-02 11:20:01,560: DEBUG - + systemctl is-active --quiet ynh-vpnclient
2024-08-02 11:20:01,563: DEBUG - + '[' stop == reload ']'
2024-08-02 11:20:01,563: DEBUG - ++ date --utc --rfc-3339=seconds
2024-08-02 11:20:01,564: DEBUG - ++ cut -d+ -f1
2024-08-02 11:20:01,571: DEBUG - + local 'time_start=2024-08-02 09:20:01 UTC'
2024-08-02 11:20:01,571: DEBUG - + systemctl stop ynh-vpnclient
2024-08-02 11:20:01,758: DEBUG - + chown vpnclient:vpnclient /etc/openvpn/keys
2024-08-02 11:20:01,759: DEBUG - + chmod go=--- /etc/openvpn/keys
2024-08-02 11:20:01,761: DEBUG - + _ynh_app_config_apply
2024-08-02 11:20:01,761: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,761: DEBUG - + ynh_app_config_apply_one config_file
2024-08-02 11:20:01,762: DEBUG - + _ynh_app_config_apply_one config_file
2024-08-02 11:20:01,762: DEBUG - + local short_setting=config_file
2024-08-02 11:20:01,762: DEBUG - + local setter=set__config_file
2024-08-02 11:20:01,762: DEBUG - + local bind=/etc/openvpn/client.conf
2024-08-02 11:20:01,762: DEBUG - + local type=file
2024-08-02 11:20:01,763: DEBUG - + '[' true == true ']'
2024-08-02 11:20:01,763: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,763: DEBUG - + type -t set__config_file
2024-08-02 11:20:01,763: DEBUG - + [[ /etc/openvpn/client.conf == *\(* ]]
2024-08-02 11:20:01,763: DEBUG - + [[ /etc/openvpn/client.conf == \n\u\l\l ]]
2024-08-02 11:20:01,764: DEBUG - + [[ file == \f\i\l\e ]]
2024-08-02 11:20:01,764: DEBUG - + [[ /etc/openvpn/client.conf == \s\e\t\t\i\n\g\s ]]
2024-08-02 11:20:01,764: DEBUG - ++ echo /etc/openvpn/client.conf
2024-08-02 11:20:01,764: DEBUG - ++ sed s@__FINALPATH__@@
2024-08-02 11:20:01,765: DEBUG - ++ sed s/__APP__/vpnclient/
2024-08-02 11:20:01,766: DEBUG - ++ sed s@__INSTALL_DIR__@@
2024-08-02 11:20:01,768: DEBUG - + local bind_file=/etc/openvpn/client.conf
2024-08-02 11:20:01,769: DEBUG - + [[ /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt == '' ]]
2024-08-02 11:20:01,769: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/openvpn/client.conf
2024-08-02 11:20:01,774: DEBUG - ++ ynh_app_setting_get --app=vpnclient --key=checksum__etc_openvpn_client.conf
2024-08-02 11:20:01,794: DEBUG - ++ [[ checksum__etc_openvpn_client.conf =~ (unprotected|protected|skipped)_ ]]
2024-08-02 11:20:01,827: DEBUG - + local checksum_value=
2024-08-02 11:20:01,827: DEBUG - + backup_file_checksum=
2024-08-02 11:20:01,827: DEBUG - + '[' -n '' ']'
2024-08-02 11:20:01,827: DEBUG - + [[ /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt != \/\e\t\c\/\o\p\e\n\v\p\n\/\c\l\i\e\n\t\.\c\o\n\f ]]
2024-08-02 11:20:01,827: DEBUG - + cp /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt /etc/openvpn/client.conf
2024-08-02 11:20:01,828: DEBUG - + ynh_store_file_checksum --file=/etc/openvpn/client.conf --update_only
2024-08-02 11:20:01,828: DEBUG - + update_only=0
2024-08-02 11:20:01,845: DEBUG - ++ ynh_app_setting_get --app=vpnclient --key=checksum__etc_openvpn_client.conf
2024-08-02 11:20:01,860: DEBUG - ++ [[ checksum__etc_openvpn_client.conf =~ (unprotected|protected|skipped)_ ]]
2024-08-02 11:20:01,901: DEBUG - + local checksum_value=
2024-08-02 11:20:01,901: DEBUG - + '[' -z '' ']'
2024-08-02 11:20:01,901: DEBUG - + return 0
2024-08-02 11:20:01,901: DEBUG - + ynh_print_info '--message=File '\''/etc/openvpn/client.conf'\'' overwritten with /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt'
2024-08-02 11:20:01,908: INFO - File '/etc/openvpn/client.conf' overwritten with /tmp/ynh_filequestion_rw9q5462/tmpnx0zivwt
2024-08-02 11:20:01,908: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,908: DEBUG - + ynh_app_config_apply_one doc
2024-08-02 11:20:01,909: DEBUG - + _ynh_app_config_apply_one doc
2024-08-02 11:20:01,909: DEBUG - + local short_setting=doc
2024-08-02 11:20:01,909: DEBUG - + local setter=set__doc
2024-08-02 11:20:01,909: DEBUG - + local bind=settings
2024-08-02 11:20:01,909: DEBUG - + local type=alert
2024-08-02 11:20:01,909: DEBUG - + '[' false == true ']'
2024-08-02 11:20:01,909: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,909: DEBUG - + ynh_app_config_apply_one config_template
2024-08-02 11:20:01,909: DEBUG - + _ynh_app_config_apply_one config_template
2024-08-02 11:20:01,909: DEBUG - + local short_setting=config_template
2024-08-02 11:20:01,909: DEBUG - + local setter=set__config_template
2024-08-02 11:20:01,909: DEBUG - + local bind=/etc/openvpn/client.conf.tpl
2024-08-02 11:20:01,909: DEBUG - + local type=file
2024-08-02 11:20:01,909: DEBUG - + '[' false == true ']'
2024-08-02 11:20:01,909: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,910: DEBUG - + ynh_app_config_apply_one cube_file
2024-08-02 11:20:01,910: DEBUG - + _ynh_app_config_apply_one cube_file
2024-08-02 11:20:01,910: DEBUG - + local short_setting=cube_file
2024-08-02 11:20:01,910: DEBUG - + local setter=set__cube_file
2024-08-02 11:20:01,910: DEBUG - + local bind=/etc/openvpn/client.cube
2024-08-02 11:20:01,910: DEBUG - + local type=file
2024-08-02 11:20:01,910: DEBUG - + '[' false == true ']'
2024-08-02 11:20:01,910: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:01,910: DEBUG - + ynh_app_config_apply_one crt_server_ca
2024-08-02 11:20:01,910: DEBUG - + _ynh_app_config_apply_one crt_server_ca
2024-08-02 11:20:01,910: DEBUG - + local short_setting=crt_server_ca
2024-08-02 11:20:01,910: DEBUG - + local setter=set__crt_server_ca
2024-08-02 11:20:01,910: DEBUG - + local bind=/etc/openvpn/keys/ca-server.crt
2024-08-02 11:20:01,910: DEBUG - + local type=file
2024-08-02 11:20:01,910: DEBUG - + '[' true == true ']'
2024-08-02 11:20:01,910: DEBUG - + type -t set__crt_server_ca
2024-08-02 11:20:01,911: DEBUG - + grep -q '^function$'
2024-08-02 11:20:01,911: DEBUG - + [[ /etc/openvpn/keys/ca-server.crt == *\(* ]]
2024-08-02 11:20:01,911: DEBUG - + [[ /etc/openvpn/keys/ca-server.crt == \n\u\l\l ]]
2024-08-02 11:20:01,911: DEBUG - + [[ file == \f\i\l\e ]]
2024-08-02 11:20:01,911: DEBUG - + [[ /etc/openvpn/keys/ca-server.crt == \s\e\t\t\i\n\g\s ]]
2024-08-02 11:20:01,911: DEBUG - ++ echo /etc/openvpn/keys/ca-server.crt
2024-08-02 11:20:01,911: DEBUG - ++ sed s/__APP__/vpnclient/
2024-08-02 11:20:01,911: DEBUG - ++ sed s@__FINALPATH__@@
2024-08-02 11:20:01,911: DEBUG - ++ sed s@__INSTALL_DIR__@@
2024-08-02 11:20:01,913: DEBUG - + local bind_file=/etc/openvpn/keys/ca-server.crt
2024-08-02 11:20:01,913: DEBUG - + [[ /tmp/ynh_filequestion_rw9q5462/crt_server_ca == '' ]]
2024-08-02 11:20:01,913: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/openvpn/keys/ca-server.crt
2024-08-02 11:20:01,919: DEBUG - ++ ynh_app_setting_get --app=vpnclient --key=checksum__etc_openvpn_keys_ca-server.crt
2024-08-02 11:20:01,935: DEBUG - ++ [[ checksum__etc_openvpn_keys_ca-server.crt =~ (unprotected|protected|skipped)_ ]]
2024-08-02 11:20:01,968: DEBUG - + local checksum_value=
2024-08-02 11:20:01,968: DEBUG - + backup_file_checksum=
2024-08-02 11:20:01,968: DEBUG - + '[' -n '' ']'
2024-08-02 11:20:01,968: DEBUG - + [[ /tmp/ynh_filequestion_rw9q5462/crt_server_ca != \/\e\t\c\/\o\p\e\n\v\p\n\/\k\e\y\s\/\c\a\-\s\e\r\v\e\r\.\c\r\t ]]
2024-08-02 11:20:01,968: DEBUG - + cp /tmp/ynh_filequestion_rw9q5462/crt_server_ca /etc/openvpn/keys/ca-server.crt
2024-08-02 11:20:01,970: DEBUG - + ynh_store_file_checksum --file=/etc/openvpn/keys/ca-server.crt --update_only
2024-08-02 11:20:01,970: DEBUG - + update_only=0
2024-08-02 11:20:01,989: DEBUG - ++ ynh_app_setting_get --app=vpnclient --key=checksum__etc_openvpn_keys_ca-server.crt
2024-08-02 11:20:02,009: DEBUG - ++ [[ checksum__etc_openvpn_keys_ca-server.crt =~ (unprotected|protected|skipped)_ ]]
2024-08-02 11:20:02,041: DEBUG - + local checksum_value=
2024-08-02 11:20:02,042: DEBUG - + '[' -z '' ']'
2024-08-02 11:20:02,042: DEBUG - + return 0
2024-08-02 11:20:02,042: DEBUG - + ynh_print_info '--message=File '\''/etc/openvpn/keys/ca-server.crt'\'' overwritten with /tmp/ynh_filequestion_rw9q5462/crt_server_ca'
2024-08-02 11:20:02,049: INFO - File '/etc/openvpn/keys/ca-server.crt' overwritten with /tmp/ynh_filequestion_rw9q5462/crt_server_ca
2024-08-02 11:20:02,050: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:02,050: DEBUG - + ynh_app_config_apply_one ip6_net
2024-08-02 11:20:02,050: DEBUG - + _ynh_app_config_apply_one ip6_net
2024-08-02 11:20:02,050: DEBUG - + local short_setting=ip6_net
2024-08-02 11:20:02,050: DEBUG - + local setter=set__ip6_net
2024-08-02 11:20:02,050: DEBUG - + local bind=settings
2024-08-02 11:20:02,050: DEBUG - + local type=string
2024-08-02 11:20:02,050: DEBUG - + '[' false == true ']'
2024-08-02 11:20:02,050: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:02,051: DEBUG - + ynh_app_config_apply_one crt_client
2024-08-02 11:20:02,051: DEBUG - + _ynh_app_config_apply_one crt_client
2024-08-02 11:20:02,051: DEBUG - + local short_setting=crt_client
2024-08-02 11:20:02,051: DEBUG - + local setter=set__crt_client
2024-08-02 11:20:02,051: DEBUG - + local bind=/etc/openvpn/keys/user.crt
2024-08-02 11:20:02,051: DEBUG - + local type=file
2024-08-02 11:20:02,051: DEBUG - + '[' true == true ']'
2024-08-02 11:20:02,051: DEBUG - + type -t set__crt_client
2024-08-02 11:20:02,051: DEBUG - + grep -q '^function$'
2024-08-02 11:20:02,051: DEBUG - + [[ /etc/openvpn/keys/user.crt == *\(* ]]
2024-08-02 11:20:02,051: DEBUG - + [[ /etc/openvpn/keys/user.crt == \n\u\l\l ]]
2024-08-02 11:20:02,052: DEBUG - + [[ file == \f\i\l\e ]]
2024-08-02 11:20:02,052: DEBUG - + [[ /etc/openvpn/keys/user.crt == \s\e\t\t\i\n\g\s ]]
2024-08-02 11:20:02,052: DEBUG - ++ echo /etc/openvpn/keys/user.crt
2024-08-02 11:20:02,052: DEBUG - ++ sed s@__INSTALL_DIR__@@
2024-08-02 11:20:02,052: DEBUG - ++ sed s/__APP__/vpnclient/
2024-08-02 11:20:02,053: DEBUG - ++ sed s@__FINALPATH__@@
2024-08-02 11:20:02,054: DEBUG - + local bind_file=/etc/openvpn/keys/user.crt
2024-08-02 11:20:02,054: DEBUG - + [[ /tmp/ynh_filequestion_rw9q5462/crt_client == '' ]]
2024-08-02 11:20:02,055: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/openvpn/keys/user.crt
2024-08-02 11:20:02,060: DEBUG - ++ ynh_app_setting_get --app=vpnclient --key=checksum__etc_openvpn_keys_user.crt
2024-08-02 11:20:02,079: DEBUG - ++ [[ checksum__etc_openvpn_keys_user.crt =~ (unprotected|protected|skipped)_ ]]
2024-08-02 11:20:02,111: DEBUG - + local checksum_value=
2024-08-02 11:20:02,111: DEBUG - + backup_file_checksum=
2024-08-02 11:20:02,111: DEBUG - + '[' -n '' ']'
2024-08-02 11:20:02,111: DEBUG - + [[ /tmp/ynh_filequestion_rw9q5462/crt_client != \/\e\t\c\/\o\p\e\n\v\p\n\/\k\e\y\s\/\u\s\e\r\.\c\r\t ]]
2024-08-02 11:20:02,112: DEBUG - + cp /tmp/ynh_filequestion_rw9q5462/crt_client /etc/openvpn/keys/user.crt
2024-08-02 11:20:02,112: DEBUG - + ynh_store_file_checksum --file=/etc/openvpn/keys/user.crt --update_only
2024-08-02 11:20:02,113: DEBUG - + update_only=0
2024-08-02 11:20:02,130: DEBUG - ++ ynh_app_setting_get --app=vpnclient --key=checksum__etc_openvpn_keys_user.crt
2024-08-02 11:20:02,148: DEBUG - ++ [[ checksum__etc_openvpn_keys_user.crt =~ (unprotected|protected|skipped)_ ]]
2024-08-02 11:20:02,183: DEBUG - + local checksum_value=
2024-08-02 11:20:02,183: DEBUG - + '[' -z '' ']'
2024-08-02 11:20:02,183: DEBUG - + return 0
2024-08-02 11:20:02,183: DEBUG - + ynh_print_info '--message=File '\''/etc/openvpn/keys/user.crt'\'' overwritten with /tmp/ynh_filequestion_rw9q5462/crt_client'
2024-08-02 11:20:02,191: INFO - File '/etc/openvpn/keys/user.crt' overwritten with /tmp/ynh_filequestion_rw9q5462/crt_client
2024-08-02 11:20:02,191: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:02,191: DEBUG - + ynh_app_config_apply_one crt_client_ta
2024-08-02 11:20:02,191: DEBUG - + _ynh_app_config_apply_one crt_client_ta
2024-08-02 11:20:02,191: DEBUG - + local short_setting=crt_client_ta
2024-08-02 11:20:02,192: DEBUG - + local setter=set__crt_client_ta
2024-08-02 11:20:02,192: DEBUG - + local bind=/etc/openvpn/keys/user_ta.key
2024-08-02 11:20:02,192: DEBUG - + local type=file
2024-08-02 11:20:02,192: DEBUG - + '[' false == true ']'
2024-08-02 11:20:02,192: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:02,192: DEBUG - + ynh_app_config_apply_one dns_method
2024-08-02 11:20:02,192: DEBUG - + _ynh_app_config_apply_one dns_method
2024-08-02 11:20:02,192: DEBUG - + local short_setting=dns_method
2024-08-02 11:20:02,192: DEBUG - + local setter=set__dns_method
2024-08-02 11:20:02,192: DEBUG - + local bind=settings
2024-08-02 11:20:02,192: DEBUG - + local type=select
2024-08-02 11:20:02,192: DEBUG - + '[' false == true ']'
2024-08-02 11:20:02,192: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:02,192: DEBUG - + ynh_app_config_apply_one crt_client_key
2024-08-02 11:20:02,193: DEBUG - + _ynh_app_config_apply_one crt_client_key
2024-08-02 11:20:02,193: DEBUG - + local short_setting=crt_client_key
2024-08-02 11:20:02,193: DEBUG - + local setter=set__crt_client_key
2024-08-02 11:20:02,193: DEBUG - + local bind=/etc/openvpn/keys/user.key
2024-08-02 11:20:02,193: DEBUG - + local type=file
2024-08-02 11:20:02,193: DEBUG - + '[' true == true ']'
2024-08-02 11:20:02,193: DEBUG - + grep -q '^function$'
2024-08-02 11:20:02,193: DEBUG - + type -t set__crt_client_key
2024-08-02 11:20:02,193: DEBUG - + [[ /etc/openvpn/keys/user.key == *\(* ]]
2024-08-02 11:20:02,194: DEBUG - + [[ /etc/openvpn/keys/user.key == \n\u\l\l ]]
2024-08-02 11:20:02,194: DEBUG - + [[ file == \f\i\l\e ]]
2024-08-02 11:20:02,194: DEBUG - + [[ /etc/openvpn/keys/user.key == \s\e\t\t\i\n\g\s ]]
2024-08-02 11:20:02,194: DEBUG - ++ echo /etc/openvpn/keys/user.key
2024-08-02 11:20:02,194: DEBUG - ++ sed s/__APP__/vpnclient/
2024-08-02 11:20:02,195: DEBUG - ++ sed s@__FINALPATH__@@
2024-08-02 11:20:02,196: DEBUG - ++ sed s@__INSTALL_DIR__@@
2024-08-02 11:20:02,197: DEBUG - + local bind_file=/etc/openvpn/keys/user.key
2024-08-02 11:20:02,198: DEBUG - + [[ ********** == '' ]]
2024-08-02 11:20:02,198: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/openvpn/keys/user.key
2024-08-02 11:20:02,204: DEBUG - ++ ynh_app_setting_get --app=vpnclient --key=checksum__etc_openvpn_keys_user.key
2024-08-02 11:20:02,224: DEBUG - ++ [[ checksum__etc_openvpn_keys_user.key =~ (unprotected|protected|skipped)_ ]]
2024-08-02 11:20:02,260: DEBUG - + local checksum_value=
2024-08-02 11:20:02,260: DEBUG - + backup_file_checksum=
2024-08-02 11:20:02,260: DEBUG - + '[' -n '' ']'
2024-08-02 11:20:02,260: DEBUG - + [[ ********** != \/\e\t\c\/\o\p\e\n\v\p\n\/\k\e\y\s\/\u\s\e\r\.\k\e\y ]]
2024-08-02 11:20:02,261: DEBUG - + cp ********** /etc/openvpn/keys/user.key
2024-08-02 11:20:02,261: DEBUG - + ynh_store_file_checksum --file=/etc/openvpn/keys/user.key --update_only
2024-08-02 11:20:02,262: DEBUG - + update_only=0
2024-08-02 11:20:02,280: DEBUG - ++ ynh_app_setting_get --app=vpnclient --key=checksum__etc_openvpn_keys_user.key
2024-08-02 11:20:02,299: DEBUG - ++ [[ checksum__etc_openvpn_keys_user.key =~ (unprotected|protected|skipped)_ ]]
2024-08-02 11:20:02,336: DEBUG - + local checksum_value=
2024-08-02 11:20:02,336: DEBUG - + '[' -z '' ']'
2024-08-02 11:20:02,337: DEBUG - + return 0
2024-08-02 11:20:02,337: DEBUG - + ynh_print_info '--message=File '\''/etc/openvpn/keys/user.key'\'' overwritten with **********'
2024-08-02 11:20:02,343: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:02,343: DEBUG - + ynh_app_config_apply_one ip6_addr
2024-08-02 11:20:02,343: DEBUG - + _ynh_app_config_apply_one ip6_addr
2024-08-02 11:20:02,343: INFO - File '/etc/openvpn/keys/user.key' overwritten with **********
2024-08-02 11:20:02,344: DEBUG - + local short_setting=ip6_addr
2024-08-02 11:20:02,344: DEBUG - + local setter=set__ip6_addr
2024-08-02 11:20:02,344: DEBUG - + local bind=settings
2024-08-02 11:20:02,344: DEBUG - + local type=string
2024-08-02 11:20:02,344: DEBUG - + '[' false == true ']'
2024-08-02 11:20:02,344: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:02,344: DEBUG - + ynh_app_config_apply_one nameservers
2024-08-02 11:20:02,344: DEBUG - + _ynh_app_config_apply_one nameservers
2024-08-02 11:20:02,344: DEBUG - + local short_setting=nameservers
2024-08-02 11:20:02,345: DEBUG - + local setter=set__nameservers
2024-08-02 11:20:02,345: DEBUG - + local bind=settings
2024-08-02 11:20:02,345: DEBUG - + local type=tags
2024-08-02 11:20:02,345: DEBUG - + '[' false == true ']'
2024-08-02 11:20:02,345: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:02,345: DEBUG - + ynh_app_config_apply_one ovpn_file
2024-08-02 11:20:02,345: DEBUG - + _ynh_app_config_apply_one ovpn_file
2024-08-02 11:20:02,345: DEBUG - + local short_setting=ovpn_file
2024-08-02 11:20:02,345: DEBUG - + local setter=set__ovpn_file
2024-08-02 11:20:02,345: DEBUG - + local bind=/etc/openvpn/client.ovpn
2024-08-02 11:20:02,345: DEBUG - + local type=file
2024-08-02 11:20:02,345: DEBUG - + '[' true == true ']'
2024-08-02 11:20:02,345: DEBUG - + grep -q '^function$'
2024-08-02 11:20:02,346: DEBUG - + type -t set__ovpn_file
2024-08-02 11:20:02,346: DEBUG - + [[ /etc/openvpn/client.ovpn == *\(* ]]
2024-08-02 11:20:02,346: DEBUG - + [[ /etc/openvpn/client.ovpn == \n\u\l\l ]]
2024-08-02 11:20:02,346: DEBUG - + [[ file == \f\i\l\e ]]
2024-08-02 11:20:02,346: DEBUG - + [[ /etc/openvpn/client.ovpn == \s\e\t\t\i\n\g\s ]]
2024-08-02 11:20:02,346: DEBUG - ++ sed s@__FINALPATH__@@
2024-08-02 11:20:02,346: DEBUG - ++ sed s@__INSTALL_DIR__@@
2024-08-02 11:20:02,347: DEBUG - ++ echo /etc/openvpn/client.ovpn
2024-08-02 11:20:02,348: DEBUG - ++ sed s/__APP__/vpnclient/
2024-08-02 11:20:02,350: DEBUG - + local bind_file=/etc/openvpn/client.ovpn
2024-08-02 11:20:02,350: DEBUG - + [[ /tmp/ynh_filequestion_rw9q5462/client.ovpn == '' ]]
2024-08-02 11:20:02,350: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/openvpn/client.ovpn
2024-08-02 11:20:02,356: DEBUG - ++ ynh_app_setting_get --app=vpnclient --key=checksum__etc_openvpn_client.ovpn
2024-08-02 11:20:02,374: DEBUG - ++ [[ checksum__etc_openvpn_client.ovpn =~ (unprotected|protected|skipped)_ ]]
2024-08-02 11:20:02,410: DEBUG - + local checksum_value=
2024-08-02 11:20:02,410: DEBUG - + backup_file_checksum=
2024-08-02 11:20:02,410: DEBUG - + '[' -n '' ']'
2024-08-02 11:20:02,410: DEBUG - + [[ /tmp/ynh_filequestion_rw9q5462/client.ovpn != \/\e\t\c\/\o\p\e\n\v\p\n\/\c\l\i\e\n\t\.\o\v\p\n ]]
2024-08-02 11:20:02,411: DEBUG - + cp /tmp/ynh_filequestion_rw9q5462/client.ovpn /etc/openvpn/client.ovpn
2024-08-02 11:20:02,412: DEBUG - + ynh_store_file_checksum --file=/etc/openvpn/client.ovpn --update_only
2024-08-02 11:20:02,412: DEBUG - + update_only=0
2024-08-02 11:20:02,430: DEBUG - ++ ynh_app_setting_get --app=vpnclient --key=checksum__etc_openvpn_client.ovpn
2024-08-02 11:20:02,454: DEBUG - ++ [[ checksum__etc_openvpn_client.ovpn =~ (unprotected|protected|skipped)_ ]]
2024-08-02 11:20:02,490: DEBUG - + local checksum_value=
2024-08-02 11:20:02,490: DEBUG - + '[' -z '' ']'
2024-08-02 11:20:02,490: DEBUG - + return 0
2024-08-02 11:20:02,490: DEBUG - + ynh_print_info '--message=File '\''/etc/openvpn/client.ovpn'\'' overwritten with /tmp/ynh_filequestion_rw9q5462/client.ovpn'
2024-08-02 11:20:02,497: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:02,497: DEBUG - + ynh_app_config_apply_one login_passphrase
2024-08-02 11:20:02,497: INFO - File '/etc/openvpn/client.ovpn' overwritten with /tmp/ynh_filequestion_rw9q5462/client.ovpn
2024-08-02 11:20:02,498: DEBUG - + _ynh_app_config_apply_one login_passphrase
2024-08-02 11:20:02,498: DEBUG - + local short_setting=login_passphrase
2024-08-02 11:20:02,498: DEBUG - + local setter=set__login_passphrase
2024-08-02 11:20:02,498: DEBUG - + local bind=settings
2024-08-02 11:20:02,498: DEBUG - + local type=password
2024-08-02 11:20:02,498: DEBUG - + '[' false == true ']'
2024-08-02 11:20:02,498: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:02,498: DEBUG - + ynh_app_config_apply_one service_enabled
2024-08-02 11:20:02,498: DEBUG - + _ynh_app_config_apply_one service_enabled
2024-08-02 11:20:02,498: DEBUG - + local short_setting=service_enabled
2024-08-02 11:20:02,499: DEBUG - + local setter=set__service_enabled
2024-08-02 11:20:02,499: DEBUG - + local bind=settings
2024-08-02 11:20:02,499: DEBUG - + local type=boolean
2024-08-02 11:20:02,499: DEBUG - + '[' true == true ']'
2024-08-02 11:20:02,499: DEBUG - + type -t set__service_enabled
2024-08-02 11:20:02,499: DEBUG - + grep -q '^function$'
2024-08-02 11:20:02,499: DEBUG - + [[ settings == *\(* ]]
2024-08-02 11:20:02,499: DEBUG - + [[ settings == \n\u\l\l ]]
2024-08-02 11:20:02,499: DEBUG - + [[ boolean == \f\i\l\e ]]
2024-08-02 11:20:02,499: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2024-08-02 11:20:02,500: DEBUG - + ynh_app_setting_set --app=vpnclient --key=service_enabled --value=1
2024-08-02 11:20:02,536: DEBUG - + [[ service_enabled =~ (unprotected|protected|skipped)_ ]]
2024-08-02 11:20:02,572: DEBUG - + ynh_print_info '--message=Configuration key '\''service_enabled'\'' edited in app settings'
2024-08-02 11:20:02,581: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:02,581: DEBUG - + ynh_app_config_apply_one login_user
2024-08-02 11:20:02,581: DEBUG - + _ynh_app_config_apply_one login_user
2024-08-02 11:20:02,581: DEBUG - + local short_setting=login_user
2024-08-02 11:20:02,581: DEBUG - + local setter=set__login_user
2024-08-02 11:20:02,581: DEBUG - + local bind=settings
2024-08-02 11:20:02,581: DEBUG - + local type=string
2024-08-02 11:20:02,581: DEBUG - + '[' false == true ']'
2024-08-02 11:20:02,581: DEBUG - + for short_setting in "${!old[@]}"
2024-08-02 11:20:02,581: DEBUG - + ynh_app_config_apply_one status
2024-08-02 11:20:02,581: DEBUG - + _ynh_app_config_apply_one status
2024-08-02 11:20:02,581: DEBUG - + local short_setting=status
2024-08-02 11:20:02,581: DEBUG - + local setter=set__status
2024-08-02 11:20:02,582: DEBUG - + local bind=settings
2024-08-02 11:20:02,582: DEBUG - + local type=alert
2024-08-02 11:20:02,582: DEBUG - + '[' false == true ']'
2024-08-02 11:20:02,582: DEBUG - + set_permissions /etc/openvpn/client.conf
2024-08-02 11:20:02,582: DEBUG - + local file=/etc/openvpn/client.conf
2024-08-02 11:20:02,582: DEBUG - + '[' -f /etc/openvpn/client.conf ']'
2024-08-02 11:20:02,582: DEBUG - + chown vpnclient:vpnclient /etc/openvpn/client.conf
2024-08-02 11:20:02,582: INFO - Configuration key 'service_enabled' edited in app settings
2024-08-02 11:20:02,582: DEBUG - + chmod go=--- /etc/openvpn/client.conf
2024-08-02 11:20:02,583: DEBUG - + set_permissions /etc/openvpn/keys/ca-server.crt
2024-08-02 11:20:02,583: DEBUG - + local file=/etc/openvpn/keys/ca-server.crt
2024-08-02 11:20:02,583: DEBUG - + '[' -f /etc/openvpn/keys/ca-server.crt ']'
2024-08-02 11:20:02,583: DEBUG - + chown vpnclient:vpnclient /etc/openvpn/keys/ca-server.crt
2024-08-02 11:20:02,584: DEBUG - + chmod go=--- /etc/openvpn/keys/ca-server.crt
2024-08-02 11:20:02,585: DEBUG - + set_permissions /etc/openvpn/keys/user.crt
2024-08-02 11:20:02,585: DEBUG - + local file=/etc/openvpn/keys/user.crt
2024-08-02 11:20:02,585: DEBUG - + '[' -f /etc/openvpn/keys/user.crt ']'
2024-08-02 11:20:02,585: DEBUG - + chown vpnclient:vpnclient /etc/openvpn/keys/user.crt
2024-08-02 11:20:02,586: DEBUG - + chmod go=--- /etc/openvpn/keys/user.crt
2024-08-02 11:20:02,586: DEBUG - + set_permissions /etc/openvpn/keys/user.key
2024-08-02 11:20:02,587: DEBUG - + local file=/etc/openvpn/keys/user.key
2024-08-02 11:20:02,587: DEBUG - + '[' -f /etc/openvpn/keys/user.key ']'
2024-08-02 11:20:02,587: DEBUG - + chown vpnclient:vpnclient /etc/openvpn/keys/user.key
2024-08-02 11:20:02,587: DEBUG - + chmod go=--- /etc/openvpn/keys/user.key
2024-08-02 11:20:02,588: DEBUG - + set_permissions /etc/openvpn/keys/user_ta.key
2024-08-02 11:20:02,588: DEBUG - + local file=/etc/openvpn/keys/user_ta.key
2024-08-02 11:20:02,588: DEBUG - + '[' -f /etc/openvpn/keys/user_ta.key ']'
2024-08-02 11:20:02,589: DEBUG - + [[ YNH_NULL == \/\e\t\c\/\o\p\e\n\v\p\n\/\c\l\i\e\n\t\.\c\u\b\e ]]
2024-08-02 11:20:02,589: DEBUG - + [[ /tmp/ynh_filequestion_rw9q5462/client.ovpn == \/\e\t\c\/\o\p\e\n\v\p\n\/\c\l\i\e\n\t\.\o\v\p\n ]]
2024-08-02 11:20:02,589: DEBUG - + ynh_print_info '--message=Starting vpnclient service if needed'
2024-08-02 11:20:02,594: DEBUG - + ynh_systemd_action --service_name=ynh-vpnclient --action=start
2024-08-02 11:20:02,594: INFO - Starting vpnclient service if needed
2024-08-02 11:20:02,643: DEBUG - + service_name=ynh-vpnclient
2024-08-02 11:20:02,643: DEBUG - + action=start
2024-08-02 11:20:02,643: DEBUG - + line_match=
2024-08-02 11:20:02,643: DEBUG - + length=20
2024-08-02 11:20:02,643: DEBUG - + log_path=/var/log/ynh-vpnclient/ynh-vpnclient.log
2024-08-02 11:20:02,643: DEBUG - + timeout=300
2024-08-02 11:20:02,643: DEBUG - + '[' start == stop ']'
2024-08-02 11:20:02,643: DEBUG - + '[' start == reload ']'
2024-08-02 11:20:02,644: DEBUG - ++ cut -d+ -f1
2024-08-02 11:20:02,644: DEBUG - ++ date --utc --rfc-3339=seconds
2024-08-02 11:20:02,645: DEBUG - + local 'time_start=2024-08-02 09:20:02 UTC'
2024-08-02 11:20:02,645: DEBUG - + systemctl start ynh-vpnclient
2024-08-02 11:20:14,790: WARNING - Job for ynh-vpnclient.service failed because the control process exited with error code.
2024-08-02 11:20:14,790: WARNING - See "systemctl status ynh-vpnclient.service" and "journalctl -xe" for details.
2024-08-02 11:20:14,791: DEBUG - + ynh_exec_err journalctl --quiet --no-hostname --no-pager --lines=20 --unit=ynh-vpnclient
2024-08-02 11:20:14,791: DEBUG - + [[ 6 -eq 1 ]]
2024-08-02 11:20:14,791: DEBUG - ++ journalctl --quiet --no-hostname --no-pager --lines=20 --unit=ynh-vpnclient
2024-08-02 11:20:14,812: DEBUG - + ynh_print_err '--message=aug 02 11:20:07 ntpd[1473614]: Soliciting pool server 82.67.71.253
2024-08-02 11:20:14,812: DEBUG - aug 02 11:20:07 ntpd[1473614]: Soliciting pool server 163.172.108.143
2024-08-02 11:20:14,812: DEBUG - aug 02 11:20:08 ntpd[1473614]: Soliciting pool server 193.52.136.2
2024-08-02 11:20:14,813: DEBUG - aug 02 11:20:08 ntpd[1473614]: Soliciting pool server 185.123.84.51
2024-08-02 11:20:14,813: DEBUG - aug 02 11:20:09 ntpd[1473614]: Soliciting pool server 176.137.36.37
2024-08-02 11:20:14,813: DEBUG - aug 02 11:20:09 ntpd[1473614]: Soliciting pool server 2a01:e0a:431:b527::b123
2024-08-02 11:20:14,813: DEBUG - aug 02 11:20:10 ntpd[1473614]: ntpd: time slew -0.004890 s
2024-08-02 11:20:14,813: DEBUG - aug 02 11:20:10 ynh-vpnclient[1473631]: [INFO] Checking if configuration is valid...
2024-08-02 11:20:14,813: DEBUG - aug 02 11:20:10 ynh-vpnclient[1473634]: [INFO] Now actually starting OpenVPN client...
2024-08-02 11:20:14,814: DEBUG - aug 02 11:20:10 ynh-vpnclient[1473638]: [INFO] OpenVPN client started ... waiting for tun0 interface to show up
2024-08-02 11:20:14,814: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473653]: [ OK ] tun0 interface is up!
2024-08-02 11:20:14,814: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473655]: [INFO] Waiting for VPN client to be ready...
2024-08-02 11:20:14,814: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473658]: tail: kan '\''/var/log/openvpn-client.log'\'' niet openen om te lezen: Bestand of map bestaat niet
2024-08-02 11:20:14,814: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473658]: tail: geen bestanden meer over
2024-08-02 11:20:14,814: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473660]: [FAIL] The VPN client didn'\''t complete initiliasation
2024-08-02 11:20:14,814: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473661]: tail: kan '\''/var/log/openvpn-client.log'\'' niet openen om te lezen: Bestand of map bestaat niet
2024-08-02 11:20:14,815: DEBUG - aug 02 11:20:14 ynh-vpnclient[1473687]: [CRIT] Failed to start OpenVPN client
2024-08-02 11:20:14,815: DEBUG - aug 02 11:20:14 systemd[1]: ynh-vpnclient.service: Main process exited, code=exited, status=1/FAILURE
2024-08-02 11:20:14,815: DEBUG - aug 02 11:20:14 systemd[1]: ynh-vpnclient.service: Failed with result '\''exit-code'\''.
2024-08-02 11:20:14,815: DEBUG - aug 02 11:20:14 systemd[1]: Failed to start YunoHost VPN Client..'
2024-08-02 11:20:14,816: DEBUG - aug 02 11:20:07 ntpd[1473614]: Soliciting pool server 163.172.108.143
2024-08-02 11:20:14,816: DEBUG - aug 02 11:20:08 ntpd[1473614]: Soliciting pool server 193.52.136.2
2024-08-02 11:20:14,816: DEBUG - aug 02 11:20:08 ntpd[1473614]: Soliciting pool server 185.123.84.51
2024-08-02 11:20:14,816: DEBUG - aug 02 11:20:09 ntpd[1473614]: Soliciting pool server 176.137.36.37
2024-08-02 11:20:14,816: DEBUG - aug 02 11:20:09 ntpd[1473614]: Soliciting pool server 2a01:e0a:431:b527::b123
2024-08-02 11:20:14,816: DEBUG - aug 02 11:20:10 ntpd[1473614]: ntpd: time slew -0.004890 s
2024-08-02 11:20:14,817: DEBUG - aug 02 11:20:10 ynh-vpnclient[1473631]: [INFO] Checking if configuration is valid...
2024-08-02 11:20:14,817: DEBUG - aug 02 11:20:10 ynh-vpnclient[1473634]: [INFO] Now actually starting OpenVPN client...
2024-08-02 11:20:14,817: DEBUG - aug 02 11:20:10 ynh-vpnclient[1473638]: [INFO] OpenVPN client started ... waiting for tun0 interface to show up
2024-08-02 11:20:14,817: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473653]: [ OK ] tun0 interface is up!
2024-08-02 11:20:14,817: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473655]: [INFO] Waiting for VPN client to be ready...
2024-08-02 11:20:14,817: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473658]: tail: kan '\''/var/log/openvpn-client.log'\'' niet openen om te lezen: Bestand of map bestaat niet
2024-08-02 11:20:14,817: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473658]: tail: geen bestanden meer over
2024-08-02 11:20:14,818: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473660]: [FAIL] The VPN client didn'\''t complete initiliasation
2024-08-02 11:20:14,818: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473661]: tail: kan '\''/var/log/openvpn-client.log'\'' niet openen om te lezen: Bestand of map bestaat niet
2024-08-02 11:20:14,818: DEBUG - aug 02 11:20:14 ynh-vpnclient[1473687]: [CRIT] Failed to start OpenVPN client
2024-08-02 11:20:14,818: DEBUG - aug 02 11:20:14 systemd[1]: ynh-vpnclient.service: Main process exited, code=exited, status=1/FAILURE
2024-08-02 11:20:14,818: DEBUG - aug 02 11:20:14 systemd[1]: ynh-vpnclient.service: Failed with result '\''exit-code'\''.
2024-08-02 11:20:14,818: DEBUG - aug 02 11:20:14 systemd[1]: Failed to start YunoHost VPN Client..'
2024-08-02 11:20:14,822: DEBUG - + ynh_print_log '[Error] aug 02 11:20:07 ntpd[1473614]: Soliciting pool server 82.67.71.253
2024-08-02 11:20:14,822: DEBUG - aug 02 11:20:07 ntpd[1473614]: Soliciting pool server 163.172.108.143
2024-08-02 11:20:14,822: DEBUG - aug 02 11:20:08 ntpd[1473614]: Soliciting pool server 193.52.136.2
2024-08-02 11:20:14,823: DEBUG - aug 02 11:20:08 ntpd[1473614]: Soliciting pool server 185.123.84.51
2024-08-02 11:20:14,823: DEBUG - aug 02 11:20:09 ntpd[1473614]: Soliciting pool server 176.137.36.37
2024-08-02 11:20:14,823: DEBUG - aug 02 11:20:09 ntpd[1473614]: Soliciting pool server 2a01:e0a:431:b527::b123
2024-08-02 11:20:14,823: DEBUG - aug 02 11:20:10 ntpd[1473614]: ntpd: time slew -0.004890 s
2024-08-02 11:20:14,823: DEBUG - aug 02 11:20:10 ynh-vpnclient[1473631]: [INFO] Checking if configuration is valid...
2024-08-02 11:20:14,823: DEBUG - aug 02 11:20:10 ynh-vpnclient[1473634]: [INFO] Now actually starting OpenVPN client...
2024-08-02 11:20:14,823: DEBUG - aug 02 11:20:10 ynh-vpnclient[1473638]: [INFO] OpenVPN client started ... waiting for tun0 interface to show up
2024-08-02 11:20:14,823: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473653]: [ OK ] tun0 interface is up!
2024-08-02 11:20:14,823: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473655]: [INFO] Waiting for VPN client to be ready...
2024-08-02 11:20:14,823: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473658]: tail: kan '\''/var/log/openvpn-client.log'\'' niet openen om te lezen: Bestand of map bestaat niet
2024-08-02 11:20:14,823: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473658]: tail: geen bestanden meer over
2024-08-02 11:20:14,823: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473660]: [FAIL] The VPN client didn'\''t complete initiliasation
2024-08-02 11:20:14,823: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473661]: tail: kan '\''/var/log/openvpn-client.log'\'' niet openen om te lezen: Bestand of map bestaat niet
2024-08-02 11:20:14,823: DEBUG - aug 02 11:20:14 ynh-vpnclient[1473687]: [CRIT] Failed to start OpenVPN client
2024-08-02 11:20:14,823: DEBUG - aug 02 11:20:14 systemd[1]: ynh-vpnclient.service: Main process exited, code=exited, status=1/FAILURE
2024-08-02 11:20:14,824: DEBUG - aug 02 11:20:14 systemd[1]: ynh-vpnclient.service: Failed with result '\''exit-code'\''.
2024-08-02 11:20:14,824: DEBUG - aug 02 11:20:14 systemd[1]: Failed to start YunoHost VPN Client..'
2024-08-02 11:20:14,824: DEBUG - + echo -e '[Error] aug 02 11:20:07 ntpd[1473614]: Soliciting pool server 82.67.71.253
2024-08-02 11:20:14,824: DEBUG - aug 02 11:20:07 ntpd[1473614]: Soliciting pool server 163.172.108.143
2024-08-02 11:20:14,824: DEBUG - aug 02 11:20:08 ntpd[1473614]: Soliciting pool server 193.52.136.2
2024-08-02 11:20:14,824: DEBUG - aug 02 11:20:08 ntpd[1473614]: Soliciting pool server 185.123.84.51
2024-08-02 11:20:14,824: DEBUG - aug 02 11:20:09 ntpd[1473614]: Soliciting pool server 176.137.36.37
2024-08-02 11:20:14,824: DEBUG - aug 02 11:20:09 ntpd[1473614]: Soliciting pool server 2a01:e0a:431:b527::b123
2024-08-02 11:20:14,824: DEBUG - aug 02 11:20:10 ntpd[1473614]: ntpd: time slew -0.004890 s
2024-08-02 11:20:14,824: DEBUG - aug 02 11:20:10 ynh-vpnclient[1473631]: [INFO] Checking if configuration is valid...
2024-08-02 11:20:14,824: DEBUG - aug 02 11:20:10 ynh-vpnclient[1473634]: [INFO] Now actually starting OpenVPN client...
2024-08-02 11:20:14,824: DEBUG - aug 02 11:20:10 ynh-vpnclient[1473638]: [INFO] OpenVPN client started ... waiting for tun0 interface to show up
2024-08-02 11:20:14,824: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473653]: [ OK ] tun0 interface is up!
2024-08-02 11:20:14,824: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473655]: [INFO] Waiting for VPN client to be ready...
2024-08-02 11:20:14,824: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473658]: tail: kan '\''/var/log/openvpn-client.log'\'' niet openen om te lezen: Bestand of map bestaat niet
2024-08-02 11:20:14,824: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473658]: tail: geen bestanden meer over
2024-08-02 11:20:14,825: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473660]: [FAIL] The VPN client didn'\''t complete initiliasation
2024-08-02 11:20:14,825: DEBUG - aug 02 11:20:12 ynh-vpnclient[1473661]: tail: kan '\''/var/log/openvpn-client.log'\'' niet openen om te lezen: Bestand of map bestaat niet
2024-08-02 11:20:14,825: DEBUG - aug 02 11:20:14 ynh-vpnclient[1473687]: [CRIT] Failed to start OpenVPN client
2024-08-02 11:20:14,825: DEBUG - aug 02 11:20:14 systemd[1]: ynh-vpnclient.service: Main process exited, code=exited, status=1/FAILURE
2024-08-02 11:20:14,825: DEBUG - aug 02 11:20:14 systemd[1]: ynh-vpnclient.service: Failed with result '\''exit-code'\''.
2024-08-02 11:20:14,825: DEBUG - aug 02 11:20:14 systemd[1]: Failed to start YunoHost VPN Client..'
2024-08-02 11:20:14,825: WARNING - [Error] aug 02 11:20:07 ntpd[1473614]: Soliciting pool server 82.67.71.253
2024-08-02 11:20:14,825: WARNING - aug 02 11:20:07 ntpd[1473614]: Soliciting pool server 163.172.108.143
2024-08-02 11:20:14,825: WARNING - aug 02 11:20:08 ntpd[1473614]: Soliciting pool server 193.52.136.2
2024-08-02 11:20:14,826: WARNING - aug 02 11:20:08 ntpd[1473614]: Soliciting pool server 185.123.84.51
2024-08-02 11:20:14,826: WARNING - aug 02 11:20:09 ntpd[1473614]: Soliciting pool server 176.137.36.37
2024-08-02 11:20:14,826: WARNING - aug 02 11:20:09 ntpd[1473614]: Soliciting pool server 2a01:e0a:431:b527::b123
2024-08-02 11:20:14,826: WARNING - aug 02 11:20:10 ntpd[1473614]: ntpd: time slew -0.004890 s
2024-08-02 11:20:14,826: WARNING - aug 02 11:20:10 ynh-vpnclient[1473631]: [INFO] Checking if configuration is valid...
2024-08-02 11:20:14,827: WARNING - aug 02 11:20:10 ynh-vpnclient[1473634]: [INFO] Now actually starting OpenVPN client...
2024-08-02 11:20:14,827: WARNING - aug 02 11:20:10 ynh-vpnclient[1473638]: [INFO] OpenVPN client started ... waiting for tun0 interface to show up
2024-08-02 11:20:14,827: WARNING - aug 02 11:20:12 ynh-vpnclient[1473653]: [ OK ] tun0 interface is up!
2024-08-02 11:20:14,827: WARNING - aug 02 11:20:12 ynh-vpnclient[1473655]: [INFO] Waiting for VPN client to be ready...
2024-08-02 11:20:14,827: WARNING - aug 02 11:20:12 ynh-vpnclient[1473658]: tail: kan '/var/log/openvpn-client.log' niet openen om te lezen: Bestand of map bestaat niet
2024-08-02 11:20:14,828: WARNING - aug 02 11:20:12 ynh-vpnclient[1473658]: tail: geen bestanden meer over
2024-08-02 11:20:14,828: WARNING - aug 02 11:20:12 ynh-vpnclient[1473660]: [FAIL] The VPN client didn't complete initiliasation
2024-08-02 11:20:14,828: WARNING - aug 02 11:20:12 ynh-vpnclient[1473661]: tail: kan '/var/log/openvpn-client.log' niet openen om te lezen: Bestand of map bestaat niet
2024-08-02 11:20:14,828: WARNING - aug 02 11:20:14 ynh-vpnclient[1473687]: [CRIT] Failed to start OpenVPN client
2024-08-02 11:20:14,828: WARNING - aug 02 11:20:14 systemd[1]: ynh-vpnclient.service: Main process exited, code=exited, status=1/FAILURE
2024-08-02 11:20:14,828: WARNING - aug 02 11:20:14 systemd[1]: ynh-vpnclient.service: Failed with result 'exit-code'.
2024-08-02 11:20:14,829: WARNING - aug 02 11:20:14 systemd[1]: Failed to start YunoHost VPN Client..
2024-08-02 11:20:14,829: DEBUG - + '[' -e /var/log/ynh-vpnclient/ynh-vpnclient.log ']'
2024-08-02 11:20:14,829: DEBUG - + ynh_clean_check_starting
2024-08-02 11:20:14,829: DEBUG - + '[' -n '' ']'
2024-08-02 11:20:14,829: DEBUG - + '[' -n '' ']'
2024-08-02 11:20:14,829: DEBUG - + return 1
2024-08-02 11:20:14,829: DEBUG - + ynh_exit_properly
2024-08-02 11:20:14,829: DEBUG - + [[ '' =~ ^install$|^upgrade$|^restore$ ]]
'''