Echec de l'installation Hotspot Wifi

Mon serveur YunoHost

Matériel: Raspberry Pi 4 à la maison
Version de YunoHost: 4.0.7
J’ai accès à mon serveur : En SSH et par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non

Description du problème

Bonjour à tous,
Je viens d’installer la dernière version stable de yunohost sur mon nouveau RPi 4.
J’ai utilisé ce lien (https://github.com/labriqueinternet/hotspot_ynh) pour installer l’app Hostpot depuis la webadmin, et malgré la lecture de posts similaires sur ce forum, je ne sais pas quoi faire pour réussir à installer cette appli.
Pouvez-vous m’aider svp? Je vous joins les logs

Merci :pray:

args:
  app: https://github.com/labriqueinternet/hotspot_ynh/
  args: domain=maindomain.tld&path=%2Fwifiadmin&wifi_ssid=monWifiPropre&wifi_passphrase='**********'&firmware_nonfree=no
  force: false
  label: Wifi Hotspot
  no_remove_on_failure: false
ended_at: 2020-09-06 10:04:45.655990
env:
  YNH_APP_ARG_DOMAIN: maindomain.tld
  YNH_APP_ARG_FIRMWARE_NONFREE: 'no'
  YNH_APP_ARG_PATH: /wifiadmin
  YNH_APP_ARG_WIFI_PASSPHRASE: '**********'
  YNH_APP_ARG_WIFI_SSID: monWifiPropre
  YNH_APP_ID: hotspot
  YNH_APP_INSTANCE_NAME: hotspot
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_CWD: /var/cache/yunohost/from_file/hotspot_ynh-master/scripts
  YNH_INTERFACE: api
  YNH_STDINFO: /tmp/tmpgpT93f/stdinfo
  YNH_STDRETURN: /tmp/tmpNYLAN3/stdreturn
error: "Une erreur est survenue dans le script d\u2019installation de l\u2019application"
operation: app_install
related_to:
- - app
  - hotspot
started_at: 2020-09-06 10:03:50.708557
success: false
yunohost_version: 4.0.7

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

2020-09-06 12:03:50,733: INFO - Installation de l’application hotspot …
2020-09-06 12:03:50,881: DEBUG - The permission database has been resynchronized
2020-09-06 12:03:50,951: DEBUG - La configuration de SSOwat générée
2020-09-06 12:03:50,982: DEBUG - No default hook for action 'post_app_addaccess' in /usr/share/yunohost/hooks/
2020-09-06 12:03:50,983: DEBUG - No custom hook for action 'post_app_addaccess' in /etc/yunohost/hooks.d/
2020-09-06 12:03:50,983: DEBUG - Permission 'hotspot.main' créée
2020-09-06 12:03:50,984: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20200906-100350-permission_create-hotspot" style="text-decoration:underline"> Créer permission 'hotspot' </a>'
2020-09-06 12:03:51,027: DEBUG - Exécution de la commande 'sh -c YNH_APP_ARG_FIRMWARE_NONFREE=no YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/hotspot_ynh-master/scripts YNH_APP_ARG_WIFI_SSID=monWifiPropre YNH_STDINFO=/tmp/tmpgpT93f/stdinfo YNH_APP_ARG_WIFI_PASSPHRASE=********** YNH_APP_INSTANCE_NAME=hotspot YNH_INTERFACE=api YNH_APP_ID=hotspot YNH_APP_ARG_PATH=/wifiadmin YNH_STDRETURN=/tmp/tmpNYLAN3/stdreturn YNH_APP_ARG_DOMAIN=maindomain.tld BASH_XTRACEFD=7 /bin/bash -x "./install" maindomain.tld /wifiadmin monWifiPropre ********** no hotspot 7>&1' …
2020-09-06 12:03:51,027: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_ARG_FIRMWARE_NONFREE=no YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/hotspot_ynh-master/scripts YNH_APP_ARG_WIFI_SSID=monWifiPropre YNH_STDINFO=/tmp/tmpgpT93f/stdinfo YNH_APP_ARG_WIFI_PASSPHRASE=********** YNH_APP_INSTANCE_NAME=hotspot YNH_INTERFACE=api YNH_APP_ID=hotspot YNH_APP_ARG_PATH=/wifiadmin YNH_STDRETURN=/tmp/tmpNYLAN3/stdreturn YNH_APP_ARG_DOMAIN=maindomain.tld BASH_XTRACEFD=7 /bin/bash -x "./install" maindomain.tld /wifiadmin monWifiPropre ********** no hotspot 7>&1']'
2020-09-06 12:03:51,065: DEBUG - + source _common.sh
2020-09-06 12:03:51,067: DEBUG - ++ pkg_dependencies='sipcalc hostapd iptables iw dnsmasq'
2020-09-06 12:03:51,067: DEBUG - ++ nonfree_packages='firmware-linux-free firmware-linux-nonfree firmware-atheros firmware-realtek firmware-ralink firmware-libertas atmel-firmware zd1211-firmware'
2020-09-06 12:03:51,068: DEBUG - ++ free_packages=firmware-linux-free
2020-09-06 12:03:51,068: DEBUG - + source /usr/share/yunohost/helpers
2020-09-06 12:03:51,069: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2020-09-06 12:03:51,069: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-06 12:03:51,070: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2020-09-06 12:03:51,070: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2020-09-06 12:03:51,070: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-06 12:03:51,071: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2020-09-06 12:03:51,071: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2020-09-06 12:03:51,072: DEBUG - +++ CAN_BIND=1
2020-09-06 12:03:51,172: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-06 12:03:51,173: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2020-09-06 12:03:51,173: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2020-09-06 12:03:51,174: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-06 12:03:51,174: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2020-09-06 12:03:51,175: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2020-09-06 12:03:51,175: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-06 12:03:51,175: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/hardware ']'
2020-09-06 12:03:51,176: DEBUG - ++ . /usr/share/yunohost/helpers.d/hardware
2020-09-06 12:03:51,176: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-06 12:03:51,176: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2020-09-06 12:03:51,177: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2020-09-06 12:03:51,177: DEBUG - +++ increment_progression=0
2020-09-06 12:03:51,178: DEBUG - +++ previous_weight=0
2020-09-06 12:03:51,178: DEBUG - +++ max_progression=-1
2020-09-06 12:03:51,179: DEBUG - +++ progress_scale=20
2020-09-06 12:03:51,179: DEBUG - +++ progress_string2='####################'
2020-09-06 12:03:51,179: DEBUG - +++ progress_string1=++++++++++++++++++++
2020-09-06 12:03:51,180: DEBUG - +++ progress_string0=....................
2020-09-06 12:03:51,180: DEBUG - ++++ date +%s
2020-09-06 12:03:51,180: DEBUG - +++ base_time=1599386631
2020-09-06 12:03:51,181: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-06 12:03:51,181: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2020-09-06 12:03:51,181: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2020-09-06 12:03:51,182: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-06 12:03:51,182: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2020-09-06 12:03:51,183: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2020-09-06 12:03:51,183: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2020-09-06 12:03:51,183: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-06 12:03:51,184: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2020-09-06 12:03:51,184: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2020-09-06 12:03:51,185: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-06 12:03:51,185: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2020-09-06 12:03:51,185: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2020-09-06 12:03:51,186: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-06 12:03:51,186: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2020-09-06 12:03:51,186: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2020-09-06 12:03:51,187: DEBUG - +++ n_version=6.5.1
2020-09-06 12:03:51,187: DEBUG - +++ n_install_dir=/opt/node_n
2020-09-06 12:03:51,187: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2020-09-06 12:03:51,188: DEBUG - +++ export N_PREFIX=/opt/node_n
2020-09-06 12:03:51,188: DEBUG - +++ N_PREFIX=/opt/node_n
2020-09-06 12:03:51,188: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-06 12:03:51,189: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2020-09-06 12:03:51,189: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2020-09-06 12:03:51,190: DEBUG - +++ readonly YNH_DEFAULT_PHP_VERSION=7.3
2020-09-06 12:03:51,190: DEBUG - +++ YNH_DEFAULT_PHP_VERSION=7.3
2020-09-06 12:03:51,190: DEBUG - +++ YNH_PHP_VERSION=7.3
2020-09-06 12:03:51,191: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-06 12:03:51,191: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2020-09-06 12:03:51,192: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2020-09-06 12:03:51,192: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2020-09-06 12:03:51,193: DEBUG - +++ PSQL_VERSION=11
2020-09-06 12:03:51,193: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-06 12:03:51,193: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2020-09-06 12:03:51,194: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2020-09-06 12:03:51,194: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-06 12:03:51,194: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2020-09-06 12:03:51,195: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2020-09-06 12:03:51,195: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-06 12:03:51,195: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2020-09-06 12:03:51,196: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2020-09-06 12:03:51,196: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-06 12:03:51,196: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2020-09-06 12:03:51,197: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2020-09-06 12:03:51,197: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-09-06 12:03:51,198: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2020-09-06 12:03:51,198: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2020-09-06 12:03:51,198: DEBUG - + ynh_abort_if_errors
2020-09-06 12:03:51,199: DEBUG - + set -o errexit
2020-09-06 12:03:51,199: DEBUG - + set -o nounset
2020-09-06 12:03:51,200: DEBUG - + trap ynh_exit_properly EXIT
2020-09-06 12:03:51,200: DEBUG - + domain=maindomain.tld
2020-09-06 12:03:51,200: DEBUG - + path_url=/wifiadmin
2020-09-06 12:03:51,201: DEBUG - + wifi_ssid=monWifiPropre
2020-09-06 12:03:51,201: DEBUG - + wifi_passphrase=**********
2020-09-06 12:03:51,201: DEBUG - + firmware_nonfree=no
2020-09-06 12:03:51,202: DEBUG - + app=hotspot
2020-09-06 12:03:51,202: DEBUG - + service_name=ynh-hotspot
2020-09-06 12:03:51,405: DEBUG - + echo '[+...................] > Validating installation parameters...'
2020-09-06 12:03:51,406: INFO - [+...................] > Validating installation parameters...
2020-09-06 12:03:51,409: DEBUG - + final_path=/var/www/hotspot
2020-09-06 12:03:51,410: DEBUG - + test '!' -e /var/www/hotspot
2020-09-06 12:03:51,410: DEBUG - + ynh_webpath_register --app=hotspot --domain=maindomain.tld --path_url=/wifiadmin
2020-09-06 12:03:51,514: DEBUG - + yunohost app register-url hotspot maindomain.tld /wifiadmin
2020-09-06 12:03:52,417: DEBUG - + grep -q armbian-firmware
2020-09-06 12:03:52,417: DEBUG - + dpkg --list
2020-09-06 12:03:52,418: DEBUG - + '[' no = no ']'
2020-09-06 12:03:52,418: DEBUG - + firmware_nonfree=0
2020-09-06 12:03:52,419: DEBUG - + [[ -z monWifiPropre ]]
2020-09-06 12:03:52,419: DEBUG - + [[ -z ********** ]]
2020-09-06 12:03:52,419: DEBUG - ++ echo -n **********
2020-09-06 12:03:52,420: DEBUG - ++ wc -c
2020-09-06 12:03:52,420: DEBUG - + wifi_passphrase_length=16
2020-09-06 12:03:52,420: DEBUG - + [[ 16 -lt 8 ]]
2020-09-06 12:03:52,421: DEBUG - + [[ 16 -gt 63 ]]
2020-09-06 12:03:52,421: DEBUG - + [[ ********** =~ [^[:print:]] ]]
2020-09-06 12:03:52,422: DEBUG - + source ./prerequisites
2020-09-06 12:03:52,422: DEBUG - ++ systemctl is-active dnsmasq
2020-09-06 12:03:52,423: DEBUG - ++ [[ 0 -ne 0 ]]
2020-09-06 12:03:52,626: INFO - [#+..................] > Storing installation settings...
2020-09-06 12:03:52,627: DEBUG - + echo '[#+..................] > Storing installation settings...'
2020-09-06 12:03:52,628: DEBUG - + ynh_app_setting_set --app=hotspot --key=domain --value=maindomain.tld
2020-09-06 12:03:52,732: DEBUG - + ynh_app_setting set hotspot domain maindomain.tld
2020-09-06 12:03:52,732: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:03:52,733: DEBUG - + ACTION=set
2020-09-06 12:03:52,733: DEBUG - + APP=hotspot
2020-09-06 12:03:52,733: DEBUG - + KEY=domain
2020-09-06 12:03:52,734: DEBUG - + VALUE=maindomain.tld
2020-09-06 12:03:52,734: DEBUG - + python2.7 -
2020-09-06 12:03:53,035: DEBUG - + [[ domain =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:03:53,036: DEBUG - + ynh_app_setting_set --app=hotspot --key=wifi_ssid --value=monWifiPropre
2020-09-06 12:03:53,140: DEBUG - + ynh_app_setting set hotspot wifi_ssid monWifiPropre
2020-09-06 12:03:53,140: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:03:53,141: DEBUG - + ACTION=set
2020-09-06 12:03:53,141: DEBUG - + APP=hotspot
2020-09-06 12:03:53,141: DEBUG - + KEY=wifi_ssid
2020-09-06 12:03:53,142: DEBUG - + VALUE=monWifiPropre
2020-09-06 12:03:53,142: DEBUG - + python2.7 -
2020-09-06 12:03:53,343: DEBUG - + [[ wifi_ssid =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:03:53,344: DEBUG - + ynh_app_setting_set --app=hotspot --key=wifi_passphrase --value=**********
2020-09-06 12:03:53,548: DEBUG - + ynh_app_setting set hotspot wifi_passphrase **********
2020-09-06 12:03:53,548: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:03:53,549: DEBUG - + ACTION=set
2020-09-06 12:03:53,549: DEBUG - + APP=hotspot
2020-09-06 12:03:53,549: DEBUG - + KEY=wifi_passphrase
2020-09-06 12:03:53,550: DEBUG - + VALUE=**********
2020-09-06 12:03:53,550: DEBUG - + python2.7 -
2020-09-06 12:03:53,751: DEBUG - + [[ wifi_passphrase =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:03:53,751: DEBUG - + ynh_app_setting_set --app=hotspot --key=firmware_nonfree --value=0
2020-09-06 12:03:53,954: DEBUG - + ynh_app_setting set hotspot firmware_nonfree 0
2020-09-06 12:03:53,955: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:03:53,956: DEBUG - + ACTION=set
2020-09-06 12:03:53,956: DEBUG - + APP=hotspot
2020-09-06 12:03:53,957: DEBUG - + KEY=firmware_nonfree
2020-09-06 12:03:53,957: DEBUG - + VALUE=0
2020-09-06 12:03:53,958: DEBUG - + python2.7 -
2020-09-06 12:03:54,259: DEBUG - + [[ firmware_nonfree =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:03:54,362: INFO - [##+.................] > Configuring firewall...
2020-09-06 12:03:54,363: DEBUG - + echo '[##+.................] > Configuring firewall...'
2020-09-06 12:03:54,364: DEBUG - + ynh_exec_warn_less yunohost firewall allow --no-upnp --ipv6 UDP 547
2020-09-06 12:03:54,365: DEBUG - + eval yunohost firewall allow --no-upnp --ipv6 UDP 547
2020-09-06 12:03:54,365: DEBUG - ++ yunohost firewall allow --no-upnp --ipv6 UDP 547
2020-09-06 12:03:54,867: DEBUG - Le port 547 est déjà ouvert pour les connexions IPv6
2020-09-06 12:03:55,770: DEBUG - Pare-feu rechargé
2020-09-06 12:03:55,770: DEBUG - opened_ports:
2020-09-06 12:03:55,771: DEBUG -   - 22
2020-09-06 12:03:55,771: DEBUG -   - 25
2020-09-06 12:03:55,771: DEBUG -   - 53
2020-09-06 12:03:55,772: DEBUG -   - 67
2020-09-06 12:03:55,772: DEBUG -   - 80
2020-09-06 12:03:55,773: DEBUG -   - 443
2020-09-06 12:03:55,773: DEBUG -   - 547
2020-09-06 12:03:55,773: DEBUG -   - 587
2020-09-06 12:03:55,774: DEBUG -   - 993
2020-09-06 12:03:55,774: DEBUG -   - 5222
2020-09-06 12:03:55,774: DEBUG -   - 5269
2020-09-06 12:03:55,775: DEBUG -   - 5353
2020-09-06 12:03:55,875: DEBUG - + ynh_exec_warn_less yunohost firewall allow --no-upnp UDP 67
2020-09-06 12:03:55,876: DEBUG - + eval yunohost firewall allow --no-upnp UDP 67
2020-09-06 12:03:55,876: DEBUG - ++ yunohost firewall allow --no-upnp UDP 67
2020-09-06 12:03:56,378: DEBUG - Le port 67 est déjà ouvert pour les connexions IPv4
2020-09-06 12:03:56,378: DEBUG - Le port 67 est déjà ouvert pour les connexions IPv6
2020-09-06 12:03:57,283: DEBUG - Pare-feu rechargé
2020-09-06 12:03:57,284: DEBUG - opened_ports:
2020-09-06 12:03:57,284: DEBUG -   - 22
2020-09-06 12:03:57,284: DEBUG -   - 25
2020-09-06 12:03:57,285: DEBUG -   - 53
2020-09-06 12:03:57,285: DEBUG -   - 67
2020-09-06 12:03:57,285: DEBUG -   - 80
2020-09-06 12:03:57,286: DEBUG -   - 443
2020-09-06 12:03:57,286: DEBUG -   - 547
2020-09-06 12:03:57,286: DEBUG -   - 587
2020-09-06 12:03:57,287: DEBUG -   - 993
2020-09-06 12:03:57,287: DEBUG -   - 5222
2020-09-06 12:03:57,287: DEBUG -   - 5269
2020-09-06 12:03:57,288: DEBUG -   - 5353
2020-09-06 12:03:57,491: DEBUG - + echo '[###+................] > Installing firmware...'
2020-09-06 12:03:57,491: DEBUG - + export DEBIAN_FRONTEND=noninteractive
2020-09-06 12:03:57,492: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-09-06 12:03:57,492: DEBUG - + [[ 0 -eq 1 ]]
2020-09-06 12:03:57,493: INFO - [###+................] > Installing firmware...
2020-09-06 12:03:57,494: DEBUG - + packages=firmware-linux-free
2020-09-06 12:03:57,494: DEBUG - + mkdir -p /lib/firmware
2020-09-06 12:03:57,495: DEBUG - + install -b -o root -g root -m 0644 ../conf/firmware_htc-7010.fw /lib/firmware/htc_7010.fw
2020-09-06 12:03:57,496: DEBUG - + install -b -o root -g root -m 0644 ../conf/firmware_htc-9271.fw /lib/firmware/htc_9271.fw
2020-09-06 12:03:57,699: DEBUG - + echo '[####+...............] > Creating a MySQL database...'
2020-09-06 12:03:57,700: INFO - [####+...............] > Creating a MySQL database...
2020-09-06 12:03:57,702: DEBUG - + ynh_install_app_dependencies 'sipcalc hostapd iptables iw dnsmasq' firmware-linux-free
2020-09-06 12:03:57,702: DEBUG - + local 'dependencies=sipcalc hostapd iptables iw dnsmasq firmware-linux-free'
2020-09-06 12:03:57,703: DEBUG - ++ echo 'sipcalc hostapd iptables iw dnsmasq firmware-linux-free'
2020-09-06 12:03:57,703: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2020-09-06 12:03:57,704: DEBUG - + dependencies='sipcalc, hostapd, iptables, iw, dnsmasq, firmware-linux-free'
2020-09-06 12:03:57,704: DEBUG - + local 'dependencies=sipcalc, hostapd, iptables, iw, dnsmasq, firmware-linux-free'
2020-09-06 12:03:57,704: DEBUG - + local manifest_path=../manifest.json
2020-09-06 12:03:57,705: DEBUG - + '[' '!' -e ../manifest.json ']'
2020-09-06 12:03:57,705: DEBUG - ++ grep '\"version\": ' ../manifest.json
2020-09-06 12:03:57,706: DEBUG - ++ cut '--delimiter="' --fields=4
2020-09-06 12:03:57,706: DEBUG - + local version=1.2.0~ynh3
2020-09-06 12:03:57,707: DEBUG - + '[' 10 -eq 0 ']'
2020-09-06 12:03:57,707: DEBUG - + local dep_app=hotspot
2020-09-06 12:03:57,708: DEBUG - + [[ sipcalc, hostapd, iptables, iw, dnsmasq, firmware-linux-free =~ [<=>] ]]
2020-09-06 12:03:57,708: DEBUG - + echo sipcalc, hostapd, iptables, iw, dnsmasq, firmware-linux-free
2020-09-06 12:03:57,709: DEBUG - + grep --quiet php
2020-09-06 12:03:57,709: DEBUG - + cat
2020-09-06 12:03:57,710: DEBUG - + ynh_package_install_from_equivs /tmp/hotspot-ynh-deps.control
2020-09-06 12:03:57,710: DEBUG - + local controlfile=/tmp/hotspot-ynh-deps.control
2020-09-06 12:03:57,711: DEBUG - ++ grep '^Package: ' /tmp/hotspot-ynh-deps.control
2020-09-06 12:03:57,711: DEBUG - ++ cut '--delimiter= ' --fields=2
2020-09-06 12:03:57,712: DEBUG - + local pkgname=hotspot-ynh-deps
2020-09-06 12:03:57,712: DEBUG - ++ grep '^Version: ' /tmp/hotspot-ynh-deps.control
2020-09-06 12:03:57,713: DEBUG - ++ cut '--delimiter= ' --fields=2
2020-09-06 12:03:57,713: DEBUG - + local pkgversion=1.2.0~ynh3
2020-09-06 12:03:57,714: DEBUG - + [[ -z hotspot-ynh-deps ]]
2020-09-06 12:03:57,714: DEBUG - + [[ -z 1.2.0~ynh3 ]]
2020-09-06 12:03:57,715: DEBUG - + ynh_package_update
2020-09-06 12:03:57,715: DEBUG - + ynh_apt update
2020-09-06 12:03:57,716: DEBUG - + ynh_wait_dpkg_free
2020-09-06 12:03:57,917: DEBUG - + return 0
2020-09-06 12:03:57,918: DEBUG - + LC_ALL=C
2020-09-06 12:03:57,918: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-09-06 12:03:57,919: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2020-09-06 12:03:58,220: DEBUG - Hit:1 http://archive.raspberrypi.org/debian buster InRelease
2020-09-06 12:03:58,220: DEBUG - Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
2020-09-06 12:03:58,220: DEBUG - Hit:3 http://forge.yunohost.org/debian buster InRelease
2020-09-06 12:04:02,229: DEBUG - Reading package lists...
2020-09-06 12:04:03,107: DEBUG - ++ mktemp --directory
2020-09-06 12:04:03,209: DEBUG - + local TMPDIR=/tmp/tmp.8RYuO7h5U3
2020-09-06 12:04:03,209: DEBUG - + echo 10
2020-09-06 12:04:03,210: DEBUG - + ynh_wait_dpkg_free
2020-09-06 12:04:03,512: DEBUG - + return 0
2020-09-06 12:04:03,513: DEBUG - + cp /tmp/hotspot-ynh-deps.control /tmp/tmp.8RYuO7h5U3/control
2020-09-06 12:04:03,513: DEBUG - + cd /tmp/tmp.8RYuO7h5U3
2020-09-06 12:04:03,513: DEBUG - + LC_ALL=C
2020-09-06 12:04:03,514: DEBUG - + equivs-build ./control
2020-09-06 12:04:05,919: DEBUG - + dpkg --force-depends --install ./hotspot-ynh-deps_1.2.0~ynh3_all.deb
2020-09-06 12:04:06,020: DEBUG - Sélection du paquet hotspot-ynh-deps précédemment désélectionné.
2020-09-06 12:04:06,622: DEBUG - (Lecture de la base de données... 68029 fichiers et répertoires déjà installés.)
2020-09-06 12:04:06,723: DEBUG - Préparation du dépaquetage de .../hotspot-ynh-deps_1.2.0~ynh3_all.deb ...
2020-09-06 12:04:06,723: DEBUG - Dépaquetage de hotspot-ynh-deps (1.2.0~ynh3) ...
2020-09-06 12:04:06,824: DEBUG - dpkg: hotspot-ynh-deps : problèmes de dépendances, mais configuration comme demandé :
2020-09-06 12:04:06,825: DEBUG -  hotspot-ynh-deps dépend de sipcalc ; cependant :
2020-09-06 12:04:06,825: DEBUG -   Le paquet sipcalc n'est pas installé.
2020-09-06 12:04:06,826: DEBUG -  hotspot-ynh-deps dépend de hostapd ; cependant :
2020-09-06 12:04:06,826: DEBUG -   Le paquet hostapd n'est pas installé.
2020-09-06 12:04:06,827: DEBUG - 
2020-09-06 12:04:06,827: DEBUG - Paramétrage de hotspot-ynh-deps (1.2.0~ynh3) ...
2020-09-06 12:04:06,928: DEBUG - + ynh_package_install --fix-broken
2020-09-06 12:04:06,929: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2020-09-06 12:04:06,929: DEBUG - + ynh_wait_dpkg_free
2020-09-06 12:04:07,231: DEBUG - + return 0
2020-09-06 12:04:07,231: DEBUG - + LC_ALL=C
2020-09-06 12:04:07,232: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-09-06 12:04:07,232: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2020-09-06 12:04:08,235: DEBUG - Reading package lists...
2020-09-06 12:04:09,237: DEBUG - Building dependency tree...
2020-09-06 12:04:09,338: DEBUG - Reading state information...
2020-09-06 12:04:09,841: DEBUG - Correcting dependencies... Done
2020-09-06 12:04:10,543: DEBUG - The following additional packages will be installed:
2020-09-06 12:04:10,544: DEBUG -   hostapd sipcalc
2020-09-06 12:04:10,545: DEBUG - The following NEW packages will be installed:
2020-09-06 12:04:10,647: DEBUG -   hostapd sipcalc
2020-09-06 12:04:12,150: DEBUG - 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
2020-09-06 12:04:12,151: DEBUG - Need to get 0 B/657 kB of archives.
2020-09-06 12:04:12,151: DEBUG - After this operation, 1795 kB of additional disk space will be used.
2020-09-06 12:04:12,252: DEBUG - Selecting previously unselected package hostapd.
2020-09-06 12:04:12,353: DEBUG - (Reading database ... 68033 files and directories currently installed.)
2020-09-06 12:04:12,353: DEBUG - Preparing to unpack .../hostapd_2%3a2.7+git20190128+0c1e29f-6+deb10u2_armhf.deb ...
2020-09-06 12:04:12,354: DEBUG - Unpacking hostapd (2:2.7+git20190128+0c1e29f-6+deb10u2) ...
2020-09-06 12:04:12,655: DEBUG - Selecting previously unselected package sipcalc.
2020-09-06 12:04:12,756: DEBUG - Preparing to unpack .../sipcalc_1.1.6-1_armhf.deb ...
2020-09-06 12:04:12,756: DEBUG - Unpacking sipcalc (1.1.6-1) ...
2020-09-06 12:04:12,957: DEBUG - Setting up sipcalc (1.1.6-1) ...
2020-09-06 12:04:13,058: DEBUG - Setting up hostapd (2:2.7+git20190128+0c1e29f-6+deb10u2) ...
2020-09-06 12:04:14,762: WARNING - Created symlink /etc/systemd/system/multi-user.target.wants/hostapd.service -> /lib/systemd/system/hostapd.service.
2020-09-06 12:04:15,766: WARNING - Job for hostapd.service failed because the control process exited with error code.
2020-09-06 12:04:15,767: WARNING - See "systemctl status hostapd.service" and "journalctl -xe" for details.
2020-09-06 12:04:15,868: WARNING - Created symlink /etc/systemd/system/hostapd.service -> /dev/null.
2020-09-06 12:04:16,370: DEBUG - Processing triggers for man-db (2.8.5-2) ...
2020-09-06 12:04:17,172: DEBUG - Processing triggers for systemd (241-7~deb10u4+rpi1) ...
2020-09-06 12:04:18,275: DEBUG - + [[ -n /tmp/tmp.8RYuO7h5U3 ]]
2020-09-06 12:04:18,276: DEBUG - + rm --recursive --force /tmp/tmp.8RYuO7h5U3
2020-09-06 12:04:18,276: DEBUG - + ynh_package_is_installed hotspot-ynh-deps
2020-09-06 12:04:18,279: DEBUG - + ynh_wait_dpkg_free
2020-09-06 12:04:18,481: DEBUG - + return 0
2020-09-06 12:04:18,481: DEBUG - + dpkg-query --show '--showformat=${Status}' hotspot-ynh-deps
2020-09-06 12:04:18,481: DEBUG - + grep --count 'ok installed'
2020-09-06 12:04:18,582: DEBUG - + rm /tmp/hotspot-ynh-deps.control
2020-09-06 12:04:18,583: DEBUG - + ynh_app_setting_set --app=hotspot --key=apt_dependencies '--value=sipcalc, hostapd, iptables, iw, dnsmasq, firmware-linux-free'
2020-09-06 12:04:18,787: DEBUG - + ynh_app_setting set hotspot apt_dependencies 'sipcalc, hostapd, iptables, iw, dnsmasq, firmware-linux-free'
2020-09-06 12:04:18,787: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:18,788: DEBUG - + ACTION=set
2020-09-06 12:04:18,788: DEBUG - + APP=hotspot
2020-09-06 12:04:18,788: DEBUG - + KEY=apt_dependencies
2020-09-06 12:04:18,789: DEBUG - + VALUE='sipcalc, hostapd, iptables, iw, dnsmasq, firmware-linux-free'
2020-09-06 12:04:18,789: DEBUG - + python2.7 -
2020-09-06 12:04:18,990: DEBUG - + [[ apt_dependencies =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:19,093: DEBUG - + echo '[#####+..............] > Configuring nginx web server...'
2020-09-06 12:04:19,094: DEBUG - + ynh_add_nginx_config
2020-09-06 12:04:19,094: DEBUG - + finalnginxconf=/etc/nginx/conf.d/maindomain.tld.d/hotspot.conf
2020-09-06 12:04:19,094: DEBUG - + local others_var=
2020-09-06 12:04:19,095: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/maindomain.tld.d/hotspot.conf
2020-09-06 12:04:19,098: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_hotspot.conf
2020-09-06 12:04:19,098: DEBUG - ++ ynh_app_setting_get --app=hotspot --key=checksum__etc_nginx_conf.d_maindomain.tld.d_hotspot.conf
2020-09-06 12:04:19,201: DEBUG - ++ ynh_app_setting get hotspot checksum__etc_nginx_conf.d_maindomain.tld.d_hotspot.conf
2020-09-06 12:04:19,202: INFO - [#####+..............] > Configuring nginx web server...
2020-09-06 12:04:19,203: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
2020-09-06 12:04:19,204: DEBUG - ++ ACTION=get
2020-09-06 12:04:19,204: DEBUG - ++ APP=hotspot
2020-09-06 12:04:19,204: DEBUG - ++ KEY=checksum__etc_nginx_conf.d_maindomain.tld.d_hotspot.conf
2020-09-06 12:04:19,205: DEBUG - ++ VALUE=
2020-09-06 12:04:19,205: DEBUG - ++ python2.7 -
2020-09-06 12:04:19,408: DEBUG - ++ [[ checksum__etc_nginx_conf.d_maindomain.tld.d_hotspot.conf =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:19,408: DEBUG - + local checksum_value=
2020-09-06 12:04:19,409: DEBUG - + backup_file_checksum=
2020-09-06 12:04:19,409: DEBUG - + '[' -n '' ']'
2020-09-06 12:04:19,410: DEBUG - + cp ../conf/nginx.conf /etc/nginx/conf.d/maindomain.tld.d/hotspot.conf
2020-09-06 12:04:19,411: DEBUG - + test -n /wifiadmin
2020-09-06 12:04:19,411: DEBUG - + local path_url_slash_less=/wifiadmin
2020-09-06 12:04:19,412: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/wifiadmin/ --target_file=/etc/nginx/conf.d/maindomain.tld.d/hotspot.conf
2020-09-06 12:04:19,717: DEBUG - + local delimit=@
2020-09-06 12:04:19,717: DEBUG - + match_string=__PATH__/
2020-09-06 12:04:19,718: DEBUG - + replace_string=/wifiadmin/
2020-09-06 12:04:19,719: DEBUG - + sed --in-place s@__PATH__/@/wifiadmin/@g /etc/nginx/conf.d/maindomain.tld.d/hotspot.conf
2020-09-06 12:04:19,719: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/wifiadmin --target_file=/etc/nginx/conf.d/maindomain.tld.d/hotspot.conf
2020-09-06 12:04:19,925: DEBUG - + local delimit=@
2020-09-06 12:04:19,925: DEBUG - + match_string=__PATH__
2020-09-06 12:04:19,926: DEBUG - + replace_string=/wifiadmin
2020-09-06 12:04:19,927: DEBUG - + sed --in-place s@__PATH__@/wifiadmin@g /etc/nginx/conf.d/maindomain.tld.d/hotspot.conf
2020-09-06 12:04:19,927: DEBUG - + test -n maindomain.tld
2020-09-06 12:04:19,928: DEBUG - + ynh_replace_string --match_string=__DOMAIN__ --replace_string=maindomain.tld --target_file=/etc/nginx/conf.d/maindomain.tld.d/hotspot.conf
2020-09-06 12:04:20,233: DEBUG - + local delimit=@
2020-09-06 12:04:20,234: DEBUG - + match_string=__DOMAIN__
2020-09-06 12:04:20,235: DEBUG - + replace_string=maindomain.tld
2020-09-06 12:04:20,235: DEBUG - + sed --in-place s@__DOMAIN__@maindomain.tld@g /etc/nginx/conf.d/maindomain.tld.d/hotspot.conf
2020-09-06 12:04:20,236: DEBUG - + test -n ''
2020-09-06 12:04:20,236: DEBUG - + test -n hotspot
2020-09-06 12:04:20,237: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=hotspot --target_file=/etc/nginx/conf.d/maindomain.tld.d/hotspot.conf
2020-09-06 12:04:20,542: DEBUG - + local delimit=@
2020-09-06 12:04:20,543: DEBUG - + match_string=__NAME__
2020-09-06 12:04:20,543: DEBUG - + replace_string=hotspot
2020-09-06 12:04:20,544: DEBUG - + sed --in-place s@__NAME__@hotspot@g /etc/nginx/conf.d/maindomain.tld.d/hotspot.conf
2020-09-06 12:04:20,545: DEBUG - + test -n /var/www/hotspot
2020-09-06 12:04:20,545: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/hotspot --target_file=/etc/nginx/conf.d/maindomain.tld.d/hotspot.conf
2020-09-06 12:04:20,750: DEBUG - + local delimit=@
2020-09-06 12:04:20,751: DEBUG - + match_string=__FINALPATH__
2020-09-06 12:04:20,751: DEBUG - + replace_string=/var/www/hotspot
2020-09-06 12:04:20,752: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/hotspot@g /etc/nginx/conf.d/maindomain.tld.d/hotspot.conf
2020-09-06 12:04:20,853: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/maindomain.tld.d/hotspot.conf
2020-09-06 12:04:21,059: DEBUG - + local delimit=@
2020-09-06 12:04:21,060: DEBUG - + match_string=__PHPVERSION__
2020-09-06 12:04:21,060: DEBUG - + replace_string=7.3
2020-09-06 12:04:21,061: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/maindomain.tld.d/hotspot.conf
2020-09-06 12:04:21,062: DEBUG - + '[' /wifiadmin '!=' / ']'
2020-09-06 12:04:21,062: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/maindomain.tld.d/hotspot.conf
2020-09-06 12:04:21,368: DEBUG - + local delimit=@
2020-09-06 12:04:21,369: DEBUG - + match_string='^#sub_path_only'
2020-09-06 12:04:21,370: DEBUG - + replace_string=
2020-09-06 12:04:21,370: DEBUG - + sed --in-place 's@^#sub_path_only@@g' /etc/nginx/conf.d/maindomain.tld.d/hotspot.conf
2020-09-06 12:04:21,371: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/hotspot.conf
2020-09-06 12:04:21,377: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_hotspot.conf
2020-09-06 12:04:21,378: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/hotspot.conf
2020-09-06 12:04:21,378: DEBUG - ++ cut '--delimiter= ' --fields=1
2020-09-06 12:04:21,379: DEBUG - + ynh_app_setting_set --app=hotspot --key=checksum__etc_nginx_conf.d_maindomain.tld.d_hotspot.conf --value=dbcc9d683c6c6230baa846c567744d3c
2020-09-06 12:04:21,685: DEBUG - + ynh_app_setting set hotspot checksum__etc_nginx_conf.d_maindomain.tld.d_hotspot.conf dbcc9d683c6c6230baa846c567744d3c
2020-09-06 12:04:21,685: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:21,686: DEBUG - + ACTION=set
2020-09-06 12:04:21,686: DEBUG - + APP=hotspot
2020-09-06 12:04:21,687: DEBUG - + KEY=checksum__etc_nginx_conf.d_maindomain.tld.d_hotspot.conf
2020-09-06 12:04:21,687: DEBUG - + VALUE=dbcc9d683c6c6230baa846c567744d3c
2020-09-06 12:04:21,688: DEBUG - + python2.7 -
2020-09-06 12:04:21,989: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_hotspot.conf =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:21,989: DEBUG - + '[' -n '' ']'
2020-09-06 12:04:21,990: DEBUG - + unset backup_file_checksum
2020-09-06 12:04:21,990: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2020-09-06 12:04:22,196: DEBUG - + service_name=nginx
2020-09-06 12:04:22,196: DEBUG - + action=reload
2020-09-06 12:04:22,197: DEBUG - + line_match=
2020-09-06 12:04:22,197: DEBUG - + length=20
2020-09-06 12:04:22,197: DEBUG - + log_path=/var/log/nginx/nginx.log
2020-09-06 12:04:22,198: DEBUG - + timeout=300
2020-09-06 12:04:22,198: DEBUG - + [[ -n '' ]]
2020-09-06 12:04:22,198: DEBUG - + '[' reload == reload ']'
2020-09-06 12:04:22,199: DEBUG - + action=reload-or-restart
2020-09-06 12:04:22,199: DEBUG - + systemctl reload-or-restart nginx
2020-09-06 12:04:22,300: DEBUG - + [[ -n '' ]]
2020-09-06 12:04:22,504: DEBUG - + echo '[######+.............] > Configuring system user...'
2020-09-06 12:04:22,505: DEBUG - + ynh_system_user_create --username=hotspot
2020-09-06 12:04:22,608: DEBUG - + use_shell=0
2020-09-06 12:04:22,609: INFO - [######+.............] > Configuring system user...
2020-09-06 12:04:22,610: DEBUG - + home_dir=
2020-09-06 12:04:22,610: DEBUG - + ynh_system_user_exists hotspot
2020-09-06 12:04:22,614: DEBUG - + getent passwd hotspot
2020-09-06 12:04:22,614: DEBUG - + '[' -n '' ']'
2020-09-06 12:04:22,615: DEBUG - + local user_home_dir=--no-create-home
2020-09-06 12:04:22,615: DEBUG - + '[' 0 -eq 1 ']'
2020-09-06 12:04:22,615: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2020-09-06 12:04:22,616: DEBUG - + useradd --no-create-home --system --user-group hotspot --shell /usr/sbin/nologin
2020-09-06 12:04:22,817: DEBUG - + install -b -o root -g root -m 0440 ../conf/sudoers.conf /etc/sudoers.d/hotspot_ynh
2020-09-06 12:04:22,817: DEBUG - + ynh_replace_string --match_string=__HOTSPOT_SYSUSER__ --replace_string=hotspot --target_file=/etc/sudoers.d/hotspot_ynh
2020-09-06 12:04:22,920: DEBUG - + local delimit=@
2020-09-06 12:04:22,921: DEBUG - + match_string=__HOTSPOT_SYSUSER__
2020-09-06 12:04:22,921: DEBUG - + replace_string=hotspot
2020-09-06 12:04:22,921: DEBUG - + sed --in-place s@__HOTSPOT_SYSUSER__@hotspot@g /etc/sudoers.d/hotspot_ynh
2020-09-06 12:04:23,124: INFO - [#######+............] > Configuring php-fpm...
2020-09-06 12:04:23,126: DEBUG - + echo '[#######+............] > Configuring php-fpm...'
2020-09-06 12:04:23,126: DEBUG - + ynh_add_fpm_config
2020-09-06 12:04:23,131: DEBUG - + package=
2020-09-06 12:04:23,131: DEBUG - + use_template=1
2020-09-06 12:04:23,131: DEBUG - + usage=
2020-09-06 12:04:23,132: DEBUG - + footprint=
2020-09-06 12:04:23,132: DEBUG - + '[' -n '' ']'
2020-09-06 12:04:23,133: DEBUG - + '[' -n '' ']'
2020-09-06 12:04:23,133: DEBUG - + dedicated_service=0
2020-09-06 12:04:23,133: DEBUG - + phpversion=7.3
2020-09-06 12:04:23,134: DEBUG - + '[' 7.3 '!=' 7.3 ']'
2020-09-06 12:04:23,134: DEBUG - + '[' -n '' ']'
2020-09-06 12:04:23,134: DEBUG - + '[' 0 -eq 1 ']'
2020-09-06 12:04:23,135: DEBUG - + local fpm_service=php7.3-fpm
2020-09-06 12:04:23,135: DEBUG - + local fpm_config_dir=/etc/php/7.3/fpm
2020-09-06 12:04:23,135: DEBUG - ++ ynh_get_debian_release
2020-09-06 12:04:23,135: DEBUG - +++ lsb_release --codename --short
2020-09-06 12:04:23,236: DEBUG - ++ echo buster
2020-09-06 12:04:23,237: DEBUG - + '[' buster == jessie ']'
2020-09-06 12:04:23,238: DEBUG - + mkdir --parents /etc/php/7.3/fpm/pool.d
2020-09-06 12:04:23,238: DEBUG - + ynh_app_setting_set --app=hotspot --key=fpm_config_dir --value=/etc/php/7.3/fpm
2020-09-06 12:04:23,544: DEBUG - + ynh_app_setting set hotspot fpm_config_dir /etc/php/7.3/fpm
2020-09-06 12:04:23,545: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:23,545: DEBUG - + ACTION=set
2020-09-06 12:04:23,546: DEBUG - + APP=hotspot
2020-09-06 12:04:23,546: DEBUG - + KEY=fpm_config_dir
2020-09-06 12:04:23,547: DEBUG - + VALUE=/etc/php/7.3/fpm
2020-09-06 12:04:23,547: DEBUG - + python2.7 -
2020-09-06 12:04:23,748: DEBUG - + [[ fpm_config_dir =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:23,749: DEBUG - + ynh_app_setting_set --app=hotspot --key=fpm_service --value=php7.3-fpm
2020-09-06 12:04:23,952: DEBUG - + ynh_app_setting set hotspot fpm_service php7.3-fpm
2020-09-06 12:04:23,953: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:23,953: DEBUG - + ACTION=set
2020-09-06 12:04:23,954: DEBUG - + APP=hotspot
2020-09-06 12:04:23,954: DEBUG - + KEY=fpm_service
2020-09-06 12:04:23,954: DEBUG - + VALUE=php7.3-fpm
2020-09-06 12:04:23,955: DEBUG - + python2.7 -
2020-09-06 12:04:24,156: DEBUG - + [[ fpm_service =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:24,156: DEBUG - + ynh_app_setting_set --app=hotspot --key=fpm_dedicated_service --value=0
2020-09-06 12:04:24,360: DEBUG - + ynh_app_setting set hotspot fpm_dedicated_service 0
2020-09-06 12:04:24,361: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:24,362: DEBUG - + ACTION=set
2020-09-06 12:04:24,362: DEBUG - + APP=hotspot
2020-09-06 12:04:24,363: DEBUG - + KEY=fpm_dedicated_service
2020-09-06 12:04:24,363: DEBUG - + VALUE=0
2020-09-06 12:04:24,364: DEBUG - + python2.7 -
2020-09-06 12:04:24,565: DEBUG - + [[ fpm_dedicated_service =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:24,566: DEBUG - + ynh_app_setting_set --app=hotspot --key=phpversion --value=7.3
2020-09-06 12:04:24,770: DEBUG - + ynh_app_setting set hotspot phpversion 7.3
2020-09-06 12:04:24,770: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:24,771: DEBUG - + ACTION=set
2020-09-06 12:04:24,771: DEBUG - + APP=hotspot
2020-09-06 12:04:24,772: DEBUG - + KEY=phpversion
2020-09-06 12:04:24,772: DEBUG - + VALUE=7.3
2020-09-06 12:04:24,773: DEBUG - + python2.7 -
2020-09-06 12:04:24,974: DEBUG - + [[ phpversion =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:24,974: DEBUG - + finalphpconf=/etc/php/7.3/fpm/pool.d/hotspot.conf
2020-09-06 12:04:24,975: DEBUG - + '[' 0 -eq 1 ']'
2020-09-06 12:04:24,975: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.3/fpm/pool.d/hotspot.conf
2020-09-06 12:04:25,078: DEBUG - + local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_hotspot.conf
2020-09-06 12:04:25,079: DEBUG - ++ ynh_app_setting_get --app=hotspot --key=checksum__etc_php_7.3_fpm_pool.d_hotspot.conf
2020-09-06 12:04:25,082: DEBUG - ++ ynh_app_setting get hotspot checksum__etc_php_7.3_fpm_pool.d_hotspot.conf
2020-09-06 12:04:25,082: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
2020-09-06 12:04:25,083: DEBUG - ++ ACTION=get
2020-09-06 12:04:25,083: DEBUG - ++ APP=hotspot
2020-09-06 12:04:25,083: DEBUG - ++ KEY=checksum__etc_php_7.3_fpm_pool.d_hotspot.conf
2020-09-06 12:04:25,084: DEBUG - ++ VALUE=
2020-09-06 12:04:25,084: DEBUG - ++ python2.7 -
2020-09-06 12:04:25,385: DEBUG - ++ [[ checksum__etc_php_7.3_fpm_pool.d_hotspot.conf =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:25,386: DEBUG - + local checksum_value=
2020-09-06 12:04:25,386: DEBUG - + backup_file_checksum=
2020-09-06 12:04:25,387: DEBUG - + '[' -n '' ']'
2020-09-06 12:04:25,387: DEBUG - + '[' 1 -eq 1 ']'
2020-09-06 12:04:25,387: DEBUG - + local phpfpm_path=../conf/php-fpm.conf
2020-09-06 12:04:25,388: DEBUG - + '[' '!' -e ../conf/php-fpm.conf ']'
2020-09-06 12:04:25,388: DEBUG - + '[' -e ../conf/php-fpm.conf ']'
2020-09-06 12:04:25,388: DEBUG - + cp ../conf/php-fpm.conf /etc/php/7.3/fpm/pool.d/hotspot.conf
2020-09-06 12:04:25,389: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=hotspot --target_file=/etc/php/7.3/fpm/pool.d/hotspot.conf
2020-09-06 12:04:25,493: DEBUG - + local delimit=@
2020-09-06 12:04:25,493: DEBUG - + match_string=__NAMETOCHANGE__
2020-09-06 12:04:25,494: DEBUG - + replace_string=hotspot
2020-09-06 12:04:25,494: DEBUG - + sed --in-place s@__NAMETOCHANGE__@hotspot@g /etc/php/7.3/fpm/pool.d/hotspot.conf
2020-09-06 12:04:25,595: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/hotspot --target_file=/etc/php/7.3/fpm/pool.d/hotspot.conf
2020-09-06 12:04:25,699: DEBUG - + local delimit=@
2020-09-06 12:04:25,699: DEBUG - + match_string=__FINALPATH__
2020-09-06 12:04:25,700: DEBUG - + replace_string=/var/www/hotspot
2020-09-06 12:04:25,700: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/hotspot@g /etc/php/7.3/fpm/pool.d/hotspot.conf
2020-09-06 12:04:25,701: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=hotspot --target_file=/etc/php/7.3/fpm/pool.d/hotspot.conf
2020-09-06 12:04:25,905: DEBUG - + local delimit=@
2020-09-06 12:04:25,905: DEBUG - + match_string=__USER__
2020-09-06 12:04:25,906: DEBUG - + replace_string=hotspot
2020-09-06 12:04:25,906: DEBUG - + sed --in-place s@__USER__@hotspot@g /etc/php/7.3/fpm/pool.d/hotspot.conf
2020-09-06 12:04:25,906: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/hotspot.conf
2020-09-06 12:04:26,111: DEBUG - + local delimit=@
2020-09-06 12:04:26,111: DEBUG - + match_string=__PHPVERSION__
2020-09-06 12:04:26,112: DEBUG - + replace_string=7.3
2020-09-06 12:04:26,112: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/php/7.3/fpm/pool.d/hotspot.conf
2020-09-06 12:04:26,112: DEBUG - + chown root: /etc/php/7.3/fpm/pool.d/hotspot.conf
2020-09-06 12:04:26,113: DEBUG - + ynh_store_file_checksum --file=/etc/php/7.3/fpm/pool.d/hotspot.conf
2020-09-06 12:04:26,215: DEBUG - + local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_hotspot.conf
2020-09-06 12:04:26,215: DEBUG - ++ md5sum /etc/php/7.3/fpm/pool.d/hotspot.conf
2020-09-06 12:04:26,216: DEBUG - ++ cut '--delimiter= ' --fields=1
2020-09-06 12:04:26,216: DEBUG - + ynh_app_setting_set --app=hotspot --key=checksum__etc_php_7.3_fpm_pool.d_hotspot.conf --value=07c908d360ddd937fa9bb02070d65f36
2020-09-06 12:04:26,320: DEBUG - + ynh_app_setting set hotspot checksum__etc_php_7.3_fpm_pool.d_hotspot.conf 07c908d360ddd937fa9bb02070d65f36
2020-09-06 12:04:26,320: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:26,321: DEBUG - + ACTION=set
2020-09-06 12:04:26,321: DEBUG - + APP=hotspot
2020-09-06 12:04:26,321: DEBUG - + KEY=checksum__etc_php_7.3_fpm_pool.d_hotspot.conf
2020-09-06 12:04:26,322: DEBUG - + VALUE=07c908d360ddd937fa9bb02070d65f36
2020-09-06 12:04:26,322: DEBUG - + python2.7 -
2020-09-06 12:04:26,624: DEBUG - + [[ checksum__etc_php_7.3_fpm_pool.d_hotspot.conf =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:26,624: DEBUG - + '[' -n '' ']'
2020-09-06 12:04:26,625: DEBUG - + unset backup_file_checksum
2020-09-06 12:04:26,625: DEBUG - + '[' -e ../conf/php-fpm.ini ']'
2020-09-06 12:04:26,626: DEBUG - + '[' 0 -eq 1 ']'
2020-09-06 12:04:26,626: DEBUG - + ynh_systemd_action --service_name=php7.3-fpm --action=reload
2020-09-06 12:04:26,831: DEBUG - + service_name=php7.3-fpm
2020-09-06 12:04:26,832: DEBUG - + action=reload
2020-09-06 12:04:26,832: DEBUG - + line_match=
2020-09-06 12:04:26,833: DEBUG - + length=20
2020-09-06 12:04:26,833: DEBUG - + log_path=/var/log/php7.3-fpm/php7.3-fpm.log
2020-09-06 12:04:26,833: DEBUG - + timeout=300
2020-09-06 12:04:26,834: DEBUG - + [[ -n '' ]]
2020-09-06 12:04:26,834: DEBUG - + '[' reload == reload ']'
2020-09-06 12:04:26,834: DEBUG - + action=reload-or-restart
2020-09-06 12:04:26,835: DEBUG - + systemctl reload-or-restart php7.3-fpm
2020-09-06 12:04:26,942: DEBUG - + [[ -n '' ]]
2020-09-06 12:04:26,943: DEBUG - ++ ynh_app_setting_get --app=hotspot --key=phpversion
2020-09-06 12:04:27,047: DEBUG - ++ ynh_app_setting get hotspot phpversion
2020-09-06 12:04:27,048: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
2020-09-06 12:04:27,048: DEBUG - ++ ACTION=get
2020-09-06 12:04:27,049: DEBUG - ++ APP=hotspot
2020-09-06 12:04:27,049: DEBUG - ++ KEY=phpversion
2020-09-06 12:04:27,050: DEBUG - ++ VALUE=
2020-09-06 12:04:27,050: DEBUG - ++ python2.7 -
2020-09-06 12:04:27,251: DEBUG - ++ [[ phpversion =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:27,252: DEBUG - + phpversion=7.3
2020-09-06 12:04:27,354: DEBUG - + echo '[########++..........] > Installing custom script...'
2020-09-06 12:04:27,355: DEBUG - + install -o root -g root -m 0755 ../conf/iw_multissid /usr/local/bin/
2020-09-06 12:04:27,356: DEBUG - + install -o root -g root -m 0755 ../conf/iw_devices /usr/local/bin/
2020-09-06 12:04:27,356: DEBUG - + install -o root -g root -m 0755 ../conf/iw_ssids /usr/local/bin/
2020-09-06 12:04:27,457: DEBUG - + install -o root -g root -m 0755 ../conf/ipv6_expanded /usr/local/bin/
2020-09-06 12:04:27,457: INFO - [########++..........] > Installing custom script...
2020-09-06 12:04:27,458: DEBUG - + install -o root -g root -m 0755 ../conf/ipv6_compressed /usr/local/bin/
2020-09-06 12:04:27,459: DEBUG - + [[ ! -v ip6_net ]]
2020-09-06 12:04:27,459: DEBUG - + ip6_net=none
2020-09-06 12:04:27,459: DEBUG - + ip6_addr=none
2020-09-06 12:04:27,460: DEBUG - + [[ -e /tmp/.ynh-vpnclient-started ]]
2020-09-06 12:04:27,460: DEBUG - ++ bash ../conf/iw_devices
2020-09-06 12:04:27,461: DEBUG - ++ awk '-F|' '{ print $1 }'
2020-09-06 12:04:27,461: DEBUG - + wifi_device=wlan1
2020-09-06 12:04:27,461: DEBUG - + ynh_app_setting_set --app=hotspot --key=multissid --value=1
2020-09-06 12:04:27,666: DEBUG - + ynh_app_setting set hotspot multissid 1
2020-09-06 12:04:27,666: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:27,667: DEBUG - + ACTION=set
2020-09-06 12:04:27,667: DEBUG - + APP=hotspot
2020-09-06 12:04:27,667: DEBUG - + KEY=multissid
2020-09-06 12:04:27,668: DEBUG - + VALUE=1
2020-09-06 12:04:27,668: DEBUG - + python2.7 -
2020-09-06 12:04:27,869: DEBUG - + [[ multissid =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:27,870: DEBUG - + ynh_app_setting_set --app=hotspot --key=wifi_ssid --value=monWifiPropre
2020-09-06 12:04:28,074: DEBUG - + ynh_app_setting set hotspot wifi_ssid monWifiPropre
2020-09-06 12:04:28,075: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:28,075: DEBUG - + ACTION=set
2020-09-06 12:04:28,075: DEBUG - + APP=hotspot
2020-09-06 12:04:28,076: DEBUG - + KEY=wifi_ssid
2020-09-06 12:04:28,076: DEBUG - + VALUE=monWifiPropre
2020-09-06 12:04:28,077: DEBUG - + python2.7 -
2020-09-06 12:04:28,378: DEBUG - + [[ wifi_ssid =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:28,378: DEBUG - + ynh_app_setting_set --app=hotspot --key=wifi_secure --value=1
2020-09-06 12:04:28,582: DEBUG - + ynh_app_setting set hotspot wifi_secure 1
2020-09-06 12:04:28,583: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:28,583: DEBUG - + ACTION=set
2020-09-06 12:04:28,584: DEBUG - + APP=hotspot
2020-09-06 12:04:28,584: DEBUG - + KEY=wifi_secure
2020-09-06 12:04:28,584: DEBUG - + VALUE=1
2020-09-06 12:04:28,585: DEBUG - + python2.7 -
2020-09-06 12:04:28,786: DEBUG - + [[ wifi_secure =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:28,786: DEBUG - + ynh_app_setting_set --app=hotspot --key=wifi_passphrase --value=**********
2020-09-06 12:04:28,990: DEBUG - + ynh_app_setting set hotspot wifi_passphrase **********
2020-09-06 12:04:28,991: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:28,991: DEBUG - + ACTION=set
2020-09-06 12:04:28,992: DEBUG - + APP=hotspot
2020-09-06 12:04:28,993: DEBUG - + KEY=wifi_passphrase
2020-09-06 12:04:28,993: DEBUG - + VALUE=**********
2020-09-06 12:04:28,993: DEBUG - + python2.7 -
2020-09-06 12:04:29,295: DEBUG - + [[ wifi_passphrase =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:29,295: DEBUG - + ynh_app_setting_set --app=hotspot --key=wifi_device --value=wlan1
2020-09-06 12:04:29,399: DEBUG - + ynh_app_setting set hotspot wifi_device wlan1
2020-09-06 12:04:29,400: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:29,400: DEBUG - + ACTION=set
2020-09-06 12:04:29,400: DEBUG - + APP=hotspot
2020-09-06 12:04:29,401: DEBUG - + KEY=wifi_device
2020-09-06 12:04:29,401: DEBUG - + VALUE=wlan1
2020-09-06 12:04:29,401: DEBUG - + python2.7 -
2020-09-06 12:04:29,703: DEBUG - + [[ wifi_device =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:29,703: DEBUG - + ynh_app_setting_set --app=hotspot --key=wifi_channel --value=6
2020-09-06 12:04:29,907: DEBUG - + ynh_app_setting set hotspot wifi_channel 6
2020-09-06 12:04:29,907: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:29,908: DEBUG - + ACTION=set
2020-09-06 12:04:29,908: DEBUG - + APP=hotspot
2020-09-06 12:04:29,908: DEBUG - + KEY=wifi_channel
2020-09-06 12:04:29,909: DEBUG - + VALUE=6
2020-09-06 12:04:29,909: DEBUG - + python2.7 -
2020-09-06 12:04:30,110: DEBUG - + [[ wifi_channel =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:30,111: DEBUG - + ynh_app_setting_set --app=hotspot --key=ip6_addr --value=none
2020-09-06 12:04:30,315: DEBUG - + ynh_app_setting set hotspot ip6_addr none
2020-09-06 12:04:30,316: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:30,316: DEBUG - + ACTION=set
2020-09-06 12:04:30,317: DEBUG - + APP=hotspot
2020-09-06 12:04:30,317: DEBUG - + KEY=ip6_addr
2020-09-06 12:04:30,317: DEBUG - + VALUE=none
2020-09-06 12:04:30,318: DEBUG - + python2.7 -
2020-09-06 12:04:30,519: DEBUG - + [[ ip6_addr =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:30,519: DEBUG - + ynh_app_setting_set --app=hotspot --key=ip6_firewall --value=1
2020-09-06 12:04:30,725: DEBUG - + ynh_app_setting set hotspot ip6_firewall 1
2020-09-06 12:04:30,725: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:30,726: DEBUG - + ACTION=set
2020-09-06 12:04:30,726: DEBUG - + APP=hotspot
2020-09-06 12:04:30,726: DEBUG - + KEY=ip6_firewall
2020-09-06 12:04:30,727: DEBUG - + VALUE=1
2020-09-06 12:04:30,727: DEBUG - + python2.7 -
2020-09-06 12:04:30,928: DEBUG - + [[ ip6_firewall =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:30,929: DEBUG - + ynh_app_setting_set --app=hotspot --key=ip6_net --value=none
2020-09-06 12:04:31,133: DEBUG - + ynh_app_setting set hotspot ip6_net none
2020-09-06 12:04:31,133: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:31,134: DEBUG - + ACTION=set
2020-09-06 12:04:31,134: DEBUG - + APP=hotspot
2020-09-06 12:04:31,134: DEBUG - + KEY=ip6_net
2020-09-06 12:04:31,134: DEBUG - + VALUE=none
2020-09-06 12:04:31,135: DEBUG - + python2.7 -
2020-09-06 12:04:31,436: DEBUG - + [[ ip6_net =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:31,437: DEBUG - + ynh_app_setting_set --app=hotspot --key=ip6_dns0 --value=2001:913::8
2020-09-06 12:04:31,641: DEBUG - + ynh_app_setting set hotspot ip6_dns0 2001:913::8
2020-09-06 12:04:31,641: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:31,642: DEBUG - + ACTION=set
2020-09-06 12:04:31,642: DEBUG - + APP=hotspot
2020-09-06 12:04:31,643: DEBUG - + KEY=ip6_dns0
2020-09-06 12:04:31,643: DEBUG - + VALUE=2001:913::8
2020-09-06 12:04:31,644: DEBUG - + python2.7 -
2020-09-06 12:04:31,845: DEBUG - + [[ ip6_dns0 =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:31,846: DEBUG - + ynh_app_setting_set --app=hotspot --key=ip6_dns1 --value=2001:910:800::12
2020-09-06 12:04:32,049: DEBUG - + ynh_app_setting set hotspot ip6_dns1 2001:910:800::12
2020-09-06 12:04:32,050: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:32,051: DEBUG - + ACTION=set
2020-09-06 12:04:32,051: DEBUG - + APP=hotspot
2020-09-06 12:04:32,051: DEBUG - + KEY=ip6_dns1
2020-09-06 12:04:32,052: DEBUG - + VALUE=2001:910:800::12
2020-09-06 12:04:32,052: DEBUG - + python2.7 -
2020-09-06 12:04:32,253: DEBUG - + [[ ip6_dns1 =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:32,254: DEBUG - + ynh_app_setting_set --app=hotspot --key=ip4_dns0 --value=80.67.188.188
2020-09-06 12:04:32,458: DEBUG - + ynh_app_setting set hotspot ip4_dns0 80.67.188.188
2020-09-06 12:04:32,458: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:32,459: DEBUG - + ACTION=set
2020-09-06 12:04:32,459: DEBUG - + APP=hotspot
2020-09-06 12:04:32,459: DEBUG - + KEY=ip4_dns0
2020-09-06 12:04:32,460: DEBUG - + VALUE=80.67.188.188
2020-09-06 12:04:32,460: DEBUG - + python2.7 -
2020-09-06 12:04:32,661: DEBUG - + [[ ip4_dns0 =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:32,662: DEBUG - + ynh_app_setting_set --app=hotspot --key=ip4_dns1 --value=80.67.169.12
2020-09-06 12:04:32,866: DEBUG - + ynh_app_setting set hotspot ip4_dns1 80.67.169.12
2020-09-06 12:04:32,875: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:32,876: DEBUG - + ACTION=set
2020-09-06 12:04:32,876: DEBUG - + APP=hotspot
2020-09-06 12:04:32,876: DEBUG - + KEY=ip4_dns1
2020-09-06 12:04:32,877: DEBUG - + VALUE=80.67.169.12
2020-09-06 12:04:32,877: DEBUG - + python2.7 -
2020-09-06 12:04:33,078: DEBUG - + [[ ip4_dns1 =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:33,078: DEBUG - + ynh_app_setting_set --app=hotspot --key=ip4_nat_prefix --value=10.0.242
2020-09-06 12:04:33,282: DEBUG - + ynh_app_setting set hotspot ip4_nat_prefix 10.0.242
2020-09-06 12:04:33,283: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:33,283: DEBUG - + ACTION=set
2020-09-06 12:04:33,283: DEBUG - + APP=hotspot
2020-09-06 12:04:33,284: DEBUG - + KEY=ip4_nat_prefix
2020-09-06 12:04:33,284: DEBUG - + VALUE=10.0.242
2020-09-06 12:04:33,284: DEBUG - + python2.7 -
2020-09-06 12:04:33,485: DEBUG - + [[ ip4_nat_prefix =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:33,486: DEBUG - + ynh_app_setting_set --app=hotspot --key=vpnclient --value=no
2020-09-06 12:04:33,689: DEBUG - + ynh_app_setting set hotspot vpnclient no
2020-09-06 12:04:33,690: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:33,690: DEBUG - + ACTION=set
2020-09-06 12:04:33,690: DEBUG - + APP=hotspot
2020-09-06 12:04:33,691: DEBUG - + KEY=vpnclient
2020-09-06 12:04:33,691: DEBUG - + VALUE=no
2020-09-06 12:04:33,691: DEBUG - + python2.7 -
2020-09-06 12:04:33,892: DEBUG - + [[ vpnclient =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:33,893: DEBUG - + ynh_app_setting_set --app=hotspot --key=service_name --value=ynh-hotspot
2020-09-06 12:04:34,097: DEBUG - + ynh_app_setting set hotspot service_name ynh-hotspot
2020-09-06 12:04:34,097: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:34,097: DEBUG - + ACTION=set
2020-09-06 12:04:34,098: DEBUG - + APP=hotspot
2020-09-06 12:04:34,098: DEBUG - + KEY=service_name
2020-09-06 12:04:34,098: DEBUG - + VALUE=ynh-hotspot
2020-09-06 12:04:34,099: DEBUG - + python2.7 -
2020-09-06 12:04:34,400: DEBUG - + [[ service_name =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:34,400: DEBUG - + [[ -z wlan1 ]]
2020-09-06 12:04:34,400: DEBUG - + ynh_app_setting_set --app=hotspot --key=service_enabled --value=1
2020-09-06 12:04:34,604: DEBUG - + ynh_app_setting set hotspot service_enabled 1
2020-09-06 12:04:34,605: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:34,605: DEBUG - + ACTION=set
2020-09-06 12:04:34,606: DEBUG - + APP=hotspot
2020-09-06 12:04:34,606: DEBUG - + KEY=service_enabled
2020-09-06 12:04:34,606: DEBUG - + VALUE=1
2020-09-06 12:04:34,607: DEBUG - + python2.7 -
2020-09-06 12:04:34,808: DEBUG - + [[ service_enabled =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:34,910: DEBUG - + echo '[##########+.........] > Copying configuration...'
2020-09-06 12:04:34,911: DEBUG - + mkdir -pm 0755 /etc/dnsmasq.dhcpd/
2020-09-06 12:04:34,911: DEBUG - + chown root: /etc/dnsmasq.dhcpd/
2020-09-06 12:04:34,911: DEBUG - + install -b -o root -g root -m 0644 ../conf/hostapd.conf.tpl1 ../conf/hostapd.conf.tpl2 /etc/hostapd/
2020-09-06 12:04:34,912: DEBUG - + install -b -o root -g root -m 0644 ../conf/dnsmasq_dhcpdv6.conf.tpl /etc/dnsmasq.dhcpd/dhcpdv6.conf.tpl
2020-09-06 12:04:34,912: DEBUG - + install -b -o root -g root -m 0644 ../conf/dnsmasq_dhcpdv4.conf.tpl /etc/dnsmasq.dhcpd/dhcpdv4.conf.tpl
2020-09-06 12:04:35,013: DEBUG - + install -o root -g root -m 0755 ../conf/ynh-hotspot /usr/local/bin/
2020-09-06 12:04:35,014: INFO - [##########+.........] > Copying configuration...
2020-09-06 12:04:35,015: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/usr/local/bin/ynh-hotspot
2020-09-06 12:04:35,221: DEBUG - + local delimit=@
2020-09-06 12:04:35,221: DEBUG - + match_string=__PHPVERSION__
2020-09-06 12:04:35,222: DEBUG - + replace_string=7.3
2020-09-06 12:04:35,223: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /usr/local/bin/ynh-hotspot
2020-09-06 12:04:35,426: INFO - [###########+........] > Copy web sources...
2020-09-06 12:04:35,428: DEBUG - + echo '[###########+........] > Copy web sources...'
2020-09-06 12:04:35,429: DEBUG - + ynh_app_setting_set --app=hotspot --key=final_path --value=/var/www/hotspot
2020-09-06 12:04:35,736: DEBUG - + ynh_app_setting set hotspot final_path /var/www/hotspot
2020-09-06 12:04:35,736: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:35,737: DEBUG - + ACTION=set
2020-09-06 12:04:35,737: DEBUG - + APP=hotspot
2020-09-06 12:04:35,738: DEBUG - + KEY=final_path
2020-09-06 12:04:35,738: DEBUG - + VALUE=/var/www/hotspot
2020-09-06 12:04:35,739: DEBUG - + python2.7 -
2020-09-06 12:04:35,940: DEBUG - + [[ final_path =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:35,941: DEBUG - + mkdir -pm 0755 /var/www/hotspot/
2020-09-06 12:04:35,941: DEBUG - + cp -a ../sources/config.php ../sources/controller.php ../sources/i18n ../sources/index.php ../sources/lib ../sources/public ../sources/views /var/www/hotspot/
2020-09-06 12:04:36,042: DEBUG - + chown -R hotspot: /var/www/hotspot/
2020-09-06 12:04:36,042: DEBUG - + chmod -R 0644 /var/www/hotspot/config.php /var/www/hotspot/controller.php /var/www/hotspot/i18n /var/www/hotspot/index.php /var/www/hotspot/lib /var/www/hotspot/public /var/www/hotspot/views
2020-09-06 12:04:36,043: DEBUG - + find /var/www/hotspot/ -type d -exec chmod +x '{}' ';'
2020-09-06 12:04:36,246: DEBUG - + echo '[############+.......] > Fix config...'
2020-09-06 12:04:36,246: INFO - [############+.......] > Fix config...
2020-09-06 12:04:36,247: DEBUG - + ynh_replace_string '--match_string=^DAEMON_CONF=$' '--replace_string=&/etc/hostapd/hostapd.conf' --target_file=/etc/init.d/hostapd
2020-09-06 12:04:36,351: DEBUG - + local delimit=@
2020-09-06 12:04:36,351: DEBUG - + match_string='^DAEMON_CONF=$'
2020-09-06 12:04:36,351: DEBUG - + replace_string='&/etc/hostapd/hostapd.conf'
2020-09-06 12:04:36,352: DEBUG - + sed --in-place 's@^DAEMON_CONF=$@&/etc/hostapd/hostapd.conf@g' /etc/init.d/hostapd
2020-09-06 12:04:36,352: DEBUG - + echo DAEMON_CONF=/etc/hostapd/hostapd.conf
2020-09-06 12:04:36,353: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/wifiadmin --target_file=/var/www/hotspot/config.php
2020-09-06 12:04:36,657: DEBUG - + local delimit=@
2020-09-06 12:04:36,658: DEBUG - + match_string=__PATH__
2020-09-06 12:04:36,658: DEBUG - + replace_string=/wifiadmin
2020-09-06 12:04:36,659: DEBUG - + sed --in-place s@__PATH__@/wifiadmin@g /var/www/hotspot/config.php
2020-09-06 12:04:36,863: DEBUG - + echo '[#############+......] > Storing the config file checksum...'
2020-09-06 12:04:36,864: DEBUG - + ynh_store_file_checksum --file=/var/www/hotspot/config.php
2020-09-06 12:04:36,868: DEBUG - + local checksum_setting_name=checksum__var_www_hotspot_config.php
2020-09-06 12:04:36,868: DEBUG - ++ md5sum /var/www/hotspot/config.php
2020-09-06 12:04:36,869: DEBUG - ++ cut '--delimiter= ' --fields=1
2020-09-06 12:04:36,870: DEBUG - + ynh_app_setting_set --app=hotspot --key=checksum__var_www_hotspot_config.php --value=3236400ffda9cf7cb8a2f5feae0b61e3
2020-09-06 12:04:36,873: INFO - [#############+......] > Storing the config file checksum...
2020-09-06 12:04:37,177: DEBUG - + ynh_app_setting set hotspot checksum__var_www_hotspot_config.php 3236400ffda9cf7cb8a2f5feae0b61e3
2020-09-06 12:04:37,178: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:37,178: DEBUG - + ACTION=set
2020-09-06 12:04:37,179: DEBUG - + APP=hotspot
2020-09-06 12:04:37,179: DEBUG - + KEY=checksum__var_www_hotspot_config.php
2020-09-06 12:04:37,179: DEBUG - + VALUE=3236400ffda9cf7cb8a2f5feae0b61e3
2020-09-06 12:04:37,180: DEBUG - + python2.7 -
2020-09-06 12:04:37,381: DEBUG - + [[ checksum__var_www_hotspot_config.php =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:37,382: DEBUG - + '[' -n '' ']'
2020-09-06 12:04:37,382: DEBUG - + unset backup_file_checksum
2020-09-06 12:04:37,383: DEBUG - + ynh_store_file_checksum --file=/etc/init.d/hostapd
2020-09-06 12:04:37,485: DEBUG - + local checksum_setting_name=checksum__etc_init.d_hostapd
2020-09-06 12:04:37,486: DEBUG - ++ md5sum /etc/init.d/hostapd
2020-09-06 12:04:37,486: DEBUG - ++ cut '--delimiter= ' --fields=1
2020-09-06 12:04:37,487: DEBUG - + ynh_app_setting_set --app=hotspot --key=checksum__etc_init.d_hostapd --value=6d5e58c4117fe4a97b04b5bc151f19d6
2020-09-06 12:04:37,691: DEBUG - + ynh_app_setting set hotspot checksum__etc_init.d_hostapd 6d5e58c4117fe4a97b04b5bc151f19d6
2020-09-06 12:04:37,692: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:37,692: DEBUG - + ACTION=set
2020-09-06 12:04:37,693: DEBUG - + APP=hotspot
2020-09-06 12:04:37,693: DEBUG - + KEY=checksum__etc_init.d_hostapd
2020-09-06 12:04:37,693: DEBUG - + VALUE=6d5e58c4117fe4a97b04b5bc151f19d6
2020-09-06 12:04:37,694: DEBUG - + python2.7 -
2020-09-06 12:04:37,894: DEBUG - + [[ checksum__etc_init.d_hostapd =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:37,909: DEBUG - + '[' -n '' ']'
2020-09-06 12:04:37,910: DEBUG - + unset backup_file_checksum
2020-09-06 12:04:38,013: DEBUG - + echo '[##############+.....] > Configuring a systemd service...'
2020-09-06 12:04:38,014: DEBUG - + ynh_add_systemd_config --service=ynh-hotspot
2020-09-06 12:04:38,117: DEBUG - + local service=ynh-hotspot
2020-09-06 12:04:38,118: INFO - [##############+.....] > Configuring a systemd service...
2020-09-06 12:04:38,119: DEBUG - + local template=systemd.service
2020-09-06 12:04:38,120: DEBUG - + others_var=
2020-09-06 12:04:38,120: DEBUG - + finalsystemdconf=/etc/systemd/system/ynh-hotspot.service
2020-09-06 12:04:38,120: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/systemd/system/ynh-hotspot.service
2020-09-06 12:04:38,123: DEBUG - + local checksum_setting_name=checksum__etc_systemd_system_ynh-hotspot.service
2020-09-06 12:04:38,123: DEBUG - ++ ynh_app_setting_get --app=hotspot --key=checksum__etc_systemd_system_ynh-hotspot.service
2020-09-06 12:04:38,227: DEBUG - ++ ynh_app_setting get hotspot checksum__etc_systemd_system_ynh-hotspot.service
2020-09-06 12:04:38,227: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
2020-09-06 12:04:38,228: DEBUG - ++ ACTION=get
2020-09-06 12:04:38,228: DEBUG - ++ APP=hotspot
2020-09-06 12:04:38,228: DEBUG - ++ KEY=checksum__etc_systemd_system_ynh-hotspot.service
2020-09-06 12:04:38,229: DEBUG - ++ VALUE=
2020-09-06 12:04:38,229: DEBUG - ++ python2.7 -
2020-09-06 12:04:38,430: DEBUG - ++ [[ checksum__etc_systemd_system_ynh-hotspot.service =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:38,430: DEBUG - + local checksum_value=
2020-09-06 12:04:38,431: DEBUG - + backup_file_checksum=
2020-09-06 12:04:38,431: DEBUG - + '[' -n '' ']'
2020-09-06 12:04:38,432: DEBUG - + cp ../conf/systemd.service /etc/systemd/system/ynh-hotspot.service
2020-09-06 12:04:38,433: DEBUG - + '[' -n /var/www/hotspot ']'
2020-09-06 12:04:38,433: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/hotspot --target_file=/etc/systemd/system/ynh-hotspot.service
2020-09-06 12:04:38,637: DEBUG - + local delimit=@
2020-09-06 12:04:38,637: DEBUG - + match_string=__FINALPATH__
2020-09-06 12:04:38,638: DEBUG - + replace_string=/var/www/hotspot
2020-09-06 12:04:38,638: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/hotspot@g /etc/systemd/system/ynh-hotspot.service
2020-09-06 12:04:38,638: DEBUG - + '[' -n hotspot ']'
2020-09-06 12:04:38,639: DEBUG - + ynh_replace_string --match_string=__APP__ --replace_string=hotspot --target_file=/etc/systemd/system/ynh-hotspot.service
2020-09-06 12:04:38,843: DEBUG - + local delimit=@
2020-09-06 12:04:38,843: DEBUG - + match_string=__APP__
2020-09-06 12:04:38,844: DEBUG - + replace_string=hotspot
2020-09-06 12:04:38,844: DEBUG - + sed --in-place s@__APP__@hotspot@g /etc/systemd/system/ynh-hotspot.service
2020-09-06 12:04:38,844: DEBUG - + ynh_store_file_checksum --file=/etc/systemd/system/ynh-hotspot.service
2020-09-06 12:04:38,947: DEBUG - + local checksum_setting_name=checksum__etc_systemd_system_ynh-hotspot.service
2020-09-06 12:04:38,948: DEBUG - ++ md5sum /etc/systemd/system/ynh-hotspot.service
2020-09-06 12:04:38,948: DEBUG - ++ cut '--delimiter= ' --fields=1
2020-09-06 12:04:38,949: DEBUG - + ynh_app_setting_set --app=hotspot --key=checksum__etc_systemd_system_ynh-hotspot.service --value=80bf8d598ab81ed2be0160ab86accfbb
2020-09-06 12:04:39,152: DEBUG - + ynh_app_setting set hotspot checksum__etc_systemd_system_ynh-hotspot.service 80bf8d598ab81ed2be0160ab86accfbb
2020-09-06 12:04:39,153: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-09-06 12:04:39,154: DEBUG - + ACTION=set
2020-09-06 12:04:39,154: DEBUG - + APP=hotspot
2020-09-06 12:04:39,154: DEBUG - + KEY=checksum__etc_systemd_system_ynh-hotspot.service
2020-09-06 12:04:39,155: DEBUG - + VALUE=80bf8d598ab81ed2be0160ab86accfbb
2020-09-06 12:04:39,155: DEBUG - + python2.7 -
2020-09-06 12:04:39,356: DEBUG - + [[ checksum__etc_systemd_system_ynh-hotspot.service =~ ^(unprotected|skipped)_ ]]
2020-09-06 12:04:39,356: DEBUG - + '[' -n '' ']'
2020-09-06 12:04:39,357: DEBUG - + unset backup_file_checksum
2020-09-06 12:04:39,357: DEBUG - + chown root: /etc/systemd/system/ynh-hotspot.service
2020-09-06 12:04:39,357: DEBUG - + systemctl enable ynh-hotspot --quiet
2020-09-06 12:04:39,859: DEBUG - + systemctl daemon-reload
2020-09-06 12:04:40,360: DEBUG - + systemctl disable hostapd
2020-09-06 12:04:40,361: WARNING - Synchronizing state of hostapd.service with SysV service script with /lib/systemd/systemd-sysv-install.
2020-09-06 12:04:40,362: WARNING - Executing: /lib/systemd/systemd-sysv-install disable hostapd
2020-09-06 12:04:41,165: WARNING - insserv: warning: current start runlevel(s) (empty) of script `hostapd' overrides LSB defaults (2 3 4 5).
2020-09-06 12:04:41,166: WARNING - insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `hostapd' overrides LSB defaults (0 1 6).
2020-09-06 12:04:41,768: WARNING - Unit /etc/systemd/system/hostapd.service is masked, ignoring.
2020-09-06 12:04:42,170: DEBUG - + systemctl stop hostapd
2020-09-06 12:04:42,171: WARNING - Removed /etc/systemd/system/hostapd.service.
2020-09-06 12:04:42,173: DEBUG - + systemctl unmask hostapd
2020-09-06 12:04:42,674: DEBUG - + [[ none != none ]]
2020-09-06 12:04:42,878: INFO - [###############+....] > Integrating service in YunoHost...
2020-09-06 12:04:42,880: DEBUG - + echo '[###############+....] > Integrating service in YunoHost...'
2020-09-06 12:04:42,881: DEBUG - + yunohost service add ynh-hotspot --description 'Creates a Wi-Fi access point'
2020-09-06 12:04:43,382: WARNING - /!\ Packagers! Please provide a --test_status when adding oneshot-type services in Yunohost, such that it has a reliable way to check if the service is running or not.
2020-09-06 12:04:43,484: DEBUG - Le service 'ynh-hotspot' a été ajouté
2020-09-06 12:04:43,587: DEBUG - + echo '[################+...] > Starting a systemd service...'
2020-09-06 12:04:43,587: DEBUG - + [[ wlan1 == none ]]
2020-09-06 12:04:43,588: DEBUG - + ynh_systemd_action --service_name=ynh-hotspot --action=start --log_path=systemd
2020-09-06 12:04:43,993: DEBUG - + service_name=ynh-hotspot
2020-09-06 12:04:43,993: INFO - [################+...] > Starting a systemd service...
2020-09-06 12:04:43,994: DEBUG - + action=start
2020-09-06 12:04:43,995: DEBUG - + line_match=
2020-09-06 12:04:43,995: DEBUG - + length=20
2020-09-06 12:04:43,995: DEBUG - + log_path=systemd
2020-09-06 12:04:43,996: DEBUG - + timeout=300
2020-09-06 12:04:43,996: DEBUG - + [[ -n '' ]]
2020-09-06 12:04:43,996: DEBUG - + '[' start == reload ']'
2020-09-06 12:04:43,997: DEBUG - + systemctl start ynh-hotspot
2020-09-06 12:04:45,001: DEBUG - + ynh_exec_err journalctl --quiet --no-hostname --no-pager --lines=20 --unit=ynh-hotspot
2020-09-06 12:04:45,001: WARNING - Job for ynh-hotspot.service failed because the control process exited with error code.
2020-09-06 12:04:45,003: DEBUG - ++ eval journalctl --quiet --no-hostname --no-pager --lines=20 --unit=ynh-hotspot
2020-09-06 12:04:45,003: WARNING - See "systemctl status ynh-hotspot.service" and "journalctl -xe" for details.
2020-09-06 12:04:45,004: DEBUG - +++ journalctl --quiet --no-hostname --no-pager --lines=20 --unit=ynh-hotspot
2020-09-06 12:04:45,005: DEBUG - + ynh_print_err 'sept. 06 12:04:43 systemd[1]: Starting YunoHost Wifi Hotspot....
2020-09-06 12:04:45,005: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: Retrieving Yunohost settings... OK
2020-09-06 12:04:45,006: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: [hotspot] Starting...
2020-09-06 12:04:45,006: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: Set NAT
2020-09-06 12:04:45,006: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: Set forwarding
2020-09-06 12:04:45,006: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: Run hostapd
2020-09-06 12:04:45,007: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: RTNETLINK answers: Device or resource busy
2020-09-06 12:04:45,007: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: Job for hostapd.service failed because the control process exited with error code.
2020-09-06 12:04:45,007: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: See "systemctl status hostapd.service" and "journalctl -xe" for details.
2020-09-06 12:04:45,008: DEBUG - sept. 06 12:04:44 systemd[1]: ynh-hotspot.service: Main process exited, code=exited, status=1/FAILURE
2020-09-06 12:04:45,008: DEBUG - sept. 06 12:04:44 systemd[1]: ynh-hotspot.service: Failed with result '\''exit-code'\''.
2020-09-06 12:04:45,008: DEBUG - sept. 06 12:04:44 systemd[1]: Failed to start YunoHost Wifi Hotspot..'
2020-09-06 12:04:45,010: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: Retrieving Yunohost settings... OK
2020-09-06 12:04:45,010: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: [hotspot] Starting...
2020-09-06 12:04:45,011: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: Set NAT
2020-09-06 12:04:45,011: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: Set forwarding
2020-09-06 12:04:45,011: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: Run hostapd
2020-09-06 12:04:45,011: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: RTNETLINK answers: Device or resource busy
2020-09-06 12:04:45,012: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: Job for hostapd.service failed because the control process exited with error code.
2020-09-06 12:04:45,012: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: See "systemctl status hostapd.service" and "journalctl -xe" for details.
2020-09-06 12:04:45,013: DEBUG - sept. 06 12:04:44 systemd[1]: ynh-hotspot.service: Main process exited, code=exited, status=1/FAILURE
2020-09-06 12:04:45,013: DEBUG - sept. 06 12:04:44 systemd[1]: ynh-hotspot.service: Failed with result '\''exit-code'\''.
2020-09-06 12:04:45,013: DEBUG - sept. 06 12:04:44 systemd[1]: Failed to start YunoHost Wifi Hotspot..'
2020-09-06 12:04:45,115: WARNING - [Error] sept. 06 12:04:43 systemd[1]: Starting YunoHost Wifi Hotspot....
2020-09-06 12:04:45,116: WARNING - sept. 06 12:04:44 ynh-hotspot[6904]: Retrieving Yunohost settings... OK
2020-09-06 12:04:45,117: DEBUG - + ynh_print_log '[Error] sept. 06 12:04:43 systemd[1]: Starting YunoHost Wifi Hotspot....
2020-09-06 12:04:45,117: WARNING - sept. 06 12:04:44 ynh-hotspot[6904]: [hotspot] Starting...
2020-09-06 12:04:45,118: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: Retrieving Yunohost settings... OK
2020-09-06 12:04:45,119: WARNING - sept. 06 12:04:44 ynh-hotspot[6904]: Set NAT
2020-09-06 12:04:45,119: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: [hotspot] Starting...
2020-09-06 12:04:45,120: WARNING - sept. 06 12:04:44 ynh-hotspot[6904]: Set forwarding
2020-09-06 12:04:45,121: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: Set NAT
2020-09-06 12:04:45,121: WARNING - sept. 06 12:04:44 ynh-hotspot[6904]: Run hostapd
2020-09-06 12:04:45,122: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: Set forwarding
2020-09-06 12:04:45,122: WARNING - sept. 06 12:04:44 ynh-hotspot[6904]: RTNETLINK answers: Device or resource busy
2020-09-06 12:04:45,123: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: Run hostapd
2020-09-06 12:04:45,123: WARNING - sept. 06 12:04:44 ynh-hotspot[6904]: Job for hostapd.service failed because the control process exited with error code.
2020-09-06 12:04:45,124: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: RTNETLINK answers: Device or resource busy
2020-09-06 12:04:45,124: WARNING - sept. 06 12:04:44 ynh-hotspot[6904]: See "systemctl status hostapd.service" and "journalctl -xe" for details.
2020-09-06 12:04:45,125: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: Job for hostapd.service failed because the control process exited with error code.
2020-09-06 12:04:45,126: WARNING - sept. 06 12:04:44 systemd[1]: ynh-hotspot.service: Main process exited, code=exited, status=1/FAILURE
2020-09-06 12:04:45,126: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: See "systemctl status hostapd.service" and "journalctl -xe" for details.
2020-09-06 12:04:45,127: WARNING - sept. 06 12:04:44 systemd[1]: ynh-hotspot.service: Failed with result 'exit-code'.
2020-09-06 12:04:45,128: DEBUG - sept. 06 12:04:44 systemd[1]: ynh-hotspot.service: Main process exited, code=exited, status=1/FAILURE
2020-09-06 12:04:45,128: WARNING - sept. 06 12:04:44 systemd[1]: Failed to start YunoHost Wifi Hotspot..
2020-09-06 12:04:45,129: DEBUG - sept. 06 12:04:44 systemd[1]: ynh-hotspot.service: Failed with result '\''exit-code'\''.
2020-09-06 12:04:45,129: WARNING - /usr/share/yunohost/helpers.d/logging: ligne 20: message : variable sans liaison
2020-09-06 12:04:45,130: DEBUG - sept. 06 12:04:44 systemd[1]: Failed to start YunoHost Wifi Hotspot..'
2020-09-06 12:04:45,130: DEBUG - + echo -e '[Error] sept. 06 12:04:43 systemd[1]: Starting YunoHost Wifi Hotspot....
2020-09-06 12:04:45,130: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: Retrieving Yunohost settings... OK
2020-09-06 12:04:45,131: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: [hotspot] Starting...
2020-09-06 12:04:45,131: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: Set NAT
2020-09-06 12:04:45,131: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: Set forwarding
2020-09-06 12:04:45,131: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: Run hostapd
2020-09-06 12:04:45,132: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: RTNETLINK answers: Device or resource busy
2020-09-06 12:04:45,132: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: Job for hostapd.service failed because the control process exited with error code.
2020-09-06 12:04:45,132: DEBUG - sept. 06 12:04:44 ynh-hotspot[6904]: See "systemctl status hostapd.service" and "journalctl -xe" for details.
2020-09-06 12:04:45,133: DEBUG - sept. 06 12:04:44 systemd[1]: ynh-hotspot.service: Main process exited, code=exited, status=1/FAILURE
2020-09-06 12:04:45,133: DEBUG - sept. 06 12:04:44 systemd[1]: ynh-hotspot.service: Failed with result '\''exit-code'\''.
2020-09-06 12:04:45,133: DEBUG - sept. 06 12:04:44 systemd[1]: Failed to start YunoHost Wifi Hotspot..'
2020-09-06 12:04:45,134: DEBUG - + '[' -e systemd ']'
2020-09-06 12:04:45,134: DEBUG - + ynh_die
2020-09-06 12:04:45,136: DEBUG - + ret_code=1
2020-09-06 12:04:45,136: DEBUG - ++ ynh_exit_properly
2020-09-06 12:04:45,137: DEBUG - ++ local exit_code=1
2020-09-06 12:04:45,137: DEBUG - ++ '[' 1 -eq 0 ']'
2020-09-06 12:04:45,137: DEBUG - ++ trap '' EXIT
2020-09-06 12:04:45,137: DEBUG - ++ set +o errexit
2020-09-06 12:04:45,138: DEBUG - ++ set +o nounset
2020-09-06 12:04:45,138: DEBUG - ++ sleep 0.5
2020-09-06 12:04:45,640: DEBUG - ++ type -t ynh_clean_setup
2020-09-06 12:04:45,640: DEBUG - ++ exit 1
2020-09-06 12:04:45,654: ERROR - Impossible d’installer hotspot : Une erreur est survenue dans le script d’installation de l’application

Ça ressemble à un truc où il trouve bien un interface mais elle est occupée et ne peut pas être configurêe…

Pour les Raspberry Pi, il me semble que certaines personnes parlaient d’activer des trucs avec la commande raspi-config pour ce qui est de l’antenne / interface wifi …

J’ai refait un raspi-config mais je n’ai rien trouvé à activer.

J’ai débranché-rebranché mon antenne (DLink DWA 127) du port USB du RPi et voici le résultat de dmesg:

[ 6843.073000] mt7601u 1-1.3:1.0: rx urb failed: -71
[ 6843.073280] mt7601u 1-1.3:1.0: rx urb failed: -71
[ 6843.073506] mt7601u 1-1.3:1.0: rx urb failed: -71
[ 6843.073739] mt7601u 1-1.3:1.0: rx urb failed: -71
[ 6843.073974] mt7601u 1-1.3:1.0: rx urb failed: -71
[ 6843.074207] mt7601u 1-1.3:1.0: rx urb failed: -71
[ 6843.074444] mt7601u 1-1.3:1.0: rx urb failed: -71
[ 6843.074692] mt7601u 1-1.3:1.0: rx urb failed: -71
[ 6843.074936] mt7601u 1-1.3:1.0: rx urb failed: -71
[ 6843.075180] mt7601u 1-1.3:1.0: rx urb failed: -71
[ 6843.254207] usb 1-1.3: USB disconnect, device number 3
[ 6843.262940] mt7601u 1-1.3:1.0: Error: BBP read 42 failed:-110!!
[ 6849.153000] usb 1-1.3: new high-speed USB device number 4 using xhci_hcd
[ 6849.294291] usb 1-1.3: New USB device found, idVendor=2001, idProduct=3d04, bcdDevice= 0.00
[ 6849.294310] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6849.294326] usb 1-1.3: Product: 802.11 n WLAN
[ 6849.294342] usb 1-1.3: Manufacturer: MediaTek
[ 6849.294356] usb 1-1.3: SerialNumber: 1.0
[ 6849.413786] usb 1-1.3: reset high-speed USB device number 4 using xhci_hcd
[ 6849.547098] mt7601u 1-1.3:1.0: ASIC revision: 76010001 MAC revision: 76010500
[ 6849.548543] mt7601u 1-1.3:1.0: Firmware Version: 0.1.00 Build: 7640 Build time: 201302052146____
[ 6849.965749] mt7601u 1-1.3:1.0: EEPROM ver:0d fae:00
[ 6849.966281] mt7601u 1-1.3:1.0: EEPROM country region 01 (channels 1-13)
[ 6850.221244] ieee80211 phy2: Selected rate control algorithm ‘minstrel_ht’

puis j’ai exécuté sudo systemctl status hostapd.service, dont le résultat est:

hostapd.service - Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
Loaded: loaded (/lib/systemd/system/hostapd.service; disabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sun 2020-09-06 16:21:03 CEST; 923ms ago
Process: 19544 ExecStart=/usr/sbin/hostapd -B -P /run/hostapd.pid -B $DAEMON_OPTS ${DAEMON_CONF} (code=exited,
ESCOC
.1X/WPA/WPA2/EAP Authenticator
disabled; vendor preset: enabled)
since Sun 2020-09-06 16:21:03 CEST; 923ms ago
hostapd.pid -B $DAEMON_OPTS ${DAEMON_CONF} (code=exited, status=1/FAILURE)

Je continue à chercher d’autres pistes

Merci

Le résultat de sudo journalctl -xe est:

– Support: https://www.debian.org/support

– Automatic restarting of the unit hostapd.service has been scheduled, as the result for
– the configured Restart= setting for the unit.
Sep 06 18:10:55 pilapo.ynh.fr systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
– Subject: A stop job for unit hostapd.service has finished
– Defined-By: systemd
– Support: https://www.debian.org/support

– A stop job for unit hostapd.service has finished.

– The job identifier is 177361 and the job result is done.
Sep 06 18:10:55 pilapo.ynh.fr systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator…
– Subject: A start job for unit hostapd.service has begun execution
– Defined-By: systemd
– Support: https://www.debian.org/support

– A start job for unit hostapd.service has begun execution.

– The job identifier is 177361.
Sep 06 18:10:55 pilapo.ynh.fr hostapd[32255]: Configuration file: /etc/hostapd/hostapd.conf
Sep 06 18:10:55 pilapo.ynh.fr hostapd[32255]: Could not open configuration file ‘/etc/hostapd/hostapd.conf’ for reading.
Sep 06 18:10:55 pilapo.ynh.fr hostapd[32255]: Failed to set up interface with /etc/hostapd/hostapd.conf
Sep 06 18:10:55 pilapo.ynh.fr hostapd[32255]: Failed to initialize interface
Sep 06 18:10:55 pilapo.ynh.fr systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
– Subject: Unit process exited
– Defined-By: systemd
– Support: https://www.debian.org/support

– An ExecStart= process belonging to unit hostapd.service has exited.

– The process’ exit code is ‘exited’ and its exit status is 1.
Sep 06 18:10:55 pilapo.ynh.fr systemd[1]: hostapd.service: Failed with result ‘exit-code’.
– Subject: Unit failed
– Defined-By: systemd
– Support: https://www.debian.org/support

– The unit hostapd.service has entered the ‘failed’ state with result ‘exit-code’.
Sep 06 18:10:55 pilapo.ynh.fr systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
– Subject: A start job for unit hostapd.service has failed
– Defined-By: systemd
– Support: https://www.debian.org/support

– A start job for unit hostapd.service has finished with a failure.

– The job identifier is 177361 and the job result is failed.
Sep 06 18:10:57 pilapo.ynh.fr slapd[806]: slap_global_control: unrecognized control: 1.3.6.1.4.1.4203.666.5.16
Sep 06 18:10:57 pilapo.ynh.fr sudo[32256]: admin : TTY=pts/0 ; PWD=/home/admin ; USER=root ; COMMAND=/usr/bin/journalctl -xe
Sep 06 18:10:57 pilapo.ynh.fr sudo[32256]: pam_unix(sudo:session): session opened for user root by admin(uid=0)
lines 4469-4517/4517 (END)

Je ne sais pas interpréter ces logs…avez-vous une idée?

Merci

Perso je continuerais de regarder dmesg … Notamment avant que tu débranches/rebranche il y avait :

ce qui naivement à la louche ressemble à des soucis de driver (ou soucis hardware)

Je suis vert. J’ai simplement retiré l’antenne Dlink et l’installation du hotspot s’est finalisée correctement.
Le RPi 4 a une antenne wifi intégrée nativement reconnue! Pas besoin d’acheter un antenne externe ave cgain, à moins d’avoir des cloisons épaisses et du temps à perdre :slight_smile:

Merci Aleks

2 Likes

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