args: app: hotspot args: domain=maindomain.tld&path=%2Fwifiadmin&wifi_ssid=CTNetwork&wifi_passphrase='**********'&firmware_nonfree=yes force: false label: Wifi Hotspot no_remove_on_failure: false ended_at: 2020-11-23 20:48:38.488362 env: YNH_APP_ARG_DOMAIN: maindomain.tld YNH_APP_ARG_FIRMWARE_NONFREE: 'yes' YNH_APP_ARG_PATH: /wifiadmin YNH_APP_ARG_WIFI_SSID: CTNetwork YNH_APP_ID: hotspot YNH_APP_INSTANCE_NAME: hotspot YNH_APP_INSTANCE_NUMBER: '1' error: null interface: true operation: app_install related_to: - - app - hotspot started_at: 2020-11-23 20:47:09.143555 success: true yunohost_version: 4.0.8.2 ============ 2020-11-23 21:47:09,171: INFO - Installation de l’application hotspot … 2020-11-23 21:47:09,294: DEBUG - The permission database has been resynchronized 2020-11-23 21:47:09,414: DEBUG - La configuration de SSOwat générée 2020-11-23 21:47:09,445: DEBUG - No default hook for action 'post_app_addaccess' in /usr/share/yunohost/hooks/ 2020-11-23 21:47:09,446: DEBUG - No custom hook for action 'post_app_addaccess' in /etc/yunohost/hooks.d/ 2020-11-23 21:47:09,446: DEBUG - Permission 'hotspot.main' créée 2020-11-23 21:47:09,456: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20201123-204709-permission_create-hotspot" style="text-decoration:underline"> Créer permission 'hotspot' </a>' 2020-11-23 21:47:09,492: DEBUG - Executing command 'sh -c YNH_APP_ARG_FIRMWARE_NONFREE=yes YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/hotspot_ynh-a36f58cd299f663ab1a552ea732e17c6db824119/scripts YNH_APP_ARG_WIFI_SSID=CTNetwork YNH_STDINFO=/tmp/tmpzcZ33f/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/tmpZ1XO3j/stdreturn YNH_APP_ARG_DOMAIN=maindomain.tld BASH_XTRACEFD=7 /bin/bash -x "./install" maindomain.tld /wifiadmin CTNetwork '**********' yes hotspot 7>&1' 2020-11-23 21:47:09,527: DEBUG - + source _common.sh 2020-11-23 21:47:09,529: DEBUG - ++ pkg_dependencies='sipcalc hostapd iptables iw dnsmasq' 2020-11-23 21:47:09,530: DEBUG - ++ nonfree_packages='firmware-linux-free firmware-linux-nonfree firmware-atheros firmware-realtek firmware-ralink firmware-libertas atmel-firmware zd1211-firmware' 2020-11-23 21:47:09,530: DEBUG - ++ free_packages=firmware-linux-free 2020-11-23 21:47:09,531: DEBUG - + source /usr/share/yunohost/helpers 2020-11-23 21:47:09,531: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d 2020-11-23 21:47:09,531: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2020-11-23 21:47:09,532: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']' 2020-11-23 21:47:09,532: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt 2020-11-23 21:47:09,633: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2020-11-23 21:47:09,633: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']' 2020-11-23 21:47:09,634: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup 2020-11-23 21:47:09,634: DEBUG - +++ CAN_BIND=1 2020-11-23 21:47:09,635: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2020-11-23 21:47:09,635: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']' 2020-11-23 21:47:09,636: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban 2020-11-23 21:47:09,636: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2020-11-23 21:47:09,637: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']' 2020-11-23 21:47:09,637: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts 2020-11-23 21:47:09,637: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2020-11-23 21:47:09,638: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/hardware ']' 2020-11-23 21:47:09,638: DEBUG - ++ . /usr/share/yunohost/helpers.d/hardware 2020-11-23 21:47:09,638: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2020-11-23 21:47:09,639: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']' 2020-11-23 21:47:09,639: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging 2020-11-23 21:47:09,639: DEBUG - +++ increment_progression=0 2020-11-23 21:47:09,640: DEBUG - +++ previous_weight=0 2020-11-23 21:47:09,640: DEBUG - +++ max_progression=-1 2020-11-23 21:47:09,640: DEBUG - +++ progress_scale=20 2020-11-23 21:47:09,641: DEBUG - +++ progress_string2='####################' 2020-11-23 21:47:09,641: DEBUG - +++ progress_string1=++++++++++++++++++++ 2020-11-23 21:47:09,642: DEBUG - +++ progress_string0=.................... 2020-11-23 21:47:09,642: DEBUG - ++++ date +%s 2020-11-23 21:47:09,642: DEBUG - +++ base_time=1606164429 2020-11-23 21:47:09,643: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2020-11-23 21:47:09,643: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']' 2020-11-23 21:47:09,643: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate 2020-11-23 21:47:09,644: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2020-11-23 21:47:09,644: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']' 2020-11-23 21:47:09,644: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql 2020-11-23 21:47:09,645: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql 2020-11-23 21:47:09,645: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2020-11-23 21:47:09,646: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']' 2020-11-23 21:47:09,646: DEBUG - ++ . /usr/share/yunohost/helpers.d/network 2020-11-23 21:47:09,646: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2020-11-23 21:47:09,647: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']' 2020-11-23 21:47:09,647: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx 2020-11-23 21:47:09,647: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2020-11-23 21:47:09,648: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']' 2020-11-23 21:47:09,648: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs 2020-11-23 21:47:09,649: DEBUG - +++ n_version=6.5.1 2020-11-23 21:47:09,649: DEBUG - +++ n_install_dir=/opt/node_n 2020-11-23 21:47:09,649: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node 2020-11-23 21:47:09,650: DEBUG - +++ export N_PREFIX=/opt/node_n 2020-11-23 21:47:09,650: DEBUG - +++ N_PREFIX=/opt/node_n 2020-11-23 21:47:09,651: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2020-11-23 21:47:09,651: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']' 2020-11-23 21:47:09,651: DEBUG - ++ . /usr/share/yunohost/helpers.d/php 2020-11-23 21:47:09,652: DEBUG - +++ readonly YNH_DEFAULT_PHP_VERSION=7.3 2020-11-23 21:47:09,652: DEBUG - +++ YNH_DEFAULT_PHP_VERSION=7.3 2020-11-23 21:47:09,652: DEBUG - +++ YNH_PHP_VERSION=7.3 2020-11-23 21:47:09,653: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2020-11-23 21:47:09,653: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']' 2020-11-23 21:47:09,653: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql 2020-11-23 21:47:09,654: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql 2020-11-23 21:47:09,654: DEBUG - +++ PSQL_VERSION=11 2020-11-23 21:47:09,655: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2020-11-23 21:47:09,655: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']' 2020-11-23 21:47:09,655: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting 2020-11-23 21:47:09,656: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2020-11-23 21:47:09,656: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']' 2020-11-23 21:47:09,657: DEBUG - ++ . /usr/share/yunohost/helpers.d/string 2020-11-23 21:47:09,657: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2020-11-23 21:47:09,657: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']' 2020-11-23 21:47:09,658: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd 2020-11-23 21:47:09,658: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2020-11-23 21:47:09,659: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']' 2020-11-23 21:47:09,659: DEBUG - ++ . /usr/share/yunohost/helpers.d/user 2020-11-23 21:47:09,659: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) 2020-11-23 21:47:09,660: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']' 2020-11-23 21:47:09,660: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils 2020-11-23 21:47:09,660: DEBUG - + ynh_abort_if_errors 2020-11-23 21:47:09,661: DEBUG - + set -o errexit 2020-11-23 21:47:09,661: DEBUG - + set -o nounset 2020-11-23 21:47:09,661: DEBUG - + trap ynh_exit_properly EXIT 2020-11-23 21:47:09,662: DEBUG - + domain=maindomain.tld 2020-11-23 21:47:09,662: DEBUG - + path_url=/wifiadmin 2020-11-23 21:47:09,662: DEBUG - + wifi_ssid=CTNetwork 2020-11-23 21:47:09,663: DEBUG - + wifi_passphrase='**********' 2020-11-23 21:47:09,663: DEBUG - + firmware_nonfree=yes 2020-11-23 21:47:09,664: DEBUG - + app=hotspot 2020-11-23 21:47:09,664: DEBUG - + service_name=ynh-hotspot 2020-11-23 21:47:09,867: DEBUG - + echo '[+...................] > Validating installation parameters...' 2020-11-23 21:47:09,867: INFO - [+...................] > Validating installation parameters... 2020-11-23 21:47:09,871: DEBUG - + final_path=/var/www/hotspot 2020-11-23 21:47:09,871: DEBUG - + test '!' -e /var/www/hotspot 2020-11-23 21:47:09,871: DEBUG - + ynh_webpath_register --app=hotspot --domain=maindomain.tld --path_url=/wifiadmin 2020-11-23 21:47:09,974: DEBUG - + yunohost app register-url hotspot maindomain.tld /wifiadmin 2020-11-23 21:47:10,880: DEBUG - + dpkg --list 2020-11-23 21:47:10,881: DEBUG - + grep -q armbian-firmware 2020-11-23 21:47:10,882: DEBUG - + '[' yes = no ']' 2020-11-23 21:47:10,882: DEBUG - + '[' yes = yes ']' 2020-11-23 21:47:10,882: DEBUG - + firmware_nonfree=1 2020-11-23 21:47:10,883: DEBUG - + [[ -z CTNetwork ]] 2020-11-23 21:47:10,883: DEBUG - + [[ -z ********** ]] 2020-11-23 21:47:10,883: DEBUG - ++ echo -n '**********' 2020-11-23 21:47:10,884: DEBUG - ++ wc -c 2020-11-23 21:47:10,884: DEBUG - + wifi_passphrase_length=14 2020-11-23 21:47:10,884: DEBUG - + [[ 14 -lt 8 ]] 2020-11-23 21:47:10,885: DEBUG - + [[ 14 -gt 63 ]] 2020-11-23 21:47:10,885: DEBUG - + [[ ********** =~ [^[:print:]] ]] 2020-11-23 21:47:10,886: DEBUG - + source ./prerequisites 2020-11-23 21:47:10,886: DEBUG - ++ systemctl is-active dnsmasq 2020-11-23 21:47:10,886: DEBUG - ++ [[ 0 -ne 0 ]] 2020-11-23 21:47:11,089: INFO - [#+..................] > Storing installation settings... 2020-11-23 21:47:11,090: DEBUG - + echo '[#+..................] > Storing installation settings...' 2020-11-23 21:47:11,091: DEBUG - + ynh_app_setting_set --app=hotspot --key=domain --value=maindomain.tld 2020-11-23 21:47:11,195: DEBUG - + ynh_app_setting set hotspot domain maindomain.tld 2020-11-23 21:47:11,195: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:47:11,196: DEBUG - + ACTION=set 2020-11-23 21:47:11,196: DEBUG - + APP=hotspot 2020-11-23 21:47:11,196: DEBUG - + KEY=domain 2020-11-23 21:47:11,197: DEBUG - + VALUE=maindomain.tld 2020-11-23 21:47:11,197: DEBUG - + python2.7 - 2020-11-23 21:47:11,499: DEBUG - + [[ domain =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:47:11,499: DEBUG - + ynh_app_setting_set --app=hotspot --key=wifi_ssid --value=CTNetwork 2020-11-23 21:47:11,603: DEBUG - + ynh_app_setting set hotspot wifi_ssid CTNetwork 2020-11-23 21:47:11,604: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:47:11,604: DEBUG - + ACTION=set 2020-11-23 21:47:11,604: DEBUG - + APP=hotspot 2020-11-23 21:47:11,605: DEBUG - + KEY=wifi_ssid 2020-11-23 21:47:11,605: DEBUG - + VALUE=CTNetwork 2020-11-23 21:47:11,605: DEBUG - + python2.7 - 2020-11-23 21:47:11,907: DEBUG - + [[ wifi_ssid =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:47:11,907: DEBUG - + ynh_app_setting_set --app=hotspot --key=wifi_passphrase '--value=**********' 2020-11-23 21:47:12,111: DEBUG - + ynh_app_setting set hotspot wifi_passphrase '**********' 2020-11-23 21:47:12,112: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:47:12,112: DEBUG - + ACTION=set 2020-11-23 21:47:12,113: DEBUG - + APP=hotspot 2020-11-23 21:47:12,113: DEBUG - + KEY=wifi_passphrase 2020-11-23 21:47:12,113: DEBUG - + VALUE='**********' 2020-11-23 21:47:12,114: DEBUG - + python2.7 - 2020-11-23 21:47:12,315: DEBUG - + [[ wifi_passphrase =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:47:12,315: DEBUG - + ynh_app_setting_set --app=hotspot --key=firmware_nonfree --value=1 2020-11-23 21:47:12,519: DEBUG - + ynh_app_setting set hotspot firmware_nonfree 1 2020-11-23 21:47:12,520: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:47:12,520: DEBUG - + ACTION=set 2020-11-23 21:47:12,521: DEBUG - + APP=hotspot 2020-11-23 21:47:12,521: DEBUG - + KEY=firmware_nonfree 2020-11-23 21:47:12,521: DEBUG - + VALUE=1 2020-11-23 21:47:12,522: DEBUG - + python2.7 - 2020-11-23 21:47:12,722: DEBUG - + [[ firmware_nonfree =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:47:12,826: DEBUG - + echo '[##+.................] > Configuring firewall...' 2020-11-23 21:47:12,827: DEBUG - + ynh_exec_warn_less yunohost firewall allow --no-upnp --ipv6 UDP 547 2020-11-23 21:47:12,827: DEBUG - + eval yunohost firewall allow --no-upnp --ipv6 UDP 547 2020-11-23 21:47:12,828: DEBUG - ++ yunohost firewall allow --no-upnp --ipv6 UDP 547 2020-11-23 21:47:13,430: DEBUG - Le port 547 est déjà ouvert pour les connexions IPv6 2020-11-23 21:47:13,430: INFO - [##+.................] > Configuring firewall... 2020-11-23 21:47:32,573: DEBUG - Pare-feu rechargé 2020-11-23 21:47:32,574: DEBUG - opened_ports: 2020-11-23 21:47:32,575: DEBUG - - 22 2020-11-23 21:47:32,576: DEBUG - - 25 2020-11-23 21:47:32,577: DEBUG - - 53 2020-11-23 21:47:32,577: DEBUG - - 67 2020-11-23 21:47:32,578: DEBUG - - 80 2020-11-23 21:47:32,579: DEBUG - - 443 2020-11-23 21:47:32,579: DEBUG - - 547 2020-11-23 21:47:32,580: DEBUG - - 587 2020-11-23 21:47:32,580: DEBUG - - 993 2020-11-23 21:47:32,581: DEBUG - - 5222 2020-11-23 21:47:32,581: DEBUG - - 5269 2020-11-23 21:47:32,582: DEBUG - - 5353 2020-11-23 21:47:32,683: DEBUG - + ynh_exec_warn_less yunohost firewall allow --no-upnp UDP 67 2020-11-23 21:47:32,683: DEBUG - + eval yunohost firewall allow --no-upnp UDP 67 2020-11-23 21:47:32,683: DEBUG - ++ yunohost firewall allow --no-upnp UDP 67 2020-11-23 21:47:33,185: DEBUG - Le port 67 est déjà ouvert pour les connexions IPv4 2020-11-23 21:47:33,186: DEBUG - Le port 67 est déjà ouvert pour les connexions IPv6 2020-11-23 21:47:47,125: DEBUG - Pare-feu rechargé 2020-11-23 21:47:47,226: DEBUG - opened_ports: 2020-11-23 21:47:47,226: DEBUG - - 22 2020-11-23 21:47:47,227: DEBUG - - 25 2020-11-23 21:47:47,227: DEBUG - - 53 2020-11-23 21:47:47,228: DEBUG - - 67 2020-11-23 21:47:47,228: DEBUG - - 80 2020-11-23 21:47:47,228: DEBUG - - 443 2020-11-23 21:47:47,229: DEBUG - - 547 2020-11-23 21:47:47,229: DEBUG - - 587 2020-11-23 21:47:47,229: DEBUG - - 993 2020-11-23 21:47:47,230: DEBUG - - 5222 2020-11-23 21:47:47,230: DEBUG - - 5269 2020-11-23 21:47:47,230: DEBUG - - 5353 2020-11-23 21:47:47,333: DEBUG - + echo '[###+................] > Installing firmware...' 2020-11-23 21:47:47,334: DEBUG - + export DEBIAN_FRONTEND=noninteractive 2020-11-23 21:47:47,334: DEBUG - + DEBIAN_FRONTEND=noninteractive 2020-11-23 21:47:47,334: DEBUG - + [[ 1 -eq 1 ]] 2020-11-23 21:47:47,335: DEBUG - + grep -q non-free /etc/apt/sources.list 2020-11-23 21:47:47,335: DEBUG - + packages='firmware-linux-free firmware-linux-nonfree firmware-atheros firmware-realtek firmware-ralink firmware-libertas atmel-firmware zd1211-firmware' 2020-11-23 21:47:47,437: INFO - [###+................] > Installing firmware... 2020-11-23 21:47:47,539: DEBUG - + echo '[####+...............] > Creating a MySQL database...' 2020-11-23 21:47:47,540: DEBUG - + ynh_install_app_dependencies 'sipcalc hostapd iptables iw dnsmasq' 'firmware-linux-free firmware-linux-nonfree firmware-atheros firmware-realtek firmware-ralink firmware-libertas atmel-firmware zd1211-firmware' 2020-11-23 21:47:47,540: DEBUG - + local 'dependencies=sipcalc hostapd iptables iw dnsmasq firmware-linux-free firmware-linux-nonfree firmware-atheros firmware-realtek firmware-ralink firmware-libertas atmel-firmware zd1211-firmware' 2020-11-23 21:47:47,541: DEBUG - ++ echo 'sipcalc hostapd iptables iw dnsmasq firmware-linux-free firmware-linux-nonfree firmware-atheros firmware-realtek firmware-ralink firmware-libertas atmel-firmware zd1211-firmware' 2020-11-23 21:47:47,541: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g' 2020-11-23 21:47:47,541: DEBUG - + dependencies='sipcalc, hostapd, iptables, iw, dnsmasq, firmware-linux-free, firmware-linux-nonfree, firmware-atheros, firmware-realtek, firmware-ralink, firmware-libertas, atmel-firmware, zd1211-firmware' 2020-11-23 21:47:47,542: DEBUG - + local 'dependencies=sipcalc, hostapd, iptables, iw, dnsmasq, firmware-linux-free, firmware-linux-nonfree, firmware-atheros, firmware-realtek, firmware-ralink, firmware-libertas, atmel-firmware, zd1211-firmware' 2020-11-23 21:47:47,542: DEBUG - + local manifest_path=../manifest.json 2020-11-23 21:47:47,542: DEBUG - + '[' '!' -e ../manifest.json ']' 2020-11-23 21:47:47,543: DEBUG - ++ grep '\"version\": ' ../manifest.json 2020-11-23 21:47:47,543: DEBUG - ++ cut '--delimiter="' --fields=4 2020-11-23 21:47:47,543: DEBUG - + local version=1.2.0~ynh3 2020-11-23 21:47:47,543: INFO - [####+...............] > Creating a MySQL database... 2020-11-23 21:47:47,544: DEBUG - + '[' 10 -eq 0 ']' 2020-11-23 21:47:47,545: DEBUG - + local dep_app=hotspot 2020-11-23 21:47:47,545: DEBUG - + [[ sipcalc, hostapd, iptables, iw, dnsmasq, firmware-linux-free, firmware-linux-nonfree, firmware-atheros, firmware-realtek, firmware-ralink, firmware-libertas, atmel-firmware, zd1211-firmware =~ [<=>] ]] 2020-11-23 21:47:47,545: DEBUG - + echo sipcalc, hostapd, iptables, iw, dnsmasq, firmware-linux-free, firmware-linux-nonfree, firmware-atheros, firmware-realtek, firmware-ralink, firmware-libertas, atmel-firmware, zd1211-firmware 2020-11-23 21:47:47,546: DEBUG - + grep --quiet php 2020-11-23 21:47:47,546: DEBUG - + cat 2020-11-23 21:47:47,546: DEBUG - + ynh_package_install_from_equivs /tmp/hotspot-ynh-deps.control 2020-11-23 21:47:47,547: DEBUG - + local controlfile=/tmp/hotspot-ynh-deps.control 2020-11-23 21:47:47,547: DEBUG - ++ grep '^Package: ' /tmp/hotspot-ynh-deps.control 2020-11-23 21:47:47,547: DEBUG - ++ cut '--delimiter= ' --fields=2 2020-11-23 21:47:47,547: DEBUG - + local pkgname=hotspot-ynh-deps 2020-11-23 21:47:47,548: DEBUG - ++ grep '^Version: ' /tmp/hotspot-ynh-deps.control 2020-11-23 21:47:47,548: DEBUG - ++ cut '--delimiter= ' --fields=2 2020-11-23 21:47:47,548: DEBUG - + local pkgversion=1.2.0~ynh3 2020-11-23 21:47:47,549: DEBUG - + [[ -z hotspot-ynh-deps ]] 2020-11-23 21:47:47,549: DEBUG - + [[ -z 1.2.0~ynh3 ]] 2020-11-23 21:47:47,549: DEBUG - + ynh_package_update 2020-11-23 21:47:47,549: DEBUG - + ynh_apt update 2020-11-23 21:47:47,550: DEBUG - + ynh_wait_dpkg_free 2020-11-23 21:47:47,851: DEBUG - + return 0 2020-11-23 21:47:47,852: DEBUG - + LC_ALL=C 2020-11-23 21:47:47,852: DEBUG - + DEBIAN_FRONTEND=noninteractive 2020-11-23 21:47:47,852: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update 2020-11-23 21:47:48,154: DEBUG - Hit:1 http://archive.raspberrypi.org/debian buster InRelease 2020-11-23 21:47:48,154: DEBUG - Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease 2020-11-23 21:47:48,154: DEBUG - Hit:3 http://forge.yunohost.org/debian buster InRelease 2020-11-23 21:47:52,565: DEBUG - Reading package lists... 2020-11-23 21:47:52,669: DEBUG - ++ mktemp --directory 2020-11-23 21:47:52,669: DEBUG - + local TMPDIR=/tmp/tmp.Bip1w148gN 2020-11-23 21:47:52,669: DEBUG - + echo 10 2020-11-23 21:47:53,779: DEBUG - + ynh_wait_dpkg_free 2020-11-23 21:47:54,081: DEBUG - + return 0 2020-11-23 21:47:54,082: DEBUG - + cp /tmp/hotspot-ynh-deps.control /tmp/tmp.Bip1w148gN/control 2020-11-23 21:47:54,082: DEBUG - + cd /tmp/tmp.Bip1w148gN 2020-11-23 21:47:54,083: DEBUG - + LC_ALL=C 2020-11-23 21:47:54,083: DEBUG - + equivs-build ./control 2020-11-23 21:47:56,388: DEBUG - + LC_ALL=C 2020-11-23 21:47:56,389: DEBUG - + dpkg --force-depends --install ./hotspot-ynh-deps_1.2.0~ynh3_all.deb 2020-11-23 21:47:56,390: DEBUG - + tee ./dpkg_log 2020-11-23 21:47:56,491: DEBUG - Selecting previously unselected package hotspot-ynh-deps. 2020-11-23 21:47:56,591: DEBUG - (Reading database ... 57064 files and directories currently installed.) 2020-11-23 21:47:56,592: DEBUG - Preparing to unpack .../hotspot-ynh-deps_1.2.0~ynh3_all.deb ... 2020-11-23 21:47:56,592: DEBUG - Unpacking hotspot-ynh-deps (1.2.0~ynh3) ... 2020-11-23 21:47:56,693: DEBUG - dpkg: hotspot-ynh-deps: dependency problems, but configuring anyway as you requested: 2020-11-23 21:47:56,693: DEBUG - hotspot-ynh-deps depends on atmel-firmware; however: 2020-11-23 21:47:56,694: DEBUG - Package atmel-firmware is not installed. 2020-11-23 21:47:56,694: DEBUG - hotspot-ynh-deps depends on zd1211-firmware; however: 2020-11-23 21:47:56,694: DEBUG - Package zd1211-firmware is not installed. 2020-11-23 21:47:56,695: DEBUG - 2020-11-23 21:47:56,695: DEBUG - Setting up hotspot-ynh-deps (1.2.0~ynh3) ... 2020-11-23 21:47:56,795: DEBUG - + ynh_package_install --fix-broken 2020-11-23 21:47:56,796: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken 2020-11-23 21:47:56,796: DEBUG - + ynh_wait_dpkg_free 2020-11-23 21:47:57,098: DEBUG - + return 0 2020-11-23 21:47:57,098: DEBUG - + LC_ALL=C 2020-11-23 21:47:57,099: DEBUG - + DEBIAN_FRONTEND=noninteractive 2020-11-23 21:47:57,099: 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-11-23 21:48:01,109: DEBUG - Reading package lists... 2020-11-23 21:48:01,612: DEBUG - Building dependency tree... 2020-11-23 21:48:01,612: DEBUG - Reading state information... 2020-11-23 21:48:02,013: DEBUG - Correcting dependencies... Done 2020-11-23 21:48:02,716: DEBUG - The following additional packages will be installed: 2020-11-23 21:48:02,716: DEBUG - atmel-firmware firmware-zd1211 2020-11-23 21:48:02,817: DEBUG - The following NEW packages will be installed: 2020-11-23 21:48:02,817: DEBUG - atmel-firmware firmware-zd1211 2020-11-23 21:48:04,121: DEBUG - 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 2020-11-23 21:48:04,121: DEBUG - Need to get 0 B/482 kB of archives. 2020-11-23 21:48:04,121: DEBUG - After this operation, 947 kB of additional disk space will be used. 2020-11-23 21:48:04,222: DEBUG - Selecting previously unselected package atmel-firmware. 2020-11-23 21:48:04,323: DEBUG - (Reading database ... 57068 files and directories currently installed.) 2020-11-23 21:48:04,323: DEBUG - Preparing to unpack .../atmel-firmware_1.3-4_all.deb ... 2020-11-23 21:48:04,324: DEBUG - Unpacking atmel-firmware (1.3-4) ... 2020-11-23 21:48:04,424: DEBUG - Selecting previously unselected package firmware-zd1211. 2020-11-23 21:48:04,525: DEBUG - Preparing to unpack .../firmware-zd1211_1%3a1.5-6_all.deb ... 2020-11-23 21:48:04,526: DEBUG - Unpacking firmware-zd1211 (1:1.5-6) ... 2020-11-23 21:48:04,727: DEBUG - Setting up atmel-firmware (1.3-4) ... 2020-11-23 21:48:04,727: DEBUG - Setting up firmware-zd1211 (1:1.5-6) ... 2020-11-23 21:48:04,727: DEBUG - Processing triggers for man-db (2.8.5-2) ... 2020-11-23 21:48:05,630: DEBUG - + [[ -n /tmp/tmp.Bip1w148gN ]] 2020-11-23 21:48:05,630: DEBUG - + rm --recursive --force /tmp/tmp.Bip1w148gN 2020-11-23 21:48:05,630: DEBUG - + ynh_package_is_installed hotspot-ynh-deps 2020-11-23 21:48:05,633: DEBUG - + ynh_wait_dpkg_free 2020-11-23 21:48:05,935: DEBUG - + return 0 2020-11-23 21:48:05,935: DEBUG - + grep --count 'ok installed' 2020-11-23 21:48:05,936: DEBUG - + dpkg-query --show '--showformat=${Status}' hotspot-ynh-deps 2020-11-23 21:48:05,936: DEBUG - + rm /tmp/hotspot-ynh-deps.control 2020-11-23 21:48:05,937: DEBUG - + ynh_app_setting_set --app=hotspot --key=apt_dependencies '--value=sipcalc, hostapd, iptables, iw, dnsmasq, firmware-linux-free, firmware-linux-nonfree, firmware-atheros, firmware-realtek, firmware-ralink, firmware-libertas, atmel-firmware, zd1211-firmware' 2020-11-23 21:48:06,140: DEBUG - + ynh_app_setting set hotspot apt_dependencies 'sipcalc, hostapd, iptables, iw, dnsmasq, firmware-linux-free, firmware-linux-nonfree, firmware-atheros, firmware-realtek, firmware-ralink, firmware-libertas, atmel-firmware, zd1211-firmware' 2020-11-23 21:48:06,141: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:06,141: DEBUG - + ACTION=set 2020-11-23 21:48:06,142: DEBUG - + APP=hotspot 2020-11-23 21:48:06,142: DEBUG - + KEY=apt_dependencies 2020-11-23 21:48:06,142: DEBUG - + VALUE='sipcalc, hostapd, iptables, iw, dnsmasq, firmware-linux-free, firmware-linux-nonfree, firmware-atheros, firmware-realtek, firmware-ralink, firmware-libertas, atmel-firmware, zd1211-firmware' 2020-11-23 21:48:06,143: DEBUG - + python2.7 - 2020-11-23 21:48:06,444: DEBUG - + [[ apt_dependencies =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:06,546: DEBUG - + echo '[#####+..............] > Configuring nginx web server...' 2020-11-23 21:48:06,547: DEBUG - + ynh_add_nginx_config 2020-11-23 21:48:06,547: DEBUG - + finalnginxconf=/etc/nginx/conf.d/maindomain.tld.d/hotspot.conf 2020-11-23 21:48:06,548: DEBUG - + local others_var= 2020-11-23 21:48:06,548: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/maindomain.tld.d/hotspot.conf 2020-11-23 21:48:06,551: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_hotspot.conf 2020-11-23 21:48:06,551: DEBUG - ++ ynh_app_setting_get --app=hotspot --key=checksum__etc_nginx_conf.d_maindomain.tld.d_hotspot.conf 2020-11-23 21:48:06,655: DEBUG - ++ ynh_app_setting get hotspot checksum__etc_nginx_conf.d_maindomain.tld.d_hotspot.conf 2020-11-23 21:48:06,655: INFO - [#####+..............] > Configuring nginx web server... 2020-11-23 21:48:06,656: DEBUG - ++ [[ get == \d\e\l\e\t\e ]] 2020-11-23 21:48:06,657: DEBUG - ++ ACTION=get 2020-11-23 21:48:06,657: DEBUG - ++ APP=hotspot 2020-11-23 21:48:06,657: DEBUG - ++ KEY=checksum__etc_nginx_conf.d_maindomain.tld.d_hotspot.conf 2020-11-23 21:48:06,658: DEBUG - ++ VALUE= 2020-11-23 21:48:06,658: DEBUG - ++ python2.7 - 2020-11-23 21:48:06,859: DEBUG - ++ [[ checksum__etc_nginx_conf.d_maindomain.tld.d_hotspot.conf =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:06,859: DEBUG - + local checksum_value= 2020-11-23 21:48:06,860: DEBUG - + backup_file_checksum= 2020-11-23 21:48:06,860: DEBUG - + '[' -n '' ']' 2020-11-23 21:48:06,860: DEBUG - + cp ../conf/nginx.conf /etc/nginx/conf.d/maindomain.tld.d/hotspot.conf 2020-11-23 21:48:06,861: DEBUG - + test -n /wifiadmin 2020-11-23 21:48:06,861: DEBUG - + local path_url_slash_less=/wifiadmin 2020-11-23 21:48:06,862: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/wifiadmin/ --target_file=/etc/nginx/conf.d/maindomain.tld.d/hotspot.conf 2020-11-23 21:48:07,066: DEBUG - + local delimit=@ 2020-11-23 21:48:07,066: DEBUG - + match_string=__PATH__/ 2020-11-23 21:48:07,067: DEBUG - + replace_string=/wifiadmin/ 2020-11-23 21:48:07,067: DEBUG - + sed --in-place s@__PATH__/@/wifiadmin/@g /etc/nginx/conf.d/maindomain.tld.d/hotspot.conf 2020-11-23 21:48:07,068: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/wifiadmin --target_file=/etc/nginx/conf.d/maindomain.tld.d/hotspot.conf 2020-11-23 21:48:07,272: DEBUG - + local delimit=@ 2020-11-23 21:48:07,272: DEBUG - + match_string=__PATH__ 2020-11-23 21:48:07,272: DEBUG - + replace_string=/wifiadmin 2020-11-23 21:48:07,273: DEBUG - + sed --in-place s@__PATH__@/wifiadmin@g /etc/nginx/conf.d/maindomain.tld.d/hotspot.conf 2020-11-23 21:48:07,273: DEBUG - + test -n maindomain.tld 2020-11-23 21:48:07,273: DEBUG - + ynh_replace_string --match_string=__DOMAIN__ --replace_string=maindomain.tld --target_file=/etc/nginx/conf.d/maindomain.tld.d/hotspot.conf 2020-11-23 21:48:07,476: DEBUG - + local delimit=@ 2020-11-23 21:48:07,477: DEBUG - + match_string=__DOMAIN__ 2020-11-23 21:48:07,477: DEBUG - + replace_string=maindomain.tld 2020-11-23 21:48:07,478: DEBUG - + sed --in-place s@__DOMAIN__@maindomain.tld@g /etc/nginx/conf.d/maindomain.tld.d/hotspot.conf 2020-11-23 21:48:07,478: DEBUG - + test -n '' 2020-11-23 21:48:07,478: DEBUG - + test -n hotspot 2020-11-23 21:48:07,478: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=hotspot --target_file=/etc/nginx/conf.d/maindomain.tld.d/hotspot.conf 2020-11-23 21:48:07,682: DEBUG - + local delimit=@ 2020-11-23 21:48:07,682: DEBUG - + match_string=__NAME__ 2020-11-23 21:48:07,683: DEBUG - + replace_string=hotspot 2020-11-23 21:48:07,683: DEBUG - + sed --in-place s@__NAME__@hotspot@g /etc/nginx/conf.d/maindomain.tld.d/hotspot.conf 2020-11-23 21:48:07,683: DEBUG - + test -n /var/www/hotspot 2020-11-23 21:48:07,684: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/hotspot --target_file=/etc/nginx/conf.d/maindomain.tld.d/hotspot.conf 2020-11-23 21:48:07,989: DEBUG - + local delimit=@ 2020-11-23 21:48:07,989: DEBUG - + match_string=__FINALPATH__ 2020-11-23 21:48:07,990: DEBUG - + replace_string=/var/www/hotspot 2020-11-23 21:48:07,991: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/hotspot@g /etc/nginx/conf.d/maindomain.tld.d/hotspot.conf 2020-11-23 21:48:07,991: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/maindomain.tld.d/hotspot.conf 2020-11-23 21:48:08,197: DEBUG - + local delimit=@ 2020-11-23 21:48:08,198: DEBUG - + match_string=__PHPVERSION__ 2020-11-23 21:48:08,198: DEBUG - + replace_string=7.3 2020-11-23 21:48:08,199: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/maindomain.tld.d/hotspot.conf 2020-11-23 21:48:08,300: DEBUG - + '[' /wifiadmin '!=' / ']' 2020-11-23 21:48:08,301: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/maindomain.tld.d/hotspot.conf 2020-11-23 21:48:08,506: DEBUG - + local delimit=@ 2020-11-23 21:48:08,507: DEBUG - + match_string='^#sub_path_only' 2020-11-23 21:48:08,507: DEBUG - + replace_string= 2020-11-23 21:48:08,508: DEBUG - + sed --in-place 's@^#sub_path_only@@g' /etc/nginx/conf.d/maindomain.tld.d/hotspot.conf 2020-11-23 21:48:08,508: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/hotspot.conf 2020-11-23 21:48:08,611: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_hotspot.conf 2020-11-23 21:48:08,612: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/hotspot.conf 2020-11-23 21:48:08,612: DEBUG - ++ cut '--delimiter= ' --fields=1 2020-11-23 21:48:08,613: DEBUG - + ynh_app_setting_set --app=hotspot --key=checksum__etc_nginx_conf.d_maindomain.tld.d_hotspot.conf --value=dbcc9d683c6c6230baa846c567744d3c 2020-11-23 21:48:08,918: DEBUG - + ynh_app_setting set hotspot checksum__etc_nginx_conf.d_maindomain.tld.d_hotspot.conf dbcc9d683c6c6230baa846c567744d3c 2020-11-23 21:48:08,918: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:08,919: DEBUG - + ACTION=set 2020-11-23 21:48:08,919: DEBUG - + APP=hotspot 2020-11-23 21:48:08,919: DEBUG - + KEY=checksum__etc_nginx_conf.d_maindomain.tld.d_hotspot.conf 2020-11-23 21:48:08,920: DEBUG - + VALUE=dbcc9d683c6c6230baa846c567744d3c 2020-11-23 21:48:08,920: DEBUG - + python2.7 - 2020-11-23 21:48:09,121: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_hotspot.conf =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:09,122: DEBUG - + '[' -n '' ']' 2020-11-23 21:48:09,122: DEBUG - + unset backup_file_checksum 2020-11-23 21:48:09,122: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload 2020-11-23 21:48:09,427: DEBUG - + service_name=nginx 2020-11-23 21:48:09,428: DEBUG - + action=reload 2020-11-23 21:48:09,428: DEBUG - + line_match= 2020-11-23 21:48:09,429: DEBUG - + length=20 2020-11-23 21:48:09,429: DEBUG - + log_path=/var/log/nginx/nginx.log 2020-11-23 21:48:09,429: DEBUG - + timeout=300 2020-11-23 21:48:09,429: DEBUG - + [[ -n '' ]] 2020-11-23 21:48:09,430: DEBUG - + '[' reload == reload ']' 2020-11-23 21:48:09,430: DEBUG - + action=reload-or-restart 2020-11-23 21:48:09,430: DEBUG - + systemctl reload-or-restart nginx 2020-11-23 21:48:09,631: DEBUG - + [[ -n '' ]] 2020-11-23 21:48:09,734: DEBUG - + echo '[######+.............] > Configuring system user...' 2020-11-23 21:48:09,734: DEBUG - + ynh_system_user_create --username=hotspot 2020-11-23 21:48:09,838: DEBUG - + use_shell=0 2020-11-23 21:48:09,839: INFO - [######+.............] > Configuring system user... 2020-11-23 21:48:09,839: DEBUG - + home_dir= 2020-11-23 21:48:09,840: DEBUG - + ynh_system_user_exists hotspot 2020-11-23 21:48:09,844: DEBUG - + getent passwd hotspot 2020-11-23 21:48:09,844: DEBUG - + '[' -n '' ']' 2020-11-23 21:48:09,844: DEBUG - + local user_home_dir=--no-create-home 2020-11-23 21:48:09,844: DEBUG - + '[' 0 -eq 1 ']' 2020-11-23 21:48:09,845: DEBUG - + local 'shell=--shell /usr/sbin/nologin' 2020-11-23 21:48:09,845: DEBUG - + useradd --no-create-home --system --user-group hotspot --shell /usr/sbin/nologin 2020-11-23 21:48:10,046: DEBUG - + install -b -o root -g root -m 0440 ../conf/sudoers.conf /etc/sudoers.d/hotspot_ynh 2020-11-23 21:48:10,046: DEBUG - + ynh_replace_string --match_string=__HOTSPOT_SYSUSER__ --replace_string=hotspot --target_file=/etc/sudoers.d/hotspot_ynh 2020-11-23 21:48:10,250: DEBUG - + local delimit=@ 2020-11-23 21:48:10,250: DEBUG - + match_string=__HOTSPOT_SYSUSER__ 2020-11-23 21:48:10,251: DEBUG - + replace_string=hotspot 2020-11-23 21:48:10,251: DEBUG - + sed --in-place s@__HOTSPOT_SYSUSER__@hotspot@g /etc/sudoers.d/hotspot_ynh 2020-11-23 21:48:10,455: DEBUG - + echo '[#######+............] > Configuring php-fpm...' 2020-11-23 21:48:10,456: INFO - [#######+............] > Configuring php-fpm... 2020-11-23 21:48:10,457: DEBUG - + ynh_add_fpm_config 2020-11-23 21:48:10,461: DEBUG - + package= 2020-11-23 21:48:10,461: DEBUG - + use_template=1 2020-11-23 21:48:10,462: DEBUG - + usage= 2020-11-23 21:48:10,462: DEBUG - + footprint= 2020-11-23 21:48:10,463: DEBUG - + '[' -n '' ']' 2020-11-23 21:48:10,463: DEBUG - + '[' -n '' ']' 2020-11-23 21:48:10,463: DEBUG - + dedicated_service=0 2020-11-23 21:48:10,464: DEBUG - + phpversion=7.3 2020-11-23 21:48:10,464: DEBUG - + '[' 7.3 '!=' 7.3 ']' 2020-11-23 21:48:10,464: DEBUG - + '[' -n '' ']' 2020-11-23 21:48:10,465: DEBUG - + '[' 0 -eq 1 ']' 2020-11-23 21:48:10,465: DEBUG - + local fpm_service=php7.3-fpm 2020-11-23 21:48:10,465: DEBUG - + local fpm_config_dir=/etc/php/7.3/fpm 2020-11-23 21:48:10,466: DEBUG - ++ ynh_get_debian_release 2020-11-23 21:48:10,466: DEBUG - +++ lsb_release --codename --short 2020-11-23 21:48:10,566: DEBUG - ++ echo buster 2020-11-23 21:48:10,567: DEBUG - + '[' buster == jessie ']' 2020-11-23 21:48:10,567: DEBUG - + mkdir --parents /etc/php/7.3/fpm/pool.d 2020-11-23 21:48:10,568: DEBUG - + ynh_app_setting_set --app=hotspot --key=fpm_config_dir --value=/etc/php/7.3/fpm 2020-11-23 21:48:10,772: DEBUG - + ynh_app_setting set hotspot fpm_config_dir /etc/php/7.3/fpm 2020-11-23 21:48:10,773: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:10,773: DEBUG - + ACTION=set 2020-11-23 21:48:10,773: DEBUG - + APP=hotspot 2020-11-23 21:48:10,774: DEBUG - + KEY=fpm_config_dir 2020-11-23 21:48:10,774: DEBUG - + VALUE=/etc/php/7.3/fpm 2020-11-23 21:48:10,774: DEBUG - + python2.7 - 2020-11-23 21:48:10,975: DEBUG - + [[ fpm_config_dir =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:10,976: DEBUG - + ynh_app_setting_set --app=hotspot --key=fpm_service --value=php7.3-fpm 2020-11-23 21:48:11,180: DEBUG - + ynh_app_setting set hotspot fpm_service php7.3-fpm 2020-11-23 21:48:11,180: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:11,181: DEBUG - + ACTION=set 2020-11-23 21:48:11,181: DEBUG - + APP=hotspot 2020-11-23 21:48:11,182: DEBUG - + KEY=fpm_service 2020-11-23 21:48:11,182: DEBUG - + VALUE=php7.3-fpm 2020-11-23 21:48:11,183: DEBUG - + python2.7 - 2020-11-23 21:48:11,384: DEBUG - + [[ fpm_service =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:11,384: DEBUG - + ynh_app_setting_set --app=hotspot --key=fpm_dedicated_service --value=0 2020-11-23 21:48:11,589: DEBUG - + ynh_app_setting set hotspot fpm_dedicated_service 0 2020-11-23 21:48:11,589: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:11,590: DEBUG - + ACTION=set 2020-11-23 21:48:11,590: DEBUG - + APP=hotspot 2020-11-23 21:48:11,590: DEBUG - + KEY=fpm_dedicated_service 2020-11-23 21:48:11,591: DEBUG - + VALUE=0 2020-11-23 21:48:11,591: DEBUG - + python2.7 - 2020-11-23 21:48:11,792: DEBUG - + [[ fpm_dedicated_service =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:11,792: DEBUG - + ynh_app_setting_set --app=hotspot --key=phpversion --value=7.3 2020-11-23 21:48:11,996: DEBUG - + ynh_app_setting set hotspot phpversion 7.3 2020-11-23 21:48:11,997: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:11,997: DEBUG - + ACTION=set 2020-11-23 21:48:11,998: DEBUG - + APP=hotspot 2020-11-23 21:48:11,998: DEBUG - + KEY=phpversion 2020-11-23 21:48:11,998: DEBUG - + VALUE=7.3 2020-11-23 21:48:11,999: DEBUG - + python2.7 - 2020-11-23 21:48:12,199: DEBUG - + [[ phpversion =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:12,200: DEBUG - + finalphpconf=/etc/php/7.3/fpm/pool.d/hotspot.conf 2020-11-23 21:48:12,200: DEBUG - + '[' 0 -eq 1 ']' 2020-11-23 21:48:12,201: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.3/fpm/pool.d/hotspot.conf 2020-11-23 21:48:12,304: DEBUG - + local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_hotspot.conf 2020-11-23 21:48:12,304: DEBUG - ++ ynh_app_setting_get --app=hotspot --key=checksum__etc_php_7.3_fpm_pool.d_hotspot.conf 2020-11-23 21:48:12,407: DEBUG - ++ ynh_app_setting get hotspot checksum__etc_php_7.3_fpm_pool.d_hotspot.conf 2020-11-23 21:48:12,408: DEBUG - ++ [[ get == \d\e\l\e\t\e ]] 2020-11-23 21:48:12,408: DEBUG - ++ ACTION=get 2020-11-23 21:48:12,408: DEBUG - ++ APP=hotspot 2020-11-23 21:48:12,409: DEBUG - ++ KEY=checksum__etc_php_7.3_fpm_pool.d_hotspot.conf 2020-11-23 21:48:12,409: DEBUG - ++ VALUE= 2020-11-23 21:48:12,409: DEBUG - ++ python2.7 - 2020-11-23 21:48:12,610: DEBUG - ++ [[ checksum__etc_php_7.3_fpm_pool.d_hotspot.conf =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:12,611: DEBUG - + local checksum_value= 2020-11-23 21:48:12,611: DEBUG - + backup_file_checksum= 2020-11-23 21:48:12,611: DEBUG - + '[' -n '' ']' 2020-11-23 21:48:12,612: DEBUG - + '[' 1 -eq 1 ']' 2020-11-23 21:48:12,612: DEBUG - + local phpfpm_path=../conf/php-fpm.conf 2020-11-23 21:48:12,612: DEBUG - + '[' '!' -e ../conf/php-fpm.conf ']' 2020-11-23 21:48:12,613: DEBUG - + '[' -e ../conf/php-fpm.conf ']' 2020-11-23 21:48:12,613: DEBUG - + cp ../conf/php-fpm.conf /etc/php/7.3/fpm/pool.d/hotspot.conf 2020-11-23 21:48:12,614: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=hotspot --target_file=/etc/php/7.3/fpm/pool.d/hotspot.conf 2020-11-23 21:48:12,818: DEBUG - + local delimit=@ 2020-11-23 21:48:12,818: DEBUG - + match_string=__NAMETOCHANGE__ 2020-11-23 21:48:12,819: DEBUG - + replace_string=hotspot 2020-11-23 21:48:12,819: DEBUG - + sed --in-place s@__NAMETOCHANGE__@hotspot@g /etc/php/7.3/fpm/pool.d/hotspot.conf 2020-11-23 21:48:12,920: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/hotspot --target_file=/etc/php/7.3/fpm/pool.d/hotspot.conf 2020-11-23 21:48:13,127: DEBUG - + local delimit=@ 2020-11-23 21:48:13,127: DEBUG - + match_string=__FINALPATH__ 2020-11-23 21:48:13,128: DEBUG - + replace_string=/var/www/hotspot 2020-11-23 21:48:13,128: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/hotspot@g /etc/php/7.3/fpm/pool.d/hotspot.conf 2020-11-23 21:48:13,129: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=hotspot --target_file=/etc/php/7.3/fpm/pool.d/hotspot.conf 2020-11-23 21:48:13,434: DEBUG - + local delimit=@ 2020-11-23 21:48:13,435: DEBUG - + match_string=__USER__ 2020-11-23 21:48:13,436: DEBUG - + replace_string=hotspot 2020-11-23 21:48:13,436: DEBUG - + sed --in-place s@__USER__@hotspot@g /etc/php/7.3/fpm/pool.d/hotspot.conf 2020-11-23 21:48:13,437: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/hotspot.conf 2020-11-23 21:48:13,742: DEBUG - + local delimit=@ 2020-11-23 21:48:13,743: DEBUG - + match_string=__PHPVERSION__ 2020-11-23 21:48:13,744: DEBUG - + replace_string=7.3 2020-11-23 21:48:13,744: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/php/7.3/fpm/pool.d/hotspot.conf 2020-11-23 21:48:13,745: DEBUG - + chown root: /etc/php/7.3/fpm/pool.d/hotspot.conf 2020-11-23 21:48:13,746: DEBUG - + ynh_store_file_checksum --file=/etc/php/7.3/fpm/pool.d/hotspot.conf 2020-11-23 21:48:13,850: DEBUG - + local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_hotspot.conf 2020-11-23 21:48:13,851: DEBUG - ++ md5sum /etc/php/7.3/fpm/pool.d/hotspot.conf 2020-11-23 21:48:13,851: DEBUG - ++ cut '--delimiter= ' --fields=1 2020-11-23 21:48:13,852: DEBUG - + ynh_app_setting_set --app=hotspot --key=checksum__etc_php_7.3_fpm_pool.d_hotspot.conf --value=07c908d360ddd937fa9bb02070d65f36 2020-11-23 21:48:14,157: DEBUG - + ynh_app_setting set hotspot checksum__etc_php_7.3_fpm_pool.d_hotspot.conf 07c908d360ddd937fa9bb02070d65f36 2020-11-23 21:48:14,158: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:14,158: DEBUG - + ACTION=set 2020-11-23 21:48:14,159: DEBUG - + APP=hotspot 2020-11-23 21:48:14,159: DEBUG - + KEY=checksum__etc_php_7.3_fpm_pool.d_hotspot.conf 2020-11-23 21:48:14,159: DEBUG - + VALUE=07c908d360ddd937fa9bb02070d65f36 2020-11-23 21:48:14,160: DEBUG - + python2.7 - 2020-11-23 21:48:14,360: DEBUG - + [[ checksum__etc_php_7.3_fpm_pool.d_hotspot.conf =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:14,361: DEBUG - + '[' -n '' ']' 2020-11-23 21:48:14,361: DEBUG - + unset backup_file_checksum 2020-11-23 21:48:14,362: DEBUG - + '[' -e ../conf/php-fpm.ini ']' 2020-11-23 21:48:14,362: DEBUG - + '[' 0 -eq 1 ']' 2020-11-23 21:48:14,362: DEBUG - + ynh_systemd_action --service_name=php7.3-fpm --action=reload 2020-11-23 21:48:14,566: DEBUG - + service_name=php7.3-fpm 2020-11-23 21:48:14,567: DEBUG - + action=reload 2020-11-23 21:48:14,567: DEBUG - + line_match= 2020-11-23 21:48:14,567: DEBUG - + length=20 2020-11-23 21:48:14,568: DEBUG - + log_path=/var/log/php7.3-fpm/php7.3-fpm.log 2020-11-23 21:48:14,568: DEBUG - + timeout=300 2020-11-23 21:48:14,568: DEBUG - + [[ -n '' ]] 2020-11-23 21:48:14,569: DEBUG - + '[' reload == reload ']' 2020-11-23 21:48:14,569: DEBUG - + action=reload-or-restart 2020-11-23 21:48:14,570: DEBUG - + systemctl reload-or-restart php7.3-fpm 2020-11-23 21:48:14,671: DEBUG - + [[ -n '' ]] 2020-11-23 21:48:14,671: DEBUG - ++ ynh_app_setting_get --app=hotspot --key=phpversion 2020-11-23 21:48:14,775: DEBUG - ++ ynh_app_setting get hotspot phpversion 2020-11-23 21:48:14,777: DEBUG - ++ [[ get == \d\e\l\e\t\e ]] 2020-11-23 21:48:14,778: DEBUG - ++ ACTION=get 2020-11-23 21:48:14,778: DEBUG - ++ APP=hotspot 2020-11-23 21:48:14,779: DEBUG - ++ KEY=phpversion 2020-11-23 21:48:14,780: DEBUG - ++ VALUE= 2020-11-23 21:48:14,780: DEBUG - ++ python2.7 - 2020-11-23 21:48:14,982: DEBUG - ++ [[ phpversion =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:14,982: DEBUG - + phpversion=7.3 2020-11-23 21:48:15,185: DEBUG - + echo '[########++..........] > Installing custom script...' 2020-11-23 21:48:15,186: DEBUG - + install -o root -g root -m 0755 ../conf/iw_multissid /usr/local/bin/ 2020-11-23 21:48:15,186: DEBUG - + install -o root -g root -m 0755 ../conf/iw_devices /usr/local/bin/ 2020-11-23 21:48:15,186: DEBUG - + install -o root -g root -m 0755 ../conf/iw_ssids /usr/local/bin/ 2020-11-23 21:48:15,187: DEBUG - + install -o root -g root -m 0755 ../conf/ipv6_expanded /usr/local/bin/ 2020-11-23 21:48:15,187: DEBUG - + install -o root -g root -m 0755 ../conf/ipv6_compressed /usr/local/bin/ 2020-11-23 21:48:15,187: DEBUG - + [[ ! -v ip6_net ]] 2020-11-23 21:48:15,187: DEBUG - + ip6_net=none 2020-11-23 21:48:15,188: DEBUG - + ip6_addr=none 2020-11-23 21:48:15,188: DEBUG - + [[ -e /tmp/.ynh-vpnclient-started ]] 2020-11-23 21:48:15,188: DEBUG - ++ ynh_app_setting_get vpnclient ip6_net 2020-11-23 21:48:15,291: INFO - [########++..........] > Installing custom script... 2020-11-23 21:48:15,292: DEBUG - ++ ynh_app_setting get vpnclient ip6_net 2020-11-23 21:48:15,293: DEBUG - ++ [[ get == \d\e\l\e\t\e ]] 2020-11-23 21:48:15,293: DEBUG - ++ ACTION=get 2020-11-23 21:48:15,294: DEBUG - ++ APP=vpnclient 2020-11-23 21:48:15,294: DEBUG - ++ KEY=ip6_net 2020-11-23 21:48:15,294: DEBUG - ++ VALUE= 2020-11-23 21:48:15,295: DEBUG - ++ python2.7 - 2020-11-23 21:48:15,596: DEBUG - ++ [[ ip6_net =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:15,596: DEBUG - + vpnclient_ip6_net=2a00:5881:4008:4300::2 2020-11-23 21:48:15,597: DEBUG - ++ ynh_app_setting_get vpnclient ip6_addr 2020-11-23 21:48:15,701: DEBUG - ++ ynh_app_setting get vpnclient ip6_addr 2020-11-23 21:48:15,702: DEBUG - ++ [[ get == \d\e\l\e\t\e ]] 2020-11-23 21:48:15,702: DEBUG - ++ ACTION=get 2020-11-23 21:48:15,702: DEBUG - ++ APP=vpnclient 2020-11-23 21:48:15,703: DEBUG - ++ KEY=ip6_addr 2020-11-23 21:48:15,703: DEBUG - ++ VALUE= 2020-11-23 21:48:15,703: DEBUG - ++ python2.7 - 2020-11-23 21:48:15,904: DEBUG - ++ [[ ip6_addr =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:15,905: DEBUG - + vpnclient_ip6_addr=xx:xx:xx:xx:xx:xx 2020-11-23 21:48:15,906: DEBUG - + [[ 2a00:5881:4008:4300::2 =~ :: ]] 2020-11-23 21:48:15,906: DEBUG - + [[ xx:xx:xx:xx:xx:xx =~ :: ]] 2020-11-23 21:48:15,907: DEBUG - + ip6_net=2a00:5881:4008:4300::2 2020-11-23 21:48:15,907: DEBUG - + ip6_addr=xx:xx:xx:xx:xx:xx 2020-11-23 21:48:15,907: DEBUG - ++ bash ../conf/iw_devices 2020-11-23 21:48:15,908: DEBUG - ++ awk '-F|' '{ print $1 }' 2020-11-23 21:48:15,908: DEBUG - + wifi_device=wlan0 2020-11-23 21:48:15,908: DEBUG - + ynh_app_setting_set --app=hotspot --key=multissid --value=1 2020-11-23 21:48:16,112: DEBUG - + ynh_app_setting set hotspot multissid 1 2020-11-23 21:48:16,113: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:16,113: DEBUG - + ACTION=set 2020-11-23 21:48:16,114: DEBUG - + APP=hotspot 2020-11-23 21:48:16,114: DEBUG - + KEY=multissid 2020-11-23 21:48:16,114: DEBUG - + VALUE=1 2020-11-23 21:48:16,115: DEBUG - + python2.7 - 2020-11-23 21:48:16,315: DEBUG - + [[ multissid =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:16,316: DEBUG - + ynh_app_setting_set --app=hotspot --key=wifi_ssid --value=CTNetwork 2020-11-23 21:48:16,520: DEBUG - + ynh_app_setting set hotspot wifi_ssid CTNetwork 2020-11-23 21:48:16,521: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:16,521: DEBUG - + ACTION=set 2020-11-23 21:48:16,521: DEBUG - + APP=hotspot 2020-11-23 21:48:16,522: DEBUG - + KEY=wifi_ssid 2020-11-23 21:48:16,522: DEBUG - + VALUE=CTNetwork 2020-11-23 21:48:16,522: DEBUG - + python2.7 - 2020-11-23 21:48:16,824: DEBUG - + [[ wifi_ssid =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:16,824: DEBUG - + ynh_app_setting_set --app=hotspot --key=wifi_secure --value=1 2020-11-23 21:48:17,029: DEBUG - + ynh_app_setting set hotspot wifi_secure 1 2020-11-23 21:48:17,030: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:17,030: DEBUG - + ACTION=set 2020-11-23 21:48:17,030: DEBUG - + APP=hotspot 2020-11-23 21:48:17,031: DEBUG - + KEY=wifi_secure 2020-11-23 21:48:17,031: DEBUG - + VALUE=1 2020-11-23 21:48:17,031: DEBUG - + python2.7 - 2020-11-23 21:48:17,232: DEBUG - + [[ wifi_secure =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:17,233: DEBUG - + ynh_app_setting_set --app=hotspot --key=wifi_passphrase '--value=**********' 2020-11-23 21:48:17,437: DEBUG - + ynh_app_setting set hotspot wifi_passphrase '**********' 2020-11-23 21:48:17,438: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:17,438: DEBUG - + ACTION=set 2020-11-23 21:48:17,438: DEBUG - + APP=hotspot 2020-11-23 21:48:17,439: DEBUG - + KEY=wifi_passphrase 2020-11-23 21:48:17,439: DEBUG - + VALUE='**********' 2020-11-23 21:48:17,439: DEBUG - + python2.7 - 2020-11-23 21:48:17,640: DEBUG - + [[ wifi_passphrase =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:17,641: DEBUG - + ynh_app_setting_set --app=hotspot --key=wifi_device --value=wlan0 2020-11-23 21:48:17,845: DEBUG - + ynh_app_setting set hotspot wifi_device wlan0 2020-11-23 21:48:17,846: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:17,846: DEBUG - + ACTION=set 2020-11-23 21:48:17,846: DEBUG - + APP=hotspot 2020-11-23 21:48:17,847: DEBUG - + KEY=wifi_device 2020-11-23 21:48:17,847: DEBUG - + VALUE=wlan0 2020-11-23 21:48:17,847: DEBUG - + python2.7 - 2020-11-23 21:48:18,048: DEBUG - + [[ wifi_device =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:18,049: DEBUG - + ynh_app_setting_set --app=hotspot --key=wifi_channel --value=6 2020-11-23 21:48:18,252: DEBUG - + ynh_app_setting set hotspot wifi_channel 6 2020-11-23 21:48:18,253: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:18,253: DEBUG - + ACTION=set 2020-11-23 21:48:18,254: DEBUG - + APP=hotspot 2020-11-23 21:48:18,254: DEBUG - + KEY=wifi_channel 2020-11-23 21:48:18,254: DEBUG - + VALUE=6 2020-11-23 21:48:18,255: DEBUG - + python2.7 - 2020-11-23 21:48:18,556: DEBUG - + [[ wifi_channel =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:18,556: DEBUG - + ynh_app_setting_set --app=hotspot --key=ip6_addr --value=xx:xx:xx:xx:xx:xx 2020-11-23 21:48:18,760: DEBUG - + ynh_app_setting set hotspot ip6_addr xx:xx:xx:xx:xx:xx 2020-11-23 21:48:18,761: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:18,762: DEBUG - + ACTION=set 2020-11-23 21:48:18,762: DEBUG - + APP=hotspot 2020-11-23 21:48:18,762: DEBUG - + KEY=ip6_addr 2020-11-23 21:48:18,763: DEBUG - + VALUE=xx:xx:xx:xx:xx:xx 2020-11-23 21:48:18,763: DEBUG - + python2.7 - 2020-11-23 21:48:18,964: DEBUG - + [[ ip6_addr =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:18,964: DEBUG - + ynh_app_setting_set --app=hotspot --key=ip6_firewall --value=1 2020-11-23 21:48:19,168: DEBUG - + ynh_app_setting set hotspot ip6_firewall 1 2020-11-23 21:48:19,169: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:19,170: DEBUG - + ACTION=set 2020-11-23 21:48:19,170: DEBUG - + APP=hotspot 2020-11-23 21:48:19,170: DEBUG - + KEY=ip6_firewall 2020-11-23 21:48:19,171: DEBUG - + VALUE=1 2020-11-23 21:48:19,171: DEBUG - + python2.7 - 2020-11-23 21:48:19,372: DEBUG - + [[ ip6_firewall =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:19,372: DEBUG - + ynh_app_setting_set --app=hotspot --key=ip6_net --value=2a00:5881:4008:4300::2 2020-11-23 21:48:19,577: DEBUG - + ynh_app_setting set hotspot ip6_net 2a00:5881:4008:4300::2 2020-11-23 21:48:19,577: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:19,578: DEBUG - + ACTION=set 2020-11-23 21:48:19,578: DEBUG - + APP=hotspot 2020-11-23 21:48:19,578: DEBUG - + KEY=ip6_net 2020-11-23 21:48:19,579: DEBUG - + VALUE=2a00:5881:4008:4300::2 2020-11-23 21:48:19,579: DEBUG - + python2.7 - 2020-11-23 21:48:19,880: DEBUG - + [[ ip6_net =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:19,881: DEBUG - + ynh_app_setting_set --app=hotspot --key=ip6_dns0 --value=2001:913::8 2020-11-23 21:48:19,984: DEBUG - + ynh_app_setting set hotspot ip6_dns0 2001:913::8 2020-11-23 21:48:19,990: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:19,990: DEBUG - + ACTION=set 2020-11-23 21:48:19,991: DEBUG - + APP=hotspot 2020-11-23 21:48:19,991: DEBUG - + KEY=ip6_dns0 2020-11-23 21:48:19,991: DEBUG - + VALUE=2001:913::8 2020-11-23 21:48:19,992: DEBUG - + python2.7 - 2020-11-23 21:48:20,293: DEBUG - + [[ ip6_dns0 =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:20,293: DEBUG - + ynh_app_setting_set --app=hotspot --key=ip6_dns1 --value=2001:910:800::12 2020-11-23 21:48:20,498: DEBUG - + ynh_app_setting set hotspot ip6_dns1 2001:910:800::12 2020-11-23 21:48:20,499: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:20,499: DEBUG - + ACTION=set 2020-11-23 21:48:20,499: DEBUG - + APP=hotspot 2020-11-23 21:48:20,500: DEBUG - + KEY=ip6_dns1 2020-11-23 21:48:20,500: DEBUG - + VALUE=2001:910:800::12 2020-11-23 21:48:20,500: DEBUG - + python2.7 - 2020-11-23 21:48:20,701: DEBUG - + [[ ip6_dns1 =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:20,702: DEBUG - + ynh_app_setting_set --app=hotspot --key=ip4_dns0 --value=80.67.188.188 2020-11-23 21:48:20,906: DEBUG - + ynh_app_setting set hotspot ip4_dns0 80.67.188.188 2020-11-23 21:48:20,906: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:20,907: DEBUG - + ACTION=set 2020-11-23 21:48:20,907: DEBUG - + APP=hotspot 2020-11-23 21:48:20,907: DEBUG - + KEY=ip4_dns0 2020-11-23 21:48:20,908: DEBUG - + VALUE=80.67.188.188 2020-11-23 21:48:20,908: DEBUG - + python2.7 - 2020-11-23 21:48:21,109: DEBUG - + [[ ip4_dns0 =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:21,110: DEBUG - + ynh_app_setting_set --app=hotspot --key=ip4_dns1 --value=80.67.169.12 2020-11-23 21:48:21,314: DEBUG - + ynh_app_setting set hotspot ip4_dns1 80.67.169.12 2020-11-23 21:48:21,314: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:21,315: DEBUG - + ACTION=set 2020-11-23 21:48:21,315: DEBUG - + APP=hotspot 2020-11-23 21:48:21,315: DEBUG - + KEY=ip4_dns1 2020-11-23 21:48:21,316: DEBUG - + VALUE=80.67.169.12 2020-11-23 21:48:21,316: DEBUG - + python2.7 - 2020-11-23 21:48:21,617: DEBUG - + [[ ip4_dns1 =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:21,618: DEBUG - + ynh_app_setting_set --app=hotspot --key=ip4_nat_prefix --value=10.0.242 2020-11-23 21:48:21,822: DEBUG - + ynh_app_setting set hotspot ip4_nat_prefix 10.0.242 2020-11-23 21:48:21,823: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:21,823: DEBUG - + ACTION=set 2020-11-23 21:48:21,823: DEBUG - + APP=hotspot 2020-11-23 21:48:21,824: DEBUG - + KEY=ip4_nat_prefix 2020-11-23 21:48:21,824: DEBUG - + VALUE=10.0.242 2020-11-23 21:48:21,824: DEBUG - + python2.7 - 2020-11-23 21:48:22,025: DEBUG - + [[ ip4_nat_prefix =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:22,026: DEBUG - + ynh_app_setting_set --app=hotspot --key=vpnclient --value=no 2020-11-23 21:48:22,230: DEBUG - + ynh_app_setting set hotspot vpnclient no 2020-11-23 21:48:22,231: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:22,232: DEBUG - + ACTION=set 2020-11-23 21:48:22,232: DEBUG - + APP=hotspot 2020-11-23 21:48:22,232: DEBUG - + KEY=vpnclient 2020-11-23 21:48:22,233: DEBUG - + VALUE=no 2020-11-23 21:48:22,233: DEBUG - + python2.7 - 2020-11-23 21:48:22,434: DEBUG - + [[ vpnclient =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:22,435: DEBUG - + ynh_app_setting_set --app=hotspot --key=service_name --value=ynh-hotspot 2020-11-23 21:48:22,639: DEBUG - + ynh_app_setting set hotspot service_name ynh-hotspot 2020-11-23 21:48:22,639: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:22,640: DEBUG - + ACTION=set 2020-11-23 21:48:22,640: DEBUG - + APP=hotspot 2020-11-23 21:48:22,640: DEBUG - + KEY=service_name 2020-11-23 21:48:22,641: DEBUG - + VALUE=ynh-hotspot 2020-11-23 21:48:22,641: DEBUG - + python2.7 - 2020-11-23 21:48:22,842: DEBUG - + [[ service_name =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:22,843: DEBUG - + [[ -z wlan0 ]] 2020-11-23 21:48:22,843: DEBUG - + ynh_app_setting_set --app=hotspot --key=service_enabled --value=1 2020-11-23 21:48:23,047: DEBUG - + ynh_app_setting set hotspot service_enabled 1 2020-11-23 21:48:23,048: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:23,048: DEBUG - + ACTION=set 2020-11-23 21:48:23,048: DEBUG - + APP=hotspot 2020-11-23 21:48:23,049: DEBUG - + KEY=service_enabled 2020-11-23 21:48:23,049: DEBUG - + VALUE=1 2020-11-23 21:48:23,049: DEBUG - + python2.7 - 2020-11-23 21:48:23,350: DEBUG - + [[ service_enabled =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:23,453: INFO - [##########+.........] > Copying configuration... 2020-11-23 21:48:23,454: DEBUG - + echo '[##########+.........] > Copying configuration...' 2020-11-23 21:48:23,455: DEBUG - + mkdir -pm 0755 /etc/dnsmasq.dhcpd/ 2020-11-23 21:48:23,456: DEBUG - + chown root: /etc/dnsmasq.dhcpd/ 2020-11-23 21:48:23,456: DEBUG - + install -b -o root -g root -m 0644 ../conf/hostapd.conf.tpl1 ../conf/hostapd.conf.tpl2 /etc/hostapd/ 2020-11-23 21:48:23,456: DEBUG - + install -b -o root -g root -m 0644 ../conf/dnsmasq_dhcpdv6.conf.tpl /etc/dnsmasq.dhcpd/dhcpdv6.conf.tpl 2020-11-23 21:48:23,457: DEBUG - + install -b -o root -g root -m 0644 ../conf/dnsmasq_dhcpdv4.conf.tpl /etc/dnsmasq.dhcpd/dhcpdv4.conf.tpl 2020-11-23 21:48:23,457: DEBUG - + install -o root -g root -m 0755 ../conf/ynh-hotspot /usr/local/bin/ 2020-11-23 21:48:23,458: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/usr/local/bin/ynh-hotspot 2020-11-23 21:48:23,661: DEBUG - + local delimit=@ 2020-11-23 21:48:23,662: DEBUG - + match_string=__PHPVERSION__ 2020-11-23 21:48:23,662: DEBUG - + replace_string=7.3 2020-11-23 21:48:23,663: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /usr/local/bin/ynh-hotspot 2020-11-23 21:48:23,866: INFO - [###########+........] > Copy web sources... 2020-11-23 21:48:23,868: DEBUG - + echo '[###########+........] > Copy web sources...' 2020-11-23 21:48:23,868: DEBUG - + ynh_app_setting_set --app=hotspot --key=final_path --value=/var/www/hotspot 2020-11-23 21:48:24,072: DEBUG - + ynh_app_setting set hotspot final_path /var/www/hotspot 2020-11-23 21:48:24,073: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:24,073: DEBUG - + ACTION=set 2020-11-23 21:48:24,074: DEBUG - + APP=hotspot 2020-11-23 21:48:24,074: DEBUG - + KEY=final_path 2020-11-23 21:48:24,074: DEBUG - + VALUE=/var/www/hotspot 2020-11-23 21:48:24,075: DEBUG - + python2.7 - 2020-11-23 21:48:24,276: DEBUG - + [[ final_path =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:24,276: DEBUG - + mkdir -pm 0755 /var/www/hotspot/ 2020-11-23 21:48:24,277: DEBUG - + cp -a ../sources/config.php ../sources/controller.php ../sources/i18n ../sources/index.php ../sources/lib ../sources/public ../sources/views /var/www/hotspot/ 2020-11-23 21:48:24,277: DEBUG - + chown -R hotspot: /var/www/hotspot/ 2020-11-23 21:48:24,277: 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-11-23 21:48:24,278: DEBUG - + find /var/www/hotspot/ -type d -exec chmod +x '{}' ';' 2020-11-23 21:48:24,481: DEBUG - + echo '[############+.......] > Fix config...' 2020-11-23 21:48:24,482: DEBUG - + ynh_replace_string '--match_string=^DAEMON_CONF=$' '--replace_string=&/etc/hostapd/hostapd.conf' --target_file=/etc/init.d/hostapd 2020-11-23 21:48:24,483: INFO - [############+.......] > Fix config... 2020-11-23 21:48:24,687: DEBUG - + local delimit=@ 2020-11-23 21:48:24,688: DEBUG - + match_string='^DAEMON_CONF=$' 2020-11-23 21:48:24,688: DEBUG - + replace_string='&/etc/hostapd/hostapd.conf' 2020-11-23 21:48:24,689: DEBUG - + sed --in-place 's@^DAEMON_CONF=$@&/etc/hostapd/hostapd.conf@g' /etc/init.d/hostapd 2020-11-23 21:48:24,689: DEBUG - + echo DAEMON_CONF=/etc/hostapd/hostapd.conf 2020-11-23 21:48:24,690: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/wifiadmin --target_file=/var/www/hotspot/config.php 2020-11-23 21:48:24,893: DEBUG - + local delimit=@ 2020-11-23 21:48:24,894: DEBUG - + match_string=__PATH__ 2020-11-23 21:48:24,894: DEBUG - + replace_string=/wifiadmin 2020-11-23 21:48:24,895: DEBUG - + sed --in-place s@__PATH__@/wifiadmin@g /var/www/hotspot/config.php 2020-11-23 21:48:25,112: INFO - [#############+......] > Storing the config file checksum... 2020-11-23 21:48:25,114: DEBUG - + echo '[#############+......] > Storing the config file checksum...' 2020-11-23 21:48:25,115: DEBUG - + ynh_store_file_checksum --file=/var/www/hotspot/config.php 2020-11-23 21:48:25,119: DEBUG - + local checksum_setting_name=checksum__var_www_hotspot_config.php 2020-11-23 21:48:25,120: DEBUG - ++ md5sum /var/www/hotspot/config.php 2020-11-23 21:48:25,121: DEBUG - ++ cut '--delimiter= ' --fields=1 2020-11-23 21:48:25,121: DEBUG - + ynh_app_setting_set --app=hotspot --key=checksum__var_www_hotspot_config.php --value=3236400ffda9cf7cb8a2f5feae0b61e3 2020-11-23 21:48:25,427: DEBUG - + ynh_app_setting set hotspot checksum__var_www_hotspot_config.php 3236400ffda9cf7cb8a2f5feae0b61e3 2020-11-23 21:48:25,428: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:25,429: DEBUG - + ACTION=set 2020-11-23 21:48:25,429: DEBUG - + APP=hotspot 2020-11-23 21:48:25,430: DEBUG - + KEY=checksum__var_www_hotspot_config.php 2020-11-23 21:48:25,430: DEBUG - + VALUE=3236400ffda9cf7cb8a2f5feae0b61e3 2020-11-23 21:48:25,431: DEBUG - + python2.7 - 2020-11-23 21:48:25,732: DEBUG - + [[ checksum__var_www_hotspot_config.php =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:25,732: DEBUG - + '[' -n '' ']' 2020-11-23 21:48:25,733: DEBUG - + unset backup_file_checksum 2020-11-23 21:48:25,733: DEBUG - + ynh_store_file_checksum --file=/etc/init.d/hostapd 2020-11-23 21:48:25,735: DEBUG - + local checksum_setting_name=checksum__etc_init.d_hostapd 2020-11-23 21:48:25,736: DEBUG - ++ md5sum /etc/init.d/hostapd 2020-11-23 21:48:25,736: DEBUG - ++ cut '--delimiter= ' --fields=1 2020-11-23 21:48:25,736: DEBUG - + ynh_app_setting_set --app=hotspot --key=checksum__etc_init.d_hostapd --value=6d5e58c4117fe4a97b04b5bc151f19d6 2020-11-23 21:48:25,940: DEBUG - + ynh_app_setting set hotspot checksum__etc_init.d_hostapd 6d5e58c4117fe4a97b04b5bc151f19d6 2020-11-23 21:48:25,941: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:25,941: DEBUG - + ACTION=set 2020-11-23 21:48:25,942: DEBUG - + APP=hotspot 2020-11-23 21:48:25,942: DEBUG - + KEY=checksum__etc_init.d_hostapd 2020-11-23 21:48:25,942: DEBUG - + VALUE=6d5e58c4117fe4a97b04b5bc151f19d6 2020-11-23 21:48:25,943: DEBUG - + python2.7 - 2020-11-23 21:48:26,244: DEBUG - + [[ checksum__etc_init.d_hostapd =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:26,244: DEBUG - + '[' -n '' ']' 2020-11-23 21:48:26,245: DEBUG - + unset backup_file_checksum 2020-11-23 21:48:26,349: DEBUG - + echo '[##############+.....] > Configuring a systemd service...' 2020-11-23 21:48:26,350: DEBUG - + ynh_add_systemd_config --service=ynh-hotspot 2020-11-23 21:48:26,455: DEBUG - + local service=ynh-hotspot 2020-11-23 21:48:26,456: INFO - [##############+.....] > Configuring a systemd service... 2020-11-23 21:48:26,458: DEBUG - + local template=systemd.service 2020-11-23 21:48:26,458: DEBUG - + others_var= 2020-11-23 21:48:26,459: DEBUG - + finalsystemdconf=/etc/systemd/system/ynh-hotspot.service 2020-11-23 21:48:26,460: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/systemd/system/ynh-hotspot.service 2020-11-23 21:48:26,564: DEBUG - + local checksum_setting_name=checksum__etc_systemd_system_ynh-hotspot.service 2020-11-23 21:48:26,565: DEBUG - ++ ynh_app_setting_get --app=hotspot --key=checksum__etc_systemd_system_ynh-hotspot.service 2020-11-23 21:48:26,670: DEBUG - ++ ynh_app_setting get hotspot checksum__etc_systemd_system_ynh-hotspot.service 2020-11-23 21:48:26,671: DEBUG - ++ [[ get == \d\e\l\e\t\e ]] 2020-11-23 21:48:26,671: DEBUG - ++ ACTION=get 2020-11-23 21:48:26,672: DEBUG - ++ APP=hotspot 2020-11-23 21:48:26,672: DEBUG - ++ KEY=checksum__etc_systemd_system_ynh-hotspot.service 2020-11-23 21:48:26,673: DEBUG - ++ VALUE= 2020-11-23 21:48:26,673: DEBUG - ++ python2.7 - 2020-11-23 21:48:26,975: DEBUG - ++ [[ checksum__etc_systemd_system_ynh-hotspot.service =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:26,975: DEBUG - + local checksum_value= 2020-11-23 21:48:26,976: DEBUG - + backup_file_checksum= 2020-11-23 21:48:26,976: DEBUG - + '[' -n '' ']' 2020-11-23 21:48:26,977: DEBUG - + cp ../conf/systemd.service /etc/systemd/system/ynh-hotspot.service 2020-11-23 21:48:26,977: DEBUG - + '[' -n /var/www/hotspot ']' 2020-11-23 21:48:26,977: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/hotspot --target_file=/etc/systemd/system/ynh-hotspot.service 2020-11-23 21:48:27,181: DEBUG - + local delimit=@ 2020-11-23 21:48:27,182: DEBUG - + match_string=__FINALPATH__ 2020-11-23 21:48:27,182: DEBUG - + replace_string=/var/www/hotspot 2020-11-23 21:48:27,182: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/hotspot@g /etc/systemd/system/ynh-hotspot.service 2020-11-23 21:48:27,183: DEBUG - + '[' -n hotspot ']' 2020-11-23 21:48:27,183: DEBUG - + ynh_replace_string --match_string=__APP__ --replace_string=hotspot --target_file=/etc/systemd/system/ynh-hotspot.service 2020-11-23 21:48:27,387: DEBUG - + local delimit=@ 2020-11-23 21:48:27,388: DEBUG - + match_string=__APP__ 2020-11-23 21:48:27,388: DEBUG - + replace_string=hotspot 2020-11-23 21:48:27,389: DEBUG - + sed --in-place s@__APP__@hotspot@g /etc/systemd/system/ynh-hotspot.service 2020-11-23 21:48:27,389: DEBUG - + ynh_store_file_checksum --file=/etc/systemd/system/ynh-hotspot.service 2020-11-23 21:48:27,392: DEBUG - + local checksum_setting_name=checksum__etc_systemd_system_ynh-hotspot.service 2020-11-23 21:48:27,392: DEBUG - ++ md5sum /etc/systemd/system/ynh-hotspot.service 2020-11-23 21:48:27,392: DEBUG - ++ cut '--delimiter= ' --fields=1 2020-11-23 21:48:27,393: DEBUG - + ynh_app_setting_set --app=hotspot --key=checksum__etc_systemd_system_ynh-hotspot.service --value=80bf8d598ab81ed2be0160ab86accfbb 2020-11-23 21:48:27,699: DEBUG - + ynh_app_setting set hotspot checksum__etc_systemd_system_ynh-hotspot.service 80bf8d598ab81ed2be0160ab86accfbb 2020-11-23 21:48:27,699: DEBUG - + [[ set == \d\e\l\e\t\e ]] 2020-11-23 21:48:27,700: DEBUG - + ACTION=set 2020-11-23 21:48:27,700: DEBUG - + APP=hotspot 2020-11-23 21:48:27,700: DEBUG - + KEY=checksum__etc_systemd_system_ynh-hotspot.service 2020-11-23 21:48:27,700: DEBUG - + VALUE=80bf8d598ab81ed2be0160ab86accfbb 2020-11-23 21:48:27,701: DEBUG - + python2.7 - 2020-11-23 21:48:27,904: DEBUG - + [[ checksum__etc_systemd_system_ynh-hotspot.service =~ ^(unprotected|skipped)_ ]] 2020-11-23 21:48:27,905: DEBUG - + '[' -n '' ']' 2020-11-23 21:48:27,907: DEBUG - + unset backup_file_checksum 2020-11-23 21:48:27,907: DEBUG - + chown root: /etc/systemd/system/ynh-hotspot.service 2020-11-23 21:48:27,907: DEBUG - + systemctl enable ynh-hotspot --quiet 2020-11-23 21:48:28,509: DEBUG - + systemctl daemon-reload 2020-11-23 21:48:29,111: DEBUG - + systemctl disable hostapd 2020-11-23 21:48:29,111: WARNING - Synchronizing state of hostapd.service with SysV service script with /lib/systemd/systemd-sysv-install. 2020-11-23 21:48:29,112: WARNING - Executing: /lib/systemd/systemd-sysv-install disable hostapd 2020-11-23 21:48:29,915: WARNING - insserv: warning: current start runlevel(s) (empty) of script `hostapd' overrides LSB defaults (2 3 4 5). 2020-11-23 21:48:29,916: WARNING - insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `hostapd' overrides LSB defaults (0 1 6). 2020-11-23 21:48:30,518: WARNING - Removed /etc/systemd/system/multi-user.target.wants/hostapd.service. 2020-11-23 21:48:31,048: DEBUG - + systemctl stop hostapd 2020-11-23 21:48:31,148: DEBUG - + systemctl unmask hostapd 2020-11-23 21:48:31,650: DEBUG - + [[ xx:xx:xx:xx:xx:xx != none ]] 2020-11-23 21:48:31,651: DEBUG - + ip -6 address show dev tun0 2020-11-23 21:48:31,651: DEBUG - + grep -q xx:xx:xx:xx:xx:xx/ 2020-11-23 21:48:31,652: DEBUG - + ip address delete xx:xx:xx:xx:xx:xx/128 dev tun0 2020-11-23 21:48:31,754: DEBUG - + echo '[###############+....] > Integrating service in YunoHost...' 2020-11-23 21:48:31,755: DEBUG - + yunohost service add ynh-hotspot --description 'Creates a Wi-Fi access point' 2020-11-23 21:48:32,357: DEBUG - Le service 'ynh-hotspot' a été ajouté 2020-11-23 21:48:32,357: 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-11-23 21:48:32,358: INFO - [###############+....] > Integrating service in YunoHost... 2020-11-23 21:48:32,562: INFO - [################+...] > Starting a systemd service... 2020-11-23 21:48:32,564: DEBUG - + echo '[################+...] > Starting a systemd service...' 2020-11-23 21:48:32,564: DEBUG - + [[ wlan0 == none ]] 2020-11-23 21:48:32,565: DEBUG - + ynh_systemd_action --service_name=ynh-hotspot --action=start --log_path=systemd 2020-11-23 21:48:32,971: DEBUG - + service_name=ynh-hotspot 2020-11-23 21:48:32,971: DEBUG - + action=start 2020-11-23 21:48:32,972: DEBUG - + line_match= 2020-11-23 21:48:32,972: DEBUG - + length=20 2020-11-23 21:48:32,972: DEBUG - + log_path=systemd 2020-11-23 21:48:32,973: DEBUG - + timeout=300 2020-11-23 21:48:32,973: DEBUG - + [[ -n '' ]] 2020-11-23 21:48:32,973: DEBUG - + '[' start == reload ']' 2020-11-23 21:48:32,974: DEBUG - + systemctl start ynh-hotspot 2020-11-23 21:48:35,981: DEBUG - + [[ -n '' ]] 2020-11-23 21:48:36,083: DEBUG - + echo '[#################+..] > Reloading nginx web server...' 2020-11-23 21:48:36,084: DEBUG - + ynh_systemd_action --service_name=php7.3-fpm --action=reload 2020-11-23 21:48:36,389: DEBUG - + service_name=php7.3-fpm 2020-11-23 21:48:36,390: INFO - [#################+..] > Reloading nginx web server... 2020-11-23 21:48:36,391: DEBUG - + action=reload 2020-11-23 21:48:36,392: DEBUG - + line_match= 2020-11-23 21:48:36,392: DEBUG - + length=20 2020-11-23 21:48:36,392: DEBUG - + log_path=/var/log/php7.3-fpm/php7.3-fpm.log 2020-11-23 21:48:36,393: DEBUG - + timeout=300 2020-11-23 21:48:36,393: DEBUG - + [[ -n '' ]] 2020-11-23 21:48:36,394: DEBUG - + '[' reload == reload ']' 2020-11-23 21:48:36,394: DEBUG - + action=reload-or-restart 2020-11-23 21:48:36,395: DEBUG - + systemctl reload-or-restart php7.3-fpm 2020-11-23 21:48:36,395: DEBUG - + [[ -n '' ]] 2020-11-23 21:48:36,396: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload 2020-11-23 21:48:36,703: DEBUG - + service_name=nginx 2020-11-23 21:48:36,703: DEBUG - + action=reload 2020-11-23 21:48:36,704: DEBUG - + line_match= 2020-11-23 21:48:36,704: DEBUG - + length=20 2020-11-23 21:48:36,704: DEBUG - + log_path=/var/log/nginx/nginx.log 2020-11-23 21:48:36,705: DEBUG - + timeout=300 2020-11-23 21:48:36,705: DEBUG - + [[ -n '' ]] 2020-11-23 21:48:36,705: DEBUG - + '[' reload == reload ']' 2020-11-23 21:48:36,706: DEBUG - + action=reload-or-restart 2020-11-23 21:48:36,706: DEBUG - + systemctl reload-or-restart nginx 2020-11-23 21:48:37,011: DEBUG - + [[ -n '' ]] 2020-11-23 21:48:37,115: DEBUG - + echo '[##################++] > Installation of hotspot completed' 2020-11-23 21:48:37,115: DEBUG - + ynh_exit_properly 2020-11-23 21:48:37,116: DEBUG - + local exit_code=0 2020-11-23 21:48:37,116: DEBUG - + '[' 0 -eq 0 ']' 2020-11-23 21:48:37,116: DEBUG - + exit 0 2020-11-23 21:48:37,137: DEBUG - Checking that required services are up and running... 2020-11-23 21:48:38,285: DEBUG - The permission database has been resynchronized 2020-11-23 21:48:38,445: DEBUG - La configuration de SSOwat générée 2020-11-23 21:48:38,474: SUCCESS - Installation terminée 2020-11-23 21:48:38,477: DEBUG - No default hook for action 'post_app_install' in /usr/share/yunohost/hooks/ 2020-11-23 21:48:38,478: DEBUG - No custom hook for action 'post_app_install' in /etc/yunohost/hooks.d/