Problème VPN client .cube

Mon serveur YunoHost

Matériel: Vieil ordinateur avec VPN
Version de YunoHost: 11.1.21.4
J’ai accès à mon serveur : En SSH | Par la webadmin | En direct avec un clavier/écran | …
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non

Description du problème

cet après-midi, j’ai eu ce message après des mises à jour

The automatic diagnosis on your YunoHost server identified some issues on your server. You will find a description of the issues below. You can manage those issues in the 'Diagnosis' section in your webadmin.

---

=================================
Connectivité Internet (ip)
=================================

[ERROR] La résolution du nom de domaine semble bloquée ou interrompue pour une raison quelconque ... Un pare-feu bloque-t-il les requêtes DNS ?

Je suis aller voir dans mon serveur en ssh et en effectuant un diagnostic j’avais ceci

$ sudo yunohost diagnosis run
Succès ! Tout semble OK pour Système de base !
Erreur : Trouvé 1 problème(s) significatif(s) lié(s) à Connectivité Internet !
Erreur : Impossible d'exécuter le diagnostic pour Enregistrements DNS alors qu'il existe des problèmes importants liés à Connectivité Internet.
Erreur : Impossible d'exécuter le diagnostic pour Exposition des ports alors qu'il existe des problèmes importants liés à Connectivité Internet.
Erreur : Impossible d'exécuter le diagnostic pour Web alors qu'il existe des problèmes importants liés à Connectivité Internet.
Erreur : Impossible d'exécuter le diagnostic pour Email alors qu'il existe des problèmes importants liés à Connectivité Internet.
Succès ! Tout semble OK pour État des services !
Succès ! Tout semble OK pour Ressources système !
Succès ! Tout semble OK pour Configurations système ! (+ 1 problème(s) ignoré(s))
Succès ! Tout semble OK pour Applications !
Attention : Pour voir les problèmes détectés, vous pouvez accéder à la section Diagnostic du webadmin ou exécuter 'yunohost diagnosis show --issues --human-readable' à partir de la ligne de commande.

J’ai voulu redémarrer le serveur et là plus possible d’atteindre l’interface web, ni se connecter en ssh

J’ai passer la nuit (blanche) à essayer de résoudre, nginx ne voulait plus démarrer, ni vpnclient.

J’ai fini par désinstaller des applications: torrelay simplex hotspot et vpnclient

redémarrer plusieurs fois

J’ai du du forcer le regen-conf pour dnsmasq yunohost tools regen-conf --force,

Puis enfin j’ai eu de nouveau la possibilité de trouver l’interface web et la connexion ssh et les services qui remarche, nginx surtout…

J’ai réinstallé vpnclient et mis mon .cube de Ilysse dans la config, mais j’ai encore le même diagnostique.

voici un log du setting un peu coupé

/var/log/yunohost/categories/operation/20230627-015820-app_config_set-vpnclient.log

