Snipeit echec installation

Bonjour,

Mon serveur YunoHost

Matériel: serveur dedié Kimsufi VPS acheté en ligne / Vieil ordinateur / Raspberry Pi à la maison / Brique Internet avec VPN / Autre carte ARM / …
Version de YunoHost: 3.6.4.3
J’ai accès à mon serveur : En SSH | Par la webadmin

Description du problème

J’essaie d’installer l’application snipeit sur mon yunohost (https://github.com/YunoHost-Apps/snipeit_ynh)
J’ai bien vu qu’il fallait l’installer sur un domaine dédié.
J’ai donc ajouté un domaine (.net en plus du .fr que j’avais déjà), mais lors de l’installation via l’ihm d’admin, j’ai une erreur. Je ne vois pas dans les logs ou l’installation coince.

J’ajoute la log d’install
Merci pour votre aide

args:
  app: snipeit
  args: domain=domaine.net&admin=monuser&language=fr&is_public=0
  force: false
  label: Snipe-IT
  no_remove_on_failure: false
ended_at: 2019-08-03 05:33:24.276519
env:
  YNH_APP_ARG_ADMIN: monuser
  YNH_APP_ARG_DOMAIN: domaine.net
  YNH_APP_ARG_IS_PUBLIC: 0
  YNH_APP_ARG_LANGUAGE: fr
  YNH_APP_ID: snipeit
  YNH_APP_INSTANCE_NAME: snipeit
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_CWD: /var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts
  YNH_INTERFACE: api
  YNH_STDINFO: /tmp/tmpW1fVTD/stdinfo
  YNH_STDRETURN: /tmp/tmpxhCw1J/stdreturn
error: 'Une erreur inattendue est survenue : shell command return code: 1'
operation: app_install
related_to:
- - app
  - snipeit
started_at: 2019-08-03 05:32:21.394758
success: false

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

2019-08-03 07:32:21,416: INFO - Installation de l'application snipeit …
2019-08-03 07:32:21,821: DEBUG - Exécution de la commande 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ARG_LANGUAGE=fr YNH_APP_ARG_IS_PUBLIC=0 YNH_STDINFO=/tmp/tmpW1fVTD/stdinfo YNH_CWD=/var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts YNH_APP_INSTANCE_NAME=snipeit YNH_APP_ARG_ADMIN=monuser YNH_INTERFACE=api YNH_APP_ID=snipeit YNH_STDRETURN=/tmp/tmpxhCw1J/stdreturn YNH_APP_ARG_DOMAIN=domaine.net BASH_XTRACEFD=7 /bin/bash -x "./install" domaine.net monuser 0 fr snipeit 7>&1' …
2019-08-03 07:32:21,823: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ARG_LANGUAGE=fr YNH_APP_ARG_IS_PUBLIC=0 YNH_STDINFO=/tmp/tmpW1fVTD/stdinfo YNH_CWD=/var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts YNH_APP_INSTANCE_NAME=snipeit YNH_APP_ARG_ADMIN=monuser YNH_INTERFACE=api YNH_APP_ID=snipeit YNH_STDRETURN=/tmp/tmpxhCw1J/stdreturn YNH_APP_ARG_DOMAIN=domaine.net BASH_XTRACEFD=7 /bin/bash -x "./install" domaine.net monuser 0 fr snipeit 7>&1']'
2019-08-03 07:32:21,870: DEBUG - + source _common.sh
2019-08-03 07:32:21,872: DEBUG - ++ pkg_dependencies='openssl php-mbstring  php-curl php-mysql php-ldap php-zip php-bcmath  php-xml php-common'
2019-08-03 07:32:21,873: DEBUG - + source /usr/share/yunohost/helpers
2019-08-03 07:32:21,874: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-08-03 07:32:21,875: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-03 07:32:21,876: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2019-08-03 07:32:21,876: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2019-08-03 07:32:21,877: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-03 07:32:21,878: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2019-08-03 07:32:21,879: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2019-08-03 07:32:21,880: DEBUG - +++ CAN_BIND=1
2019-08-03 07:32:21,981: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-03 07:32:21,982: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2019-08-03 07:32:21,984: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2019-08-03 07:32:21,986: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-03 07:32:21,988: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2019-08-03 07:32:21,990: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-08-03 07:32:21,992: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-03 07:32:21,994: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2019-08-03 07:32:21,995: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2019-08-03 07:32:21,996: DEBUG - +++ increment_progression=0
2019-08-03 07:32:21,998: DEBUG - +++ previous_weight=0
2019-08-03 07:32:21,999: DEBUG - +++ max_progression=-1
2019-08-03 07:32:22,000: DEBUG - +++ progress_scale=20
2019-08-03 07:32:22,000: DEBUG - +++ progress_string2='####################'
2019-08-03 07:32:22,001: DEBUG - +++ progress_string1=++++++++++++++++++++
2019-08-03 07:32:22,002: DEBUG - +++ progress_string0=....................
2019-08-03 07:32:22,003: DEBUG - ++++ date +%s
2019-08-03 07:32:22,003: DEBUG - +++ base_time=1564810341
2019-08-03 07:32:22,004: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-03 07:32:22,005: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2019-08-03 07:32:22,006: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2019-08-03 07:32:22,006: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-03 07:32:22,007: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2019-08-03 07:32:22,008: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-08-03 07:32:22,009: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-08-03 07:32:22,009: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-03 07:32:22,010: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2019-08-03 07:32:22,011: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-08-03 07:32:22,012: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-03 07:32:22,013: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2019-08-03 07:32:22,013: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2019-08-03 07:32:22,014: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-03 07:32:22,015: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2019-08-03 07:32:22,016: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-08-03 07:32:22,016: DEBUG - +++ n_install_dir=/opt/node_n
2019-08-03 07:32:22,017: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-08-03 07:32:22,018: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-08-03 07:32:22,019: DEBUG - +++ N_PREFIX=/opt/node_n
2019-08-03 07:32:22,020: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-03 07:32:22,020: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2019-08-03 07:32:22,021: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2019-08-03 07:32:22,022: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-03 07:32:22,023: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2019-08-03 07:32:22,023: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2019-08-03 07:32:22,024: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-08-03 07:32:22,025: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-03 07:32:22,026: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2019-08-03 07:32:22,027: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-08-03 07:32:22,028: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-03 07:32:22,028: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2019-08-03 07:32:22,029: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-08-03 07:32:22,030: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-03 07:32:22,030: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2019-08-03 07:32:22,031: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2019-08-03 07:32:22,032: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-03 07:32:22,033: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2019-08-03 07:32:22,034: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-08-03 07:32:22,034: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-03 07:32:22,035: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2019-08-03 07:32:22,036: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-08-03 07:32:22,037: DEBUG - + ynh_abort_if_errors
2019-08-03 07:32:22,037: DEBUG - + set -eu
2019-08-03 07:32:22,038: DEBUG - + trap ynh_exit_properly EXIT
2019-08-03 07:32:22,039: DEBUG - + domain=domaine.net
2019-08-03 07:32:22,040: DEBUG - + path_url=/
2019-08-03 07:32:22,040: DEBUG - + admin=monuser
2019-08-03 07:32:22,041: DEBUG - + is_public=0
2019-08-03 07:32:22,042: DEBUG - + language=fr
2019-08-03 07:32:22,043: DEBUG - + app=snipeit
2019-08-03 07:32:22,044: DEBUG - + ynh_script_progression '--message=Validating installation parameters...' --time --weight=1
2019-08-03 07:32:22,044: DEBUG - + set +x
2019-08-03 07:32:22,045: DEBUG - + set +x
2019-08-03 07:32:22,146: DEBUG - + echo '! Helper used in legacy mode !'
2019-08-03 07:32:22,147: INFO - [+...................] > Validating installation parameters... [00h00m,01s]
2019-08-03 07:32:22,152: DEBUG - + set +x
2019-08-03 07:32:22,154: DEBUG - + echo '[+...................] > Validating installation parameters... [00h00m,01s]'
2019-08-03 07:32:22,155: DEBUG - + set -x
2019-08-03 07:32:22,156: DEBUG - + final_path=/var/www/snipeit
2019-08-03 07:32:22,157: DEBUG - + test '!' -e /var/www/snipeit
2019-08-03 07:32:22,159: DEBUG - + ynh_webpath_register --app=snipeit --domain=domaine.net --path_url=/
2019-08-03 07:32:22,160: DEBUG - + local legacy_args=adp
2019-08-03 07:32:22,161: DEBUG - + args_array=([a]=app= [d]=domain= [p]=path_url=)
2019-08-03 07:32:22,163: DEBUG - + declare -Ar args_array
2019-08-03 07:32:22,164: DEBUG - + local app
2019-08-03 07:32:22,165: DEBUG - + local domain
2019-08-03 07:32:22,166: DEBUG - + local path_url
2019-08-03 07:32:22,167: DEBUG - + ynh_handle_getopts_args --app=snipeit --domain=domaine.net --path_url=/
2019-08-03 07:32:22,167: DEBUG - + set +x
2019-08-03 07:32:22,168: DEBUG - + sudo yunohost app register-url snipeit domaine.net /
2019-08-03 07:32:24,074: DEBUG - + ynh_script_progression '--message=Storing installation settings...' --time --weight=1
2019-08-03 07:32:24,076: DEBUG - + set +x
2019-08-03 07:32:24,078: DEBUG - + set +x
2019-08-03 07:32:24,179: DEBUG - + echo '! Helper used in legacy mode !'
2019-08-03 07:32:24,180: INFO - [#++.................] > Storing installation settings... [00h00m,02s]
2019-08-03 07:32:24,181: DEBUG - + set +x
2019-08-03 07:32:24,182: DEBUG - + echo '[#++.................] > Storing installation settings... [00h00m,02s]'
2019-08-03 07:32:24,184: DEBUG - + set -x
2019-08-03 07:32:24,185: DEBUG - + ynh_app_setting_set --app=snipeit --key=domain --value=domaine.net
2019-08-03 07:32:24,185: DEBUG - + local legacy_args=akv
2019-08-03 07:32:24,186: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-08-03 07:32:24,187: DEBUG - + declare -Ar args_array
2019-08-03 07:32:24,188: DEBUG - + local app
2019-08-03 07:32:24,188: DEBUG - + local key
2019-08-03 07:32:24,189: DEBUG - + local value
2019-08-03 07:32:24,190: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=domain --value=domaine.net
2019-08-03 07:32:24,191: DEBUG - + set +x
2019-08-03 07:32:24,191: DEBUG - + ynh_app_setting set snipeit domain domaine.net
2019-08-03 07:32:24,192: DEBUG - + ACTION=set
2019-08-03 07:32:24,193: DEBUG - + APP=snipeit
2019-08-03 07:32:24,194: DEBUG - + KEY=domain
2019-08-03 07:32:24,194: DEBUG - + VALUE=domaine.net
2019-08-03 07:32:24,195: DEBUG - + python -
2019-08-03 07:32:24,698: DEBUG - + ynh_app_setting_set --app=snipeit --key=path --value=/
2019-08-03 07:32:24,700: DEBUG - + local legacy_args=akv
2019-08-03 07:32:24,701: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-08-03 07:32:24,703: DEBUG - + declare -Ar args_array
2019-08-03 07:32:24,704: DEBUG - + local app
2019-08-03 07:32:24,705: DEBUG - + local key
2019-08-03 07:32:24,707: DEBUG - + local value
2019-08-03 07:32:24,708: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=path --value=/
2019-08-03 07:32:24,710: DEBUG - + set +x
2019-08-03 07:32:24,711: DEBUG - + ynh_app_setting set snipeit path /
2019-08-03 07:32:24,713: DEBUG - + ACTION=set
2019-08-03 07:32:24,714: DEBUG - + APP=snipeit
2019-08-03 07:32:24,715: DEBUG - + KEY=path
2019-08-03 07:32:24,716: DEBUG - + VALUE=/
2019-08-03 07:32:24,718: DEBUG - + python -
2019-08-03 07:32:25,120: DEBUG - + ynh_app_setting_set --app=snipeit --key=admin --value=monuser
2019-08-03 07:32:25,122: DEBUG - + local legacy_args=akv
2019-08-03 07:32:25,123: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-08-03 07:32:25,125: DEBUG - + declare -Ar args_array
2019-08-03 07:32:25,127: DEBUG - + local app
2019-08-03 07:32:25,128: DEBUG - + local key
2019-08-03 07:32:25,129: DEBUG - + local value
2019-08-03 07:32:25,131: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=admin --value=monuser
2019-08-03 07:32:25,132: DEBUG - + set +x
2019-08-03 07:32:25,133: DEBUG - + ynh_app_setting set snipeit admin monuser
2019-08-03 07:32:25,135: DEBUG - + ACTION=set
2019-08-03 07:32:25,136: DEBUG - + APP=snipeit
2019-08-03 07:32:25,137: DEBUG - + KEY=admin
2019-08-03 07:32:25,138: DEBUG - + VALUE=monuser
2019-08-03 07:32:25,139: DEBUG - + python -
2019-08-03 07:32:25,542: DEBUG - + ynh_app_setting_set --app=snipeit --key=is_public --value=0
2019-08-03 07:32:25,543: DEBUG - + local legacy_args=akv
2019-08-03 07:32:25,545: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-08-03 07:32:25,546: DEBUG - + declare -Ar args_array
2019-08-03 07:32:25,547: DEBUG - + local app
2019-08-03 07:32:25,548: DEBUG - + local key
2019-08-03 07:32:25,549: DEBUG - + local value
2019-08-03 07:32:25,550: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=is_public --value=0
2019-08-03 07:32:25,551: DEBUG - + set +x
2019-08-03 07:32:25,553: DEBUG - + ynh_app_setting set snipeit is_public 0
2019-08-03 07:32:25,554: DEBUG - + ACTION=set
2019-08-03 07:32:25,555: DEBUG - + APP=snipeit
2019-08-03 07:32:25,556: DEBUG - + KEY=is_public
2019-08-03 07:32:25,557: DEBUG - + VALUE=0
2019-08-03 07:32:25,558: DEBUG - + python -
2019-08-03 07:32:25,961: DEBUG - + ynh_app_setting_set --app=snipeit --key=language --value=fr
2019-08-03 07:32:25,962: DEBUG - + local legacy_args=akv
2019-08-03 07:32:25,962: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-08-03 07:32:25,963: DEBUG - + declare -Ar args_array
2019-08-03 07:32:25,964: DEBUG - + local app
2019-08-03 07:32:25,965: DEBUG - + local key
2019-08-03 07:32:25,966: DEBUG - + local value
2019-08-03 07:32:25,967: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=language --value=fr
2019-08-03 07:32:25,968: DEBUG - + set +x
2019-08-03 07:32:25,969: DEBUG - + ynh_app_setting set snipeit language fr
2019-08-03 07:32:25,970: DEBUG - + ACTION=set
2019-08-03 07:32:25,971: DEBUG - + APP=snipeit
2019-08-03 07:32:25,972: DEBUG - + KEY=language
2019-08-03 07:32:25,974: DEBUG - + VALUE=fr
2019-08-03 07:32:25,975: DEBUG - + python -
2019-08-03 07:32:26,377: DEBUG - + ynh_script_progression '--message=Installing dependencies...' --time --weight=1
2019-08-03 07:32:26,378: DEBUG - + set +x
2019-08-03 07:32:26,379: DEBUG - + set +x
2019-08-03 07:32:26,380: DEBUG - + echo '! Helper used in legacy mode !'
2019-08-03 07:32:26,380: DEBUG - + set +x
2019-08-03 07:32:26,381: DEBUG - + echo '[###++...............] > Installing dependencies... [00h00m,02s]'
2019-08-03 07:32:26,382: DEBUG - + set -x
2019-08-03 07:32:26,382: DEBUG - + ynh_install_app_dependencies openssl php-mbstring php-curl php-mysql php-ldap php-zip php-bcmath php-xml php-common
2019-08-03 07:32:26,383: DEBUG - + local 'dependencies=openssl php-mbstring php-curl php-mysql php-ldap php-zip php-bcmath php-xml php-common'
2019-08-03 07:32:26,384: DEBUG - + local 'dependencies=openssl, php-mbstring, php-curl, php-mysql, php-ldap, php-zip, php-bcmath, php-xml, php-common'
2019-08-03 07:32:26,385: DEBUG - + local 'dependencies=openssl, php-mbstring, php-curl, php-mysql, php-ldap, php-zip, php-bcmath, php-xml, php-common'
2019-08-03 07:32:26,386: DEBUG - + local manifest_path=../manifest.json
2019-08-03 07:32:26,387: DEBUG - + '[' '!' -e ../manifest.json ']'
2019-08-03 07:32:26,387: DEBUG - ++ grep '\"version\": ' ../manifest.json
2019-08-03 07:32:26,388: DEBUG - ++ cut -d '"' -f 4
2019-08-03 07:32:26,489: DEBUG - + local version=4.6.15~ynh1
2019-08-03 07:32:26,490: INFO - [###++...............] > Installing dependencies... [00h00m,02s]
2019-08-03 07:32:26,492: DEBUG - + '[' 11 -eq 0 ']'
2019-08-03 07:32:26,493: DEBUG - + local dep_app=snipeit
2019-08-03 07:32:26,493: DEBUG - + cat
2019-08-03 07:32:26,494: DEBUG - + ynh_package_install_from_equivs /tmp/snipeit-ynh-deps.control
2019-08-03 07:32:26,495: DEBUG - + local controlfile=/tmp/snipeit-ynh-deps.control
2019-08-03 07:32:26,496: DEBUG - ++ grep '^Package: ' /tmp/snipeit-ynh-deps.control
2019-08-03 07:32:26,497: DEBUG - ++ cut '-d ' -f 2
2019-08-03 07:32:26,499: DEBUG - + local pkgname=snipeit-ynh-deps
2019-08-03 07:32:26,500: DEBUG - ++ grep '^Version: ' /tmp/snipeit-ynh-deps.control
2019-08-03 07:32:26,501: DEBUG - ++ cut '-d ' -f 2
2019-08-03 07:32:26,503: DEBUG - + local pkgversion=4.6.15~ynh1
2019-08-03 07:32:26,504: DEBUG - + [[ -z snipeit-ynh-deps ]]
2019-08-03 07:32:26,505: DEBUG - + [[ -z 4.6.15~ynh1 ]]
2019-08-03 07:32:26,506: DEBUG - + ynh_package_update
2019-08-03 07:32:26,507: DEBUG - + ynh_apt update
2019-08-03 07:32:26,508: DEBUG - + ynh_wait_dpkg_free
2019-08-03 07:32:26,508: DEBUG - + local try
2019-08-03 07:32:26,509: DEBUG - ++ seq 1 17
2019-08-03 07:32:26,510: DEBUG - + for try in `seq 1 17`
2019-08-03 07:32:26,510: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-08-03 07:32:27,013: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-08-03 07:32:27,014: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-08-03 07:32:27,015: DEBUG - + read dpkg_file
2019-08-03 07:32:27,016: DEBUG - + echo ''
2019-08-03 07:32:27,017: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-08-03 07:32:27,018: DEBUG - + read dpkg_file
2019-08-03 07:32:27,019: DEBUG - + return 0
2019-08-03 07:32:27,020: DEBUG - + DEBIAN_FRONTEND=noninteractive
2019-08-03 07:32:27,021: DEBUG - + apt-get -y update
2019-08-03 07:32:27,827: DEBUG - Ign:1 http://debian.mirrors.ovh.net/debian stretch InRelease
2019-08-03 07:32:27,829: DEBUG - Réception de:2 http://debian.mirrors.ovh.net/debian stretch-updates InRelease [91,0 kB]
2019-08-03 07:32:27,830: DEBUG - Atteint:3 http://security.debian.org/debian-security stretch/updates InRelease
2019-08-03 07:32:27,831: DEBUG - Atteint:4 http://forge.yunohost.org/debian stretch InRelease
2019-08-03 07:32:28,835: DEBUG - Réception de:5 http://debian.mirrors.ovh.net/debian stretch Release [118 kB]
2019-08-03 07:32:29,438: DEBUG - Atteint:6 https://download.docker.com/linux/debian stretch InRelease
2019-08-03 07:32:29,439: DEBUG - Réception de:7 https://last-public-ovh-metrics.snap.mirrors.ovh.net/debian stretch InRelease [4 905 B]
2019-08-03 07:32:29,440: DEBUG - Réception de:8 https://last-public-ovh-rtm.snap.mirrors.ovh.net/debian stretch InRelease [4 902 B]
2019-08-03 07:32:30,244: DEBUG - Réception de:10 https://last-public-ovh-kernel.snap.mirrors.ovh.net/debian ovhkernel InRelease [4 930 B]
2019-08-03 07:32:31,950: WARNING - sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:32,052: DEBUG - 224 ko réceptionnés en 4s (53,9 ko/s)
2019-08-03 07:32:36,768: DEBUG - Lecture des listes de paquets…
2019-08-03 07:32:36,970: DEBUG - ++ mktemp -d
2019-08-03 07:32:36,971: DEBUG - + local TMPDIR=/tmp/tmp.bdSk7htyuz
2019-08-03 07:32:36,972: DEBUG - + echo 10
2019-08-03 07:32:36,973: DEBUG - + ynh_wait_dpkg_free
2019-08-03 07:32:36,973: DEBUG - + local try
2019-08-03 07:32:36,974: DEBUG - ++ seq 1 17
2019-08-03 07:32:36,975: DEBUG - + for try in `seq 1 17`
2019-08-03 07:32:36,977: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-08-03 07:32:37,579: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-08-03 07:32:37,580: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-08-03 07:32:37,581: DEBUG - + read dpkg_file
2019-08-03 07:32:37,581: DEBUG - + echo ''
2019-08-03 07:32:37,582: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-08-03 07:32:37,583: DEBUG - + read dpkg_file
2019-08-03 07:32:37,584: DEBUG - + return 0
2019-08-03 07:32:37,585: DEBUG - + cp /tmp/snipeit-ynh-deps.control /tmp/tmp.bdSk7htyuz/control
2019-08-03 07:32:37,585: DEBUG - + cd /tmp/tmp.bdSk7htyuz
2019-08-03 07:32:37,586: DEBUG - + equivs-build ./control
2019-08-03 07:32:41,499: DEBUG - + dpkg --force-depends -i ./snipeit-ynh-deps_4.6.15~ynh1_all.deb
2019-08-03 07:32:41,801: DEBUG - Sélection du paquet snipeit-ynh-deps précédemment désélectionné.
2019-08-03 07:32:43,506: DEBUG - (Lecture de la base de données... 39424 fichiers et répertoires déjà installés.)
2019-08-03 07:32:43,508: DEBUG - Préparation du dépaquetage de .../snipeit-ynh-deps_4.6.15~ynh1_all.deb ...
2019-08-03 07:32:43,609: DEBUG - Dépaquetage de snipeit-ynh-deps (4.6.15~ynh1) ...
2019-08-03 07:32:43,810: DEBUG - dpkg: snipeit-ynh-deps : problèmes de dépendances, mais configuration comme demandé :
2019-08-03 07:32:43,811: DEBUG -  snipeit-ynh-deps dépend de php-bcmath ; cependant :
2019-08-03 07:32:43,812: DEBUG -   Le paquet php-bcmath n'est pas installé.
2019-08-03 07:32:43,813: DEBUG - 
2019-08-03 07:32:43,813: DEBUG - Paramétrage de snipeit-ynh-deps (4.6.15~ynh1) ...
2019-08-03 07:32:44,015: DEBUG - + ynh_package_install -f
2019-08-03 07:32:44,016: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2019-08-03 07:32:44,016: DEBUG - + ynh_wait_dpkg_free
2019-08-03 07:32:44,017: DEBUG - + local try
2019-08-03 07:32:44,018: DEBUG - ++ seq 1 17
2019-08-03 07:32:44,019: DEBUG - + for try in `seq 1 17`
2019-08-03 07:32:44,020: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-08-03 07:32:44,523: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-08-03 07:32:44,524: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-08-03 07:32:44,526: DEBUG - + read dpkg_file
2019-08-03 07:32:44,527: DEBUG - + echo ''
2019-08-03 07:32:44,529: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-08-03 07:32:44,530: DEBUG - + read dpkg_file
2019-08-03 07:32:44,532: DEBUG - + return 0
2019-08-03 07:32:44,533: DEBUG - + DEBIAN_FRONTEND=noninteractive
2019-08-03 07:32:44,535: DEBUG - + apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2019-08-03 07:32:45,338: DEBUG - Lecture des listes de paquets…
2019-08-03 07:32:45,841: DEBUG - Construction de l'arbre des dépendances…
2019-08-03 07:32:45,842: DEBUG - Lecture des informations d'état…
2019-08-03 07:32:46,344: DEBUG - Correction des dépendances... Fait
2019-08-03 07:32:46,846: DEBUG - The following additional packages will be installed:
2019-08-03 07:32:46,847: DEBUG -   php-bcmath php7.0-bcmath
2019-08-03 07:32:46,949: DEBUG - Les NOUVEAUX paquets suivants seront installés :
2019-08-03 07:32:46,950: DEBUG -   php-bcmath php7.0-bcmath
2019-08-03 07:32:47,452: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:48,757: DEBUG - 0 mis à jour, 2 nouvellement installés, 0 à enlever et 0 non mis à jour.
2019-08-03 07:32:48,758: DEBUG - Il est nécessaire de prendre 0 o/20,8 ko dans les archives.
2019-08-03 07:32:48,759: DEBUG - Après cette opération, 76,8 ko d'espace disque supplémentaires seront utilisés.
2019-08-03 07:32:49,061: DEBUG - Sélection du paquet php7.0-bcmath précédemment désélectionné.
2019-08-03 07:32:49,162: DEBUG - (Lecture de la base de données... 
(Lecture de la base de données... 5%
(Lecture de la base de données... 10%
(Lecture de la base de données... 15%
(Lecture de la base de données... 20%
(Lecture de la base de données... 25%
(Lecture de la base de données... 30%
(Lecture de la base de données... 35%
(Lecture de la base de données... 40%
(Lecture de la base de données... 45%
(Lecture de la base de données... 50%
(Lecture de la base de données... 55%
(Lecture de la base de données... 60%
(Lecture de la base de données... 65%
(Lecture de la base de données... 70%
(Lecture de la base de données... 75%
(Lecture de la base de données... 80%
(Lecture de la base de données... 85%
(Lecture de la base de données... 90%
(Lecture de la base de données... 95%
(Lecture de la base de données... 100%
(Lecture de la base de données... 39428 fichiers et répertoires déjà installés.)
2019-08-03 07:32:49,163: DEBUG - Préparation du dépaquetage de .../php7.0-bcmath_7.0.33-0+deb9u3_amd64.deb ...
2019-08-03 07:32:49,264: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:49,265: DEBUG - Dépaquetage de php7.0-bcmath (7.0.33-0+deb9u3) ...
2019-08-03 07:32:49,567: DEBUG - Sélection du paquet php-bcmath précédemment désélectionné.
2019-08-03 07:32:49,568: DEBUG - Préparation du dépaquetage de .../php-bcmath_1%3a7.0+49_all.deb ...
2019-08-03 07:32:49,669: DEBUG - Dépaquetage de php-bcmath (1:7.0+49) ...
2019-08-03 07:32:50,071: DEBUG - Traitement des actions différées (« triggers ») pour php7.0-fpm (7.0.33-0+deb9u3) ...
2019-08-03 07:32:50,073: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:50,074: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:50,075: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:53,787: DEBUG - Paramétrage de php7.0-bcmath (7.0.33-0+deb9u3) ...
2019-08-03 07:32:53,888: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:53,989: DEBUG - /bin/bash: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:54,091: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:54,794: DEBUG - /bin/bash: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:54,895: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:55,197: DEBUG - 
2019-08-03 07:32:55,199: DEBUG - Creating config file /etc/php/7.0/mods-available/bcmath.ini with new version
2019-08-03 07:32:55,300: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:55,602: DEBUG - /bin/bash: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:55,603: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:55,705: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:55,705: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:55,807: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:55,809: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:55,911: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:56,013: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:56,516: DEBUG - Paramétrage de php-bcmath (1:7.0+49) ...
2019-08-03 07:32:56,718: DEBUG - Traitement des actions différées (« triggers ») pour php7.0-fpm (7.0.33-0+deb9u3) ...
2019-08-03 07:32:56,720: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:56,721: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:56,721: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-08-03 07:32:59,430: DEBUG - + [[ -n /tmp/tmp.bdSk7htyuz ]]
2019-08-03 07:32:59,432: DEBUG - + rm -rf /tmp/tmp.bdSk7htyuz
2019-08-03 07:32:59,433: DEBUG - + ynh_package_is_installed snipeit-ynh-deps
2019-08-03 07:32:59,435: DEBUG - + local legacy_args=p
2019-08-03 07:32:59,436: DEBUG - + args_array=([p]=package=)
2019-08-03 07:32:59,438: DEBUG - + declare -Ar args_array
2019-08-03 07:32:59,440: DEBUG - + local package
2019-08-03 07:32:59,441: DEBUG - + ynh_handle_getopts_args snipeit-ynh-deps
2019-08-03 07:32:59,442: DEBUG - + set +x
2019-08-03 07:32:59,443: DEBUG - + echo '! Helper used in legacy mode !'
2019-08-03 07:32:59,444: DEBUG - + set +x
2019-08-03 07:32:59,445: DEBUG - + ynh_wait_dpkg_free
2019-08-03 07:32:59,446: DEBUG - + local try
2019-08-03 07:32:59,446: DEBUG - ++ seq 1 17
2019-08-03 07:32:59,447: DEBUG - + for try in `seq 1 17`
2019-08-03 07:32:59,448: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-08-03 07:32:59,950: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-08-03 07:32:59,951: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-08-03 07:32:59,952: DEBUG - + read dpkg_file
2019-08-03 07:32:59,953: DEBUG - + echo ''
2019-08-03 07:32:59,955: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-08-03 07:32:59,956: DEBUG - + read dpkg_file
2019-08-03 07:32:59,957: DEBUG - + return 0
2019-08-03 07:32:59,958: DEBUG - + dpkg-query -W -f '${Status}' snipeit-ynh-deps
2019-08-03 07:32:59,959: DEBUG - + grep -c 'ok installed'
2019-08-03 07:33:00,060: DEBUG - + rm /tmp/snipeit-ynh-deps.control
2019-08-03 07:33:00,062: DEBUG - + ynh_app_setting_set --app=snipeit --key=apt_dependencies '--value=openssl, php-mbstring, php-curl, php-mysql, php-ldap, php-zip, php-bcmath, php-xml, php-common'
2019-08-03 07:33:00,063: DEBUG - + local legacy_args=akv
2019-08-03 07:33:00,064: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-08-03 07:33:00,065: DEBUG - + declare -Ar args_array
2019-08-03 07:33:00,067: DEBUG - + local app
2019-08-03 07:33:00,068: DEBUG - + local key
2019-08-03 07:33:00,069: DEBUG - + local value
2019-08-03 07:33:00,070: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=apt_dependencies '--value=openssl, php-mbstring, php-curl, php-mysql, php-ldap, php-zip, php-bcmath, php-xml, php-common'
2019-08-03 07:33:00,071: DEBUG - + set +x
2019-08-03 07:33:00,072: DEBUG - + ynh_app_setting set snipeit apt_dependencies 'openssl, php-mbstring, php-curl, php-mysql, php-ldap, php-zip, php-bcmath, php-xml, php-common'
2019-08-03 07:33:00,074: DEBUG - + ACTION=set
2019-08-03 07:33:00,075: DEBUG - + APP=snipeit
2019-08-03 07:33:00,076: DEBUG - + KEY=apt_dependencies
2019-08-03 07:33:00,078: DEBUG - + VALUE='openssl, php-mbstring, php-curl, php-mysql, php-ldap, php-zip, php-bcmath, php-xml, php-common'
2019-08-03 07:33:00,079: DEBUG - + python -
2019-08-03 07:33:00,582: DEBUG - + ynh_script_progression '--message=Creating a MySQL database...' --time --weight=1
2019-08-03 07:33:00,583: DEBUG - + set +x
2019-08-03 07:33:00,584: DEBUG - + set +x
2019-08-03 07:33:00,585: DEBUG - + echo '! Helper used in legacy mode !'
2019-08-03 07:33:00,586: DEBUG - + set +x
2019-08-03 07:33:00,587: DEBUG - + echo '[#####++.............] > Creating a MySQL database... [00h00m,34s]'
2019-08-03 07:33:00,588: DEBUG - + set -x
2019-08-03 07:33:00,590: DEBUG - ++ ynh_sanitize_dbid snipeit
2019-08-03 07:33:00,591: DEBUG - ++ local legacy_args=n
2019-08-03 07:33:00,592: DEBUG - ++ args_array=([n]=db_name=)
2019-08-03 07:33:00,592: DEBUG - ++ declare -Ar args_array
2019-08-03 07:33:00,593: DEBUG - ++ local db_name
2019-08-03 07:33:00,594: DEBUG - ++ ynh_handle_getopts_args snipeit
2019-08-03 07:33:00,596: DEBUG - ++ set +x
2019-08-03 07:33:00,596: DEBUG - ++ echo '! Helper used in legacy mode !'
2019-08-03 07:33:00,597: DEBUG - ++ set +x
2019-08-03 07:33:00,598: DEBUG - ++ echo snipeit
2019-08-03 07:33:00,599: DEBUG - + db_name=snipeit
2019-08-03 07:33:00,599: DEBUG - + ynh_app_setting_set --app=snipeit --key=db_name --value=snipeit
2019-08-03 07:33:00,600: DEBUG - + local legacy_args=akv
2019-08-03 07:33:00,601: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-08-03 07:33:00,602: DEBUG - + declare -Ar args_array
2019-08-03 07:33:00,602: DEBUG - + local app
2019-08-03 07:33:00,603: DEBUG - + local key
2019-08-03 07:33:00,604: DEBUG - + local value
2019-08-03 07:33:00,605: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=db_name --value=snipeit
2019-08-03 07:33:00,606: DEBUG - + set +x
2019-08-03 07:33:00,707: DEBUG - + ynh_app_setting set snipeit db_name snipeit
2019-08-03 07:33:00,708: INFO - [#####++.............] > Creating a MySQL database... [00h00m,34s]
2019-08-03 07:33:00,710: DEBUG - + ACTION=set
2019-08-03 07:33:00,711: DEBUG - + APP=snipeit
2019-08-03 07:33:00,712: DEBUG - + KEY=db_name
2019-08-03 07:33:00,712: DEBUG - + VALUE=snipeit
2019-08-03 07:33:00,713: DEBUG - + python -
2019-08-03 07:33:01,015: DEBUG - + ynh_mysql_setup_db --db_user=snipeit --db_name=snipeit
2019-08-03 07:33:01,017: DEBUG - + local legacy_args=unp
2019-08-03 07:33:01,018: DEBUG - + args_array=([u]=db_user= [n]=db_name= [p]=db_pwd=)
2019-08-03 07:33:01,021: DEBUG - + declare -Ar args_array
2019-08-03 07:33:01,022: DEBUG - + local db_user
2019-08-03 07:33:01,024: DEBUG - + local db_name
2019-08-03 07:33:01,025: DEBUG - + db_pwd=
2019-08-03 07:33:01,027: DEBUG - + ynh_handle_getopts_args --db_user=snipeit --db_name=snipeit
2019-08-03 07:33:01,028: DEBUG - + set +x
2019-08-03 07:33:01,028: DEBUG - ++ ynh_string_random
2019-08-03 07:33:01,029: DEBUG - ++ local legacy_args=l
2019-08-03 07:33:01,030: DEBUG - ++ args_array=([l]=length=)
2019-08-03 07:33:01,030: DEBUG - ++ declare -Ar args_array
2019-08-03 07:33:01,031: DEBUG - ++ local length
2019-08-03 07:33:01,032: DEBUG - ++ ynh_handle_getopts_args
2019-08-03 07:33:01,033: DEBUG - ++ set +x
2019-08-03 07:33:01,033: DEBUG - ++ length=24
2019-08-03 07:33:01,034: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2019-08-03 07:33:01,035: DEBUG - ++ tr -c -d A-Za-z0-9
2019-08-03 07:33:01,036: DEBUG - ++ sed -n 's/\(.\{24\}\).*/\1/p'
2019-08-03 07:33:01,137: DEBUG - + local new_db_pwd=**********
2019-08-03 07:33:01,139: DEBUG - + db_pwd=**********
2019-08-03 07:33:01,140: DEBUG - + ynh_mysql_create_db snipeit snipeit **********
2019-08-03 07:33:01,141: DEBUG - + local db=snipeit
2019-08-03 07:33:01,142: DEBUG - + local 'sql=CREATE DATABASE snipeit;'
2019-08-03 07:33:01,143: DEBUG - + [[ 3 -gt 1 ]]
2019-08-03 07:33:01,144: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON snipeit.* TO '\''snipeit'\''@'\''localhost'\'''
2019-08-03 07:33:01,145: DEBUG - + [[ -n ********** ]]
2019-08-03 07:33:01,145: DEBUG - + sql+=' IDENTIFIED BY '\''**********'\'''
2019-08-03 07:33:01,146: DEBUG - + sql+=' WITH GRANT OPTION;'
2019-08-03 07:33:01,147: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE snipeit; GRANT ALL PRIVILEGES ON snipeit.* TO '\''snipeit'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2019-08-03 07:33:01,148: DEBUG - + local legacy_args=sd
2019-08-03 07:33:01,149: DEBUG - + args_array=([s]=sql= [d]=database=)
2019-08-03 07:33:01,150: DEBUG - + declare -Ar args_array
2019-08-03 07:33:01,151: DEBUG - + local sql
2019-08-03 07:33:01,152: DEBUG - + local database
2019-08-03 07:33:01,153: DEBUG - + ynh_handle_getopts_args '--sql=CREATE DATABASE snipeit; GRANT ALL PRIVILEGES ON snipeit.* TO '\''snipeit'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2019-08-03 07:33:01,153: DEBUG - + set +x
2019-08-03 07:33:01,154: DEBUG - + database=
2019-08-03 07:33:01,155: DEBUG - ++ sudo cat /etc/yunohost/mysql
2019-08-03 07:33:01,156: DEBUG - + ynh_mysql_connect_as --user=root --password=********** --database=
2019-08-03 07:33:01,157: DEBUG - + local legacy_args=upd
2019-08-03 07:33:01,157: DEBUG - + args_array=([u]=user= [p]=password= [d]=database=)
2019-08-03 07:33:01,158: DEBUG - + declare -Ar args_array
2019-08-03 07:33:01,159: DEBUG - + local user
2019-08-03 07:33:01,160: DEBUG - + local password
2019-08-03 07:33:01,160: DEBUG - + local database
2019-08-03 07:33:01,161: DEBUG - + ynh_handle_getopts_args --user=root --password=********** --database=
2019-08-03 07:33:01,162: DEBUG - + set +x
2019-08-03 07:33:01,162: DEBUG - + database=
2019-08-03 07:33:01,163: DEBUG - + mysql -u root --password=********** -B ''
2019-08-03 07:33:01,565: DEBUG - + ynh_app_setting_set --app=snipeit --key=mysqlpwd --value=**********
2019-08-03 07:33:01,567: DEBUG - + local legacy_args=akv
2019-08-03 07:33:01,568: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-08-03 07:33:01,569: DEBUG - + declare -Ar args_array
2019-08-03 07:33:01,570: DEBUG - + local app
2019-08-03 07:33:01,572: DEBUG - + local key
2019-08-03 07:33:01,573: DEBUG - + local value
2019-08-03 07:33:01,574: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=mysqlpwd --value=**********
2019-08-03 07:33:01,575: DEBUG - + set +x
2019-08-03 07:33:01,576: DEBUG - + ynh_app_setting set snipeit mysqlpwd **********
2019-08-03 07:33:01,577: DEBUG - + ACTION=set
2019-08-03 07:33:01,578: DEBUG - + APP=snipeit
2019-08-03 07:33:01,579: DEBUG - + KEY=mysqlpwd
2019-08-03 07:33:01,580: DEBUG - + VALUE=**********
2019-08-03 07:33:01,581: DEBUG - + python -
2019-08-03 07:33:01,983: DEBUG - + ynh_script_progression '--message=Setting up source files...' --time --weight=1
2019-08-03 07:33:01,984: DEBUG - + set +x
2019-08-03 07:33:01,986: DEBUG - + set +x
2019-08-03 07:33:02,088: DEBUG - + echo '! Helper used in legacy mode !'
2019-08-03 07:33:02,089: INFO - [#######++...........] > Setting up source files... [00h00m,01s]
2019-08-03 07:33:02,090: DEBUG - + set +x
2019-08-03 07:33:02,091: DEBUG - + echo '[#######++...........] > Setting up source files... [00h00m,01s]'
2019-08-03 07:33:02,092: DEBUG - + set -x
2019-08-03 07:33:02,093: DEBUG - + ynh_app_setting_set --app=snipeit --key=final_path --value=/var/www/snipeit
2019-08-03 07:33:02,094: DEBUG - + local legacy_args=akv
2019-08-03 07:33:02,095: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-08-03 07:33:02,096: DEBUG - + declare -Ar args_array
2019-08-03 07:33:02,097: DEBUG - + local app
2019-08-03 07:33:02,098: DEBUG - + local key
2019-08-03 07:33:02,098: DEBUG - + local value
2019-08-03 07:33:02,099: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=final_path --value=/var/www/snipeit
2019-08-03 07:33:02,100: DEBUG - + set +x
2019-08-03 07:33:02,101: DEBUG - + ynh_app_setting set snipeit final_path /var/www/snipeit
2019-08-03 07:33:02,102: DEBUG - + ACTION=set
2019-08-03 07:33:02,103: DEBUG - + APP=snipeit
2019-08-03 07:33:02,103: DEBUG - + KEY=final_path
2019-08-03 07:33:02,104: DEBUG - + VALUE=/var/www/snipeit
2019-08-03 07:33:02,105: DEBUG - + python -
2019-08-03 07:33:02,507: DEBUG - + ynh_setup_source --dest_dir=/var/www/snipeit
2019-08-03 07:33:02,509: DEBUG - + local legacy_args=ds
2019-08-03 07:33:02,510: DEBUG - + args_array=([d]=dest_dir= [s]=source_id=)
2019-08-03 07:33:02,511: DEBUG - + declare -Ar args_array
2019-08-03 07:33:02,512: DEBUG - + local dest_dir
2019-08-03 07:33:02,514: DEBUG - + local source_id
2019-08-03 07:33:02,515: DEBUG - + ynh_handle_getopts_args --dest_dir=/var/www/snipeit
2019-08-03 07:33:02,516: DEBUG - + set +x
2019-08-03 07:33:02,517: DEBUG - + source_id=app
2019-08-03 07:33:02,518: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../conf/app.src
2019-08-03 07:33:02,518: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../conf/app.src ']'
2019-08-03 07:33:02,519: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../conf/app.src
2019-08-03 07:33:02,520: DEBUG - ++ cut -d= -f2-
2019-08-03 07:33:02,521: DEBUG - + local src_url=https://github.com/snipe/snipe-it/archive/v4.6.15.tar.gz
2019-08-03 07:33:02,522: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../conf/app.src
2019-08-03 07:33:02,523: DEBUG - ++ cut -d= -f2-
2019-08-03 07:33:02,524: DEBUG - + local src_sum=9631b73485c72109df28b9d5aaa6fffa1944fbec2e3432920d0c87805b655615
2019-08-03 07:33:02,525: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../conf/app.src
2019-08-03 07:33:02,526: DEBUG - ++ cut -d= -f2-
2019-08-03 07:33:02,527: DEBUG - + local src_sumprg=sha256sum
2019-08-03 07:33:02,527: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../conf/app.src
2019-08-03 07:33:02,528: DEBUG - ++ cut -d= -f2-
2019-08-03 07:33:02,529: DEBUG - + local src_format=tar.gz
2019-08-03 07:33:02,529: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../conf/app.src
2019-08-03 07:33:02,530: DEBUG - ++ cut -d= -f2-
2019-08-03 07:33:02,531: DEBUG - + local src_extract=
2019-08-03 07:33:02,532: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../conf/app.src
2019-08-03 07:33:02,532: DEBUG - ++ cut -d= -f2-
2019-08-03 07:33:02,533: DEBUG - + local src_in_subdir=true
2019-08-03 07:33:02,534: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../conf/app.src
2019-08-03 07:33:02,535: DEBUG - ++ cut -d= -f2-
2019-08-03 07:33:02,535: DEBUG - + local src_filename=
2019-08-03 07:33:02,536: DEBUG - + src_sumprg=sha256sum
2019-08-03 07:33:02,537: DEBUG - + src_in_subdir=true
2019-08-03 07:33:02,538: DEBUG - + src_format=tar.gz
2019-08-03 07:33:02,538: DEBUG - ++ echo tar.gz
2019-08-03 07:33:02,539: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2019-08-03 07:33:02,540: DEBUG - + src_format=tar.gz
2019-08-03 07:33:02,540: DEBUG - + src_extract=true
2019-08-03 07:33:02,541: DEBUG - + '[' '' = '' ']'
2019-08-03 07:33:02,542: DEBUG - + src_filename=app.tar.gz
2019-08-03 07:33:02,543: DEBUG - + local local_src=/opt/yunohost-apps-src/snipeit/app.tar.gz
2019-08-03 07:33:02,544: DEBUG - + test -e /opt/yunohost-apps-src/snipeit/app.tar.gz
2019-08-03 07:33:02,544: DEBUG - ++ wget -nv -O app.tar.gz https://github.com/snipe/snipe-it/archive/v4.6.15.tar.gz
2019-08-03 07:33:05,154: DEBUG - + local 'out=2019-08-03 07:33:05 URL:https://codeload.github.com/snipe/snipe-it/tar.gz/v4.6.15 [11889990] -> "app.tar.gz" [1]'
2019-08-03 07:33:05,155: DEBUG - + echo '9631b73485c72109df28b9d5aaa6fffa1944fbec2e3432920d0c87805b655615 app.tar.gz'
2019-08-03 07:33:05,156: DEBUG - + sha256sum -c --status
2019-08-03 07:33:05,357: DEBUG - + mkdir -p /var/www/snipeit
2019-08-03 07:33:05,358: DEBUG - + true
2019-08-03 07:33:05,359: DEBUG - + '[' tar.gz = zip ']'
2019-08-03 07:33:05,360: DEBUG - + local strip=
2019-08-03 07:33:05,361: DEBUG - + '[' true '!=' false ']'
2019-08-03 07:33:05,362: DEBUG - + '[' true == true ']'
2019-08-03 07:33:05,363: DEBUG - + local sub_dirs=1
2019-08-03 07:33:05,364: DEBUG - + strip='--strip-components 1'
2019-08-03 07:33:05,365: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2019-08-03 07:33:05,365: DEBUG - + tar -xf app.tar.gz -C /var/www/snipeit --strip-components 1
2019-08-03 07:33:07,071: DEBUG - ++ wc -l
2019-08-03 07:33:07,073: DEBUG - ++ find /var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../sources/patches/ -type f -name 'app-*.patch'
2019-08-03 07:33:07,074: DEBUG - + ((  0 > 0  ))
2019-08-03 07:33:07,076: DEBUG - + test -e /var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../sources/extra_files/app
2019-08-03 07:33:07,077: DEBUG - + ynh_script_progression '--message=Configuring nginx web server...' --time --weight=1
2019-08-03 07:33:07,079: DEBUG - + set +x
2019-08-03 07:33:07,180: DEBUG - + set +x
2019-08-03 07:33:07,181: DEBUG - + echo '! Helper used in legacy mode !'
2019-08-03 07:33:07,183: DEBUG - + set +x
2019-08-03 07:33:07,184: DEBUG - + echo '[#########+..........] > Configuring nginx web server... [00h00m,06s]'
2019-08-03 07:33:07,185: DEBUG - + set -x
2019-08-03 07:33:07,186: DEBUG - + ynh_add_nginx_config
2019-08-03 07:33:07,188: DEBUG - + finalnginxconf=/etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:07,189: DEBUG - + local others_var=
2019-08-03 07:33:07,190: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:07,191: DEBUG - + local legacy_args=f
2019-08-03 07:33:07,192: DEBUG - + args_array=([f]=file=)
2019-08-03 07:33:07,193: DEBUG - + declare -Ar args_array
2019-08-03 07:33:07,193: DEBUG - + local file
2019-08-03 07:33:07,194: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:07,195: DEBUG - + set +x
2019-08-03 07:33:07,196: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_domaine.net.d_snipeit.conf
2019-08-03 07:33:07,197: DEBUG - ++ ynh_app_setting_get --app=snipeit --key=**********
2019-08-03 07:33:07,198: INFO - [#########+..........] > Configuring nginx web server... [00h00m,06s]
2019-08-03 07:33:07,199: DEBUG - ++ local legacy_args=ak
2019-08-03 07:33:07,200: DEBUG - ++ args_array=([a]=app= [k]=key=)
2019-08-03 07:33:07,201: DEBUG - ++ declare -Ar args_array
2019-08-03 07:33:07,202: DEBUG - ++ local app
2019-08-03 07:33:07,202: DEBUG - ++ local key
2019-08-03 07:33:07,203: DEBUG - ++ ynh_handle_getopts_args --app=snipeit --key=**********
2019-08-03 07:33:07,204: DEBUG - ++ set +x
2019-08-03 07:33:07,205: DEBUG - ++ ynh_app_setting get snipeit **********
2019-08-03 07:33:07,205: DEBUG - ++ ACTION=get
2019-08-03 07:33:07,206: DEBUG - ++ APP=snipeit
2019-08-03 07:33:07,207: DEBUG - ++ KEY=**********
2019-08-03 07:33:07,208: DEBUG - ++ VALUE=
2019-08-03 07:33:07,209: DEBUG - ++ python -
2019-08-03 07:33:07,611: DEBUG - + local checksum_value=
2019-08-03 07:33:07,612: DEBUG - + backup_file_checksum=
2019-08-03 07:33:07,613: DEBUG - + '[' -n '' ']'
2019-08-03 07:33:07,615: DEBUG - + sudo cp ../conf/nginx.conf /etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:07,617: DEBUG - + test -n /
2019-08-03 07:33:07,618: DEBUG - + local path_url_slash_less=
2019-08-03 07:33:07,620: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:07,622: DEBUG - + local legacy_args=mrf
2019-08-03 07:33:07,624: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-08-03 07:33:07,625: DEBUG - + declare -Ar args_array
2019-08-03 07:33:07,625: DEBUG - + local match_string
2019-08-03 07:33:07,626: DEBUG - + local replace_string
2019-08-03 07:33:07,627: DEBUG - + local target_file
2019-08-03 07:33:07,629: DEBUG - + ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:07,630: DEBUG - + set +x
2019-08-03 07:33:07,732: DEBUG - + local delimit=@
2019-08-03 07:33:07,734: DEBUG - + match_string=__PATH__/
2019-08-03 07:33:07,736: DEBUG - + replace_string=/
2019-08-03 07:33:07,738: DEBUG - + sudo sed --in-place s@__PATH__/@/@g /etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:07,739: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:07,740: DEBUG - + local legacy_args=mrf
2019-08-03 07:33:07,741: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-08-03 07:33:07,743: DEBUG - + declare -Ar args_array
2019-08-03 07:33:07,744: DEBUG - + local match_string
2019-08-03 07:33:07,745: DEBUG - + local replace_string
2019-08-03 07:33:07,746: DEBUG - + local target_file
2019-08-03 07:33:07,747: DEBUG - + ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:07,748: DEBUG - + set +x
2019-08-03 07:33:07,749: DEBUG - + local delimit=@
2019-08-03 07:33:07,750: DEBUG - + match_string=__PATH__
2019-08-03 07:33:07,752: DEBUG - + replace_string=/
2019-08-03 07:33:07,753: DEBUG - + sudo sed --in-place s@__PATH__@/@g /etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:07,854: DEBUG - + test -n domaine.net
2019-08-03 07:33:07,855: DEBUG - + ynh_replace_string --match_string=__DOMAIN__ --replace_string=domaine.net --target_file=/etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:07,856: DEBUG - + local legacy_args=mrf
2019-08-03 07:33:07,857: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-08-03 07:33:07,859: DEBUG - + declare -Ar args_array
2019-08-03 07:33:07,861: DEBUG - + local match_string
2019-08-03 07:33:07,862: DEBUG - + local replace_string
2019-08-03 07:33:07,864: DEBUG - + local target_file
2019-08-03 07:33:07,865: DEBUG - + ynh_handle_getopts_args --match_string=__DOMAIN__ --replace_string=domaine.net --target_file=/etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:07,866: DEBUG - + set +x
2019-08-03 07:33:07,867: DEBUG - + local delimit=@
2019-08-03 07:33:07,869: DEBUG - + match_string=__DOMAIN__
2019-08-03 07:33:07,870: DEBUG - + replace_string=domaine.net
2019-08-03 07:33:07,871: DEBUG - + sudo sed --in-place s@__DOMAIN__@domaine.net@g /etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:07,973: DEBUG - + test -n ''
2019-08-03 07:33:07,974: DEBUG - + test -n snipeit
2019-08-03 07:33:07,976: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=snipeit --target_file=/etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:07,977: DEBUG - + local legacy_args=mrf
2019-08-03 07:33:07,978: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-08-03 07:33:07,979: DEBUG - + declare -Ar args_array
2019-08-03 07:33:07,980: DEBUG - + local match_string
2019-08-03 07:33:07,981: DEBUG - + local replace_string
2019-08-03 07:33:07,982: DEBUG - + local target_file
2019-08-03 07:33:07,983: DEBUG - + ynh_handle_getopts_args --match_string=__NAME__ --replace_string=snipeit --target_file=/etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:07,985: DEBUG - + set +x
2019-08-03 07:33:07,986: DEBUG - + local delimit=@
2019-08-03 07:33:07,988: DEBUG - + match_string=__NAME__
2019-08-03 07:33:07,989: DEBUG - + replace_string=snipeit
2019-08-03 07:33:07,990: DEBUG - + sudo sed --in-place s@__NAME__@snipeit@g /etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:07,992: DEBUG - + test -n /var/www/snipeit
2019-08-03 07:33:07,993: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/snipeit --target_file=/etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:07,995: DEBUG - + local legacy_args=mrf
2019-08-03 07:33:07,996: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-08-03 07:33:07,997: DEBUG - + declare -Ar args_array
2019-08-03 07:33:07,998: DEBUG - + local match_string
2019-08-03 07:33:07,998: DEBUG - + local replace_string
2019-08-03 07:33:07,999: DEBUG - + local target_file
2019-08-03 07:33:08,000: DEBUG - + ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/snipeit --target_file=/etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:08,001: DEBUG - + set +x
2019-08-03 07:33:08,102: DEBUG - + local delimit=@
2019-08-03 07:33:08,104: DEBUG - + match_string=__FINALPATH__
2019-08-03 07:33:08,106: DEBUG - + replace_string=/var/www/snipeit
2019-08-03 07:33:08,107: DEBUG - + sudo sed --in-place s@__FINALPATH__@/var/www/snipeit@g /etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:08,108: DEBUG - + '[' / '!=' / ']'
2019-08-03 07:33:08,110: DEBUG - + ynh_replace_string '--match_string=^#root_path_only' --replace_string= --target_file=/etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:08,111: DEBUG - + local legacy_args=mrf
2019-08-03 07:33:08,113: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-08-03 07:33:08,114: DEBUG - + declare -Ar args_array
2019-08-03 07:33:08,115: DEBUG - + local match_string
2019-08-03 07:33:08,117: DEBUG - + local replace_string
2019-08-03 07:33:08,118: DEBUG - + local target_file
2019-08-03 07:33:08,119: DEBUG - + ynh_handle_getopts_args '--match_string=^#root_path_only' --replace_string= --target_file=/etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:08,121: DEBUG - + set +x
2019-08-03 07:33:08,122: DEBUG - + local delimit=@
2019-08-03 07:33:08,123: DEBUG - + match_string='^#root_path_only'
2019-08-03 07:33:08,124: DEBUG - + replace_string=
2019-08-03 07:33:08,125: DEBUG - + sudo sed --in-place 's@^#root_path_only@@g' /etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:08,227: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:08,228: DEBUG - + local legacy_args=f
2019-08-03 07:33:08,230: DEBUG - + args_array=([f]=file=)
2019-08-03 07:33:08,231: DEBUG - + declare -Ar args_array
2019-08-03 07:33:08,232: DEBUG - + local file
2019-08-03 07:33:08,234: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:08,235: DEBUG - + set +x
2019-08-03 07:33:08,237: DEBUG - + local checksum_setting_name=**********
2019-08-03 07:33:08,238: DEBUG - ++ sudo md5sum /etc/nginx/conf.d/domaine.net.d/snipeit.conf
2019-08-03 07:33:08,239: DEBUG - ++ cut '-d ' -f1
2019-08-03 07:33:08,241: DEBUG - + ynh_app_setting_set --app=snipeit --key=********** --value=ce7e5e7fac3f0117a4b16aef067e13dc
2019-08-03 07:33:08,242: DEBUG - + local legacy_args=akv
2019-08-03 07:33:08,244: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-08-03 07:33:08,245: DEBUG - + declare -Ar args_array
2019-08-03 07:33:08,246: DEBUG - + local app
2019-08-03 07:33:08,247: DEBUG - + local key
2019-08-03 07:33:08,248: DEBUG - + local value
2019-08-03 07:33:08,250: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=********** --value=ce7e5e7fac3f0117a4b16aef067e13dc
2019-08-03 07:33:08,251: DEBUG - + set +x
2019-08-03 07:33:08,353: DEBUG - + ynh_app_setting set snipeit ********** ce7e5e7fac3f0117a4b16aef067e13dc
2019-08-03 07:33:08,354: DEBUG - + ACTION=set
2019-08-03 07:33:08,356: DEBUG - + APP=snipeit
2019-08-03 07:33:08,357: DEBUG - + KEY=**********
2019-08-03 07:33:08,358: DEBUG - + VALUE=ce7e5e7fac3f0117a4b16aef067e13dc
2019-08-03 07:33:08,360: DEBUG - + python -
2019-08-03 07:33:08,662: DEBUG - + '[' -n '' ']'
2019-08-03 07:33:08,664: DEBUG - + unset backup_file_checksum
2019-08-03 07:33:08,665: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2019-08-03 07:33:08,667: DEBUG - + local legacy_args=nalpte
2019-08-03 07:33:08,668: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
2019-08-03 07:33:08,670: DEBUG - + declare -Ar args_array
2019-08-03 07:33:08,671: DEBUG - + local service_name
2019-08-03 07:33:08,672: DEBUG - + local action
2019-08-03 07:33:08,673: DEBUG - + local line_match
2019-08-03 07:33:08,674: DEBUG - + local length
2019-08-03 07:33:08,676: DEBUG - + local log_path
2019-08-03 07:33:08,677: DEBUG - + local timeout
2019-08-03 07:33:08,678: DEBUG - + ynh_handle_getopts_args --service_name=nginx --action=reload
2019-08-03 07:33:08,679: DEBUG - + set +x
2019-08-03 07:33:08,780: DEBUG - + local service_name=nginx
2019-08-03 07:33:08,781: DEBUG - + local action=reload
2019-08-03 07:33:08,782: DEBUG - + local log_path=/var/log/nginx/nginx.log
2019-08-03 07:33:08,783: DEBUG - + local length=20
2019-08-03 07:33:08,784: DEBUG - + local timeout=300
2019-08-03 07:33:08,785: DEBUG - + [[ -n '' ]]
2019-08-03 07:33:08,787: DEBUG - + '[' reload == reload ']'
2019-08-03 07:33:08,788: DEBUG - + action=reload-or-restart
2019-08-03 07:33:08,789: DEBUG - + systemctl reload-or-restart nginx
2019-08-03 07:33:09,191: DEBUG - + [[ -n '' ]]
2019-08-03 07:33:09,193: DEBUG - + ynh_script_progression '--message=Configuring system user...' --time --weight=1
2019-08-03 07:33:09,194: DEBUG - + set +x
2019-08-03 07:33:09,195: DEBUG - + set +x
2019-08-03 07:33:09,297: DEBUG - + echo '! Helper used in legacy mode !'
2019-08-03 07:33:09,298: DEBUG - + set +x
2019-08-03 07:33:09,299: DEBUG - + echo '[##########++........] > Configuring system user... [00h00m,02s]'
2019-08-03 07:33:09,300: DEBUG - + set -x
2019-08-03 07:33:09,301: DEBUG - + ynh_system_user_create --username=snipeit
2019-08-03 07:33:09,302: DEBUG - + local legacy_args=uhs
2019-08-03 07:33:09,303: DEBUG - + args_array=([u]=username= [h]=home_dir= [s]=use_shell)
2019-08-03 07:33:09,303: DEBUG - + declare -Ar args_array
2019-08-03 07:33:09,305: DEBUG - + local username
2019-08-03 07:33:09,307: INFO - [##########++........] > Configuring system user... [00h00m,02s]
2019-08-03 07:33:09,310: DEBUG - + local home_dir
2019-08-03 07:33:09,312: DEBUG - + local use_shell
2019-08-03 07:33:09,314: DEBUG - + ynh_handle_getopts_args --username=snipeit
2019-08-03 07:33:09,317: DEBUG - + set +x
2019-08-03 07:33:09,318: DEBUG - + use_shell=0
2019-08-03 07:33:09,326: DEBUG - + home_dir=
2019-08-03 07:33:09,328: DEBUG - + ynh_system_user_exists snipeit
2019-08-03 07:33:09,330: DEBUG - + local legacy_args=u
2019-08-03 07:33:09,332: DEBUG - + args_array=([u]=username=)
2019-08-03 07:33:09,333: DEBUG - + declare -Ar args_array
2019-08-03 07:33:09,334: DEBUG - + local username
2019-08-03 07:33:09,336: DEBUG - + ynh_handle_getopts_args snipeit
2019-08-03 07:33:09,337: DEBUG - + set +x
2019-08-03 07:33:09,338: DEBUG - + echo '! Helper used in legacy mode !'
2019-08-03 07:33:09,339: DEBUG - + set +x
2019-08-03 07:33:09,339: DEBUG - + getent passwd snipeit
2019-08-03 07:33:09,340: DEBUG - + '[' -n '' ']'
2019-08-03 07:33:09,341: DEBUG - + local user_home_dir=--no-create-home
2019-08-03 07:33:09,342: DEBUG - + '[' 0 -eq 1 ']'
2019-08-03 07:33:09,342: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2019-08-03 07:33:09,343: DEBUG - + useradd --no-create-home --system --user-group snipeit --shell /usr/sbin/nologin
2019-08-03 07:33:20,479: DEBUG - + ynh_script_progression '--message=Configuring php-fpm...' --time --weight=1
2019-08-03 07:33:20,481: DEBUG - + set +x
2019-08-03 07:33:20,482: DEBUG - + set +x
2019-08-03 07:33:20,483: DEBUG - + echo '! Helper used in legacy mode !'
2019-08-03 07:33:20,484: DEBUG - + set +x
2019-08-03 07:33:20,485: DEBUG - + echo '[############++......] > Configuring php-fpm... [00h00m,11s]'
2019-08-03 07:33:20,486: DEBUG - + set -x
2019-08-03 07:33:20,487: DEBUG - + ynh_add_fpm_config
2019-08-03 07:33:20,488: DEBUG - + local legacy_args=v
2019-08-03 07:33:20,489: DEBUG - + args_array=([v]=phpversion=)
2019-08-03 07:33:20,490: DEBUG - + declare -Ar args_array
2019-08-03 07:33:20,491: DEBUG - + local phpversion
2019-08-03 07:33:20,492: DEBUG - + ynh_handle_getopts_args
2019-08-03 07:33:20,493: DEBUG - + set +x
2019-08-03 07:33:20,494: DEBUG - + phpversion=7.0
2019-08-03 07:33:20,495: DEBUG - + local fpm_config_dir=/etc/php/7.0/fpm
2019-08-03 07:33:20,496: DEBUG - + local fpm_service=php7.0-fpm
2019-08-03 07:33:20,497: DEBUG - ++ ynh_get_debian_release
2019-08-03 07:33:20,498: DEBUG - +++ lsb_release --codename --short
2019-08-03 07:33:20,900: DEBUG - ++ echo stretch
2019-08-03 07:33:20,901: INFO - [############++......] > Configuring php-fpm... [00h00m,11s]
2019-08-03 07:33:20,903: DEBUG - + '[' stretch == jessie ']'
2019-08-03 07:33:20,904: DEBUG - + ynh_app_setting_set --app=snipeit --key=fpm_config_dir --value=/etc/php/7.0/fpm
2019-08-03 07:33:20,905: DEBUG - + local legacy_args=akv
2019-08-03 07:33:20,905: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-08-03 07:33:20,906: DEBUG - + declare -Ar args_array
2019-08-03 07:33:20,907: DEBUG - + local app
2019-08-03 07:33:20,908: DEBUG - + local key
2019-08-03 07:33:20,909: DEBUG - + local value
2019-08-03 07:33:20,910: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=fpm_config_dir --value=/etc/php/7.0/fpm
2019-08-03 07:33:20,911: DEBUG - + set +x
2019-08-03 07:33:21,012: DEBUG - + ynh_app_setting set snipeit fpm_config_dir /etc/php/7.0/fpm
2019-08-03 07:33:21,013: DEBUG - + ACTION=set
2019-08-03 07:33:21,014: DEBUG - + APP=snipeit
2019-08-03 07:33:21,015: DEBUG - + KEY=fpm_config_dir
2019-08-03 07:33:21,016: DEBUG - + VALUE=/etc/php/7.0/fpm
2019-08-03 07:33:21,018: DEBUG - + python -
2019-08-03 07:33:21,324: DEBUG - + ynh_app_setting_set --app=snipeit --key=fpm_service --value=php7.0-fpm
2019-08-03 07:33:21,326: DEBUG - + local legacy_args=akv
2019-08-03 07:33:21,327: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-08-03 07:33:21,329: DEBUG - + declare -Ar args_array
2019-08-03 07:33:21,330: DEBUG - + local app
2019-08-03 07:33:21,331: DEBUG - + local key
2019-08-03 07:33:21,332: DEBUG - + local value
2019-08-03 07:33:21,334: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=fpm_service --value=php7.0-fpm
2019-08-03 07:33:21,336: DEBUG - + set +x
2019-08-03 07:33:21,437: DEBUG - + ynh_app_setting set snipeit fpm_service php7.0-fpm
2019-08-03 07:33:21,438: DEBUG - + ACTION=set
2019-08-03 07:33:21,440: DEBUG - + APP=snipeit
2019-08-03 07:33:21,440: DEBUG - + KEY=fpm_service
2019-08-03 07:33:21,441: DEBUG - + VALUE=php7.0-fpm
2019-08-03 07:33:21,442: DEBUG - + python -
2019-08-03 07:33:21,744: DEBUG - + finalphpconf=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-08-03 07:33:21,746: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-08-03 07:33:21,748: DEBUG - + local legacy_args=f
2019-08-03 07:33:21,750: DEBUG - + args_array=([f]=file=)
2019-08-03 07:33:21,751: DEBUG - + declare -Ar args_array
2019-08-03 07:33:21,753: DEBUG - + local file
2019-08-03 07:33:21,754: DEBUG - + ynh_handle_getopts_args --file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-08-03 07:33:21,755: DEBUG - + set +x
2019-08-03 07:33:21,756: DEBUG - + local checksum_setting_name=checksum__etc_php_7.0_fpm_pool.d_snipeit.conf
2019-08-03 07:33:21,757: DEBUG - ++ ynh_app_setting_get --app=snipeit --key=**********
2019-08-03 07:33:21,758: DEBUG - ++ local legacy_args=ak
2019-08-03 07:33:21,759: DEBUG - ++ args_array=([a]=app= [k]=key=)
2019-08-03 07:33:21,760: DEBUG - ++ declare -Ar args_array
2019-08-03 07:33:21,761: DEBUG - ++ local app
2019-08-03 07:33:21,761: DEBUG - ++ local key
2019-08-03 07:33:21,762: DEBUG - ++ ynh_handle_getopts_args --app=snipeit --key=**********
2019-08-03 07:33:21,763: DEBUG - ++ set +x
2019-08-03 07:33:21,864: DEBUG - ++ ynh_app_setting get snipeit **********
2019-08-03 07:33:21,865: DEBUG - ++ ACTION=get
2019-08-03 07:33:21,866: DEBUG - ++ APP=snipeit
2019-08-03 07:33:21,867: DEBUG - ++ KEY=**********
2019-08-03 07:33:21,868: DEBUG - ++ VALUE=
2019-08-03 07:33:21,869: DEBUG - ++ python -
2019-08-03 07:33:22,171: DEBUG - + local checksum_value=
2019-08-03 07:33:22,173: DEBUG - + backup_file_checksum=
2019-08-03 07:33:22,175: DEBUG - + '[' -n '' ']'
2019-08-03 07:33:22,176: DEBUG - + sudo cp ../conf/php-fpm.conf /etc/php/7.0/fpm/pool.d/snipeit.conf
2019-08-03 07:33:22,277: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=snipeit --target_file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-08-03 07:33:22,278: DEBUG - + local legacy_args=mrf
2019-08-03 07:33:22,279: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-08-03 07:33:22,280: DEBUG - + declare -Ar args_array
2019-08-03 07:33:22,281: DEBUG - + local match_string
2019-08-03 07:33:22,282: DEBUG - + local replace_string
2019-08-03 07:33:22,283: DEBUG - + local target_file
2019-08-03 07:33:22,285: DEBUG - + ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=snipeit --target_file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-08-03 07:33:22,286: DEBUG - + set +x
2019-08-03 07:33:22,287: DEBUG - + local delimit=@
2019-08-03 07:33:22,288: DEBUG - + match_string=__NAMETOCHANGE__
2019-08-03 07:33:22,289: DEBUG - + replace_string=snipeit
2019-08-03 07:33:22,290: DEBUG - + sudo sed --in-place s@__NAMETOCHANGE__@snipeit@g /etc/php/7.0/fpm/pool.d/snipeit.conf
2019-08-03 07:33:22,391: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/snipeit --target_file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-08-03 07:33:22,393: DEBUG - + local legacy_args=mrf
2019-08-03 07:33:22,395: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-08-03 07:33:22,396: DEBUG - + declare -Ar args_array
2019-08-03 07:33:22,398: DEBUG - + local match_string
2019-08-03 07:33:22,399: DEBUG - + local replace_string
2019-08-03 07:33:22,400: DEBUG - + local target_file
2019-08-03 07:33:22,401: DEBUG - + ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/snipeit --target_file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-08-03 07:33:22,403: DEBUG - + set +x
2019-08-03 07:33:22,404: DEBUG - + local delimit=@
2019-08-03 07:33:22,405: DEBUG - + match_string=__FINALPATH__
2019-08-03 07:33:22,406: DEBUG - + replace_string=/var/www/snipeit
2019-08-03 07:33:22,407: DEBUG - + sudo sed --in-place s@__FINALPATH__@/var/www/snipeit@g /etc/php/7.0/fpm/pool.d/snipeit.conf
2019-08-03 07:33:22,408: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=snipeit --target_file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-08-03 07:33:22,409: DEBUG - + local legacy_args=mrf
2019-08-03 07:33:22,409: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-08-03 07:33:22,410: DEBUG - + declare -Ar args_array
2019-08-03 07:33:22,412: DEBUG - + local match_string
2019-08-03 07:33:22,413: DEBUG - + local replace_string
2019-08-03 07:33:22,414: DEBUG - + local target_file
2019-08-03 07:33:22,415: DEBUG - + ynh_handle_getopts_args --match_string=__USER__ --replace_string=snipeit --target_file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-08-03 07:33:22,415: DEBUG - + set +x
2019-08-03 07:33:22,517: DEBUG - + local delimit=@
2019-08-03 07:33:22,518: DEBUG - + match_string=__USER__
2019-08-03 07:33:22,520: DEBUG - + replace_string=snipeit
2019-08-03 07:33:22,521: DEBUG - + sudo sed --in-place s@__USER__@snipeit@g /etc/php/7.0/fpm/pool.d/snipeit.conf
2019-08-03 07:33:22,522: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.0 --target_file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-08-03 07:33:22,524: DEBUG - + local legacy_args=mrf
2019-08-03 07:33:22,525: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-08-03 07:33:22,527: DEBUG - + declare -Ar args_array
2019-08-03 07:33:22,528: DEBUG - + local match_string
2019-08-03 07:33:22,528: DEBUG - + local replace_string
2019-08-03 07:33:22,529: DEBUG - + local target_file
2019-08-03 07:33:22,530: DEBUG - + ynh_handle_getopts_args --match_string=__PHPVERSION__ --replace_string=7.0 --target_file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-08-03 07:33:22,531: DEBUG - + set +x
2019-08-03 07:33:22,532: DEBUG - + local delimit=@
2019-08-03 07:33:22,533: DEBUG - + match_string=__PHPVERSION__
2019-08-03 07:33:22,534: DEBUG - + replace_string=7.0
2019-08-03 07:33:22,534: DEBUG - + sudo sed --in-place s@__PHPVERSION__@7.0@g /etc/php/7.0/fpm/pool.d/snipeit.conf
2019-08-03 07:33:22,636: DEBUG - + sudo chown root: /etc/php/7.0/fpm/pool.d/snipeit.conf
2019-08-03 07:33:22,637: DEBUG - + ynh_store_file_checksum --file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-08-03 07:33:22,638: DEBUG - + local legacy_args=f
2019-08-03 07:33:22,640: DEBUG - + args_array=([f]=file=)
2019-08-03 07:33:22,641: DEBUG - + declare -Ar args_array
2019-08-03 07:33:22,643: DEBUG - + local file
2019-08-03 07:33:22,645: DEBUG - + ynh_handle_getopts_args --file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-08-03 07:33:22,647: DEBUG - + set +x
2019-08-03 07:33:22,648: DEBUG - + local checksum_setting_name=**********
2019-08-03 07:33:22,649: DEBUG - ++ sudo md5sum /etc/php/7.0/fpm/pool.d/snipeit.conf
2019-08-03 07:33:22,650: DEBUG - ++ cut '-d ' -f1
2019-08-03 07:33:22,751: DEBUG - + ynh_app_setting_set --app=snipeit --key=********** --value=1e10dbfc73d04f4e6d57d56fc3a11ea8
2019-08-03 07:33:22,752: DEBUG - + local legacy_args=akv
2019-08-03 07:33:22,753: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-08-03 07:33:22,753: DEBUG - + declare -Ar args_array
2019-08-03 07:33:22,754: DEBUG - + local app
2019-08-03 07:33:22,755: DEBUG - + local key
2019-08-03 07:33:22,756: DEBUG - + local value
2019-08-03 07:33:22,757: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=********** --value=1e10dbfc73d04f4e6d57d56fc3a11ea8
2019-08-03 07:33:22,758: DEBUG - + set +x
2019-08-03 07:33:22,760: DEBUG - + ynh_app_setting set snipeit ********** 1e10dbfc73d04f4e6d57d56fc3a11ea8
2019-08-03 07:33:22,761: DEBUG - + ACTION=set
2019-08-03 07:33:22,762: DEBUG - + APP=snipeit
2019-08-03 07:33:22,763: DEBUG - + KEY=**********
2019-08-03 07:33:22,764: DEBUG - + VALUE=1e10dbfc73d04f4e6d57d56fc3a11ea8
2019-08-03 07:33:22,765: DEBUG - + python -
2019-08-03 07:33:23,168: DEBUG - + '[' -n '' ']'
2019-08-03 07:33:23,170: DEBUG - + unset backup_file_checksum
2019-08-03 07:33:23,171: DEBUG - + '[' -e ../conf/php-fpm.ini ']'
2019-08-03 07:33:23,173: DEBUG - + ynh_systemd_action --service_name=php7.0-fpm --action=reload
2019-08-03 07:33:23,174: DEBUG - + local legacy_args=nalpte
2019-08-03 07:33:23,176: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
2019-08-03 07:33:23,177: DEBUG - + declare -Ar args_array
2019-08-03 07:33:23,180: DEBUG - + local service_name
2019-08-03 07:33:23,181: DEBUG - + local action
2019-08-03 07:33:23,182: DEBUG - + local line_match
2019-08-03 07:33:23,183: DEBUG - + local length
2019-08-03 07:33:23,184: DEBUG - + local log_path
2019-08-03 07:33:23,185: DEBUG - + local timeout
2019-08-03 07:33:23,186: DEBUG - + ynh_handle_getopts_args --service_name=php7.0-fpm --action=reload
2019-08-03 07:33:23,186: DEBUG - + set +x
2019-08-03 07:33:23,187: DEBUG - + local service_name=php7.0-fpm
2019-08-03 07:33:23,188: DEBUG - + local action=reload
2019-08-03 07:33:23,189: DEBUG - + local log_path=/var/log/php7.0-fpm/php7.0-fpm.log
2019-08-03 07:33:23,190: DEBUG - + local length=20
2019-08-03 07:33:23,194: DEBUG - + local timeout=300
2019-08-03 07:33:23,195: DEBUG - + [[ -n '' ]]
2019-08-03 07:33:23,196: DEBUG - + '[' reload == reload ']'
2019-08-03 07:33:23,197: DEBUG - + action=reload-or-restart
2019-08-03 07:33:23,197: DEBUG - + systemctl reload-or-restart php7.0-fpm
2019-08-03 07:33:23,299: DEBUG - + [[ -n '' ]]
2019-08-03 07:33:23,300: DEBUG - + cd /var/www/snipeit
2019-08-03 07:33:23,301: DEBUG - + curl -sS https://getcomposer.org/installer
2019-08-03 07:33:23,301: DEBUG - + php
2019-08-03 07:33:23,503: DEBUG - All settings correct for using Composer
2019-08-03 07:33:23,504: DEBUG - The HOME or COMPOSER_HOME environment variable must be set for composer to run correctly
2019-08-03 07:33:23,505: DEBUG - + ynh_exit_properly
2019-08-03 07:33:23,506: DEBUG - + local exit_code=1
2019-08-03 07:33:23,507: DEBUG - + '[' 1 -eq 0 ']'
2019-08-03 07:33:23,508: DEBUG - + trap '' EXIT
2019-08-03 07:33:23,509: DEBUG - + set +eu
2019-08-03 07:33:23,510: DEBUG - + sleep 0.5
2019-08-03 07:33:24,013: DEBUG - + ynh_print_err '--message=!!\n  snipeit'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-08-03 07:33:24,015: DEBUG - + local legacy_args=m
2019-08-03 07:33:24,016: DEBUG - + args_array=([m]=message=)
2019-08-03 07:33:24,018: DEBUG - + declare -Ar args_array
2019-08-03 07:33:24,019: DEBUG - + local message
2019-08-03 07:33:24,020: DEBUG - + ynh_handle_getopts_args '--message=!!\n  snipeit'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-08-03 07:33:24,022: DEBUG - + set +x
2019-08-03 07:33:24,124: DEBUG - + ynh_print_log '\e[91m\e[1m[ERR]\e[0m !!\n  snipeit'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-08-03 07:33:24,125: WARNING - e[91me[1m[ERR]e[0m !!
2019-08-03 07:33:24,126: DEBUG - + echo -e '\e[91m\e[1m[ERR]\e[0m !!\n  snipeit'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-08-03 07:33:24,127: WARNING -   snipeit's script has encountered an error. Its execution was cancelled.
2019-08-03 07:33:24,129: DEBUG - + '[' api == cli ']'
2019-08-03 07:33:24,130: WARNING - !!
2019-08-03 07:33:24,132: DEBUG - + type -t ynh_clean_setup
2019-08-03 07:33:24,133: WARNING - 
2019-08-03 07:33:24,135: DEBUG - + ynh_clean_setup
2019-08-03 07:33:24,136: DEBUG - + true
2019-08-03 07:33:24,136: DEBUG - + ynh_die
2019-08-03 07:33:24,137: DEBUG - + local legacy_args=mc
2019-08-03 07:33:24,138: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2019-08-03 07:33:24,139: DEBUG - + declare -Ar args_array
2019-08-03 07:33:24,140: DEBUG - + local message
2019-08-03 07:33:24,140: DEBUG - + local ret_code
2019-08-03 07:33:24,141: DEBUG - + ynh_handle_getopts_args
2019-08-03 07:33:24,142: DEBUG - + set +x
2019-08-03 07:33:24,143: DEBUG - + echo ''
2019-08-03 07:33:24,143: DEBUG - + exit 1

Salut,

anéfé c’est un soucis dans l’app … j’ai ouvert une issue sur le dépôt : https://github.com/YunoHost-Apps/snipeit_ynh/issues/1

Merci,

Pour info, j’ai quand même réussi à l’installer via la ligne de commande.

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