2023-06-27 03:58:20,506: DEBUG - + ynh_abort_if_errors
2023-06-27 03:58:20,507: DEBUG - + set -o errexit
2023-06-27 03:58:20,507: DEBUG - + set -o nounset
2023-06-27 03:58:20,507: DEBUG - + trap ynh_exit_properly EXIT
2023-06-27 03:58:20,507: DEBUG - + BACKTICK='`'
2023-06-27 03:58:20,507: DEBUG - + TRIPLEBACKTICKS='```'
2023-06-27 03:58:20,507: DEBUG - + ynh_app_config_run apply
2023-06-27 03:58:20,508: DEBUG - + old=()
2023-06-27 03:58:20,508: DEBUG - + declare -Ag old
2023-06-27 03:58:20,508: DEBUG - + changed=()
2023-06-27 03:58:20,508: DEBUG - + declare -Ag changed
2023-06-27 03:58:20,508: DEBUG - + file_hash=()
2023-06-27 03:58:20,508: DEBUG - + declare -Ag file_hash
2023-06-27 03:58:20,508: DEBUG - + binds=()
2023-06-27 03:58:20,508: DEBUG - + declare -Ag binds
2023-06-27 03:58:20,508: DEBUG - + types=()
2023-06-27 03:58:20,508: DEBUG - + declare -Ag types
2023-06-27 03:58:20,509: DEBUG - + formats=()
2023-06-27 03:58:20,509: DEBUG - + declare -Ag formats
2023-06-27 03:58:20,509: DEBUG - + case $1 in
2023-06-27 03:58:20,509: DEBUG - + max_progression=4
2023-06-27 03:58:20,509: DEBUG - + ynh_script_progression '--message=Reading config panel description and current configuration...'
2023-06-27 03:58:20,509: DEBUG - + set +o xtrace
2023-06-27 03:58:20,530: DEBUG - + set +o xtrace
2023-06-27 03:58:20,539: DEBUG - + echo '! Helper used in legacy mode !'
2023-06-27 03:58:20,539: DEBUG - + set +x
2023-06-27 03:58:20,540: DEBUG - + echo '[+++++...............] > Reading config panel description and current configuration...'
2023-06-27 03:58:20,540: DEBUG - + set -o xtrace
2023-06-27 03:58:20,541: DEBUG - + ynh_app_config_get
2023-06-27 03:58:20,541: INFO - [+++++...............] > Reading config panel description and current configuration...
2023-06-27 03:58:20,541: DEBUG - + _ynh_app_config_get
2023-06-27 03:58:20,542: DEBUG - + local lines
2023-06-27 03:58:20,542: DEBUG - ++ python3
2023-06-27 03:58:20,573: DEBUG - + lines='status;alert;settings
2023-06-27 03:58:20,573: DEBUG - service_enabled;boolean;settings
2023-06-27 03:58:20,573: DEBUG - doc;alert;settings
2023-06-27 03:58:20,573: DEBUG - config_file;file;/etc/openvpn/client.conf
2023-06-27 03:58:20,574: DEBUG - crt_server_ca;file;/etc/openvpn/keys/ca-server.crt
2023-06-27 03:58:20,574: DEBUG - crt_client;file;/etc/openvpn/keys/user.crt
2023-06-27 03:58:20,574: DEBUG - crt_client_key;file;/etc/openvpn/keys/user.key
2023-06-27 03:58:20,574: DEBUG - login_user;string;settings
2023-06-27 03:58:20,574: DEBUG - login_passphrase;password;settings
2023-06-27 03:58:20,574: DEBUG - crt_client_ta;file;/etc/openvpn/keys/user_ta.key
2023-06-27 03:58:20,574: DEBUG - dns_method;select;settings
2023-06-27 03:58:20,574: DEBUG - nameservers;tags;settings
2023-06-27 03:58:20,574: DEBUG - ip6_net;string;settings
2023-06-27 03:58:20,574: DEBUG - ip6_addr;string;settings'
2023-06-27 03:58:20,575: DEBUG - + for line in $lines
2023-06-27 03:58:20,575: DEBUG - + IFS=';'
2023-06-27 03:58:20,575: DEBUG - + read short_setting type bind
2023-06-27 03:58:20,575: DEBUG - + binds[${short_setting}]=settings
2023-06-27 03:58:20,575: DEBUG - + types[${short_setting}]=alert
2023-06-27 03:58:20,575: DEBUG - + file_hash[${short_setting}]=
2023-06-27 03:58:20,575: DEBUG - + formats[${short_setting}]=
2023-06-27 03:58:20,576: DEBUG - + ynh_app_config_get_one status alert settings
2023-06-27 03:58:20,576: DEBUG - + _ynh_app_config_get_one status alert settings
2023-06-27 03:58:20,576: DEBUG - + local short_setting=status
2023-06-27 03:58:20,576: DEBUG - + local type=alert
2023-06-27 03:58:20,576: DEBUG - + local bind=settings
2023-06-27 03:58:20,576: DEBUG - + local getter=get__status
2023-06-27 03:58:20,576: DEBUG - + type -t get__status
2023-06-27 03:58:20,576: DEBUG - + grep -q '^function$'
2023-06-27 03:58:20,576: DEBUG - ++ get__status
2023-06-27 03:58:20,576: DEBUG - +++ ynh_app_setting_get vpnclient service_enabled
2023-06-27 03:58:20,577: DEBUG - +++ local _globalapp=vpnclient
2023-06-27 03:58:20,577: DEBUG - +++ local legacy_args=ak
2023-06-27 03:58:20,577: DEBUG - +++ args_array=(['a']='app=' ['k']='key=')
2023-06-27 03:58:20,577: DEBUG - +++ local -A args_array
2023-06-27 03:58:20,577: DEBUG - +++ local app
2023-06-27 03:58:20,577: DEBUG - +++ local key
2023-06-27 03:58:20,577: DEBUG - +++ ynh_handle_getopts_args vpnclient service_enabled
2023-06-27 03:58:20,577: DEBUG - +++ set +o xtrace
2023-06-27 03:58:20,594: DEBUG - +++ echo '! Helper used in legacy mode !'
2023-06-27 03:58:20,594: DEBUG - +++ set +x
2023-06-27 03:58:20,595: DEBUG - +++ app=vpnclient
2023-06-27 03:58:20,595: DEBUG - +++ [[ service_enabled =~ (unprotected|protected|skipped)_ ]]
2023-06-27 03:58:20,596: DEBUG - +++ ynh_app_setting get vpnclient service_enabled
2023-06-27 03:58:20,596: DEBUG - +++ set +o xtrace
2023-06-27 03:58:20,638: DEBUG - ++ local service_enabled=0
2023-06-27 03:58:20,638: DEBUG - +++ ping -w3 -c1 ip.yunohost.org
2023-06-27 03:58:20,670: DEBUG - +++ curl --max-time 5 https://ip.yunohost.org --silent
2023-06-27 03:58:20,840: DEBUG - ++ ipv4=82.64.19.229
2023-06-27 03:58:20,841: DEBUG - +++ ping -w3 -c1 ip6.yunohost.org
2023-06-27 03:58:20,874: DEBUG - +++ curl --max-time 5 https://ip6.yunohost.org --silent
2023-06-27 03:58:21,045: DEBUG - ++ ipv6=2a01:e0a:94:50:eade:27ff:fea7:2aed
2023-06-27 03:58:21,045: DEBUG - ++ ip route get 1.2.3.4
2023-06-27 03:58:21,046: DEBUG - ++ grep -q tun0
2023-06-27 03:58:21,047: DEBUG - ++ '[' 0 -eq 1 ']'
2023-06-27 03:58:21,048: DEBUG - ++ cat
2023-06-27 03:58:21,049: DEBUG - + old[$short_setting]='style: info
2023-06-27 03:58:21,050: DEBUG - ask:
2023-06-27 03:58:21,050: DEBUG -   en: The VPN is not enabled'
2023-06-27 03:58:21,050: DEBUG - + formats[${short_setting}]=yaml
2023-06-27 03:58:21,051: DEBUG - + for line in $lines
2023-06-27 03:58:21,051: DEBUG - + IFS=';'
2023-06-27 03:58:21,051: DEBUG - + read short_setting type bind
2023-06-27 03:58:21,051: DEBUG - + binds[${short_setting}]=settings
2023-06-27 03:58:21,051: DEBUG - + types[${short_setting}]=boolean
2023-06-27 03:58:21,051: DEBUG - + file_hash[${short_setting}]=
2023-06-27 03:58:21,052: DEBUG - + formats[${short_setting}]=
2023-06-27 03:58:21,052: DEBUG - + ynh_app_config_get_one service_enabled boolean settings
2023-06-27 03:58:21,052: DEBUG - + _ynh_app_config_get_one service_enabled boolean settings
2023-06-27 03:58:21,052: DEBUG - + local short_setting=service_enabled
2023-06-27 03:58:21,053: DEBUG - + local type=boolean
2023-06-27 03:58:21,053: DEBUG - + local bind=settings
2023-06-27 03:58:21,053: DEBUG - + local getter=get__service_enabled
2023-06-27 03:58:21,053: DEBUG - + type -t get__service_enabled
2023-06-27 03:58:21,053: DEBUG - + grep -q '^function$'
2023-06-27 03:58:21,054: DEBUG - + [[ settings == *\(* ]]
2023-06-27 03:58:21,054: DEBUG - + [[ settings == \n\u\l\l ]]
2023-06-27 03:58:21,054: DEBUG - + [[ boolean == \f\i\l\e ]]
2023-06-27 03:58:21,054: DEBUG - + [[ boolean == \t\e\x\t ]]
2023-06-27 03:58:21,054: DEBUG - + local bind_after=
2023-06-27 03:58:21,055: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2023-06-27 03:58:21,055: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,055: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,055: DEBUG - ++ cut -d: -f1
2023-06-27 03:58:21,055: DEBUG - + local bind_key_=
2023-06-27 03:58:21,055: DEBUG - + bind_key_=service_enabled
2023-06-27 03:58:21,056: DEBUG - + [[ service_enabled == *\>* ]]
2023-06-27 03:58:21,056: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,056: DEBUG - ++ cut -d: -f2
2023-06-27 03:58:21,057: DEBUG - ++ sed s@__FINALPATH__@@
2023-06-27 03:58:21,057: DEBUG - ++ sed s/__APP__/vpnclient/
2023-06-27 03:58:21,057: DEBUG - ++ sed s@__INSTALL_DIR__@@
2023-06-27 03:58:21,058: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,059: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=service_enabled --after=
2023-06-27 03:58:21,059: DEBUG - ++ local legacy_args=fka
2023-06-27 03:58:21,059: DEBUG - ++ args_array=(['f']='file=' ['k']='key=' ['a']='after=')
2023-06-27 03:58:21,059: DEBUG - ++ local -A args_array
2023-06-27 03:58:21,059: DEBUG - ++ local file
2023-06-27 03:58:21,059: DEBUG - ++ local key
2023-06-27 03:58:21,060: DEBUG - ++ local after
2023-06-27 03:58:21,060: DEBUG - ++ ynh_handle_getopts_args --file=/etc/yunohost/apps/vpnclient/settings.yml --key=service_enabled --after=
2023-06-27 03:58:21,060: DEBUG - ++ set +o xtrace
2023-06-27 03:58:21,109: DEBUG - ++ after=
2023-06-27 03:58:21,109: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]]
2023-06-27 03:58:21,109: DEBUG - ++ set +o xtrace
2023-06-27 03:58:21,118: DEBUG - + old[$short_setting]=0
2023-06-27 03:58:21,119: DEBUG - + for line in $lines
2023-06-27 03:58:21,119: DEBUG - + IFS=';'
2023-06-27 03:58:21,119: DEBUG - + read short_setting type bind
2023-06-27 03:58:21,119: DEBUG - + binds[${short_setting}]=settings
2023-06-27 03:58:21,119: DEBUG - + types[${short_setting}]=alert
2023-06-27 03:58:21,120: DEBUG - + file_hash[${short_setting}]=
2023-06-27 03:58:21,120: DEBUG - + formats[${short_setting}]=
2023-06-27 03:58:21,120: DEBUG - + ynh_app_config_get_one doc alert settings
2023-06-27 03:58:21,120: DEBUG - + _ynh_app_config_get_one doc alert settings
2023-06-27 03:58:21,120: DEBUG - + local short_setting=doc
2023-06-27 03:58:21,120: DEBUG - + local type=alert
2023-06-27 03:58:21,120: DEBUG - + local bind=settings
2023-06-27 03:58:21,121: DEBUG - + local getter=get__doc
2023-06-27 03:58:21,121: DEBUG - + type -t get__doc
2023-06-27 03:58:21,121: DEBUG - + grep -q '^function$'
2023-06-27 03:58:21,121: DEBUG - + [[ settings == *\(* ]]
2023-06-27 03:58:21,121: DEBUG - + [[ settings == \n\u\l\l ]]
2023-06-27 03:58:21,121: DEBUG - + [[ alert == \f\i\l\e ]]
2023-06-27 03:58:21,121: DEBUG - + [[ alert == \t\e\x\t ]]
2023-06-27 03:58:21,121: DEBUG - + local bind_after=
2023-06-27 03:58:21,122: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2023-06-27 03:58:21,122: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,122: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,122: DEBUG - ++ cut -d: -f1
2023-06-27 03:58:21,122: DEBUG - + local bind_key_=
2023-06-27 03:58:21,122: DEBUG - + bind_key_=doc
2023-06-27 03:58:21,122: DEBUG - + [[ doc == *\>* ]]
2023-06-27 03:58:21,123: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,123: DEBUG - ++ cut -d: -f2
2023-06-27 03:58:21,123: DEBUG - ++ sed s@__FINALPATH__@@
2023-06-27 03:58:21,123: DEBUG - ++ sed s/__APP__/vpnclient/
2023-06-27 03:58:21,123: DEBUG - ++ sed s@__INSTALL_DIR__@@
2023-06-27 03:58:21,125: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,125: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=doc --after=
2023-06-27 03:58:21,126: DEBUG - ++ local legacy_args=fka
2023-06-27 03:58:21,126: DEBUG - ++ args_array=(['f']='file=' ['k']='key=' ['a']='after=')
2023-06-27 03:58:21,126: DEBUG - ++ local -A args_array
2023-06-27 03:58:21,126: DEBUG - ++ local file
2023-06-27 03:58:21,126: DEBUG - ++ local key
2023-06-27 03:58:21,126: DEBUG - ++ local after
2023-06-27 03:58:21,126: DEBUG - ++ ynh_handle_getopts_args --file=/etc/yunohost/apps/vpnclient/settings.yml --key=doc --after=
2023-06-27 03:58:21,126: DEBUG - ++ set +o xtrace
2023-06-27 03:58:21,171: DEBUG - ++ after=
2023-06-27 03:58:21,171: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]]
2023-06-27 03:58:21,171: DEBUG - ++ set +o xtrace
2023-06-27 03:58:21,175: DEBUG - ++ echo YNH_NULL
2023-06-27 03:58:21,175: DEBUG - ++ return 0
2023-06-27 03:58:21,175: DEBUG - + old[$short_setting]=YNH_NULL
2023-06-27 03:58:21,175: DEBUG - + for line in $lines
2023-06-27 03:58:21,175: DEBUG - + IFS=';'
2023-06-27 03:58:21,176: DEBUG - + read short_setting type bind
2023-06-27 03:58:21,176: DEBUG - + binds[${short_setting}]=/etc/openvpn/client.conf
2023-06-27 03:58:21,176: DEBUG - + types[${short_setting}]=file
2023-06-27 03:58:21,176: DEBUG - + file_hash[${short_setting}]=
2023-06-27 03:58:21,176: DEBUG - + formats[${short_setting}]=
2023-06-27 03:58:21,176: DEBUG - + ynh_app_config_get_one config_file file /etc/openvpn/client.conf
2023-06-27 03:58:21,176: DEBUG - + _ynh_app_config_get_one config_file file /etc/openvpn/client.conf
2023-06-27 03:58:21,176: DEBUG - + local short_setting=config_file
2023-06-27 03:58:21,176: DEBUG - + local type=file
2023-06-27 03:58:21,177: DEBUG - + local bind=/etc/openvpn/client.conf
2023-06-27 03:58:21,177: DEBUG - + local getter=get__config_file
2023-06-27 03:58:21,177: DEBUG - + type -t get__config_file
2023-06-27 03:58:21,177: DEBUG - + grep -q '^function$'
2023-06-27 03:58:21,177: DEBUG - + [[ /etc/openvpn/client.conf == *\(* ]]
2023-06-27 03:58:21,177: DEBUG - + [[ /etc/openvpn/client.conf == \n\u\l\l ]]
2023-06-27 03:58:21,177: DEBUG - + [[ file == \f\i\l\e ]]
2023-06-27 03:58:21,177: DEBUG - + [[ /etc/openvpn/client.conf == \s\e\t\t\i\n\g\s ]]
2023-06-27 03:58:21,178: DEBUG - +++ echo /etc/openvpn/client.conf
2023-06-27 03:58:21,178: DEBUG - +++ sed s@__INSTALL_DIR__@@
2023-06-27 03:58:21,178: DEBUG - +++ sed s/__APP__/vpnclient/
2023-06-27 03:58:21,178: DEBUG - +++ sed s@__FINALPATH__@@
2023-06-27 03:58:21,180: DEBUG - ++ ls /etc/openvpn/client.conf
2023-06-27 03:58:21,181: DEBUG - + old[$short_setting]=/etc/openvpn/client.conf
2023-06-27 03:58:21,181: DEBUG - + file_hash[$short_setting]=true
2023-06-27 03:58:21,181: DEBUG - + for line in $lines
2023-06-27 03:58:21,182: DEBUG - + IFS=';'
2023-06-27 03:58:21,182: DEBUG - + read short_setting type bind
2023-06-27 03:58:21,182: DEBUG - + binds[${short_setting}]=/etc/openvpn/keys/ca-server.crt
2023-06-27 03:58:21,182: DEBUG - + types[${short_setting}]=file
2023-06-27 03:58:21,182: DEBUG - + file_hash[${short_setting}]=
2023-06-27 03:58:21,182: DEBUG - + formats[${short_setting}]=
2023-06-27 03:58:21,182: DEBUG - + ynh_app_config_get_one crt_server_ca file /etc/openvpn/keys/ca-server.crt
2023-06-27 03:58:21,182: DEBUG - + _ynh_app_config_get_one crt_server_ca file /etc/openvpn/keys/ca-server.crt
2023-06-27 03:58:21,183: DEBUG - + local short_setting=crt_server_ca
2023-06-27 03:58:21,183: DEBUG - + local type=file
2023-06-27 03:58:21,183: DEBUG - + local bind=/etc/openvpn/keys/ca-server.crt
2023-06-27 03:58:21,183: DEBUG - + local getter=get__crt_server_ca
2023-06-27 03:58:21,183: DEBUG - + type -t get__crt_server_ca
2023-06-27 03:58:21,183: DEBUG - + grep -q '^function$'
2023-06-27 03:58:21,183: DEBUG - + [[ /etc/openvpn/keys/ca-server.crt == *\(* ]]
2023-06-27 03:58:21,183: DEBUG - + [[ /etc/openvpn/keys/ca-server.crt == \n\u\l\l ]]
2023-06-27 03:58:21,183: DEBUG - + [[ file == \f\i\l\e ]]
2023-06-27 03:58:21,183: DEBUG - + [[ /etc/openvpn/keys/ca-server.crt == \s\e\t\t\i\n\g\s ]]
2023-06-27 03:58:21,184: DEBUG - +++ echo /etc/openvpn/keys/ca-server.crt
2023-06-27 03:58:21,184: DEBUG - +++ sed s@__INSTALL_DIR__@@
2023-06-27 03:58:21,184: DEBUG - +++ sed s@__FINALPATH__@@
2023-06-27 03:58:21,184: DEBUG - +++ sed s/__APP__/vpnclient/
2023-06-27 03:58:21,186: DEBUG - ++ ls /etc/openvpn/keys/ca-server.crt
2023-06-27 03:58:21,187: DEBUG - + old[$short_setting]=/etc/openvpn/keys/ca-server.crt
2023-06-27 03:58:21,187: DEBUG - + file_hash[$short_setting]=true
2023-06-27 03:58:21,187: DEBUG - + for line in $lines
2023-06-27 03:58:21,188: DEBUG - + IFS=';'
2023-06-27 03:58:21,188: DEBUG - + read short_setting type bind
2023-06-27 03:58:21,188: DEBUG - + binds[${short_setting}]=/etc/openvpn/keys/user.crt
2023-06-27 03:58:21,188: DEBUG - + types[${short_setting}]=file
2023-06-27 03:58:21,188: DEBUG - + file_hash[${short_setting}]=
2023-06-27 03:58:21,188: DEBUG - + formats[${short_setting}]=
2023-06-27 03:58:21,188: DEBUG - + ynh_app_config_get_one crt_client file /etc/openvpn/keys/user.crt
2023-06-27 03:58:21,188: DEBUG - + _ynh_app_config_get_one crt_client file /etc/openvpn/keys/user.crt
2023-06-27 03:58:21,188: DEBUG - + local short_setting=crt_client
2023-06-27 03:58:21,189: DEBUG - + local type=file
2023-06-27 03:58:21,189: DEBUG - + local bind=/etc/openvpn/keys/user.crt
2023-06-27 03:58:21,189: DEBUG - + local getter=get__crt_client
2023-06-27 03:58:21,189: DEBUG - + type -t get__crt_client
2023-06-27 03:58:21,189: DEBUG - + grep -q '^function$'
2023-06-27 03:58:21,189: DEBUG - + [[ /etc/openvpn/keys/user.crt == *\(* ]]
2023-06-27 03:58:21,189: DEBUG - + [[ /etc/openvpn/keys/user.crt == \n\u\l\l ]]
2023-06-27 03:58:21,189: DEBUG - + [[ file == \f\i\l\e ]]
2023-06-27 03:58:21,189: DEBUG - + [[ /etc/openvpn/keys/user.crt == \s\e\t\t\i\n\g\s ]]
2023-06-27 03:58:21,190: DEBUG - +++ echo /etc/openvpn/keys/user.crt
2023-06-27 03:58:21,190: DEBUG - +++ sed s@__INSTALL_DIR__@@
2023-06-27 03:58:21,190: DEBUG - +++ sed s/__APP__/vpnclient/
2023-06-27 03:58:21,190: DEBUG - +++ sed s@__FINALPATH__@@
2023-06-27 03:58:21,192: DEBUG - ++ ls /etc/openvpn/keys/user.crt
2023-06-27 03:58:21,193: DEBUG - ++ echo YNH_NULL
2023-06-27 03:58:21,193: DEBUG - + old[$short_setting]=YNH_NULL
2023-06-27 03:58:21,193: DEBUG - + file_hash[$short_setting]=true
2023-06-27 03:58:21,194: DEBUG - + for line in $lines
2023-06-27 03:58:21,194: DEBUG - + IFS=';'
2023-06-27 03:58:21,194: DEBUG - + read short_setting type bind
2023-06-27 03:58:21,194: DEBUG - + binds[${short_setting}]=/etc/openvpn/keys/user.key
2023-06-27 03:58:21,194: DEBUG - + types[${short_setting}]=file
2023-06-27 03:58:21,194: DEBUG - + file_hash[${short_setting}]=
2023-06-27 03:58:21,194: DEBUG - + formats[${short_setting}]=
2023-06-27 03:58:21,195: DEBUG - + ynh_app_config_get_one crt_client_key file /etc/openvpn/keys/user.key
2023-06-27 03:58:21,195: DEBUG - + _ynh_app_config_get_one crt_client_key file /etc/openvpn/keys/user.key
2023-06-27 03:58:21,195: DEBUG - + local short_setting=crt_client_key
2023-06-27 03:58:21,195: DEBUG - + local type=file
2023-06-27 03:58:21,195: DEBUG - + local bind=/etc/openvpn/keys/user.key
2023-06-27 03:58:21,195: DEBUG - + local getter=get__crt_client_key
2023-06-27 03:58:21,195: DEBUG - + type -t get__crt_client_key
2023-06-27 03:58:21,195: DEBUG - + grep -q '^function$'
2023-06-27 03:58:21,195: DEBUG - + [[ /etc/openvpn/keys/user.key == *\(* ]]
2023-06-27 03:58:21,195: DEBUG - + [[ /etc/openvpn/keys/user.key == \n\u\l\l ]]
2023-06-27 03:58:21,196: DEBUG - + [[ file == \f\i\l\e ]]
2023-06-27 03:58:21,196: DEBUG - + [[ /etc/openvpn/keys/user.key == \s\e\t\t\i\n\g\s ]]
2023-06-27 03:58:21,196: DEBUG - +++ echo /etc/openvpn/keys/user.key
2023-06-27 03:58:21,196: DEBUG - +++ sed s@__FINALPATH__@@
2023-06-27 03:58:21,196: DEBUG - +++ sed s@__INSTALL_DIR__@@
2023-06-27 03:58:21,196: DEBUG - +++ sed s/__APP__/vpnclient/
2023-06-27 03:58:21,198: DEBUG - ++ ls /etc/openvpn/keys/user.key
2023-06-27 03:58:21,199: DEBUG - ++ echo YNH_NULL
2023-06-27 03:58:21,199: DEBUG - + old[$short_setting]=YNH_NULL
2023-06-27 03:58:21,200: DEBUG - + file_hash[$short_setting]=true
2023-06-27 03:58:21,200: DEBUG - + for line in $lines
2023-06-27 03:58:21,200: DEBUG - + IFS=';'
2023-06-27 03:58:21,200: DEBUG - + read short_setting type bind
2023-06-27 03:58:21,200: DEBUG - + binds[${short_setting}]=settings
2023-06-27 03:58:21,201: DEBUG - + types[${short_setting}]=string
2023-06-27 03:58:21,201: DEBUG - + file_hash[${short_setting}]=
2023-06-27 03:58:21,201: DEBUG - + formats[${short_setting}]=
2023-06-27 03:58:21,201: DEBUG - + ynh_app_config_get_one login_user string settings
2023-06-27 03:58:21,201: DEBUG - + _ynh_app_config_get_one login_user string settings
2023-06-27 03:58:21,201: DEBUG - + local short_setting=login_user
2023-06-27 03:58:21,201: DEBUG - + local type=string
2023-06-27 03:58:21,201: DEBUG - + local bind=settings
2023-06-27 03:58:21,201: DEBUG - + local getter=get__login_user
2023-06-27 03:58:21,201: DEBUG - + type -t get__login_user
2023-06-27 03:58:21,202: DEBUG - + grep -q '^function$'
2023-06-27 03:58:21,202: DEBUG - ++ get__login_user
2023-06-27 03:58:21,202: DEBUG - ++ '[' -s /etc/openvpn/keys/credentials ']'
2023-06-27 03:58:21,202: DEBUG - +++ sed -n 1p /etc/openvpn/keys/credentials
2023-06-27 03:58:21,203: DEBUG - ++ echo rrobles-vpn1
2023-06-27 03:58:21,203: DEBUG - + old[$short_setting]=rrobles-vpn1
2023-06-27 03:58:21,204: DEBUG - + formats[${short_setting}]=yaml
2023-06-27 03:58:21,204: DEBUG - + for line in $lines
2023-06-27 03:58:21,204: DEBUG - + IFS=';'
2023-06-27 03:58:21,204: DEBUG - + read short_setting type bind
2023-06-27 03:58:21,204: DEBUG - + binds[${short_setting}]=settings
2023-06-27 03:58:21,204: DEBUG - + types[${short_setting}]=password
2023-06-27 03:58:21,204: DEBUG - + file_hash[${short_setting}]=
2023-06-27 03:58:21,204: DEBUG - + formats[${short_setting}]=
2023-06-27 03:58:21,205: DEBUG - + ynh_app_config_get_one login_passphrase password settings
2023-06-27 03:58:21,205: DEBUG - + _ynh_app_config_get_one login_passphrase password settings
2023-06-27 03:58:21,205: DEBUG - + local short_setting=login_passphrase
2023-06-27 03:58:21,205: DEBUG - + local type=password
2023-06-27 03:58:21,205: DEBUG - + local bind=settings
2023-06-27 03:58:21,205: DEBUG - + local getter=get__login_passphrase
2023-06-27 03:58:21,205: DEBUG - + type -t get__login_passphrase
2023-06-27 03:58:21,205: DEBUG - + grep -q '^function$'
2023-06-27 03:58:21,205: DEBUG - ++ get__login_passphrase
2023-06-27 03:58:21,206: DEBUG - ++ '[' -s /etc/openvpn/keys/credentials ']'
2023-06-27 03:58:21,206: DEBUG - +++ sed -n 2p /etc/openvpn/keys/credentials
2023-06-27 03:58:21,207: DEBUG - ++ echo QnPpsfJeVG
2023-06-27 03:58:21,207: DEBUG - + old[$short_setting]=QnPpsfJeVG
2023-06-27 03:58:21,207: DEBUG - + formats[${short_setting}]=yaml
2023-06-27 03:58:21,207: DEBUG - + for line in $lines
2023-06-27 03:58:21,208: DEBUG - + IFS=';'
2023-06-27 03:58:21,208: DEBUG - + read short_setting type bind
2023-06-27 03:58:21,208: DEBUG - + binds[${short_setting}]=/etc/openvpn/keys/user_ta.key
2023-06-27 03:58:21,208: DEBUG - + types[${short_setting}]=file
2023-06-27 03:58:21,208: DEBUG - + file_hash[${short_setting}]=
2023-06-27 03:58:21,208: DEBUG - + formats[${short_setting}]=
2023-06-27 03:58:21,208: DEBUG - + ynh_app_config_get_one crt_client_ta file /etc/openvpn/keys/user_ta.key
2023-06-27 03:58:21,208: DEBUG - + _ynh_app_config_get_one crt_client_ta file /etc/openvpn/keys/user_ta.key
2023-06-27 03:58:21,208: DEBUG - + local short_setting=crt_client_ta
2023-06-27 03:58:21,209: DEBUG - + local type=file
2023-06-27 03:58:21,209: DEBUG - + local bind=/etc/openvpn/keys/user_ta.key
2023-06-27 03:58:21,209: DEBUG - + local getter=get__crt_client_ta
2023-06-27 03:58:21,209: DEBUG - + type -t get__crt_client_ta
2023-06-27 03:58:21,209: DEBUG - + grep -q '^function$'
2023-06-27 03:58:21,209: DEBUG - + [[ /etc/openvpn/keys/user_ta.key == *\(* ]]
2023-06-27 03:58:21,209: DEBUG - + [[ /etc/openvpn/keys/user_ta.key == \n\u\l\l ]]
2023-06-27 03:58:21,209: DEBUG - + [[ file == \f\i\l\e ]]
2023-06-27 03:58:21,209: DEBUG - + [[ /etc/openvpn/keys/user_ta.key == \s\e\t\t\i\n\g\s ]]
2023-06-27 03:58:21,210: DEBUG - +++ echo /etc/openvpn/keys/user_ta.key
2023-06-27 03:58:21,210: DEBUG - +++ sed s@__INSTALL_DIR__@@
2023-06-27 03:58:21,210: DEBUG - +++ sed s/__APP__/vpnclient/
2023-06-27 03:58:21,210: DEBUG - +++ sed s@__FINALPATH__@@
2023-06-27 03:58:21,212: DEBUG - ++ ls /etc/openvpn/keys/user_ta.key
2023-06-27 03:58:21,213: DEBUG - ++ echo YNH_NULL
2023-06-27 03:58:21,213: DEBUG - + old[$short_setting]=YNH_NULL
2023-06-27 03:58:21,213: DEBUG - + file_hash[$short_setting]=true
2023-06-27 03:58:21,213: DEBUG - + for line in $lines
2023-06-27 03:58:21,213: DEBUG - + IFS=';'
2023-06-27 03:58:21,214: DEBUG - + read short_setting type bind
2023-06-27 03:58:21,214: DEBUG - + binds[${short_setting}]=settings
2023-06-27 03:58:21,214: DEBUG - + types[${short_setting}]=select
2023-06-27 03:58:21,214: DEBUG - + file_hash[${short_setting}]=
2023-06-27 03:58:21,214: DEBUG - + formats[${short_setting}]=
2023-06-27 03:58:21,214: DEBUG - + ynh_app_config_get_one dns_method select settings
2023-06-27 03:58:21,214: DEBUG - + _ynh_app_config_get_one dns_method select settings
2023-06-27 03:58:21,214: DEBUG - + local short_setting=dns_method
2023-06-27 03:58:21,215: DEBUG - + local type=select
2023-06-27 03:58:21,215: DEBUG - + local bind=settings
2023-06-27 03:58:21,215: DEBUG - + local getter=get__dns_method
2023-06-27 03:58:21,215: DEBUG - + type -t get__dns_method
2023-06-27 03:58:21,215: DEBUG - + grep -q '^function$'
2023-06-27 03:58:21,215: DEBUG - + [[ settings == *\(* ]]
2023-06-27 03:58:21,215: DEBUG - + [[ settings == \n\u\l\l ]]
2023-06-27 03:58:21,215: DEBUG - + [[ select == \f\i\l\e ]]
2023-06-27 03:58:21,215: DEBUG - + [[ select == \t\e\x\t ]]
2023-06-27 03:58:21,216: DEBUG - + local bind_after=
2023-06-27 03:58:21,216: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2023-06-27 03:58:21,216: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,216: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,216: DEBUG - ++ cut -d: -f1
2023-06-27 03:58:21,217: DEBUG - + local bind_key_=
2023-06-27 03:58:21,217: DEBUG - + bind_key_=dns_method
2023-06-27 03:58:21,217: DEBUG - + [[ dns_method == *\>* ]]
2023-06-27 03:58:21,217: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,217: DEBUG - ++ cut -d: -f2
2023-06-27 03:58:21,217: DEBUG - ++ sed s@__FINALPATH__@@
2023-06-27 03:58:21,218: DEBUG - ++ sed s/__APP__/vpnclient/
2023-06-27 03:58:21,219: DEBUG - ++ sed s@__INSTALL_DIR__@@
2023-06-27 03:58:21,220: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,221: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=dns_method --after=
2023-06-27 03:58:21,221: DEBUG - ++ local legacy_args=fka
2023-06-27 03:58:21,221: DEBUG - ++ args_array=(['f']='file=' ['k']='key=' ['a']='after=')
2023-06-27 03:58:21,221: DEBUG - ++ local -A args_array
2023-06-27 03:58:21,221: DEBUG - ++ local file
2023-06-27 03:58:21,221: DEBUG - ++ local key
2023-06-27 03:58:21,222: DEBUG - ++ local after
2023-06-27 03:58:21,222: DEBUG - ++ ynh_handle_getopts_args --file=/etc/yunohost/apps/vpnclient/settings.yml --key=dns_method --after=
2023-06-27 03:58:21,222: DEBUG - ++ set +o xtrace
2023-06-27 03:58:21,263: DEBUG - ++ after=
2023-06-27 03:58:21,263: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]]
2023-06-27 03:58:21,263: DEBUG - ++ set +o xtrace
2023-06-27 03:58:21,270: DEBUG - + old[$short_setting]=custom
2023-06-27 03:58:21,270: DEBUG - + for line in $lines
2023-06-27 03:58:21,270: DEBUG - + IFS=';'
2023-06-27 03:58:21,270: DEBUG - + read short_setting type bind
2023-06-27 03:58:21,270: DEBUG - + binds[${short_setting}]=settings
2023-06-27 03:58:21,270: DEBUG - + types[${short_setting}]=tags
2023-06-27 03:58:21,271: DEBUG - + file_hash[${short_setting}]=
2023-06-27 03:58:21,271: DEBUG - + formats[${short_setting}]=
2023-06-27 03:58:21,271: DEBUG - + ynh_app_config_get_one nameservers tags settings
2023-06-27 03:58:21,271: DEBUG - + _ynh_app_config_get_one nameservers tags settings
2023-06-27 03:58:21,271: DEBUG - + local short_setting=nameservers
2023-06-27 03:58:21,271: DEBUG - + local type=tags
2023-06-27 03:58:21,271: DEBUG - + local bind=settings
2023-06-27 03:58:21,271: DEBUG - + local getter=get__nameservers
2023-06-27 03:58:21,271: DEBUG - + type -t get__nameservers
2023-06-27 03:58:21,272: DEBUG - + grep -q '^function$'
2023-06-27 03:58:21,272: DEBUG - + [[ settings == *\(* ]]
2023-06-27 03:58:21,272: DEBUG - + [[ settings == \n\u\l\l ]]
2023-06-27 03:58:21,272: DEBUG - + [[ tags == \f\i\l\e ]]
2023-06-27 03:58:21,272: DEBUG - + [[ tags == \t\e\x\t ]]
2023-06-27 03:58:21,272: DEBUG - + local bind_after=
2023-06-27 03:58:21,272: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2023-06-27 03:58:21,272: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,272: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,273: DEBUG - ++ cut -d: -f1
2023-06-27 03:58:21,273: DEBUG - + local bind_key_=
2023-06-27 03:58:21,273: DEBUG - + bind_key_=nameservers
2023-06-27 03:58:21,273: DEBUG - + [[ nameservers == *\>* ]]
2023-06-27 03:58:21,274: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,274: DEBUG - ++ cut -d: -f2
2023-06-27 03:58:21,274: DEBUG - ++ sed s@__FINALPATH__@@
2023-06-27 03:58:21,274: DEBUG - ++ sed s/__APP__/vpnclient/
2023-06-27 03:58:21,274: DEBUG - ++ sed s@__INSTALL_DIR__@@
2023-06-27 03:58:21,276: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,276: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=nameservers --after=
2023-06-27 03:58:21,277: DEBUG - ++ local legacy_args=fka
2023-06-27 03:58:21,277: DEBUG - ++ args_array=(['f']='file=' ['k']='key=' ['a']='after=')
2023-06-27 03:58:21,277: DEBUG - ++ local -A args_array
2023-06-27 03:58:21,277: DEBUG - ++ local file
2023-06-27 03:58:21,277: DEBUG - ++ local key
2023-06-27 03:58:21,277: DEBUG - ++ local after
2023-06-27 03:58:21,277: DEBUG - ++ ynh_handle_getopts_args --file=/etc/yunohost/apps/vpnclient/settings.yml --key=nameservers --after=
2023-06-27 03:58:21,277: DEBUG - ++ set +o xtrace
2023-06-27 03:58:21,319: DEBUG - ++ after=
2023-06-27 03:58:21,319: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]]
2023-06-27 03:58:21,319: DEBUG - ++ set +o xtrace
2023-06-27 03:58:21,326: DEBUG - + old[$short_setting]=89.234.141.66,2001:913::8
2023-06-27 03:58:21,326: DEBUG - + for line in $lines
2023-06-27 03:58:21,326: DEBUG - + IFS=';'
2023-06-27 03:58:21,326: DEBUG - + read short_setting type bind
2023-06-27 03:58:21,326: DEBUG - + binds[${short_setting}]=settings
2023-06-27 03:58:21,326: DEBUG - + types[${short_setting}]=string
2023-06-27 03:58:21,327: DEBUG - + file_hash[${short_setting}]=
2023-06-27 03:58:21,327: DEBUG - + formats[${short_setting}]=
2023-06-27 03:58:21,327: DEBUG - + ynh_app_config_get_one ip6_net string settings
2023-06-27 03:58:21,327: DEBUG - + _ynh_app_config_get_one ip6_net string settings
2023-06-27 03:58:21,327: DEBUG - + local short_setting=ip6_net
2023-06-27 03:58:21,327: DEBUG - + local type=string
2023-06-27 03:58:21,327: DEBUG - + local bind=settings
2023-06-27 03:58:21,327: DEBUG - + local getter=get__ip6_net
2023-06-27 03:58:21,327: DEBUG - + type -t get__ip6_net
2023-06-27 03:58:21,327: DEBUG - + grep -q '^function$'
2023-06-27 03:58:21,328: DEBUG - + [[ settings == *\(* ]]
2023-06-27 03:58:21,328: DEBUG - + [[ settings == \n\u\l\l ]]
2023-06-27 03:58:21,328: DEBUG - + [[ string == \f\i\l\e ]]
2023-06-27 03:58:21,328: DEBUG - + [[ string == \t\e\x\t ]]
2023-06-27 03:58:21,328: DEBUG - + local bind_after=
2023-06-27 03:58:21,328: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2023-06-27 03:58:21,328: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,328: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,328: DEBUG - ++ cut -d: -f1
2023-06-27 03:58:21,329: DEBUG - + local bind_key_=
2023-06-27 03:58:21,329: DEBUG - + bind_key_=ip6_net
2023-06-27 03:58:21,329: DEBUG - + [[ ip6_net == *\>* ]]
2023-06-27 03:58:21,330: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,330: DEBUG - ++ cut -d: -f2
2023-06-27 03:58:21,330: DEBUG - ++ sed s@__FINALPATH__@@
2023-06-27 03:58:21,330: DEBUG - ++ sed s/__APP__/vpnclient/
2023-06-27 03:58:21,331: DEBUG - ++ sed s@__INSTALL_DIR__@@
2023-06-27 03:58:21,333: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,333: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=ip6_net --after=
2023-06-27 03:58:21,333: DEBUG - ++ local legacy_args=fka
2023-06-27 03:58:21,334: DEBUG - ++ args_array=(['f']='file=' ['k']='key=' ['a']='after=')
2023-06-27 03:58:21,334: DEBUG - ++ local -A args_array
2023-06-27 03:58:21,334: DEBUG - ++ local file
2023-06-27 03:58:21,334: DEBUG - ++ local key
2023-06-27 03:58:21,334: DEBUG - ++ local after
2023-06-27 03:58:21,334: DEBUG - ++ ynh_handle_getopts_args --file=/etc/yunohost/apps/vpnclient/settings.yml --key=ip6_net --after=
2023-06-27 03:58:21,334: DEBUG - ++ set +o xtrace
2023-06-27 03:58:21,375: DEBUG - ++ after=
2023-06-27 03:58:21,375: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]]
2023-06-27 03:58:21,375: DEBUG - ++ set +o xtrace
2023-06-27 03:58:21,381: DEBUG - + old[$short_setting]=2a00:5881:4008:1e00::42
2023-06-27 03:58:21,382: DEBUG - + for line in $lines
2023-06-27 03:58:21,382: DEBUG - + IFS=';'
2023-06-27 03:58:21,382: DEBUG - + read short_setting type bind
2023-06-27 03:58:21,382: DEBUG - + binds[${short_setting}]=settings
2023-06-27 03:58:21,382: DEBUG - + types[${short_setting}]=string
2023-06-27 03:58:21,382: DEBUG - + file_hash[${short_setting}]=
2023-06-27 03:58:21,383: DEBUG - + formats[${short_setting}]=
2023-06-27 03:58:21,383: DEBUG - + ynh_app_config_get_one ip6_addr string settings
2023-06-27 03:58:21,383: DEBUG - + _ynh_app_config_get_one ip6_addr string settings
2023-06-27 03:58:21,383: DEBUG - + local short_setting=ip6_addr
2023-06-27 03:58:21,383: DEBUG - + local type=string
2023-06-27 03:58:21,383: DEBUG - + local bind=settings
2023-06-27 03:58:21,383: DEBUG - + local getter=get__ip6_addr
2023-06-27 03:58:21,383: DEBUG - + type -t get__ip6_addr
2023-06-27 03:58:21,383: DEBUG - + grep -q '^function$'
2023-06-27 03:58:21,384: DEBUG - + [[ settings == *\(* ]]
2023-06-27 03:58:21,384: DEBUG - + [[ settings == \n\u\l\l ]]
2023-06-27 03:58:21,384: DEBUG - + [[ string == \f\i\l\e ]]
2023-06-27 03:58:21,384: DEBUG - + [[ string == \t\e\x\t ]]
2023-06-27 03:58:21,384: DEBUG - + local bind_after=
2023-06-27 03:58:21,384: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2023-06-27 03:58:21,384: DEBUG - + bind=:/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,384: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,384: DEBUG - ++ cut -d: -f1
2023-06-27 03:58:21,385: DEBUG - + local bind_key_=
2023-06-27 03:58:21,385: DEBUG - + bind_key_=ip6_addr
2023-06-27 03:58:21,385: DEBUG - + [[ ip6_addr == *\>* ]]
2023-06-27 03:58:21,385: DEBUG - ++ echo :/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,386: DEBUG - ++ cut -d: -f2
2023-06-27 03:58:21,386: DEBUG - ++ sed s@__FINALPATH__@@
2023-06-27 03:58:21,386: DEBUG - ++ sed s/__APP__/vpnclient/
2023-06-27 03:58:21,387: DEBUG - ++ sed s@__INSTALL_DIR__@@
2023-06-27 03:58:21,389: DEBUG - + local bind_file=/etc/yunohost/apps/vpnclient/settings.yml
2023-06-27 03:58:21,389: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/vpnclient/settings.yml --key=ip6_addr --after=
2023-06-27 03:58:21,389: DEBUG - ++ local legacy_args=fka
2023-06-27 03:58:21,390: DEBUG - ++ args_array=(['f']='file=' ['k']='key=' ['a']='after=')
2023-06-27 03:58:21,390: DEBUG - ++ local -A args_array
2023-06-27 03:58:21,390: DEBUG - ++ local file
2023-06-27 03:58:21,390: DEBUG - ++ local key
2023-06-27 03:58:21,390: DEBUG - ++ local after
2023-06-27 03:58:21,390: DEBUG - ++ ynh_handle_getopts_args --file=/etc/yunohost/apps/vpnclient/settings.yml --key=ip6_addr --after=
2023-06-27 03:58:21,390: DEBUG - ++ set +o xtrace
2023-06-27 03:58:21,431: DEBUG - ++ after=
2023-06-27 03:58:21,431: DEBUG - ++ [[ -f /etc/yunohost/apps/vpnclient/settings.yml ]]
2023-06-27 03:58:21,431: DEBUG - ++ set +o xtrace
2023-06-27 03:58:21,439: DEBUG - + old[$short_setting]=
2023-06-27 03:58:21,439: DEBUG - + ynh_app_config_validate
2023-06-27 03:58:21,440: DEBUG - + '[' -z x ']'
2023-06-27 03:58:21,440: DEBUG - + '[' -f /tmp/ynh_filequestion_5zdk_w9d/tmp7eomom1n ']'
2023-06-27 03:58:21,440: DEBUG - ++ cat /tmp/ynh_filequestion_5zdk_w9d/tmp7eomom1n
2023-06-27 03:58:21,440: DEBUG - ++ tr -d ' '
2023-06-27 03:58:21,440: DEBUG - ++ head -c1
2023-06-27 03:58:21,441: DEBUG - ++ grep -v '^$'
2023-06-27 03:58:21,442: DEBUG - + [[ # == \{ ]]
2023-06-27 03:58:21,443: DEBUG - + '[' -f /tmp/ynh_filequestion_5zdk_w9d/tmp7eomom1n ']'
2023-06-27 03:58:21,443: DEBUG - ++ dirname /tmp/ynh_filequestion_5zdk_w9d/tmp7eomom1n
2023-06-27 03:58:21,444: DEBUG - + tmp_dir=/tmp/ynh_filequestion_5zdk_w9d
2023-06-27 03:58:21,444: DEBUG - + ynh_print_info '--message=Extracting TLS keys from .ovpn file'
2023-06-27 03:58:21,444: DEBUG - + local legacy_args=m
2023-06-27 03:58:21,444: DEBUG - + args_array=(['m']='message=')
2023-06-27 03:58:21,444: DEBUG - + local -A args_array
2023-06-27 03:58:21,444: DEBUG - + local message
2023-06-27 03:58:21,444: DEBUG - + ynh_handle_getopts_args '--message=Extracting TLS keys from .ovpn file'
2023-06-27 03:58:21,444: DEBUG - + set +o xtrace
2023-06-27 03:58:21,450: INFO - Extracting TLS keys from .ovpn file
2023-06-27 03:58:21,451: DEBUG - + echo 'Extracting TLS keys from .ovpn file'
2023-06-27 03:58:21,451: DEBUG - + grep -q '^\s*<ca>' /tmp/ynh_filequestion_5zdk_w9d/tmp7eomom1n
2023-06-27 03:58:21,451: DEBUG - + grep -q '^\s*<cert>' /tmp/ynh_filequestion_5zdk_w9d/tmp7eomom1n
2023-06-27 03:58:21,453: DEBUG - + grep -q '^\s*cert\s' /tmp/ynh_filequestion_5zdk_w9d/tmp7eomom1n
2023-06-27 03:58:21,454: DEBUG - + crt_client=
2023-06-27 03:58:21,454: DEBUG - + grep -q '^\s*<key>' /tmp/ynh_filequestion_5zdk_w9d/tmp7eomom1n
2023-06-27 03:58:21,455: DEBUG - + grep -q '^\s*key\s' /tmp/ynh_filequestion_5zdk_w9d/tmp7eomom1n
2023-06-27 03:58:21,456: DEBUG - + crt_client_key=
2023-06-27 03:58:21,456: DEBUG - + grep -q '^\s*<tls-auth>' /tmp/ynh_filequestion_5zdk_w9d/tmp7eomom1n
2023-06-27 03:58:21,457: DEBUG - + grep -q '^\s*tls-auth\s' /tmp/ynh_filequestion_5zdk_w9d/tmp7eomom1n
2023-06-27 03:58:21,458: DEBUG - + crt_client_ta=
2023-06-27 03:58:21,458: DEBUG - + sed -i 's@^\s*ca\s.*$@ca /etc/openvpn/keys/ca-server.crt@g' /tmp/ynh_filequestion_5zdk_w9d/tmp7eomom1n
2023-06-27 03:58:21,460: DEBUG - + sed -i 's@^\s*cert\s.*$@cert /etc/openvpn/keys/user.crt@g' /tmp/ynh_filequestion_5zdk_w9d/tmp7eomom1n
2023-06-27 03:58:21,464: DEBUG - + sed -i 's@^\s*key\s.*$@key /etc/openvpn/keys/user.key@g' /tmp/ynh_filequestion_5zdk_w9d/tmp7eomom1n
2023-06-27 03:58:21,466: DEBUG - + sed -i 's@^\s*tls-auth\s.*$@tls-auth /etc/openvpn/keys/user_ta.key 1@g' /tmp/ynh_filequestion_5zdk_w9d/tmp7eomom1n
2023-06-27 03:58:21,467: DEBUG - + '[' -f /tmp/ynh_filequestion_5zdk_w9d/tmp7eomom1n ']'
2023-06-27 03:58:21,467: DEBUG - + sed -i '/^\s*user\s/d' /tmp/ynh_filequestion_5zdk_w9d/tmp7eomom1n
2023-06-27 03:58:21,468: DEBUG - + sed -i '/^\s*group\s/d' /tmp/ynh_filequestion_5zdk_w9d/tmp7eomom1n
2023-06-27 03:58:21,470: DEBUG - + _ynh_app_config_validate
2023-06-27 03:58:21,470: DEBUG - + ynh_script_progression '--message=Checking what changed in the new configuration...' --weight=1
2023-06-27 03:58:21,470: DEBUG - + set +o xtrace
2023-06-27 03:58:21,508: DEBUG - + set +o xtrace
2023-06-27 03:58:21,515: DEBUG - + echo '! Helper used in legacy mode !'
2023-06-27 03:58:21,515: DEBUG - + set +x
2023-06-27 03:58:21,516: DEBUG - + echo '[#####+++++..........] > Checking what changed in the new configuration...'
2023-06-27 03:58:21,517: DEBUG - + set -o xtrace
2023-06-27 03:58:21,517: DEBUG - + local nothing_changed=true
2023-06-27 03:58:21,517: DEBUG - + local changes_validated=true
2023-06-27 03:58:21,517: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,518: DEBUG - + changed[$short_setting]=false
2023-06-27 03:58:21,518: DEBUG - + '[' -z x ']'
2023-06-27 03:58:21,518: DEBUG - + '[' '!' -z true ']'
2023-06-27 03:58:21,518: DEBUG - + file_hash[old__$short_setting]=
2023-06-27 03:58:21,518: DEBUG - + file_hash[new__$short_setting]=
2023-06-27 03:58:21,518: DEBUG - + '[' -f /etc/openvpn/client.conf ']'
2023-06-27 03:58:21,518: INFO - [#####+++++..........] > Checking what changed in the new configuration...
2023-06-27 03:58:21,519: DEBUG - ++ sha256sum /etc/openvpn/client.conf
2023-06-27 03:58:21,519: DEBUG - ++ cut '-d ' -f1
2023-06-27 03:58:21,519: DEBUG - + file_hash[old__$short_setting]=ebecb9ecb2a2a4533768be2c956dfdc4292a0209665bd3daa00ea3c14c9a1442
2023-06-27 03:58:21,519: DEBUG - + '[' -z /tmp/ynh_filequestion_5zdk_w9d/tmp7eomom1n ']'
2023-06-27 03:58:21,519: DEBUG - + '[' -f /tmp/ynh_filequestion_5zdk_w9d/tmp7eomom1n ']'
2023-06-27 03:58:21,519: DEBUG - ++ sha256sum /tmp/ynh_filequestion_5zdk_w9d/tmp7eomom1n
2023-06-27 03:58:21,519: DEBUG - ++ cut '-d ' -f1
2023-06-27 03:58:21,520: DEBUG - + file_hash[new__$short_setting]=ebecb9ecb2a2a4533768be2c956dfdc4292a0209665bd3daa00ea3c14c9a1442
2023-06-27 03:58:21,521: DEBUG - + [[ ebecb9ecb2a2a4533768be2c956dfdc4292a0209665bd3daa00ea3c14c9a1442 != \e\b\e\c\b\9\e\c\b\2\a\2\a\4\5\3\3\7\6\8\b\e\2\c\9\5\6\d\f\d\c\4\2\9\2\a\0\2\0\9\6\6\5\b\d\3\d\a\a\0\0\e\a\3\c\1\4\c\9\a\1\4\4\2 ]]
2023-06-27 03:58:21,521: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,521: DEBUG - + changed[$short_setting]=false
2023-06-27 03:58:21,521: DEBUG - + '[' -z ']'
2023-06-27 03:58:21,521: DEBUG - + declare -g doc=YNH_NULL
2023-06-27 03:58:21,521: DEBUG - + continue
2023-06-27 03:58:21,521: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,522: DEBUG - + changed[$short_setting]=false
2023-06-27 03:58:21,522: DEBUG - + '[' -z ']'
2023-06-27 03:58:21,522: DEBUG - + declare -g crt_server_ca=/etc/openvpn/keys/ca-server.crt
2023-06-27 03:58:21,522: DEBUG - + continue
2023-06-27 03:58:21,522: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,522: DEBUG - + changed[$short_setting]=false
2023-06-27 03:58:21,522: DEBUG - + '[' -z ']'
2023-06-27 03:58:21,522: DEBUG - + declare -g ip6_net=2a00:5881:4008:1e00::42
2023-06-27 03:58:21,522: DEBUG - + continue
2023-06-27 03:58:21,522: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,523: DEBUG - + changed[$short_setting]=false
2023-06-27 03:58:21,523: DEBUG - + '[' -z x ']'
2023-06-27 03:58:21,523: DEBUG - + '[' '!' -z true ']'
2023-06-27 03:58:21,523: DEBUG - + file_hash[old__$short_setting]=
2023-06-27 03:58:21,523: DEBUG - + file_hash[new__$short_setting]=
2023-06-27 03:58:21,523: DEBUG - + '[' -f YNH_NULL ']'
2023-06-27 03:58:21,523: DEBUG - + '[' -f '' ']'
2023-06-27 03:58:21,523: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,523: DEBUG - + changed[$short_setting]=false
2023-06-27 03:58:21,523: DEBUG - + '[' -z x ']'
2023-06-27 03:58:21,524: DEBUG - + '[' '!' -z true ']'
2023-06-27 03:58:21,524: DEBUG - + file_hash[old__$short_setting]=
2023-06-27 03:58:21,524: DEBUG - + file_hash[new__$short_setting]=
2023-06-27 03:58:21,524: DEBUG - + '[' -f YNH_NULL ']'
2023-06-27 03:58:21,524: DEBUG - + '[' -f '' ']'
2023-06-27 03:58:21,524: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,524: DEBUG - + changed[$short_setting]=false
2023-06-27 03:58:21,524: DEBUG - + '[' -z ']'
2023-06-27 03:58:21,524: DEBUG - + declare -g dns_method=custom
2023-06-27 03:58:21,524: DEBUG - + continue
2023-06-27 03:58:21,525: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,525: DEBUG - + changed[$short_setting]=false
2023-06-27 03:58:21,525: DEBUG - + '[' -z x ']'
2023-06-27 03:58:21,525: DEBUG - + '[' '!' -z true ']'
2023-06-27 03:58:21,525: DEBUG - + file_hash[old__$short_setting]=
2023-06-27 03:58:21,525: DEBUG - + file_hash[new__$short_setting]=
2023-06-27 03:58:21,525: DEBUG - + '[' -f YNH_NULL ']'
2023-06-27 03:58:21,525: DEBUG - + '[' -f '' ']'
2023-06-27 03:58:21,525: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,525: DEBUG - + changed[$short_setting]=false
2023-06-27 03:58:21,526: DEBUG - + '[' -z ']'
2023-06-27 03:58:21,526: DEBUG - + declare -g ip6_addr=
2023-06-27 03:58:21,526: DEBUG - + continue
2023-06-27 03:58:21,526: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,526: DEBUG - + changed[$short_setting]=false
2023-06-27 03:58:21,526: DEBUG - + '[' -z ']'
2023-06-27 03:58:21,526: DEBUG - + declare -g nameservers=89.234.141.66,2001:913::8
2023-06-27 03:58:21,526: DEBUG - + continue
2023-06-27 03:58:21,526: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,526: DEBUG - + changed[$short_setting]=false
2023-06-27 03:58:21,526: DEBUG - + '[' -z ']'
2023-06-27 03:58:21,527: DEBUG - + declare -g login_passphrase=**********
2023-06-27 03:58:21,527: DEBUG - + continue
2023-06-27 03:58:21,527: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,527: DEBUG - + changed[$short_setting]=false
2023-06-27 03:58:21,527: DEBUG - + '[' -z x ']'
2023-06-27 03:58:21,527: DEBUG - + '[' '!' -z '' ']'
2023-06-27 03:58:21,527: DEBUG - + [[ 1 != \0 ]]
2023-06-27 03:58:21,527: DEBUG - + changed[$short_setting]=true
2023-06-27 03:58:21,527: DEBUG - + nothing_changed=false
2023-06-27 03:58:21,527: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,528: DEBUG - + changed[$short_setting]=false
2023-06-27 03:58:21,528: DEBUG - + '[' -z ']'
2023-06-27 03:58:21,528: DEBUG - + declare -g login_user=rrobles-vpn1
2023-06-27 03:58:21,528: DEBUG - + continue
2023-06-27 03:58:21,528: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,528: DEBUG - + changed[$short_setting]=false
2023-06-27 03:58:21,528: DEBUG - + '[' -z ']'
2023-06-27 03:58:21,528: DEBUG - + declare -g 'status=style: info
2023-06-27 03:58:21,528: DEBUG - ask:
2023-06-27 03:58:21,528: DEBUG -   en: The VPN is not enabled'
2023-06-27 03:58:21,529: DEBUG - + continue
2023-06-27 03:58:21,529: DEBUG - + [[ false == \t\r\u\e ]]
2023-06-27 03:58:21,529: DEBUG - + ynh_script_progression '--message=Validating the new configuration...' --weight=1
2023-06-27 03:58:21,529: DEBUG - + set +o xtrace
2023-06-27 03:58:21,559: DEBUG - + set +o xtrace
2023-06-27 03:58:21,567: DEBUG - + echo '! Helper used in legacy mode !'
2023-06-27 03:58:21,567: DEBUG - + set +x
2023-06-27 03:58:21,568: DEBUG - + echo '[##########+++++.....] > Validating the new configuration...'
2023-06-27 03:58:21,569: INFO - [##########+++++.....] > Validating the new configuration...
2023-06-27 03:58:21,569: DEBUG - + set -o xtrace
2023-06-27 03:58:21,569: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,570: DEBUG - + [[ false == \f\a\l\s\e ]]
2023-06-27 03:58:21,570: DEBUG - + continue
2023-06-27 03:58:21,570: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,570: DEBUG - + [[ false == \f\a\l\s\e ]]
2023-06-27 03:58:21,570: DEBUG - + continue
2023-06-27 03:58:21,570: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,570: DEBUG - + [[ false == \f\a\l\s\e ]]
2023-06-27 03:58:21,570: DEBUG - + continue
2023-06-27 03:58:21,570: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,571: DEBUG - + [[ false == \f\a\l\s\e ]]
2023-06-27 03:58:21,571: DEBUG - + continue
2023-06-27 03:58:21,571: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,571: DEBUG - + [[ false == \f\a\l\s\e ]]
2023-06-27 03:58:21,571: DEBUG - + continue
2023-06-27 03:58:21,571: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,571: DEBUG - + [[ false == \f\a\l\s\e ]]
2023-06-27 03:58:21,571: DEBUG - + continue
2023-06-27 03:58:21,571: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,571: DEBUG - + [[ false == \f\a\l\s\e ]]
2023-06-27 03:58:21,572: DEBUG - + continue
2023-06-27 03:58:21,572: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,572: DEBUG - + [[ false == \f\a\l\s\e ]]
2023-06-27 03:58:21,572: DEBUG - + continue
2023-06-27 03:58:21,572: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,572: DEBUG - + [[ false == \f\a\l\s\e ]]
2023-06-27 03:58:21,572: DEBUG - + continue
2023-06-27 03:58:21,572: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,572: DEBUG - + [[ false == \f\a\l\s\e ]]
2023-06-27 03:58:21,572: DEBUG - + continue
2023-06-27 03:58:21,573: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,573: DEBUG - + [[ false == \f\a\l\s\e ]]
2023-06-27 03:58:21,573: DEBUG - + continue
2023-06-27 03:58:21,573: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,573: DEBUG - + [[ true == \f\a\l\s\e ]]
2023-06-27 03:58:21,573: DEBUG - + local result=
2023-06-27 03:58:21,573: DEBUG - + type -t validate__service_enabled
2023-06-27 03:58:21,573: DEBUG - + grep -q '^function$'
2023-06-27 03:58:21,573: DEBUG - + [[ settings == *\(* ]]
2023-06-27 03:58:21,573: DEBUG - + '[' -n '' ']'
2023-06-27 03:58:21,574: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,574: DEBUG - + [[ false == \f\a\l\s\e ]]
2023-06-27 03:58:21,574: DEBUG - + continue
2023-06-27 03:58:21,574: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,574: DEBUG - + [[ false == \f\a\l\s\e ]]
2023-06-27 03:58:21,574: DEBUG - + continue
2023-06-27 03:58:21,574: DEBUG - + [[ true == \f\a\l\s\e ]]
2023-06-27 03:58:21,574: DEBUG - + ynh_script_progression '--message=Applying the new configuration...'
2023-06-27 03:58:21,574: DEBUG - + set +o xtrace
2023-06-27 03:58:21,593: DEBUG - + set +o xtrace
2023-06-27 03:58:21,601: DEBUG - + echo '! Helper used in legacy mode !'
2023-06-27 03:58:21,601: DEBUG - + set +x
2023-06-27 03:58:21,603: DEBUG - + echo '[###############+++++] > Applying the new configuration...'
2023-06-27 03:58:21,603: DEBUG - + set -o xtrace
2023-06-27 03:58:21,603: DEBUG - + ynh_app_config_apply
2023-06-27 03:58:21,603: DEBUG - + ynh_print_info '--message=Stopping vpnclient in order to edit files'
2023-06-27 03:58:21,603: DEBUG - + local legacy_args=m
2023-06-27 03:58:21,603: DEBUG - + args_array=(['m']='message=')
2023-06-27 03:58:21,604: DEBUG - + local -A args_array
2023-06-27 03:58:21,604: DEBUG - + local message
2023-06-27 03:58:21,604: DEBUG - + ynh_handle_getopts_args '--message=Stopping vpnclient in order to edit files'
2023-06-27 03:58:21,604: DEBUG - + set +o xtrace
2023-06-27 03:58:21,604: INFO - [###############+++++] > Applying the new configuration...
2023-06-27 03:58:21,610: DEBUG - + echo 'Stopping vpnclient in order to edit files'
2023-06-27 03:58:21,610: DEBUG - + touch /tmp/.ynh-vpnclient-stopped
2023-06-27 03:58:21,610: INFO - Stopping vpnclient in order to edit files
2023-06-27 03:58:21,611: DEBUG - + /usr/local/bin/ynh-vpnclient stop
2023-06-27 03:58:21,617: DEBUG - [INFO] Retrieving Yunohost settings...
2023-06-27 03:58:21,657: DEBUG - [ OK ] Settings retrieved
2023-06-27 03:58:21,659: DEBUG - [INFO] [vpnclient] Stopping...
2023-06-27 03:58:21,672: DEBUG - + chown vpnclient:vpnclient /etc/openvpn/keys
2023-06-27 03:58:21,673: DEBUG - + chmod go=--- /etc/openvpn/keys
2023-06-27 03:58:21,674: DEBUG - + _ynh_app_config_apply
2023-06-27 03:58:21,674: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,674: DEBUG - + ynh_app_config_apply_one config_file
2023-06-27 03:58:21,675: DEBUG - + _ynh_app_config_apply_one config_file
2023-06-27 03:58:21,675: DEBUG - + local short_setting=config_file
2023-06-27 03:58:21,675: DEBUG - + local setter=set__config_file
2023-06-27 03:58:21,675: DEBUG - + local bind=/etc/openvpn/client.conf
2023-06-27 03:58:21,675: DEBUG - + local type=file
2023-06-27 03:58:21,676: DEBUG - + '[' false == true ']'
2023-06-27 03:58:21,676: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,676: DEBUG - + ynh_app_config_apply_one doc
2023-06-27 03:58:21,676: DEBUG - + _ynh_app_config_apply_one doc
2023-06-27 03:58:21,676: DEBUG - + local short_setting=doc
2023-06-27 03:58:21,676: DEBUG - + local setter=set__doc
2023-06-27 03:58:21,676: DEBUG - + local bind=settings
2023-06-27 03:58:21,676: DEBUG - + local type=alert
2023-06-27 03:58:21,676: DEBUG - + '[' false == true ']'
2023-06-27 03:58:21,676: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,677: DEBUG - + ynh_app_config_apply_one crt_server_ca
2023-06-27 03:58:21,677: DEBUG - + _ynh_app_config_apply_one crt_server_ca
2023-06-27 03:58:21,677: DEBUG - + local short_setting=crt_server_ca
2023-06-27 03:58:21,677: DEBUG - + local setter=set__crt_server_ca
2023-06-27 03:58:21,677: DEBUG - + local bind=/etc/openvpn/keys/ca-server.crt
2023-06-27 03:58:21,677: DEBUG - + local type=file
2023-06-27 03:58:21,677: DEBUG - + '[' false == true ']'
2023-06-27 03:58:21,678: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,678: DEBUG - + ynh_app_config_apply_one ip6_net
2023-06-27 03:58:21,678: DEBUG - + _ynh_app_config_apply_one ip6_net
2023-06-27 03:58:21,678: DEBUG - + local short_setting=ip6_net
2023-06-27 03:58:21,678: DEBUG - + local setter=set__ip6_net
2023-06-27 03:58:21,678: DEBUG - + local bind=settings
2023-06-27 03:58:21,678: DEBUG - + local type=string
2023-06-27 03:58:21,678: DEBUG - + '[' false == true ']'
2023-06-27 03:58:21,678: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,678: DEBUG - + ynh_app_config_apply_one crt_client
2023-06-27 03:58:21,679: DEBUG - + _ynh_app_config_apply_one crt_client
2023-06-27 03:58:21,679: DEBUG - + local short_setting=crt_client
2023-06-27 03:58:21,679: DEBUG - + local setter=set__crt_client
2023-06-27 03:58:21,679: DEBUG - + local bind=/etc/openvpn/keys/user.crt
2023-06-27 03:58:21,679: DEBUG - + local type=file
2023-06-27 03:58:21,679: DEBUG - + '[' false == true ']'
2023-06-27 03:58:21,679: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,679: DEBUG - + ynh_app_config_apply_one crt_client_ta
2023-06-27 03:58:21,679: DEBUG - + _ynh_app_config_apply_one crt_client_ta
2023-06-27 03:58:21,679: DEBUG - + local short_setting=crt_client_ta
2023-06-27 03:58:21,680: DEBUG - + local setter=set__crt_client_ta
2023-06-27 03:58:21,680: DEBUG - + local bind=/etc/openvpn/keys/user_ta.key
2023-06-27 03:58:21,680: DEBUG - + local type=file
2023-06-27 03:58:21,680: DEBUG - + '[' false == true ']'
2023-06-27 03:58:21,680: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,680: DEBUG - + ynh_app_config_apply_one dns_method
2023-06-27 03:58:21,680: DEBUG - + _ynh_app_config_apply_one dns_method
2023-06-27 03:58:21,680: DEBUG - + local short_setting=dns_method
2023-06-27 03:58:21,680: DEBUG - + local setter=set__dns_method
2023-06-27 03:58:21,680: DEBUG - + local bind=settings
2023-06-27 03:58:21,680: DEBUG - + local type=select
2023-06-27 03:58:21,681: DEBUG - + '[' false == true ']'
2023-06-27 03:58:21,681: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,681: DEBUG - + ynh_app_config_apply_one crt_client_key
2023-06-27 03:58:21,681: DEBUG - + _ynh_app_config_apply_one crt_client_key
2023-06-27 03:58:21,681: DEBUG - + local short_setting=crt_client_key
2023-06-27 03:58:21,681: DEBUG - + local setter=set__crt_client_key
2023-06-27 03:58:21,681: DEBUG - + local bind=/etc/openvpn/keys/user.key
2023-06-27 03:58:21,681: DEBUG - + local type=file
2023-06-27 03:58:21,681: DEBUG - + '[' false == true ']'
2023-06-27 03:58:21,681: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,682: DEBUG - + ynh_app_config_apply_one ip6_addr
2023-06-27 03:58:21,682: DEBUG - + _ynh_app_config_apply_one ip6_addr
2023-06-27 03:58:21,682: DEBUG - + local short_setting=ip6_addr
2023-06-27 03:58:21,682: DEBUG - + local setter=set__ip6_addr
2023-06-27 03:58:21,682: DEBUG - + local bind=settings
2023-06-27 03:58:21,682: DEBUG - + local type=string
2023-06-27 03:58:21,682: DEBUG - + '[' false == true ']'
2023-06-27 03:58:21,682: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,682: DEBUG - + ynh_app_config_apply_one nameservers
2023-06-27 03:58:21,682: DEBUG - + _ynh_app_config_apply_one nameservers
2023-06-27 03:58:21,683: DEBUG - + local short_setting=nameservers
2023-06-27 03:58:21,683: DEBUG - + local setter=set__nameservers
2023-06-27 03:58:21,683: DEBUG - + local bind=settings
2023-06-27 03:58:21,683: DEBUG - + local type=tags
2023-06-27 03:58:21,683: DEBUG - + '[' false == true ']'
2023-06-27 03:58:21,683: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,683: DEBUG - + ynh_app_config_apply_one login_passphrase
2023-06-27 03:58:21,683: DEBUG - + _ynh_app_config_apply_one login_passphrase
2023-06-27 03:58:21,683: DEBUG - + local short_setting=login_passphrase
2023-06-27 03:58:21,683: DEBUG - + local setter=set__login_passphrase
2023-06-27 03:58:21,684: DEBUG - + local bind=settings
2023-06-27 03:58:21,684: DEBUG - + local type=password
2023-06-27 03:58:21,684: DEBUG - + '[' false == true ']'
2023-06-27 03:58:21,684: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,684: DEBUG - + ynh_app_config_apply_one service_enabled
2023-06-27 03:58:21,684: DEBUG - + _ynh_app_config_apply_one service_enabled
2023-06-27 03:58:21,684: DEBUG - + local short_setting=service_enabled
2023-06-27 03:58:21,684: DEBUG - + local setter=set__service_enabled
2023-06-27 03:58:21,684: DEBUG - + local bind=settings
2023-06-27 03:58:21,684: DEBUG - + local type=boolean
2023-06-27 03:58:21,685: DEBUG - + '[' true == true ']'
2023-06-27 03:58:21,685: DEBUG - + type -t set__service_enabled
2023-06-27 03:58:21,685: DEBUG - + grep -q '^function$'
2023-06-27 03:58:21,685: DEBUG - + [[ settings == *\(* ]]
2023-06-27 03:58:21,685: DEBUG - + [[ settings == \n\u\l\l ]]
2023-06-27 03:58:21,685: DEBUG - + [[ boolean == \f\i\l\e ]]
2023-06-27 03:58:21,685: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]]
2023-06-27 03:58:21,685: DEBUG - + ynh_app_setting_set --app=vpnclient --key=service_enabled --value=1
2023-06-27 03:58:21,685: DEBUG - + local _globalapp=vpnclient
2023-06-27 03:58:21,685: DEBUG - + local legacy_args=akv
2023-06-27 03:58:21,686: DEBUG - + args_array=(['a']='app=' ['k']='key=' ['v']='value=')
2023-06-27 03:58:21,686: DEBUG - + local -A args_array
2023-06-27 03:58:21,686: DEBUG - + local app
2023-06-27 03:58:21,686: DEBUG - + local key
2023-06-27 03:58:21,686: DEBUG - + local value
2023-06-27 03:58:21,686: DEBUG - + ynh_handle_getopts_args --app=vpnclient --key=service_enabled --value=1
2023-06-27 03:58:21,686: DEBUG - + set +o xtrace
2023-06-27 03:58:21,721: DEBUG - + app=vpnclient
2023-06-27 03:58:21,721: DEBUG - + [[ service_enabled =~ (unprotected|protected|skipped)_ ]]
2023-06-27 03:58:21,721: DEBUG - + ynh_app_setting set vpnclient service_enabled 1
2023-06-27 03:58:21,721: DEBUG - + set +o xtrace
2023-06-27 03:58:21,765: DEBUG - + ynh_print_info '--message=Configuration key '\''service_enabled'\'' edited in app settings'
2023-06-27 03:58:21,765: DEBUG - + local legacy_args=m
2023-06-27 03:58:21,765: DEBUG - + args_array=(['m']='message=')
2023-06-27 03:58:21,765: DEBUG - + local -A args_array
2023-06-27 03:58:21,765: DEBUG - + local message
2023-06-27 03:58:21,765: DEBUG - + ynh_handle_getopts_args '--message=Configuration key '\''service_enabled'\'' edited in app settings'
2023-06-27 03:58:21,765: DEBUG - + set +o xtrace
2023-06-27 03:58:21,772: INFO - Configuration key 'service_enabled' edited in app settings
2023-06-27 03:58:21,772: DEBUG - + echo 'Configuration key '\''service_enabled'\'' edited in app settings'
2023-06-27 03:58:21,773: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,773: DEBUG - + ynh_app_config_apply_one login_user
2023-06-27 03:58:21,773: DEBUG - + _ynh_app_config_apply_one login_user
2023-06-27 03:58:21,773: DEBUG - + local short_setting=login_user
2023-06-27 03:58:21,773: DEBUG - + local setter=set__login_user
2023-06-27 03:58:21,773: DEBUG - + local bind=settings
2023-06-27 03:58:21,773: DEBUG - + local type=string
2023-06-27 03:58:21,773: DEBUG - + '[' false == true ']'
2023-06-27 03:58:21,773: DEBUG - + for short_setting in "${!old[@]}"
2023-06-27 03:58:21,774: DEBUG - + ynh_app_config_apply_one status
2023-06-27 03:58:21,774: DEBUG - + _ynh_app_config_apply_one status
2023-06-27 03:58:21,774: DEBUG - + local short_setting=status
2023-06-27 03:58:21,774: DEBUG - + local setter=set__status
2023-06-27 03:58:21,774: DEBUG - + local bind=settings
2023-06-27 03:58:21,774: DEBUG - + local type=alert
2023-06-27 03:58:21,774: DEBUG - + '[' false == true ']'
2023-06-27 03:58:21,774: DEBUG - + set_permissions /etc/openvpn/client.conf
2023-06-27 03:58:21,775: DEBUG - + local file=/etc/openvpn/client.conf
2023-06-27 03:58:21,775: DEBUG - + '[' -f /etc/openvpn/client.conf ']'
2023-06-27 03:58:21,775: DEBUG - + chown vpnclient:vpnclient /etc/openvpn/client.conf
2023-06-27 03:58:21,775: DEBUG - + chmod go=--- /etc/openvpn/client.conf
2023-06-27 03:58:21,775: DEBUG - + set_permissions /etc/openvpn/keys/ca-server.crt
2023-06-27 03:58:21,775: DEBUG - + local file=/etc/openvpn/keys/ca-server.crt
2023-06-27 03:58:21,775: DEBUG - + '[' -f /etc/openvpn/keys/ca-server.crt ']'
2023-06-27 03:58:21,775: DEBUG - + chown vpnclient:vpnclient /etc/openvpn/keys/ca-server.crt
2023-06-27 03:58:21,776: DEBUG - + chmod go=--- /etc/openvpn/keys/ca-server.crt
2023-06-27 03:58:21,776: DEBUG - + set_permissions /etc/openvpn/keys/user.crt
2023-06-27 03:58:21,777: DEBUG - + local file=/etc/openvpn/keys/user.crt
2023-06-27 03:58:21,777: DEBUG - + '[' -f /etc/openvpn/keys/user.crt ']'
2023-06-27 03:58:21,777: DEBUG - + set_permissions /etc/openvpn/keys/user.key
2023-06-27 03:58:21,777: DEBUG - + local file=/etc/openvpn/keys/user.key
2023-06-27 03:58:21,777: DEBUG - + '[' -f /etc/openvpn/keys/user.key ']'
2023-06-27 03:58:21,777: DEBUG - + set_permissions /etc/openvpn/keys/user_ta.key
2023-06-27 03:58:21,777: DEBUG - + local file=/etc/openvpn/keys/user_ta.key
2023-06-27 03:58:21,777: DEBUG - + '[' -f /etc/openvpn/keys/user_ta.key ']'
2023-06-27 03:58:21,777: DEBUG - + ynh_print_info '--message=Starting vpnclient service if needed'
2023-06-27 03:58:21,778: DEBUG - + local legacy_args=m
2023-06-27 03:58:21,778: DEBUG - + args_array=(['m']='message=')
2023-06-27 03:58:21,778: DEBUG - + local -A args_array
2023-06-27 03:58:21,778: DEBUG - + local message
2023-06-27 03:58:21,778: DEBUG - + ynh_handle_getopts_args '--message=Starting vpnclient service if needed'
2023-06-27 03:58:21,778: DEBUG - + set +o xtrace
2023-06-27 03:58:21,784: DEBUG - + echo 'Starting vpnclient service if needed'
2023-06-27 03:58:21,785: DEBUG - + /usr/local/bin/ynh-vpnclient start
2023-06-27 03:58:21,785: INFO - Starting vpnclient service if needed
2023-06-27 03:58:21,792: DEBUG - [INFO] Retrieving Yunohost settings...
2023-06-27 03:58:21,833: DEBUG - [ OK ] Settings retrieved
2023-06-27 03:58:21,837: DEBUG - [INFO] [vpnclient] Starting...
2023-06-27 03:58:21,844: DEBUG - [INFO] Cleaning vpnclient custom rules from the firewall
2023-06-27 03:58:21,846: DEBUG - [INFO] Restarting yunohost firewall...
2023-06-27 03:58:22,420: DEBUG - [ OK ] Firewall restarted!
2023-06-27 03:58:22,421: DEBUG - [INFO] Now synchronizing time using ntp...
2023-06-27 03:58:31,505: DEBUG - [INFO] Now actually starting OpenVPN client...
2023-06-27 03:58:31,529: DEBUG - [INFO] OpenVPN client started ... waiting for tun0 interface to show up
2023-06-27 03:58:33,543: DEBUG - [ OK ] tun0 interface is up!
2023-06-27 03:58:33,546: DEBUG - [INFO] Adding IPv6 server route
2023-06-27 03:58:33,555: DEBUG - [INFO] Enforcing custom DNS resolvers from vpnclient
2023-06-27 03:58:33,568: DEBUG - [INFO] Adding vpnclient custom rules to the firewall
2023-06-27 03:58:33,571: DEBUG - [INFO] Restarting yunohost firewall...
2023-06-27 03:58:35,318: DEBUG - [ OK ] Firewall restarted!
2023-06-27 03:58:35,320: DEBUG - [INFO] Saving settings...
2023-06-27 03:58:55,868: WARNING - ping: debian.org: Échec temporaire dans la résolution du nom
2023-06-27 03:59:45,921: DEBUG - [INFO] Validating that VPN is up and the server is connected to internet...
2023-06-27 04:00:05,940: WARNING - ping: debian.org: Échec temporaire dans la résolution du nom
2023-06-27 04:00:05,943: WARNING - [CRIT] The VPN is up but debian.org cannot be reached, indicating that something is probably misconfigured/blocked.
2023-06-27 04:00:05,943: DEBUG - + ynh_exit_properly
2023-06-27 04:00:05,943: DEBUG - + local exit_code=1
2023-06-27 04:00:05,944: DEBUG - + [[ '' =~ ^install$|^upgrade$|^restore$ ]]
2023-06-27 04:00:05,944: DEBUG - + '[' 1 -eq 0 ']'
2023-06-27 04:00:05,944: DEBUG - + trap '' EXIT
2023-06-27 04:00:05,944: DEBUG - + set +o errexit
2023-06-27 04:00:05,944: DEBUG - + set +o nounset
2023-06-27 04:00:05,945: DEBUG - + sleep 0.5
2023-06-27 04:00:06,445: DEBUG - + type -t ynh_clean_setup
2023-06-27 04:00:06,445: DEBUG - + exit 1

Du coup je me rends compte que les mails ne marchent pas
dans /var/log/syslog

Jun 27 04:46:08 rodinux postfix/smtpd[24128]: warning: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.4.1.0.1.9.0.1.0.0.2.bl.spamcop.net: RBL lookup error: Host or domain name not found. Name service error for name=1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.4.1.0.1.9.0.1.0.0.2.bl.spamcop.net type=A: Host not found, try again
Jun 27 04:46:18 rodinux postfix/smtpd[24128]: warning: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.4.1.0.1.9.0.1.0.0.2.cbl.abuseat.org: RBL lookup error: Host or domain name not found. Name service error for name=1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.4.1.0.1.9.0.1.0.0.2.cbl.abuseat.org type=A: Host not found, try again
Jun 27 04:46:28 rodinux postfix/smtpd[24128]: warning: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.4.1.0.1.9.0.1.0.0.2.zen.spamhaus.org: RBL lookup error: Host or domain name not found. Name service error for name=1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.4.1.0.1.9.0.1.0.0.2.zen.spamhaus.org type=A: Host not found, try again
Jun 27 04:46:31 rodinux ntpd[17977]: 95.81.173.8 local addr 89.234.140.172 -> <null>
Jun 27 04:46:59 rodinux postfix/smtpd[24128]: NOQUEUE: reject: RCPT from unknown[2001:910:1410::1]: 450 4.1.8 <forum+verp-e0776f7beb4f280a662f22d24694e5c1@yunohost.org>: Sender address rejected: Domain not found; from=<forum+verp-e0776f7beb4f280a662f22d24694e5c1@yunohost.org> to=<rodinux07@rodinux.fr> proto=ESMTP helo=<yunohost.org>
Jun 27 04:46:59 rodinux postfix/smtpd[24128]: disconnect from unknown[2001:910:1410::1] ehlo=2 starttls=1 mail=1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=6/8
Jun 27 04:48:47 rodinux nslcd[1338]: [d53685] <passwd="*"> request denied by validnames option
Jun 27 04:49:47 rodinux postfix/smtpd[24448]: connect from unknown[2001:910:1410::1]
Jun 27 04:49:47 rodinux postfix/smtpd[24448]: Anonymous TLS connection established from unknown[2001:910:1410::1]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits)
Jun 27 04:49:52 rodinux systemd[1]: Started YunoHost VPN Client Checker..
Jun 27 04:49:52 rodinux systemd[1]: ynh-vpnclient-checker.service: Succeeded.
Jun 27 04:49:57 rodinux postfix/smtpd[24448]: warning: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.4.1.0.1.9.0.1.0.0.2.bl.spamcop.net: RBL lookup error: Host or domain name not found. Name service error for name=1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.4.1.0.1.9.0.1.0.0.2.bl.spamcop.net type=A: Host not found, try again

Pourtant le service a l’air failed ! pourtant j’arrive bien a me connecter

# systemctl status ynh-vpnclient
● ynh-vpnclient.service - YunoHost VPN Client.
     Loaded: loaded (/etc/systemd/system/ynh-vpnclient.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Tue 2023-06-27 03:54:44 CEST; 1h 23min ago
    Process: 11965 ExecStart=/usr/local/bin/ynh-vpnclient start (code=exited, status=1/FAILURE)
   Main PID: 11965 (code=exited, status=1/FAILURE)
        CPU: 6ms

juin 27 03:54:44 rodinux.fr systemd[1]: Starting YunoHost VPN Client....
juin 27 03:54:44 rodinux.fr ynh-vpnclient[11971]: [CRIT] You need a CA server (you can add it through the web admin)
juin 27 03:54:44 rodinux.fr systemd[1]: ynh-vpnclient.service: Main process exited, code=exited, status=1/FAILURE
juin 27 03:54:44 rodinux.fr systemd[1]: ynh-vpnclient.service: Failed with result 'exit-code'.
juin 27 03:54:44 rodinux.fr systemd[1]: Failed to start YunoHost VPN Client..

journalctl

# journalctl -xe |grep ynh-vpnclient
░░ Subject: L'unité (unit) ynh-vpnclient-checker.service a terminé son démarrage
░░ L'unité (unit) ynh-vpnclient-checker.service a terminé son démarrage, avec le résultat done.
juin 27 04:39:52 rodinux.fr systemd[1]: ynh-vpnclient-checker.service: Succeeded.
░░ The unit ynh-vpnclient-checker.service has successfully entered the 'dead' state.
░░ Subject: L'unité (unit) ynh-vpnclient-checker.service a terminé son démarrage
░░ L'unité (unit) ynh-vpnclient-checker.service a terminé son démarrage, avec le résultat done.
juin 27 04:44:52 rodinux.fr systemd[1]: ynh-vpnclient-checker.service: Succeeded.
░░ The unit ynh-vpnclient-checker.service has successfully entered the 'dead' state.
░░ Subject: L'unité (unit) ynh-vpnclient-checker.service a terminé son démarrage
░░ L'unité (unit) ynh-vpnclient-checker.service a terminé son démarrage, avec le résultat done.
juin 27 04:49:52 rodinux.fr systemd[1]: ynh-vpnclient-checker.service: Succeeded.
░░ The unit ynh-vpnclient-checker.service has successfully entered the 'dead' state.
░░ Subject: L'unité (unit) ynh-vpnclient-checker.service a terminé son démarrage
░░ L'unité (unit) ynh-vpnclient-checker.service a terminé son démarrage, avec le résultat done.
juin 27 04:54:52 rodinux.fr systemd[1]: ynh-vpnclient-checker.service: Succeeded.
░░ The unit ynh-vpnclient-checker.service has successfully entered the 'dead' state.
░░ Subject: L'unité (unit) ynh-vpnclient-checker.service a terminé son démarrage
░░ L'unité (unit) ynh-vpnclient-checker.service a terminé son démarrage, avec le résultat done.
juin 27 04:59:52 rodinux.fr systemd[1]: ynh-vpnclient-checker.service: Succeeded.
░░ The unit ynh-vpnclient-checker.service has successfully entered the 'dead' state.
░░ Subject: L'unité (unit) ynh-vpnclient-checker.service a terminé son démarrage
░░ L'unité (unit) ynh-vpnclient-checker.service a terminé son démarrage, avec le résultat done.
juin 27 05:04:52 rodinux.fr systemd[1]: ynh-vpnclient-checker.service: Succeeded.
░░ The unit ynh-vpnclient-checker.service has successfully entered the 'dead' state.

Bref, pas terrible tout cela…

J’ai aussi envoyé un message à Illyse pour savoir si ils peuvent m’aider…

Aujourd’hui j’ai ce message

/etc/cron.daily/node_update:
curl: (6) Could not resolve host: nodejs.org

  Error: failed to download version index (https://nodejs.org/dist/index.tab)

curl: (6) Could not resolve host: nodejs.org

  Error: failed to download version index (https://nodejs.org/dist/index.tab)

/etc/cron.daily/yunohost-fetch-apps-catalog:
Impossible de télécharger le catalogue des applications default : Impossible de se connecter à https://app.yunohost.org/default/v3/apps.json... peut-être que le service est hors service/indisponible/interrompu, ou que vous n'êtes pas correctement connecté à Internet en IPv4/IPv6.

Est-ce que ce paramètre est bien réglé? (pour info, je ne suis pas du tout expert sur VPNclient)

J’ai un certificat du vpn d’Illyse dans le .cube, c’est de cela qu’il s’agit pour le CA ?

La doc d’Ilysse est ici: Vpn doc user - Docs publiques - Association ILLYSE

Le vpn fonctionne depuis plusieurs années…

Ce qui m’est arrivé hier ressemble à ce topic Plus d'accès au webadmin depuis la migration

Il s’agit du champ “Update Server CA” dans le panneau de config. Cette erreur est déclenchée si le fichier est absent. Essaie de le recharger dans le panneau de config.

Sauf que tu n’as pas fait de migration sur ton serveur, correct?

Pas de migration récente, non, hier avant ces problèmes, j’ai du seulement faire une mise à jour système…

Peux-tu partager son fichier journal ?

(et rapporter le résultat de ton essai de recharger le fichier CA)

bon, je ne retrouve pas de mise à jour hier,
pour le renouvellement du certificat:

# yunohost log show 20230627-092603-letsencrypt_cert_renew-domain.tld
description: Renouveler le certificat Let's Encrypt de 'domain.tld'
log_path: /var/log/yunohost/categories/operation/20230627-092603-letsencrypt_cert_renew-domain.tld.log
logs: 
  - 2023-06-27 11:26:38,303: DEBUG - > system conf is already up-to-date
  - 2023-06-27 11:26:38,303: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/sni' to system conf '/etc/postfix/sni'
  - 2023-06-27 11:26:38,304: DEBUG - > system conf is already up-to-date
  - 2023-06-27 11:26:38,304: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/header_checks' to system conf '/etc/postfix/header_checks'
  - 2023-06-27 11:26:38,304: DEBUG - > system conf is already up-to-date
  - 2023-06-27 11:26:38,304: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/ldap-groups.cf' to system conf '/etc/postfix/ldap-groups.cf'
  - 2023-06-27 11:26:38,305: DEBUG - > system conf is already up-to-date
  - 2023-06-27 11:26:38,305: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/smtp_reply_filter' to system conf '/etc/postfix/smtp_reply_filter'
  - 2023-06-27 11:26:38,305: DEBUG - > system conf is already up-to-date
  - 2023-06-27 11:26:38,305: DEBUG - La configuration est déjà à jour pour la catégorie 'postfix'
  - 2023-06-27 11:26:38,306: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./15-nginx" post \'\' \'\' \'\' 7>&1']'
  - 2023-06-27 11:26:38,312: DEBUG - + set -e
  - 2023-06-27 11:26:38,313: DEBUG - + . /usr/share/yunohost/helpers
  - 2023-06-27 11:26:38,313: DEBUG - +++ set +o
  - 2023-06-27 11:26:38,313: DEBUG - +++ grep xtrace
  - 2023-06-27 11:26:38,314: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
  - 2023-06-27 11:26:38,314: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
  - 2023-06-27 11:26:38,315: DEBUG - ++ set +x
  - 2023-06-27 11:26:38,330: DEBUG - + do_post_regen
  - 2023-06-27 11:26:38,330: DEBUG - + regen_conf_files=
  - 2023-06-27 11:26:38,330: DEBUG - + ls -l /etc/nginx/conf.d/default.d/redirect_to_admin.conf /etc/nginx/conf.d/forgejo.domain.tld.d/forgejo.conf /etc/nginx/conf.d/domain.tld.d/anarchism.conf /etc/nginx/conf.d/domain.tld.d/nextcloud.conf /etc/nginx/conf.d/domain.tld.d/roundcube.conf /etc/nginx/conf.d/domain.tld.d/zerobin.conf /etc/nginx/conf.d/status-linux07.domain.tld.d/uptime-kuma.conf /etc/nginx/conf.d/www.domain.tld.d/wordpress.conf
  - 2023-06-27 11:26:38,332: DEBUG - -rw-r--r-- 1 root root   65  5 janv.  2022 /etc/nginx/conf.d/default.d/redirect_to_admin.conf
  - 2023-06-27 11:26:38,332: DEBUG - -rw-r--r-- 1 root root  451 25 juin  16:49 /etc/nginx/conf.d/forgejo.domain.tld.d/forgejo.conf
  - 2023-06-27 11:26:38,332: DEBUG - -rw-r--r-- 1 root root  219 16 juin  22:48 /etc/nginx/conf.d/domain.tld.d/anarchism.conf
  - 2023-06-27 11:26:38,332: DEBUG - -rw-r--r-- 1 root root 6129 25 juin  22:05 /etc/nginx/conf.d/domain.tld.d/nextcloud.conf
  - 2023-06-27 11:26:38,332: DEBUG - -rw-r--r-- 1 root root  915 23 mai   01:39 /etc/nginx/conf.d/domain.tld.d/roundcube.conf
  - 2023-06-27 11:26:38,332: DEBUG - -rw-r--r-- 1 root root  708 20 sept.  2022 /etc/nginx/conf.d/domain.tld.d/zerobin.conf
  - 2023-06-27 11:26:38,332: DEBUG - -rw-r--r-- 1 root root  569 23 mai   01:40 /etc/nginx/conf.d/status-linux07.domain.tld.d/uptime-kuma.conf
  - 2023-06-27 11:26:38,333: DEBUG - -rw-r--r-- 1 root root  941 30 avril 10:21 /etc/nginx/conf.d/www.domain.tld.d/wordpress.conf
  - 2023-06-27 11:26:38,333: DEBUG - + chown root:root /etc/nginx/conf.d/default.d/redirect_to_admin.conf /etc/nginx/conf.d/forgejo.domain.tld.d/forgejo.conf /etc/nginx/conf.d/domain.tld.d/anarchism.conf /etc/nginx/conf.d/domain.tld.d/nextcloud.conf /etc/nginx/conf.d/domain.tld.d/roundcube.conf /etc/nginx/conf.d/domain.tld.d/zerobin.conf /etc/nginx/conf.d/status-linux07.domain.tld.d/uptime-kuma.conf /etc/nginx/conf.d/www.domain.tld.d/wordpress.conf
  - 2023-06-27 11:26:38,333: DEBUG - + chmod 644 /etc/nginx/conf.d/default.d/redirect_to_admin.conf /etc/nginx/conf.d/forgejo.domain.tld.d/forgejo.conf /etc/nginx/conf.d/domain.tld.d/anarchism.conf /etc/nginx/conf.d/domain.tld.d/nextcloud.conf /etc/nginx/conf.d/domain.tld.d/roundcube.conf /etc/nginx/conf.d/domain.tld.d/zerobin.conf /etc/nginx/conf.d/status-linux07.domain.tld.d/uptime-kuma.conf /etc/nginx/conf.d/www.domain.tld.d/wordpress.conf
  - 2023-06-27 11:26:38,334: DEBUG - + '[' -z '' ']'
  - 2023-06-27 11:26:38,335: DEBUG - + exit 0
  - 2023-06-27 11:26:39,336: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./19-postfix" post \'\' \'\' \'\' 7>&1']'
  - 2023-06-27 11:26:39,345: DEBUG - + set -e
  - 2023-06-27 11:26:39,345: DEBUG - + . /usr/share/yunohost/helpers
  - 2023-06-27 11:26:39,346: DEBUG - +++ set +o
  - 2023-06-27 11:26:39,346: DEBUG - +++ grep xtrace
  - 2023-06-27 11:26:39,347: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
  - 2023-06-27 11:26:39,347: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
  - 2023-06-27 11:26:39,347: DEBUG - ++ set +x
  - 2023-06-27 11:26:39,363: DEBUG - + do_post_regen
  - 2023-06-27 11:26:39,363: DEBUG - + regen_conf_files=
  - 2023-06-27 11:26:39,363: DEBUG - + chown postfix /etc/postfix
  - 2023-06-27 11:26:39,364: DEBUG - + '[' -e /etc/postfix/sasl_passwd ']'
  - 2023-06-27 11:26:39,364: DEBUG - + postmap -F hash:/etc/postfix/sni
  - 2023-06-27 11:26:39,378: DEBUG - + [[ -z '' ]]
  - 2023-06-27 11:26:40,379: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20230627-092631-regen_conf-2_categories" style="text-decoration:underline"> Régénérer les configurations du système '2_categories' </a>'
  - 2023-06-27 11:26:40,497: DEBUG - Running 'systemctl reload nginx'
  - 2023-06-27 11:26:40,581: SUCCESS - Certificat Let's Encrypt renouvelé pour le domaine 'domain.tld'
metadata: 
  args: 
    email: False
    force: True
    no_checks: False
  ended_at: 2023-06-27 11:26:40
  error: None
  interface: api
  operation: letsencrypt_cert_renew
  parent: None
  related_to: 
    - domain
    - domain.tld
  started_at: 2023-06-27 11:26:03
  success: True
  yunohost_version: 11.1.21.4
metadata_path: /var/log/yunohost/categories/operation/20230627-092603-letsencrypt_cert_renew-domain.tld.yml
name: 20230627-092603-letsencrypt_cert_renew-domain.tld

Curieux, pourquoi l’argument email:False ?

Ce n’est pas ce que j’ai demandé. Lorsque tu charges le fichier .cube dans le panneau de config de vpnclient, il devrait charger une clé “crt_server_ca” dans le fichier /etc/openvpn/keys/ca-server.crt
. Peux-tu vérifier que ton fichier .cube contient bien la clé, et que le fichier .crt existe dans ton seveur ?

Rien de pertinent: https://github.com/YunoHost/yunohost/blob/510e82fa22b8f0b52528dc4bd32b747d4543a5b3/src/certificate.py#L307


Autre chose, je vois que les serveurs DNS par défaut dans vpnclient sont 89.234.141.66 et 2001:913::8. Peux-tu vérifier, sans être connecté au VPN, ce que retourne dig yunohost.org @89.234.141.66 et dig yunohost.org @2001:913::8? (par exemple j’ai l’impression que le serveur IPv6 ne répond pas). Essaie ensuite avec le VPN connecté.

Pardon,
alors, j’ai bien un fichier /etc/openvpn/keys/ca-server.crt qui semble être le bon (sauf qua dans mon fichier .cube il est sur une ligne dans ce fichier sur plusieurs lignes.

Et dans l’application elle semble fonctionner

Mais pas de bouton pour le certificat… il est dans le .cube

Pour le service il à l’air de tourner via la webadmin

les logs ici:
https://paste.yunohost.org/emuvasufim

Yep ! Ç’est rétabli !! Plus d’erreurs au diagnostic :blush:

Je pense que de renouveler le certificat du serveur a eu l’effet désiré !

Apparemment, c’est les dns de la FDN qui semblait poser des soucis…

1 Like

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