Installation did not work on RPi4 with different settings on the subdomain assets.acme.com
language de or en
as public or non-public Version
system was updated short before:
{
"host": "Debian 9.11",
"kernel": "4.19.66-v7+",
"packages": {
"yunohost": {
"repo": "stable",
"version": "3.6.5.3"
},
"yunohost-admin": {
"repo": "stable",
"version": "3.6.5.1"
},
"moulinette": {
"repo": "stable",
"version": "3.6.4.1"
},
"ssowat": {
"repo": "stable",
"version": "3.6.4"
}
},
"backports": [],
"system": {
"disks": {
"root": "Mounted on /, 58.6GiB (54.8GiB free)",
"mmcblk0p1": "Mounted on /boot, 43.2MiB (20.9MiB free)",
"sda1": "Mounted on /media/usb, 29.2GiB (18.4GiB free)"
},
"memory": {
"ram": "926.1MiB (534.4MiB free)",
"swap": "100.0MiB (93.0MiB free)"
}
},
"nginx": [
"nginx: the configuration file /etc/nginx/nginx.conf syntax is ok",
"nginx: configuration file /etc/nginx/nginx.conf test is successful"
],
"services": {
"glances": "running (enabled)",
"nslcd": "running (enabled)",
"metronome": "running (enabled)",
"slapd": "running (enabled)",
"postfix": "exited (enabled)",
"rspamd": "running (enabled)",
"yunohost-firewall": "exited (enabled)",
"nginx": "running (enabled)",
"php7.0-fpm": "running (enabled)",
"dnsmasq": "running (enabled)",
"ssh": "running (enabled)",
"yunohost-api": "running (enabled)",
"mysql": "running (enabled)",
"avahi-daemon": "running (enabled)",
"dovecot": "running (enabled)",
"redis-server": "running (enabled)",
"uwsgi": "running (enabled)",
"fail2ban": "running (enabled)"
},
"applications": {
"redirect": "Marc",
"redirect__3": "Alex",
"radicale": "Radicale",
"redirect__2": "Sandra",
"wordpress": "WordPress",
"nextcloud": "Nextcloud"
},
"security": {
"CVE-2017-5754": {
"name": "meltdown",
"vulnerable": false
}
}
}
Path
/var/log/yunohost/categories/operation/20191227-113911-app_install-snipeit.log
Start
27. Dezember 2019, 12:39
End
27. Dezember 2019, 12:42
Error
This log finished with the error: Ein unerwarteter Fehler ist aufgetreten
YNH_APP_INSTANCE_NUMBER
1
YNH_APP_ARG_LANGUAGE
en
YNH_APP_INSTANCE_NAME
snipeit
YNH_STDINFO
/tmp/tmpniJBrC/stdinfo
YNH_CWD
/var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts
YNH_APP_ARG_IS_PUBLIC
1
YNH_APP_ARG_ADMIN
thomas
YNH_INTERFACE
api
YNH_APP_ID
snipeit
YNH_STDRETURN
/tmp/tmpEw9fHq/stdreturn
YNH_APP_ARG_DOMAIN
assets.acme.com
2019-12-27 12:39:11,861: INFO - Installing application snipeit…
2019-12-27 12:39:12,298: DEBUG - Führe den Behfehl 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ARG_LANGUAGE=en YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmpniJBrC/stdinfo YNH_CWD=/var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts YNH_APP_INSTANCE_NAME=snipeit YNH_APP_ARG_ADMIN=Thomas YNH_INTERFACE=api YNH_APP_ID=snipeit YNH_STDRETURN=/tmp/tmpEw9fHq/stdreturn YNH_APP_ARG_DOMAIN=assets.acme.com BASH_XTRACEFD=7 /bin/bash -x "./install" assets.acme.com Thomas 1 en snipeit 7>&1' aus...
2019-12-27 12:39:12,300: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ARG_LANGUAGE=en YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmpniJBrC/stdinfo YNH_CWD=/var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts YNH_APP_INSTANCE_NAME=snipeit YNH_APP_ARG_ADMIN=Thomas YNH_INTERFACE=api YNH_APP_ID=snipeit YNH_STDRETURN=/tmp/tmpEw9fHq/stdreturn YNH_APP_ARG_DOMAIN=assets.acme.com BASH_XTRACEFD=7 /bin/bash -x "./install" assets.acme.com Thomas 1 en snipeit 7>&1']'
2019-12-27 12:39:12,457: DEBUG - + source _common.sh
2019-12-27 12:39:12,460: DEBUG - ++ pkg_dependencies='openssl php-mbstring php-curl php-mysql php-ldap php-zip php-bcmath php-xml php-common'
2019-12-27 12:39:12,462: DEBUG - + source /usr/share/yunohost/helpers
2019-12-27 12:39:12,463: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-12-27 12:39:12,464: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-27 12:39:12,466: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2019-12-27 12:39:12,467: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2019-12-27 12:39:12,468: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-27 12:39:12,470: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2019-12-27 12:39:12,471: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2019-12-27 12:39:12,472: DEBUG - +++ CAN_BIND=1
2019-12-27 12:39:12,474: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-27 12:39:12,475: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2019-12-27 12:39:12,477: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2019-12-27 12:39:12,478: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-27 12:39:12,479: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2019-12-27 12:39:12,481: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-12-27 12:39:12,482: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-27 12:39:12,483: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2019-12-27 12:39:12,485: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2019-12-27 12:39:12,486: DEBUG - +++ increment_progression=0
2019-12-27 12:39:12,487: DEBUG - +++ previous_weight=0
2019-12-27 12:39:12,488: DEBUG - +++ max_progression=-1
2019-12-27 12:39:12,489: DEBUG - +++ progress_scale=20
2019-12-27 12:39:12,491: DEBUG - +++ progress_string2='####################'
2019-12-27 12:39:12,492: DEBUG - +++ progress_string1=++++++++++++++++++++
2019-12-27 12:39:12,493: DEBUG - +++ progress_string0=....................
2019-12-27 12:39:12,495: DEBUG - ++++ date +%s
2019-12-27 12:39:12,496: DEBUG - +++ base_time=1577446752
2019-12-27 12:39:12,497: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-27 12:39:12,498: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2019-12-27 12:39:12,500: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2019-12-27 12:39:12,501: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-27 12:39:12,502: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2019-12-27 12:39:12,503: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-12-27 12:39:12,505: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-12-27 12:39:12,506: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-27 12:39:12,507: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2019-12-27 12:39:12,509: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-12-27 12:39:12,510: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-27 12:39:12,511: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2019-12-27 12:39:12,513: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2019-12-27 12:39:12,514: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-27 12:39:12,515: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2019-12-27 12:39:12,516: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-12-27 12:39:12,518: DEBUG - +++ n_install_dir=/opt/node_n
2019-12-27 12:39:12,519: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-12-27 12:39:12,520: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-12-27 12:39:12,521: DEBUG - +++ N_PREFIX=/opt/node_n
2019-12-27 12:39:12,523: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-27 12:39:12,524: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2019-12-27 12:39:12,526: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2019-12-27 12:39:12,527: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-27 12:39:12,528: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2019-12-27 12:39:12,529: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2019-12-27 12:39:12,531: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-12-27 12:39:12,532: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-27 12:39:12,534: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2019-12-27 12:39:12,535: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-12-27 12:39:12,536: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-27 12:39:12,537: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2019-12-27 12:39:12,538: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-12-27 12:39:12,539: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-27 12:39:12,541: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2019-12-27 12:39:12,542: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2019-12-27 12:39:12,543: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-27 12:39:12,545: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2019-12-27 12:39:12,546: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-12-27 12:39:12,547: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-27 12:39:12,548: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2019-12-27 12:39:12,549: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-12-27 12:39:12,651: DEBUG - + ynh_abort_if_errors
2019-12-27 12:39:12,653: DEBUG - + set -eu
2019-12-27 12:39:12,655: DEBUG - + trap ynh_exit_properly EXIT
2019-12-27 12:39:12,656: DEBUG - + domain=assets.acme.com
2019-12-27 12:39:12,658: DEBUG - + path_url=/
2019-12-27 12:39:12,660: DEBUG - + admin=Thomas
2019-12-27 12:39:12,662: DEBUG - + is_public=1
2019-12-27 12:39:12,664: DEBUG - + language=en
2019-12-27 12:39:12,666: DEBUG - + app=snipeit
2019-12-27 12:39:12,668: DEBUG - + ynh_script_progression '--message=Validating installation parameters...' --time --weight=1
2019-12-27 12:39:12,670: DEBUG - + set +x
2019-12-27 12:39:12,671: DEBUG - + set +x
2019-12-27 12:39:12,773: DEBUG - + echo '! Helper used in legacy mode !'
2019-12-27 12:39:12,775: DEBUG - + set +x
2019-12-27 12:39:12,777: DEBUG - + echo '[+...................] > Validating installation parameters... [00h00m,00s]'
2019-12-27 12:39:12,778: DEBUG - + set -x
2019-12-27 12:39:12,780: DEBUG - + final_path=/var/www/snipeit
2019-12-27 12:39:12,782: DEBUG - + test '!' -e /var/www/snipeit
2019-12-27 12:39:12,784: DEBUG - + ynh_webpath_register --app=snipeit --domain=assets.acme.com --path_url=/
2019-12-27 12:39:12,785: DEBUG - + local legacy_args=adp
2019-12-27 12:39:12,787: DEBUG - + args_array=([a]=app= [d]=domain= [p]=path_url=)
2019-12-27 12:39:12,789: DEBUG - + declare -Ar args_array
2019-12-27 12:39:12,790: DEBUG - + local app
2019-12-27 12:39:12,792: DEBUG - + local domain
2019-12-27 12:39:12,794: DEBUG - + local path_url
2019-12-27 12:39:12,795: DEBUG - + ynh_handle_getopts_args --app=snipeit --domain=assets.acme.com --path_url=/
2019-12-27 12:39:12,797: DEBUG - + set +x
2019-12-27 12:39:12,899: DEBUG - + sudo yunohost app register-url snipeit assets.acme.com /
2019-12-27 12:39:12,901: INFO - [+...................] > Validating installation parameters... [00h00m,00s]
2019-12-27 12:39:16,323: DEBUG - + ynh_script_progression '--message=Storing installation settings...' --time --weight=1
2019-12-27 12:39:16,324: DEBUG - + set +x
2019-12-27 12:39:16,326: DEBUG - + set +x
2019-12-27 12:39:16,427: DEBUG - + echo '! Helper used in legacy mode !'
2019-12-27 12:39:16,429: DEBUG - + set +x
2019-12-27 12:39:16,430: DEBUG - + echo '[#++.................] > Storing installation settings... [00h00m,04s]'
2019-12-27 12:39:16,432: DEBUG - + set -x
2019-12-27 12:39:16,434: DEBUG - + ynh_app_setting_set --app=snipeit --key=domain --value=assets.acme.com
2019-12-27 12:39:16,436: DEBUG - + local legacy_args=akv
2019-12-27 12:39:16,437: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-27 12:39:16,438: DEBUG - + declare -Ar args_array
2019-12-27 12:39:16,440: DEBUG - + local app
2019-12-27 12:39:16,442: DEBUG - + local key
2019-12-27 12:39:16,443: DEBUG - + local value
2019-12-27 12:39:16,445: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=domain --value=assets.acme.com
2019-12-27 12:39:16,446: DEBUG - + set +x
2019-12-27 12:39:16,448: DEBUG - + ynh_app_setting set snipeit domain assets.acme.com
2019-12-27 12:39:16,449: DEBUG - + ACTION=set
2019-12-27 12:39:16,451: DEBUG - + APP=snipeit
2019-12-27 12:39:16,452: DEBUG - + KEY=domain
2019-12-27 12:39:16,454: DEBUG - + VALUE=assets.acme.com
2019-12-27 12:39:16,455: DEBUG - + python -
2019-12-27 12:39:17,260: DEBUG - + ynh_app_setting_set --app=snipeit --key=path --value=/
2019-12-27 12:39:17,262: INFO - [#++.................] > Storing installation settings... [00h00m,04s]
2019-12-27 12:39:17,266: DEBUG - + local legacy_args=akv
2019-12-27 12:39:17,267: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-27 12:39:17,269: DEBUG - + declare -Ar args_array
2019-12-27 12:39:17,271: DEBUG - + local app
2019-12-27 12:39:17,273: DEBUG - + local key
2019-12-27 12:39:17,274: DEBUG - + local value
2019-12-27 12:39:17,275: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=path --value=/
2019-12-27 12:39:17,277: DEBUG - + set +x
2019-12-27 12:39:17,379: DEBUG - + ynh_app_setting set snipeit path /
2019-12-27 12:39:17,381: DEBUG - + ACTION=set
2019-12-27 12:39:17,383: DEBUG - + APP=snipeit
2019-12-27 12:39:17,384: DEBUG - + KEY=path
2019-12-27 12:39:17,386: DEBUG - + VALUE=/
2019-12-27 12:39:17,387: DEBUG - + python -
2019-12-27 12:39:18,193: DEBUG - + ynh_app_setting_set --app=snipeit --key=admin --value=Thomas
2019-12-27 12:39:18,194: DEBUG - + local legacy_args=akv
2019-12-27 12:39:18,196: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-27 12:39:18,197: DEBUG - + declare -Ar args_array
2019-12-27 12:39:18,199: DEBUG - + local app
2019-12-27 12:39:18,201: DEBUG - + local key
2019-12-27 12:39:18,203: DEBUG - + local value
2019-12-27 12:39:18,204: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=admin --value=Thomas
2019-12-27 12:39:18,206: DEBUG - + set +x
2019-12-27 12:39:18,208: DEBUG - + ynh_app_setting set snipeit admin Thomas
2019-12-27 12:39:18,210: DEBUG - + ACTION=set
2019-12-27 12:39:18,212: DEBUG - + APP=snipeit
2019-12-27 12:39:18,214: DEBUG - + KEY=admin
2019-12-27 12:39:18,215: DEBUG - + VALUE=Thomas
2019-12-27 12:39:18,217: DEBUG - + python -
2019-12-27 12:39:19,122: DEBUG - + ynh_app_setting_set --app=snipeit --key=is_public --value=1
2019-12-27 12:39:19,124: DEBUG - + local legacy_args=akv
2019-12-27 12:39:19,126: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-27 12:39:19,127: DEBUG - + declare -Ar args_array
2019-12-27 12:39:19,129: DEBUG - + local app
2019-12-27 12:39:19,130: DEBUG - + local key
2019-12-27 12:39:19,132: DEBUG - + local value
2019-12-27 12:39:19,134: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=is_public --value=1
2019-12-27 12:39:19,135: DEBUG - + set +x
2019-12-27 12:39:19,137: DEBUG - + ynh_app_setting set snipeit is_public 1
2019-12-27 12:39:19,138: DEBUG - + ACTION=set
2019-12-27 12:39:19,140: DEBUG - + APP=snipeit
2019-12-27 12:39:19,141: DEBUG - + KEY=is_public
2019-12-27 12:39:19,143: DEBUG - + VALUE=1
2019-12-27 12:39:19,144: DEBUG - + python -
2019-12-27 12:39:20,049: DEBUG - + ynh_app_setting_set --app=snipeit --key=language --value=en
2019-12-27 12:39:20,051: DEBUG - + local legacy_args=akv
2019-12-27 12:39:20,053: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-27 12:39:20,054: DEBUG - + declare -Ar args_array
2019-12-27 12:39:20,055: DEBUG - + local app
2019-12-27 12:39:20,056: DEBUG - + local key
2019-12-27 12:39:20,057: DEBUG - + local value
2019-12-27 12:39:20,058: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=language --value=en
2019-12-27 12:39:20,059: DEBUG - + set +x
2019-12-27 12:39:20,061: DEBUG - + ynh_app_setting set snipeit language en
2019-12-27 12:39:20,068: DEBUG - + ACTION=set
2019-12-27 12:39:20,069: DEBUG - + APP=snipeit
2019-12-27 12:39:20,071: DEBUG - + KEY=language
2019-12-27 12:39:20,072: DEBUG - + VALUE=en
2019-12-27 12:39:20,074: DEBUG - + python -
2019-12-27 12:39:20,879: DEBUG - + ynh_script_progression '--message=Installing dependencies...' --time --weight=1
2019-12-27 12:39:20,881: DEBUG - + set +x
2019-12-27 12:39:20,984: DEBUG - + set +x
2019-12-27 12:39:20,988: DEBUG - + echo '! Helper used in legacy mode !'
2019-12-27 12:39:20,991: DEBUG - + set +x
2019-12-27 12:39:20,994: DEBUG - + echo '[###++...............] > Installing dependencies... [00h00m,04s]'
2019-12-27 12:39:20,996: DEBUG - + set -x
2019-12-27 12:39:20,998: DEBUG - + ynh_install_app_dependencies openssl php-mbstring php-curl php-mysql php-ldap php-zip php-bcmath php-xml php-common
2019-12-27 12:39:21,000: DEBUG - + local 'dependencies=openssl php-mbstring php-curl php-mysql php-ldap php-zip php-bcmath php-xml php-common'
2019-12-27 12:39:21,002: DEBUG - + local 'dependencies=openssl, php-mbstring, php-curl, php-mysql, php-ldap, php-zip, php-bcmath, php-xml, php-common'
2019-12-27 12:39:21,006: DEBUG - + local 'dependencies=openssl, php-mbstring, php-curl, php-mysql, php-ldap, php-zip, php-bcmath, php-xml, php-common'
2019-12-27 12:39:21,007: DEBUG - + local manifest_path=../manifest.json
2019-12-27 12:39:21,009: DEBUG - + '[' '!' -e ../manifest.json ']'
2019-12-27 12:39:21,011: DEBUG - ++ grep '"version": ' ../manifest.json
2019-12-27 12:39:21,013: DEBUG - ++ cut -d '"' -f 4
2019-12-27 12:39:21,015: DEBUG - + local version=4.6.15ynh1
2019-12-27 12:39:21,018: DEBUG - + '[' 11 -eq 0 ']'
2019-12-27 12:39:21,020: DEBUG - + local dep_app=snipeit
2019-12-27 12:39:21,022: DEBUG - + echo openssl, php-mbstring, php-curl, php-mysql, php-ldap, php-zip, php-bcmath, php-xml, php-common
2019-12-27 12:39:21,024: DEBUG - + grep -q php
2019-12-27 12:39:21,026: DEBUG - + dpkg --list
2019-12-27 12:39:21,028: DEBUG - + grep php7.0
2019-12-27 12:39:21,030: DEBUG - + grep -q -v 7.0.33-0+deb9
2019-12-27 12:39:21,233: DEBUG - + cat
2019-12-27 12:39:21,235: INFO - [###++...............] > Installing dependencies... [00h00m,04s]
2019-12-27 12:39:21,240: DEBUG - + ynh_package_install_from_equivs /tmp/snipeit-ynh-deps.control
2019-12-27 12:39:21,242: DEBUG - + local controlfile=/tmp/snipeit-ynh-deps.control
2019-12-27 12:39:21,243: DEBUG - ++ grep '^Package: ' /tmp/snipeit-ynh-deps.control
2019-12-27 12:39:21,246: DEBUG - ++ cut '-d ' -f 2
2019-12-27 12:39:21,248: DEBUG - + local pkgname=snipeit-ynh-deps
2019-12-27 12:39:21,249: DEBUG - ++ grep '^Version: ' /tmp/snipeit-ynh-deps.control
2019-12-27 12:39:21,251: DEBUG - ++ cut '-d ' -f 2
2019-12-27 12:39:21,260: DEBUG - + local pkgversion=4.6.15ynh1
2019-12-27 12:39:21,262: DEBUG - + [[ -z snipeit-ynh-deps ]]
2019-12-27 12:39:21,264: DEBUG - + [[ -z 4.6.15ynh1 ]]
2019-12-27 12:39:21,266: DEBUG - + ynh_package_update
2019-12-27 12:39:21,268: DEBUG - + ynh_apt update
2019-12-27 12:39:21,270: DEBUG - + ynh_wait_dpkg_free
2019-12-27 12:39:21,272: DEBUG - + local try
2019-12-27 12:39:21,273: DEBUG - ++ seq 1 17
2019-12-27 12:39:21,275: DEBUG - + for try in seq 1 17
2019-12-27 12:39:21,277: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-12-27 12:39:22,083: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-12-27 12:39:22,084: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-12-27 12:39:22,086: DEBUG - + read dpkg_file
2019-12-27 12:39:22,087: DEBUG - + echo ''
2019-12-27 12:39:22,088: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-12-27 12:39:22,089: DEBUG - + read dpkg_file
2019-12-27 12:39:22,090: DEBUG - + return 0
2019-12-27 12:39:22,092: DEBUG - + DEBIAN_FRONTEND=noninteractive
2019-12-27 12:39:22,093: DEBUG - + apt-get -y update
2019-12-27 12:39:22,496: DEBUG - Holen:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15,0 kB]
2019-12-27 12:39:22,497: DEBUG - Holen:2 http://archive.raspberrypi.org/debian stretch InRelease [25,4 kB]
2019-12-27 12:39:22,599: DEBUG - OK:3 http://forge.yunohost.org/debian stretch InRelease
2019-12-27 12:39:25,011: DEBUG - Es wurden 40,3 kB in 2 s geholt (15,7 kB/s).
2019-12-27 12:39:33,749: DEBUG - Paketlisten werden gelesen...
2019-12-27 12:39:33,952: DEBUG - ++ mktemp -d
2019-12-27 12:39:38,579: DEBUG - + local TMPDIR=/tmp/tmp.QcQwCYx47U
2019-12-27 12:39:39,850: DEBUG - + echo 10
2019-12-27 12:39:39,853: DEBUG - + ynh_wait_dpkg_free
2019-12-27 12:39:39,855: DEBUG - + local try
2019-12-27 12:39:39,857: DEBUG - ++ seq 1 17
2019-12-27 12:39:39,859: DEBUG - + for try in seq 1 17
2019-12-27 12:39:39,861: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-12-27 12:39:40,667: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-12-27 12:39:40,669: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-12-27 12:39:40,671: DEBUG - + read dpkg_file
2019-12-27 12:39:40,672: DEBUG - + echo ''
2019-12-27 12:39:40,674: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-12-27 12:39:40,676: DEBUG - + read dpkg_file
2019-12-27 12:39:40,678: DEBUG - + return 0
2019-12-27 12:39:40,679: DEBUG - + cp /tmp/snipeit-ynh-deps.control /tmp/tmp.QcQwCYx47U/control
2019-12-27 12:39:40,681: DEBUG - + cd /tmp/tmp.QcQwCYx47U
2019-12-27 12:39:40,683: DEBUG - + equivs-build ./control
2019-12-27 12:39:53,530: DEBUG - + dpkg --force-depends -i ./snipeit-ynh-deps_4.6.15ynh1_all.deb
2019-12-27 12:39:53,934: DEBUG - Vormals nicht ausgewähltes Paket snipeit-ynh-deps wird gewählt.
2019-12-27 12:39:54,137: DEBUG - (Lese Datenbank ... 57475 Dateien und Verzeichnisse sind derzeit installiert.)
2019-12-27 12:39:54,139: DEBUG - Vorbereitung zum Entpacken von .../snipeit-ynh-deps_4.6.15ynh1_all.deb ...
2019-12-27 12:39:54,241: DEBUG - Entpacken von snipeit-ynh-deps (4.6.15ynh1) ...
2019-12-27 12:39:55,748: DEBUG - dpkg: snipeit-ynh-deps: Abhängigkeitsprobleme, wird aber trotzdem wie gefordert konfiguriert:
2019-12-27 12:39:55,750: DEBUG - snipeit-ynh-deps hängt ab von php-bcmath; aber:
2019-12-27 12:39:55,751: DEBUG - Paket php-bcmath ist nicht installiert.
2019-12-27 12:39:55,752: DEBUG -
2019-12-27 12:39:55,754: DEBUG - snipeit-ynh-deps (4.6.15ynh1) wird eingerichtet ...
2019-12-27 12:39:57,060: DEBUG - + ynh_package_install -f
2019-12-27 12:39:57,061: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2019-12-27 12:39:57,063: DEBUG - + ynh_wait_dpkg_free
2019-12-27 12:39:57,064: DEBUG - + local try
2019-12-27 12:39:57,065: DEBUG - ++ seq 1 17
2019-12-27 12:39:57,066: DEBUG - + for try in seq 1 17
2019-12-27 12:39:57,067: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-12-27 12:39:57,872: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-12-27 12:39:57,874: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-12-27 12:39:57,875: DEBUG - + read dpkg_file
2019-12-27 12:39:57,876: DEBUG - + echo ''
2019-12-27 12:39:57,877: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-12-27 12:39:57,878: DEBUG - + read dpkg_file
2019-12-27 12:39:57,880: DEBUG - + return 0
2019-12-27 12:39:57,881: DEBUG - + DEBIAN_FRONTEND=noninteractive
2019-12-27 12:39:57,882: DEBUG - + apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2019-12-27 12:39:58,888: DEBUG - Paketlisten werden gelesen...
2019-12-27 12:40:00,396: DEBUG - Abhängigkeitsbaum wird aufgebaut....
2019-12-27 12:40:00,398: DEBUG - Statusinformationen werden eingelesen....
2019-12-27 12:40:01,504: DEBUG - Abhängigkeiten werden korrigiert ... Fertig
2019-12-27 12:40:03,012: DEBUG - The following additional packages will be installed:
2019-12-27 12:40:03,014: DEBUG - php-bcmath php7.0-bcmath
2019-12-27 12:40:03,116: DEBUG - Die folgenden NEUEN Pakete werden installiert:
2019-12-27 12:40:03,118: DEBUG - php-bcmath php7.0-bcmath
2019-12-27 12:40:10,148: WARNING -
2019-12-27 12:40:10,151: WARNING - *** Bitte geben Sie an, wer Sie sind.
2019-12-27 12:40:10,155: WARNING -
2019-12-27 12:40:10,157: WARNING - Führen Sie
2019-12-27 12:40:10,160: WARNING -
2019-12-27 12:40:10,164: WARNING - git config --global user.email "[email protected]"
2019-12-27 12:40:10,167: WARNING - git config --global user.name "Your Name"
2019-12-27 12:40:10,170: WARNING -
2019-12-27 12:40:10,175: WARNING - aus, um das als Ihre standardmäßige Identität zu setzen.
2019-12-27 12:40:10,179: WARNING - Lassen Sie die Option "--global" weg, um die Identität nur
2019-12-27 12:40:10,182: WARNING - für dieses Repository zu setzen.
2019-12-27 12:40:10,186: WARNING - fatal: unable to auto-detect email address (got 'root@pico.(none)')
2019-12-27 12:40:10,189: WARNING - warning: etckeeper failed to commit changes in /etc using git
2019-12-27 12:40:13,003: DEBUG - 0 aktualisiert, 2 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
2019-12-27 12:40:13,005: DEBUG - Es müssen noch 0 B von 17,7 kB an Archiven heruntergeladen werden.
2019-12-27 12:40:13,006: DEBUG - Nach dieser Operation werden 67,6 kB Plattenplatz zusätzlich benutzt.
2019-12-27 12:40:18,733: DEBUG - Vormals nicht ausgewähltes Paket php7.0-bcmath wird gewählt.
2019-12-27 12:40:18,835: DEBUG - (Lese Datenbank ...
(Lese Datenbank ... 5%
(Lese Datenbank ... 10%
(Lese Datenbank ... 15%
(Lese Datenbank ... 20%
(Lese Datenbank ... 25%
(Lese Datenbank ... 30%
(Lese Datenbank ... 35%
(Lese Datenbank ... 40%
(Lese Datenbank ... 45%
(Lese Datenbank ... 50%
(Lese Datenbank ... 55%
(Lese Datenbank ... 60%
(Lese Datenbank ... 65%
(Lese Datenbank ... 70%
(Lese Datenbank ... 75%
(Lese Datenbank ... 80%
(Lese Datenbank ... 85%
(Lese Datenbank ... 90%
(Lese Datenbank ... 95%
(Lese Datenbank ... 100%
(Lese Datenbank ... 57479 Dateien und Verzeichnisse sind derzeit installiert.)
2019-12-27 12:40:18,837: DEBUG - Vorbereitung zum Entpacken von .../php7.0-bcmath_7.0.33-0+deb9u6_armhf.deb ...
2019-12-27 12:40:19,139: DEBUG - Entpacken von php7.0-bcmath (7.0.33-0+deb9u6) ...
2019-12-27 12:40:20,245: DEBUG - Vormals nicht ausgewähltes Paket php-bcmath wird gewählt.
2019-12-27 12:40:20,347: DEBUG - Vorbereitung zum Entpacken von .../php-bcmath_1%3a7.0+49_all.deb ...
2019-12-27 12:40:20,449: DEBUG - Entpacken von php-bcmath (1:7.0+49) ...
2019-12-27 12:40:21,455: DEBUG - Trigger für php7.0-fpm (7.0.33-0+deb9u6) werden verarbeitet ...
2019-12-27 12:40:25,575: DEBUG - php7.0-bcmath (7.0.33-0+deb9u6) wird eingerichtet ...
2019-12-27 12:40:25,979: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2019-12-27 12:40:27,186: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2019-12-27 12:40:27,690: DEBUG -
2019-12-27 12:40:27,692: DEBUG - Creating config file /etc/php/7.0/mods-available/bcmath.ini with new version
2019-12-27 12:40:28,898: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2019-12-27 12:40:30,506: DEBUG - php-bcmath (1:7.0+49) wird eingerichtet ...
2019-12-27 12:40:30,909: DEBUG - Trigger für php7.0-fpm (7.0.33-0+deb9u6) werden verarbeitet ...
2019-12-27 12:40:40,651: DEBUG - + [[ -n /tmp/tmp.QcQwCYx47U ]]
2019-12-27 12:40:40,653: WARNING -
2019-12-27 12:40:40,660: DEBUG - + rm -rf /tmp/tmp.QcQwCYx47U
2019-12-27 12:40:40,662: WARNING - *** Bitte geben Sie an, wer Sie sind.
2019-12-27 12:40:40,666: DEBUG - + ynh_package_is_installed snipeit-ynh-deps
2019-12-27 12:40:40,667: WARNING -
2019-12-27 12:40:40,670: DEBUG - + local legacy_args=p
2019-12-27 12:40:40,672: WARNING - Führen Sie
2019-12-27 12:40:40,676: DEBUG - + args_array=([p]=package=)
2019-12-27 12:40:40,677: WARNING -
2019-12-27 12:40:40,680: DEBUG - + declare -Ar args_array
2019-12-27 12:40:40,682: WARNING - git config --global user.email "[email protected]"
2019-12-27 12:40:40,686: DEBUG - + local package
2019-12-27 12:40:40,687: WARNING - git config --global user.name "Your Name"
2019-12-27 12:40:40,691: DEBUG - + ynh_handle_getopts_args snipeit-ynh-deps
2019-12-27 12:40:40,693: WARNING -
2019-12-27 12:40:40,696: DEBUG - + set +x
2019-12-27 12:40:40,697: WARNING - aus, um das als Ihre standardmäßige Identität zu setzen.
2019-12-27 12:40:40,701: DEBUG - + echo '! Helper used in legacy mode !'
2019-12-27 12:40:40,703: WARNING - Lassen Sie die Option "--global" weg, um die Identität nur
2019-12-27 12:40:40,706: DEBUG - + set +x
2019-12-27 12:40:40,708: WARNING - für dieses Repository zu setzen.
2019-12-27 12:40:40,711: DEBUG - + ynh_wait_dpkg_free
2019-12-27 12:40:40,713: WARNING - fatal: unable to auto-detect email address (got 'root@pico.(none)')
2019-12-27 12:40:40,715: DEBUG - + local try
2019-12-27 12:40:40,717: WARNING - warning: etckeeper failed to commit changes in /etc using git
2019-12-27 12:40:40,719: DEBUG - ++ seq 1 17
2019-12-27 12:40:40,721: DEBUG - + for try in seq 1 17
2019-12-27 12:40:40,722: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-12-27 12:40:41,527: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-12-27 12:40:41,528: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-12-27 12:40:41,530: DEBUG - + read dpkg_file
2019-12-27 12:40:41,531: DEBUG - + echo ''
2019-12-27 12:40:41,533: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-12-27 12:40:41,534: DEBUG - + read dpkg_file
2019-12-27 12:40:41,535: DEBUG - + return 0
2019-12-27 12:40:41,536: DEBUG - + dpkg-query -W -f '${Status}' snipeit-ynh-deps
2019-12-27 12:40:41,538: DEBUG - + grep -c 'ok installed'
2019-12-27 12:40:41,640: DEBUG - + rm /tmp/snipeit-ynh-deps.control
2019-12-27 12:40:41,642: 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-12-27 12:40:41,643: DEBUG - + local legacy_args=akv
2019-12-27 12:40:41,645: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-27 12:40:41,647: DEBUG - + declare -Ar args_array
2019-12-27 12:40:41,648: DEBUG - + local app
2019-12-27 12:40:41,650: DEBUG - + local key
2019-12-27 12:40:41,652: DEBUG - + local value
2019-12-27 12:40:41,653: 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-12-27 12:40:41,655: DEBUG - + set +x
2019-12-27 12:40:41,657: 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-12-27 12:40:41,658: DEBUG - + ACTION=set
2019-12-27 12:40:41,660: DEBUG - + APP=snipeit
2019-12-27 12:40:41,662: DEBUG - + KEY=apt_dependencies
2019-12-27 12:40:41,663: DEBUG - + VALUE='openssl, php-mbstring, php-curl, php-mysql, php-ldap, php-zip, php-bcmath, php-xml, php-common'
2019-12-27 12:40:41,665: DEBUG - + python -
2019-12-27 12:40:42,570: DEBUG - + ynh_script_progression '--message=Creating a MySQL database...' --time --weight=1
2019-12-27 12:40:42,573: DEBUG - + set +x
2019-12-27 12:40:42,574: DEBUG - + set +x
2019-12-27 12:40:42,677: DEBUG - + echo '! Helper used in legacy mode !'
2019-12-27 12:40:42,678: INFO - [#####++.............] > Creating a MySQL database... [00h01m,22s]
2019-12-27 12:40:42,682: DEBUG - + set +x
2019-12-27 12:40:42,683: DEBUG - + echo '[#####++.............] > Creating a MySQL database... [00h01m,22s]'
2019-12-27 12:40:42,685: DEBUG - + set -x
2019-12-27 12:40:42,687: DEBUG - ++ ynh_sanitize_dbid snipeit
2019-12-27 12:40:42,688: DEBUG - ++ local legacy_args=n
2019-12-27 12:40:42,690: DEBUG - ++ args_array=([n]=db_name=)
2019-12-27 12:40:42,692: DEBUG - ++ declare -Ar args_array
2019-12-27 12:40:42,693: DEBUG - ++ local db_name
2019-12-27 12:40:42,695: DEBUG - ++ ynh_handle_getopts_args snipeit
2019-12-27 12:40:42,696: DEBUG - ++ set +x
2019-12-27 12:40:42,698: DEBUG - ++ echo '! Helper used in legacy mode !'
2019-12-27 12:40:42,700: DEBUG - ++ set +x
2019-12-27 12:40:42,701: DEBUG - ++ echo snipeit
2019-12-27 12:40:42,703: DEBUG - + db_name=snipeit
2019-12-27 12:40:42,705: DEBUG - + ynh_app_setting_set --app=snipeit --key=db_name --value=snipeit
2019-12-27 12:40:42,706: DEBUG - + local legacy_args=akv
2019-12-27 12:40:42,708: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-27 12:40:42,710: DEBUG - + declare -Ar args_array
2019-12-27 12:40:42,711: DEBUG - + local app
2019-12-27 12:40:42,713: DEBUG - + local key
2019-12-27 12:40:42,714: DEBUG - + local value
2019-12-27 12:40:42,716: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=db_name --value=snipeit
2019-12-27 12:40:42,717: DEBUG - + set +x
2019-12-27 12:40:42,719: DEBUG - + ynh_app_setting set snipeit db_name snipeit
2019-12-27 12:40:42,720: DEBUG - + ACTION=set
2019-12-27 12:40:42,722: DEBUG - + APP=snipeit
2019-12-27 12:40:42,723: DEBUG - + KEY=db_name
2019-12-27 12:40:42,725: DEBUG - + VALUE=snipeit
2019-12-27 12:40:42,726: DEBUG - + python -
2019-12-27 12:40:44,735: DEBUG - + ynh_mysql_setup_db --db_user=snipeit --db_name=snipeit
2019-12-27 12:40:44,737: DEBUG - + local legacy_args=unp
2019-12-27 12:40:44,739: DEBUG - + args_array=([u]=db_user= [n]=db_name= [p]=db_pwd=)
2019-12-27 12:40:44,740: DEBUG - + declare -Ar args_array
2019-12-27 12:40:44,742: DEBUG - + local db_user
2019-12-27 12:40:44,744: DEBUG - + local db_name
2019-12-27 12:40:44,746: DEBUG - + db_pwd=
2019-12-27 12:40:44,747: DEBUG - + ynh_handle_getopts_args --db_user=snipeit --db_name=snipeit
2019-12-27 12:40:44,749: DEBUG - + set +x
2019-12-27 12:40:44,851: DEBUG - ++ ynh_string_random
2019-12-27 12:40:44,852: DEBUG - ++ local legacy_args=l
2019-12-27 12:40:44,854: DEBUG - ++ args_array=([l]=length=)
2019-12-27 12:40:44,855: DEBUG - ++ declare -Ar args_array
2019-12-27 12:40:44,856: DEBUG - ++ local length
2019-12-27 12:40:44,857: DEBUG - ++ ynh_handle_getopts_args
2019-12-27 12:40:44,858: DEBUG - ++ set +x
2019-12-27 12:40:44,859: DEBUG - ++ length=24
2019-12-27 12:40:44,861: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2019-12-27 12:40:44,862: DEBUG - ++ tr -c -d A-Za-z0-9
2019-12-27 12:40:44,863: DEBUG - ++ sed -n 's/(.{24})./\1/p'
2019-12-27 12:40:44,965: DEBUG - + local new_db_pwd=*********
2019-12-27 12:40:44,967: DEBUG - + db_pwd=**********
2019-12-27 12:40:44,969: DEBUG - + ynh_mysql_create_db snipeit snipeit **********
2019-12-27 12:40:44,971: DEBUG - + local db=snipeit
2019-12-27 12:40:44,973: DEBUG - + local 'sql=CREATE DATABASE snipeit;'
2019-12-27 12:40:44,974: DEBUG - + [[ 3 -gt 1 ]]
2019-12-27 12:40:44,976: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON snipeit.* TO '''snipeit'''@'''localhost''''
2019-12-27 12:40:44,977: DEBUG - + [[ -n ********** ]]
2019-12-27 12:40:44,979: DEBUG - + sql+=' IDENTIFIED BY '''''''
2019-12-27 12:40:44,980: DEBUG - + sql+=' WITH GRANT OPTION;'
2019-12-27 12:40:44,981: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE snipeit; GRANT ALL PRIVILEGES ON snipeit. TO '''snipeit'''@'''localhost''' IDENTIFIED BY '''''' WITH GRANT OPTION;'
2019-12-27 12:40:44,983: DEBUG - + local legacy_args=sd
2019-12-27 12:40:44,984: DEBUG - + args_array=([s]=sql= [d]=database=)
2019-12-27 12:40:44,985: DEBUG - + declare -Ar args_array
2019-12-27 12:40:44,986: DEBUG - + local sql
2019-12-27 12:40:44,988: DEBUG - + local database
2019-12-27 12:40:44,989: DEBUG - + ynh_handle_getopts_args '--sql=CREATE DATABASE snipeit; GRANT ALL PRIVILEGES ON snipeit. TO '''snipeit'''@'''localhost''' IDENTIFIED BY '''''' WITH GRANT OPTION;'
2019-12-27 12:40:44,990: DEBUG - + set +x
2019-12-27 12:40:44,991: DEBUG - + database=
2019-12-27 12:40:44,993: DEBUG - ++ sudo cat /etc/yunohost/mysql
2019-12-27 12:40:45,095: DEBUG - + ynh_mysql_connect_as --user=root --password= --database=
2019-12-27 12:40:45,097: DEBUG - + local legacy_args=upd
2019-12-27 12:40:45,099: DEBUG - + args_array=([u]=user= [p]=password= [d]=database=)
2019-12-27 12:40:45,100: DEBUG - + declare -Ar args_array
2019-12-27 12:40:45,102: DEBUG - + local user
2019-12-27 12:40:45,104: DEBUG - + local password
2019-12-27 12:40:45,106: DEBUG - + local database
2019-12-27 12:40:45,107: DEBUG - + ynh_handle_getopts_args --user=root --password=********** --database=
2019-12-27 12:40:45,109: DEBUG - + set +x
2019-12-27 12:40:45,211: DEBUG - + database=
2019-12-27 12:40:45,213: DEBUG - + mysql -u root --password=********** -B ''
2019-12-27 12:40:45,215: DEBUG - + ynh_app_setting_set --app=snipeit --key=mysqlpwd --value=**********
2019-12-27 12:40:45,217: DEBUG - + local legacy_args=akv
2019-12-27 12:40:45,219: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-27 12:40:45,221: DEBUG - + declare -Ar args_array
2019-12-27 12:40:45,222: DEBUG - + local app
2019-12-27 12:40:45,224: DEBUG - + local key
2019-12-27 12:40:45,226: DEBUG - + local value
2019-12-27 12:40:45,228: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=mysqlpwd --value=**********
2019-12-27 12:40:45,230: DEBUG - + set +x
2019-12-27 12:40:45,332: DEBUG - + ynh_app_setting set snipeit mysqlpwd **********
2019-12-27 12:40:45,334: DEBUG - + ACTION=set
2019-12-27 12:40:45,335: DEBUG - + APP=snipeit
2019-12-27 12:40:45,336: DEBUG - + KEY=mysqlpwd
2019-12-27 12:40:45,338: DEBUG - + VALUE=**********
2019-12-27 12:40:45,340: DEBUG - + python -
2019-12-27 12:40:46,145: DEBUG - + ynh_script_progression '--message=Setting up source files...' --time --weight=1
2019-12-27 12:40:46,146: DEBUG - + set +x
2019-12-27 12:40:46,249: DEBUG - + set +x
2019-12-27 12:40:46,250: DEBUG - + echo '! Helper used in legacy mode !'
2019-12-27 12:40:46,252: DEBUG - + set +x
2019-12-27 12:40:46,254: DEBUG - + echo '[#######++...........] > Setting up source files... [00h00m,04s]'
2019-12-27 12:40:46,256: DEBUG - + set -x
2019-12-27 12:40:46,257: DEBUG - + ynh_app_setting_set --app=snipeit --key=final_path --value=/var/www/snipeit
2019-12-27 12:40:46,259: DEBUG - + local legacy_args=akv
2019-12-27 12:40:46,261: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-27 12:40:46,262: DEBUG - + declare -Ar args_array
2019-12-27 12:40:46,264: DEBUG - + local app
2019-12-27 12:40:46,266: DEBUG - + local key
2019-12-27 12:40:46,267: DEBUG - + local value
2019-12-27 12:40:46,269: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=final_path --value=/var/www/snipeit
2019-12-27 12:40:46,271: DEBUG - + set +x
2019-12-27 12:40:46,373: DEBUG - + ynh_app_setting set snipeit final_path /var/www/snipeit
2019-12-27 12:40:46,375: INFO - [#######++...........] > Setting up source files... [00h00m,04s]
2019-12-27 12:40:46,378: DEBUG - + ACTION=set
2019-12-27 12:40:46,379: DEBUG - + APP=snipeit
2019-12-27 12:40:46,380: DEBUG - + KEY=final_path
2019-12-27 12:40:46,382: DEBUG - + VALUE=/var/www/snipeit
2019-12-27 12:40:46,384: DEBUG - + python -
2019-12-27 12:40:47,189: DEBUG - + ynh_setup_source --dest_dir=/var/www/snipeit
2019-12-27 12:40:47,190: DEBUG - + local legacy_args=ds
2019-12-27 12:40:47,192: DEBUG - + args_array=([d]=dest_dir= [s]=source_id=)
2019-12-27 12:40:47,193: DEBUG - + declare -Ar args_array
2019-12-27 12:40:47,194: DEBUG - + local dest_dir
2019-12-27 12:40:47,195: DEBUG - + local source_id
2019-12-27 12:40:47,197: DEBUG - + ynh_handle_getopts_args --dest_dir=/var/www/snipeit
2019-12-27 12:40:47,198: DEBUG - + set +x
2019-12-27 12:40:47,199: DEBUG - + source_id=app
2019-12-27 12:40:47,200: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../conf/app.src
2019-12-27 12:40:47,206: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../conf/app.src ']'
2019-12-27 12:40:47,208: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../conf/app.src
2019-12-27 12:40:47,210: DEBUG - ++ cut -d= -f2-
2019-12-27 12:40:47,212: DEBUG - + local src_url=https://github.com/snipe/snipe-it/archive/v4.6.15.tar.gz
2019-12-27 12:40:47,216: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../conf/app.src
2019-12-27 12:40:47,218: DEBUG - ++ cut -d= -f2-
2019-12-27 12:40:47,222: DEBUG - + local src_sum=9631b73485c72109df28b9d5aaa6fffa1944fbec2e3432920d0c87805b655615
2019-12-27 12:40:47,224: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../conf/app.src
2019-12-27 12:40:47,226: DEBUG - ++ cut -d= -f2-
2019-12-27 12:40:47,228: DEBUG - + local src_sumprg=sha256sum
2019-12-27 12:40:47,230: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../conf/app.src
2019-12-27 12:40:47,232: DEBUG - ++ cut -d= -f2-
2019-12-27 12:40:47,234: DEBUG - + local src_format=tar.gz
2019-12-27 12:40:47,238: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../conf/app.src
2019-12-27 12:40:47,240: DEBUG - ++ cut -d= -f2-
2019-12-27 12:40:47,342: DEBUG - + local src_extract=
2019-12-27 12:40:47,353: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../conf/app.src
2019-12-27 12:40:47,355: DEBUG - ++ cut -d= -f2-
2019-12-27 12:40:47,356: DEBUG - + local src_in_subdir=true
2019-12-27 12:40:47,357: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../conf/app.src
2019-12-27 12:40:47,359: DEBUG - ++ cut -d= -f2-
2019-12-27 12:40:47,360: DEBUG - + local src_filename=
2019-12-27 12:40:47,361: DEBUG - + src_sumprg=sha256sum
2019-12-27 12:40:47,363: DEBUG - + src_in_subdir=true
2019-12-27 12:40:47,364: DEBUG - + src_format=tar.gz
2019-12-27 12:40:47,365: DEBUG - ++ echo tar.gz
2019-12-27 12:40:47,367: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2019-12-27 12:40:47,368: DEBUG - + src_format=tar.gz
2019-12-27 12:40:47,370: DEBUG - + src_extract=true
2019-12-27 12:40:47,371: DEBUG - + '[' '' = '' ']'
2019-12-27 12:40:47,373: DEBUG - + src_filename=app.tar.gz
2019-12-27 12:40:47,375: DEBUG - + local local_src=/opt/yunohost-apps-src/snipeit/app.tar.gz
2019-12-27 12:40:47,376: DEBUG - + test -e /opt/yunohost-apps-src/snipeit/app.tar.gz
2019-12-27 12:40:47,377: DEBUG - ++ wget -nv -O app.tar.gz https://github.com/snipe/snipe-it/archive/v4.6.15.tar.gz
2019-12-27 12:40:51,494: DEBUG - + local 'out=2019-12-27 12:40:51 URL:https://codeload.github.com/snipe/snipe-it/tar.gz/v4.6.15 [11889990] -> "app.tar.gz" [1]'
2019-12-27 12:40:51,496: DEBUG - + echo '9631b73485c72109df28b9d5aaa6fffa1944fbec2e3432920d0c87805b655615 app.tar.gz'
2019-12-27 12:40:51,498: DEBUG - + sha256sum -c --status
2019-12-27 12:40:52,001: DEBUG - + mkdir -p /var/www/snipeit
2019-12-27 12:40:52,003: DEBUG - + true
2019-12-27 12:40:52,006: DEBUG - + '[' tar.gz = zip ']'
2019-12-27 12:40:52,007: DEBUG - + local strip=
2019-12-27 12:40:52,009: DEBUG - + '[' true '!=' false ']'
2019-12-27 12:40:52,011: DEBUG - + '[' true == true ']'
2019-12-27 12:40:52,013: DEBUG - + local sub_dirs=1
2019-12-27 12:40:52,014: DEBUG - + strip='--strip-components 1'
2019-12-27 12:40:52,016: DEBUG - + [[ tar.gz = ^tar.gz|tar.bz2|tar.xz$ ]]
2019-12-27 12:40:52,017: DEBUG - + tar -xf app.tar.gz -C /var/www/snipeit --strip-components 1
2019-12-27 12:41:03,365: DEBUG - ++ find /var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../sources/patches/ -type f -name 'app-.patch'
2019-12-27 12:41:03,367: DEBUG - ++ wc -l
2019-12-27 12:41:03,369: DEBUG - + (( 0 > 0 ))
2019-12-27 12:41:03,371: DEBUG - + test -e /var/cache/yunohost/from_file/snipeit_ynh-bb85f94b74ed4cce0209b827ebf4066c9484f1ac/scripts/../sources/extra_files/app
2019-12-27 12:41:03,373: DEBUG - + ynh_script_progression '--message=Configuring nginx web server...' --time --weight=1
2019-12-27 12:41:03,375: DEBUG - + set +x
2019-12-27 12:41:03,477: DEBUG - + set +x
2019-12-27 12:41:03,479: DEBUG - + echo '! Helper used in legacy mode !'
2019-12-27 12:41:03,481: DEBUG - + set +x
2019-12-27 12:41:03,483: DEBUG - + echo '[#########+..........] > Configuring nginx web server... [00h00m,17s]'
2019-12-27 12:41:03,485: DEBUG - + set -x
2019-12-27 12:41:03,486: DEBUG - + ynh_add_nginx_config
2019-12-27 12:41:03,488: DEBUG - + finalnginxconf=/etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:03,489: DEBUG - + local others_var=
2019-12-27 12:41:03,491: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:03,493: DEBUG - + local legacy_args=f
2019-12-27 12:41:03,495: DEBUG - + args_array=([f]=file=)
2019-12-27 12:41:03,496: DEBUG - + declare -Ar args_array
2019-12-27 12:41:03,498: DEBUG - + local file
2019-12-27 12:41:03,499: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:03,501: DEBUG - + set +x
2019-12-27 12:41:03,503: INFO - [#########+..........] > Configuring nginx web server... [00h00m,17s]
2019-12-27 12:41:03,507: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_assets.acme.com.d_snipeit.conf
2019-12-27 12:41:03,509: DEBUG - ++ ynh_app_setting_get --app=snipeit --key=*********
2019-12-27 12:41:03,510: DEBUG - ++ local legacy_args=ak
2019-12-27 12:41:03,512: DEBUG - ++ args_array=([a]=app= [k]=key=)
2019-12-27 12:41:03,514: DEBUG - ++ declare -Ar args_array
2019-12-27 12:41:03,515: DEBUG - ++ local app
2019-12-27 12:41:03,517: DEBUG - ++ local key
2019-12-27 12:41:03,519: DEBUG - ++ ynh_handle_getopts_args --app=snipeit --key=**********
2019-12-27 12:41:03,521: DEBUG - ++ set +x
2019-12-27 12:41:03,623: DEBUG - ++ ynh_app_setting get snipeit **********
2019-12-27 12:41:03,625: DEBUG - ++ ACTION=get
2019-12-27 12:41:03,627: DEBUG - ++ APP=snipeit
2019-12-27 12:41:03,629: DEBUG - ++ KEY=**********
2019-12-27 12:41:03,631: DEBUG - ++ VALUE=
2019-12-27 12:41:03,633: DEBUG - ++ python -
2019-12-27 12:41:04,439: DEBUG - + local checksum_value=
2019-12-27 12:41:04,441: DEBUG - + backup_file_checksum=
2019-12-27 12:41:04,442: DEBUG - + '[' -n '' ']'
2019-12-27 12:41:04,443: DEBUG - + sudo cp ../conf/nginx.conf /etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:04,646: DEBUG - + test -n /
2019-12-27 12:41:04,647: DEBUG - + local path_url_slash_less=
2019-12-27 12:41:04,648: DEBUG - + ynh_replace_string --match_string=PATH/ --replace_string=/ --target_file=/etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:04,650: DEBUG - + local legacy_args=mrf
2019-12-27 12:41:04,651: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-12-27 12:41:04,652: DEBUG - + declare -Ar args_array
2019-12-27 12:41:04,654: DEBUG - + local match_string
2019-12-27 12:41:04,655: DEBUG - + local replace_string
2019-12-27 12:41:04,657: DEBUG - + local target_file
2019-12-27 12:41:04,658: DEBUG - + ynh_handle_getopts_args --match_string=PATH/ --replace_string=/ --target_file=/etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:04,660: DEBUG - + set +x
2019-12-27 12:41:04,662: DEBUG - + local delimit=@
2019-12-27 12:41:04,663: DEBUG - + match_string=PATH/
2019-12-27 12:41:04,664: DEBUG - + replace_string=/
2019-12-27 12:41:04,666: DEBUG - + sudo sed --in-place s@PATH/@/@g /etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:04,868: DEBUG - + ynh_replace_string --match_string=PATH --replace_string=/ --target_file=/etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:04,869: DEBUG - + local legacy_args=mrf
2019-12-27 12:41:04,871: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-12-27 12:41:04,872: DEBUG - + declare -Ar args_array
2019-12-27 12:41:04,874: DEBUG - + local match_string
2019-12-27 12:41:04,875: DEBUG - + local replace_string
2019-12-27 12:41:04,877: DEBUG - + local target_file
2019-12-27 12:41:04,878: DEBUG - + ynh_handle_getopts_args --match_string=PATH --replace_string=/ --target_file=/etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:04,880: DEBUG - + set +x
2019-12-27 12:41:04,881: DEBUG - + local delimit=@
2019-12-27 12:41:04,882: DEBUG - + match_string=PATH
2019-12-27 12:41:04,883: DEBUG - + replace_string=/
2019-12-27 12:41:04,885: DEBUG - + sudo sed --in-place s@PATH@/@g /etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:16,522: DEBUG - + test -n assets.acme.com
2019-12-27 12:41:16,523: DEBUG - + ynh_replace_string --match_string=DOMAIN --replace_string=assets.acme.com --target_file=/etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:16,525: DEBUG - + local legacy_args=mrf
2019-12-27 12:41:16,526: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-12-27 12:41:16,527: DEBUG - + declare -Ar args_array
2019-12-27 12:41:16,529: DEBUG - + local match_string
2019-12-27 12:41:16,530: DEBUG - + local replace_string
2019-12-27 12:41:21,816: DEBUG - + local target_file
2019-12-27 12:41:21,817: DEBUG - + ynh_handle_getopts_args --match_string=DOMAIN --replace_string=assets.acme.com --target_file=/etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:21,819: DEBUG - + set +x
2019-12-27 12:41:21,821: DEBUG - + local delimit=@
2019-12-27 12:41:21,824: DEBUG - + match_string=DOMAIN
2019-12-27 12:41:21,833: DEBUG - + replace_string=assets.acme.com
2019-12-27 12:41:21,835: DEBUG - + sudo sed --in-place s@DOMAIN@assets.acme.com@g /etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:21,937: DEBUG - + test -n ''
2019-12-27 12:41:21,939: DEBUG - + test -n snipeit
2019-12-27 12:41:21,940: DEBUG - + ynh_replace_string --match_string=NAME --replace_string=snipeit --target_file=/etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:21,942: DEBUG - + local legacy_args=mrf
2019-12-27 12:41:21,943: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-12-27 12:41:21,944: DEBUG - + declare -Ar args_array
2019-12-27 12:41:21,946: DEBUG - + local match_string
2019-12-27 12:41:21,947: DEBUG - + local replace_string
2019-12-27 12:41:21,949: DEBUG - + local target_file
2019-12-27 12:41:21,950: DEBUG - + ynh_handle_getopts_args --match_string=NAME --replace_string=snipeit --target_file=/etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:21,952: DEBUG - + set +x
2019-12-27 12:41:21,954: DEBUG - + local delimit=@
2019-12-27 12:41:21,956: DEBUG - + match_string=NAME
2019-12-27 12:41:21,957: DEBUG - + replace_string=snipeit
2019-12-27 12:41:21,959: DEBUG - + sudo sed --in-place s@NAME@snipeit@g /etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:29,686: DEBUG - + test -n /var/www/snipeit
2019-12-27 12:41:29,688: DEBUG - + ynh_replace_string --match_string=FINALPATH --replace_string=/var/www/snipeit --target_file=/etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:29,693: DEBUG - + local legacy_args=mrf
2019-12-27 12:41:29,695: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-12-27 12:41:29,697: DEBUG - + declare -Ar args_array
2019-12-27 12:41:29,701: DEBUG - + local match_string
2019-12-27 12:41:29,704: DEBUG - + local replace_string
2019-12-27 12:41:29,705: DEBUG - + local target_file
2019-12-27 12:41:29,707: DEBUG - + ynh_handle_getopts_args --match_string=FINALPATH --replace_string=/var/www/snipeit --target_file=/etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:29,709: DEBUG - + set +x
2019-12-27 12:41:29,811: DEBUG - + local delimit=@
2019-12-27 12:41:29,813: DEBUG - + match_string=FINALPATH
2019-12-27 12:41:29,814: DEBUG - + replace_string=/var/www/snipeit
2019-12-27 12:41:29,816: DEBUG - + sudo sed --in-place s@FINALPATH@/var/www/snipeit@g /etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:29,918: DEBUG - + '[' / '!=' / ']'
2019-12-27 12:41:29,920: DEBUG - + ynh_replace_string '--match_string=^#root_path_only' --replace_string= --target_file=/etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:29,922: DEBUG - + local legacy_args=mrf
2019-12-27 12:41:29,924: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-12-27 12:41:29,926: DEBUG - + declare -Ar args_array
2019-12-27 12:41:29,927: DEBUG - + local match_string
2019-12-27 12:41:29,929: DEBUG - + local replace_string
2019-12-27 12:41:29,930: DEBUG - + local target_file
2019-12-27 12:41:29,932: DEBUG - + ynh_handle_getopts_args '--match_string=^#root_path_only' --replace_string= --target_file=/etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:29,934: DEBUG - + set +x
2019-12-27 12:41:30,036: DEBUG - + local delimit=@
2019-12-27 12:41:30,038: DEBUG - + match_string='^#root_path_only'
2019-12-27 12:41:30,041: DEBUG - + replace_string=
2019-12-27 12:41:30,043: DEBUG - + sudo sed --in-place 's@^#root_path_only@@g' /etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:46,300: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:46,302: DEBUG - + local legacy_args=f
2019-12-27 12:41:46,303: DEBUG - + args_array=([f]=file=)
2019-12-27 12:41:46,304: DEBUG - + declare -Ar args_array
2019-12-27 12:41:46,306: DEBUG - + local file
2019-12-27 12:41:46,307: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:46,308: DEBUG - + set +x
2019-12-27 12:41:46,309: DEBUG - + local checksum_setting_name=**********
2019-12-27 12:41:46,310: DEBUG - ++ sudo md5sum /etc/nginx/conf.d/assets.acme.com.d/snipeit.conf
2019-12-27 12:41:46,312: DEBUG - ++ cut '-d ' -f1
2019-12-27 12:41:46,514: DEBUG - + ynh_app_setting_set --app=snipeit --key=********** --value=ce7e5e7fac3f0117a4b16aef067e13dc
2019-12-27 12:41:46,516: DEBUG - + local legacy_args=akv
2019-12-27 12:41:46,518: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-27 12:41:46,519: DEBUG - + declare -Ar args_array
2019-12-27 12:41:46,521: DEBUG - + local app
2019-12-27 12:41:46,523: DEBUG - + local key
2019-12-27 12:41:46,524: DEBUG - + local value
2019-12-27 12:41:46,526: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=********** --value=ce7e5e7fac3f0117a4b16aef067e13dc
2019-12-27 12:41:46,527: DEBUG - + set +x
2019-12-27 12:41:46,529: DEBUG - + ynh_app_setting set snipeit ********** ce7e5e7fac3f0117a4b16aef067e13dc
2019-12-27 12:41:46,530: DEBUG - + ACTION=set
2019-12-27 12:41:46,532: DEBUG - + APP=snipeit
2019-12-27 12:41:46,533: DEBUG - + KEY=**********
2019-12-27 12:41:46,535: DEBUG - + VALUE=ce7e5e7fac3f0117a4b16aef067e13dc
2019-12-27 12:41:46,536: DEBUG - + python -
2019-12-27 12:41:47,342: DEBUG - + '[' -n '' ']'
2019-12-27 12:41:47,344: DEBUG - + unset backup_file_checksum
2019-12-27 12:41:47,346: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2019-12-27 12:41:47,348: DEBUG - + local legacy_args=nalpte
2019-12-27 12:41:47,349: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
2019-12-27 12:41:47,351: DEBUG - + declare -Ar args_array
2019-12-27 12:41:47,353: DEBUG - + local service_name
2019-12-27 12:41:47,354: DEBUG - + local action
2019-12-27 12:41:47,356: DEBUG - + local line_match
2019-12-27 12:41:47,358: DEBUG - + local length
2019-12-27 12:41:47,359: DEBUG - + local log_path
2019-12-27 12:41:47,361: DEBUG - + local timeout
2019-12-27 12:41:47,363: DEBUG - + ynh_handle_getopts_args --service_name=nginx --action=reload
2019-12-27 12:41:47,364: DEBUG - + set +x
2019-12-27 12:41:47,467: DEBUG - + local service_name=nginx
2019-12-27 12:41:47,468: DEBUG - + local action=reload
2019-12-27 12:41:47,470: DEBUG - + local log_path=/var/log/nginx/nginx.log
2019-12-27 12:41:47,472: DEBUG - + local length=20
2019-12-27 12:41:47,473: DEBUG - + local timeout=300
2019-12-27 12:41:47,475: DEBUG - + [[ -n '' ]]
2019-12-27 12:41:47,476: DEBUG - + '[' reload == reload ']'
2019-12-27 12:41:47,477: DEBUG - + action=reload-or-restart
2019-12-27 12:41:47,479: DEBUG - + systemctl reload-or-restart nginx
2019-12-27 12:41:48,083: DEBUG - + [[ -n '' ]]
2019-12-27 12:41:48,085: DEBUG - + ynh_script_progression '--message=Configuring system user...' --time --weight=1
2019-12-27 12:41:48,087: DEBUG - + set +x
2019-12-27 12:41:48,190: DEBUG - + set +x
2019-12-27 12:41:48,192: DEBUG - + echo '! Helper used in legacy mode !'
2019-12-27 12:41:48,194: DEBUG - + set +x
2019-12-27 12:41:48,196: DEBUG - + echo '[##########++........] > Configuring system user... [00h00m,45s]'
2019-12-27 12:41:48,198: DEBUG - + set -x
2019-12-27 12:41:48,200: DEBUG - + ynh_system_user_create --username=snipeit
2019-12-27 12:41:48,202: DEBUG - + local legacy_args=uhs
2019-12-27 12:41:48,204: DEBUG - + args_array=([u]=username= [h]=home_dir= [s]=use_shell)
2019-12-27 12:41:48,206: DEBUG - + declare -Ar args_array
2019-12-27 12:41:48,208: DEBUG - + local username
2019-12-27 12:41:48,210: DEBUG - + local home_dir
2019-12-27 12:41:48,212: DEBUG - + local use_shell
2019-12-27 12:41:48,216: DEBUG - + ynh_handle_getopts_args --username=snipeit
2019-12-27 12:41:48,219: INFO - [##########++........] > Configuring system user... [00h00m,45s]
2019-12-27 12:41:48,223: DEBUG - + set +x
2019-12-27 12:41:48,225: DEBUG - + use_shell=0
2019-12-27 12:41:48,228: DEBUG - + home_dir=
2019-12-27 12:41:48,230: DEBUG - + ynh_system_user_exists snipeit
2019-12-27 12:41:48,232: DEBUG - + local legacy_args=u
2019-12-27 12:41:48,234: DEBUG - + args_array=([u]=username=)
2019-12-27 12:41:48,236: DEBUG - + declare -Ar args_array
2019-12-27 12:41:48,238: DEBUG - + local username
2019-12-27 12:41:48,240: DEBUG - + ynh_handle_getopts_args snipeit
2019-12-27 12:41:48,243: DEBUG - + set +x
2019-12-27 12:41:48,245: DEBUG - + echo '! Helper used in legacy mode !'
2019-12-27 12:41:48,247: DEBUG - + set +x
2019-12-27 12:41:48,249: DEBUG - + getent passwd snipeit
2019-12-27 12:41:48,351: DEBUG - + '[' -n '' ']'
2019-12-27 12:41:48,353: DEBUG - + local user_home_dir=--no-create-home
2019-12-27 12:41:48,355: DEBUG - + '[' 0 -eq 1 ']'
2019-12-27 12:41:48,357: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2019-12-27 12:41:48,359: DEBUG - + useradd --no-create-home --system --user-group snipeit --shell /usr/sbin/nologin
2019-12-27 12:42:09,148: DEBUG - + ynh_script_progression '--message=Configuring php-fpm...' --time --weight=1
2019-12-27 12:42:09,150: DEBUG - + set +x
2019-12-27 12:42:09,152: DEBUG - + set +x
2019-12-27 12:42:09,154: DEBUG - + echo '! Helper used in legacy mode !'
2019-12-27 12:42:09,156: DEBUG - + set +x
2019-12-27 12:42:09,258: DEBUG - + echo '[############++......] > Configuring php-fpm... [00h00m,21s]'
2019-12-27 12:42:09,259: INFO - [############++......] > Configuring php-fpm... [00h00m,21s]
2019-12-27 12:42:09,262: DEBUG - + set -x
2019-12-27 12:42:09,264: DEBUG - + ynh_add_fpm_config
2019-12-27 12:42:09,265: DEBUG - + local legacy_args=v
2019-12-27 12:42:09,267: DEBUG - + args_array=([v]=phpversion=)
2019-12-27 12:42:09,269: DEBUG - + declare -Ar args_array
2019-12-27 12:42:09,270: DEBUG - + local phpversion
2019-12-27 12:42:09,272: DEBUG - + ynh_handle_getopts_args
2019-12-27 12:42:09,274: DEBUG - + set +x
2019-12-27 12:42:09,275: DEBUG - + phpversion=7.0
2019-12-27 12:42:09,277: DEBUG - + local fpm_config_dir=/etc/php/7.0/fpm
2019-12-27 12:42:09,279: DEBUG - + local fpm_service=php7.0-fpm
2019-12-27 12:42:09,280: DEBUG - ++ ynh_get_debian_release
2019-12-27 12:42:09,282: DEBUG - +++ lsb_release --codename --short
2019-12-27 12:42:09,785: DEBUG - ++ echo stretch
2019-12-27 12:42:09,787: DEBUG - + '[' stretch == jessie ']'
2019-12-27 12:42:09,789: DEBUG - + ynh_app_setting_set --app=snipeit --key=fpm_config_dir --value=/etc/php/7.0/fpm
2019-12-27 12:42:09,790: DEBUG - + local legacy_args=akv
2019-12-27 12:42:09,792: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-27 12:42:09,794: DEBUG - + declare -Ar args_array
2019-12-27 12:42:09,795: DEBUG - + local app
2019-12-27 12:42:09,797: DEBUG - + local key
2019-12-27 12:42:09,798: DEBUG - + local value
2019-12-27 12:42:09,800: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=fpm_config_dir --value=/etc/php/7.0/fpm
2019-12-27 12:42:09,801: DEBUG - + set +x
2019-12-27 12:42:09,803: DEBUG - + ynh_app_setting set snipeit fpm_config_dir /etc/php/7.0/fpm
2019-12-27 12:42:09,804: DEBUG - + ACTION=set
2019-12-27 12:42:09,806: DEBUG - + APP=snipeit
2019-12-27 12:42:09,807: DEBUG - + KEY=fpm_config_dir
2019-12-27 12:42:09,808: DEBUG - + VALUE=/etc/php/7.0/fpm
2019-12-27 12:42:09,810: DEBUG - + python -
2019-12-27 12:42:10,715: DEBUG - + ynh_app_setting_set --app=snipeit --key=fpm_service --value=php7.0-fpm
2019-12-27 12:42:10,717: DEBUG - + local legacy_args=akv
2019-12-27 12:42:10,718: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-27 12:42:10,719: DEBUG - + declare -Ar args_array
2019-12-27 12:42:10,720: DEBUG - + local app
2019-12-27 12:42:10,722: DEBUG - + local key
2019-12-27 12:42:10,723: DEBUG - + local value
2019-12-27 12:42:10,725: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=fpm_service --value=php7.0-fpm
2019-12-27 12:42:10,726: DEBUG - + set +x
2019-12-27 12:42:10,727: DEBUG - + ynh_app_setting set snipeit fpm_service php7.0-fpm
2019-12-27 12:42:10,729: DEBUG - + ACTION=set
2019-12-27 12:42:10,730: DEBUG - + APP=snipeit
2019-12-27 12:42:10,732: DEBUG - + KEY=fpm_service
2019-12-27 12:42:10,734: DEBUG - + VALUE=php7.0-fpm
2019-12-27 12:42:10,736: DEBUG - + python -
2019-12-27 12:42:11,642: DEBUG - + finalphpconf=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-12-27 12:42:11,644: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-12-27 12:42:11,646: DEBUG - + local legacy_args=f
2019-12-27 12:42:11,648: DEBUG - + args_array=([f]=file=)
2019-12-27 12:42:11,650: DEBUG - + declare -Ar args_array
2019-12-27 12:42:11,652: DEBUG - + local file
2019-12-27 12:42:11,654: DEBUG - + ynh_handle_getopts_args --file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-12-27 12:42:11,656: DEBUG - + set +x
2019-12-27 12:42:11,657: DEBUG - + local checksum_setting_name=checksum__etc_php_7.0_fpm_pool.d_snipeit.conf
2019-12-27 12:42:11,659: DEBUG - ++ ynh_app_setting_get --app=snipeit --key=**********
2019-12-27 12:42:11,660: DEBUG - ++ local legacy_args=ak
2019-12-27 12:42:11,662: DEBUG - ++ args_array=([a]=app= [k]=key=)
2019-12-27 12:42:11,664: DEBUG - ++ declare -Ar args_array
2019-12-27 12:42:11,665: DEBUG - ++ local app
2019-12-27 12:42:11,667: DEBUG - ++ local key
2019-12-27 12:42:11,668: DEBUG - ++ ynh_handle_getopts_args --app=snipeit --key=**********
2019-12-27 12:42:11,669: DEBUG - ++ set +x
2019-12-27 12:42:11,671: DEBUG - ++ ynh_app_setting get snipeit **********
2019-12-27 12:42:11,672: DEBUG - ++ ACTION=get
2019-12-27 12:42:11,674: DEBUG - ++ APP=snipeit
2019-12-27 12:42:11,676: DEBUG - ++ KEY=**********
2019-12-27 12:42:11,677: DEBUG - ++ VALUE=
2019-12-27 12:42:11,679: DEBUG - ++ python -
2019-12-27 12:42:12,584: DEBUG - + local checksum_value=
2019-12-27 12:42:12,586: DEBUG - + backup_file_checksum=
2019-12-27 12:42:12,587: DEBUG - + '[' -n '' ']'
2019-12-27 12:42:12,588: DEBUG - + sudo cp ../conf/php-fpm.conf /etc/php/7.0/fpm/pool.d/snipeit.conf
2019-12-27 12:42:12,690: DEBUG - + ynh_replace_string --match_string=NAMETOCHANGE --replace_string=snipeit --target_file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-12-27 12:42:12,692: DEBUG - + local legacy_args=mrf
2019-12-27 12:42:12,694: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-12-27 12:42:12,695: DEBUG - + declare -Ar args_array
2019-12-27 12:42:12,697: DEBUG - + local match_string
2019-12-27 12:42:12,699: DEBUG - + local replace_string
2019-12-27 12:42:12,700: DEBUG - + local target_file
2019-12-27 12:42:12,702: DEBUG - + ynh_handle_getopts_args --match_string=NAMETOCHANGE --replace_string=snipeit --target_file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-12-27 12:42:12,704: DEBUG - + set +x
2019-12-27 12:42:12,806: DEBUG - + local delimit=@
2019-12-27 12:42:12,807: DEBUG - + match_string=NAMETOCHANGE
2019-12-27 12:42:12,809: DEBUG - + replace_string=snipeit
2019-12-27 12:42:12,810: DEBUG - + sudo sed --in-place s@NAMETOCHANGE@snipeit@g /etc/php/7.0/fpm/pool.d/snipeit.conf
2019-12-27 12:42:12,912: DEBUG - + ynh_replace_string --match_string=FINALPATH --replace_string=/var/www/snipeit --target_file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-12-27 12:42:12,915: DEBUG - + local legacy_args=mrf
2019-12-27 12:42:12,916: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-12-27 12:42:12,918: DEBUG - + declare -Ar args_array
2019-12-27 12:42:12,920: DEBUG - + local match_string
2019-12-27 12:42:12,921: DEBUG - + local replace_string
2019-12-27 12:42:12,923: DEBUG - + local target_file
2019-12-27 12:42:12,925: 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-12-27 12:42:12,927: DEBUG - + set +x
2019-12-27 12:42:13,029: DEBUG - + local delimit=@
2019-12-27 12:42:13,030: DEBUG - + match_string=FINALPATH
2019-12-27 12:42:13,032: DEBUG - + replace_string=/var/www/snipeit
2019-12-27 12:42:13,033: DEBUG - + sudo sed --in-place s@FINALPATH@/var/www/snipeit@g /etc/php/7.0/fpm/pool.d/snipeit.conf
2019-12-27 12:42:13,135: DEBUG - + ynh_replace_string --match_string=USER --replace_string=snipeit --target_file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-12-27 12:42:13,137: DEBUG - + local legacy_args=mrf
2019-12-27 12:42:13,139: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-12-27 12:42:13,140: DEBUG - + declare -Ar args_array
2019-12-27 12:42:13,142: DEBUG - + local match_string
2019-12-27 12:42:13,144: DEBUG - + local replace_string
2019-12-27 12:42:13,145: DEBUG - + local target_file
2019-12-27 12:42:13,147: DEBUG - + ynh_handle_getopts_args --match_string=USER --replace_string=snipeit --target_file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-12-27 12:42:13,148: DEBUG - + set +x
2019-12-27 12:42:13,250: DEBUG - + local delimit=@
2019-12-27 12:42:13,252: DEBUG - + match_string=USER
2019-12-27 12:42:13,254: DEBUG - + replace_string=snipeit
2019-12-27 12:42:13,255: DEBUG - + sudo sed --in-place s@USER@snipeit@g /etc/php/7.0/fpm/pool.d/snipeit.conf
2019-12-27 12:42:13,358: DEBUG - + ynh_replace_string --match_string=PHPVERSION --replace_string=7.0 --target_file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-12-27 12:42:13,360: DEBUG - + local legacy_args=mrf
2019-12-27 12:42:13,362: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-12-27 12:42:13,363: DEBUG - + declare -Ar args_array
2019-12-27 12:42:13,365: DEBUG - + local match_string
2019-12-27 12:42:13,366: DEBUG - + local replace_string
2019-12-27 12:42:13,368: DEBUG - + local target_file
2019-12-27 12:42:13,370: DEBUG - + ynh_handle_getopts_args --match_string=PHPVERSION --replace_string=7.0 --target_file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-12-27 12:42:13,372: DEBUG - + set +x
2019-12-27 12:42:13,474: DEBUG - + local delimit=@
2019-12-27 12:42:13,477: DEBUG - + match_string=PHPVERSION
2019-12-27 12:42:13,478: DEBUG - + replace_string=7.0
2019-12-27 12:42:13,480: DEBUG - + sudo sed --in-place s@PHPVERSION@7.0@g /etc/php/7.0/fpm/pool.d/snipeit.conf
2019-12-27 12:42:13,582: DEBUG - + sudo chown root: /etc/php/7.0/fpm/pool.d/snipeit.conf
2019-12-27 12:42:13,785: DEBUG - + ynh_store_file_checksum --file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-12-27 12:42:13,787: DEBUG - + local legacy_args=f
2019-12-27 12:42:13,788: DEBUG - + args_array=([f]=file=)
2019-12-27 12:42:13,790: DEBUG - + declare -Ar args_array
2019-12-27 12:42:13,792: DEBUG - + local file
2019-12-27 12:42:13,793: DEBUG - + ynh_handle_getopts_args --file=/etc/php/7.0/fpm/pool.d/snipeit.conf
2019-12-27 12:42:13,795: DEBUG - + set +x
2019-12-27 12:42:13,797: DEBUG - + local checksum_setting_name=**********
2019-12-27 12:42:13,798: DEBUG - ++ sudo md5sum /etc/php/7.0/fpm/pool.d/snipeit.conf
2019-12-27 12:42:13,800: DEBUG - ++ cut '-d ' -f1
2019-12-27 12:42:14,002: DEBUG - + ynh_app_setting_set --app=snipeit --key=********** --value=1e10dbfc73d04f4e6d57d56fc3a11ea8
2019-12-27 12:42:14,004: DEBUG - + local legacy_args=akv
2019-12-27 12:42:14,011: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-27 12:42:14,013: DEBUG - + declare -Ar args_array
2019-12-27 12:42:14,015: DEBUG - + local app
2019-12-27 12:42:14,017: DEBUG - + local key
2019-12-27 12:42:14,019: DEBUG - + local value
2019-12-27 12:42:14,021: DEBUG - + ynh_handle_getopts_args --app=snipeit --key=********** --value=1e10dbfc73d04f4e6d57d56fc3a11ea8
2019-12-27 12:42:14,023: DEBUG - + set +x
2019-12-27 12:42:14,025: DEBUG - + ynh_app_setting set snipeit ********** 1e10dbfc73d04f4e6d57d56fc3a11ea8
2019-12-27 12:42:14,026: DEBUG - + ACTION=set
2019-12-27 12:42:14,028: DEBUG - + APP=snipeit
2019-12-27 12:42:14,030: DEBUG - + KEY=**********
2019-12-27 12:42:14,033: DEBUG - + VALUE=1e10dbfc73d04f4e6d57d56fc3a11ea8
2019-12-27 12:42:14,035: DEBUG - + python -
2019-12-27 12:42:14,940: DEBUG - + '[' -n '' ']'
2019-12-27 12:42:14,942: DEBUG - + unset backup_file_checksum
2019-12-27 12:42:14,944: DEBUG - + '[' -e ../conf/php-fpm.ini ']'
2019-12-27 12:42:14,946: DEBUG - + ynh_systemd_action --service_name=php7.0-fpm --action=reload
2019-12-27 12:42:14,948: DEBUG - + local legacy_args=nalpte
2019-12-27 12:42:14,949: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
2019-12-27 12:42:14,951: DEBUG - + declare -Ar args_array
2019-12-27 12:42:14,952: DEBUG - + local service_name
2019-12-27 12:42:14,954: DEBUG - + local action
2019-12-27 12:42:14,956: DEBUG - + local line_match
2019-12-27 12:42:14,957: DEBUG - + local length
2019-12-27 12:42:14,958: DEBUG - + local log_path
2019-12-27 12:42:14,960: DEBUG - + local timeout
2019-12-27 12:42:14,961: DEBUG - + ynh_handle_getopts_args --service_name=php7.0-fpm --action=reload
2019-12-27 12:42:14,962: DEBUG - + set +x
2019-12-27 12:42:14,964: DEBUG - + local service_name=php7.0-fpm
2019-12-27 12:42:14,965: DEBUG - + local action=reload
2019-12-27 12:42:14,966: DEBUG - + local log_path=/var/log/php7.0-fpm/php7.0-fpm.log
2019-12-27 12:42:14,968: DEBUG - + local length=20
2019-12-27 12:42:14,969: DEBUG - + local timeout=300
2019-12-27 12:42:14,970: DEBUG - + [[ -n '' ]]
2019-12-27 12:42:14,971: DEBUG - + '[' reload == reload ']'
2019-12-27 12:42:14,973: DEBUG - + action=reload-or-restart
2019-12-27 12:42:14,974: DEBUG - + systemctl reload-or-restart php7.0-fpm
2019-12-27 12:42:15,076: DEBUG - + [[ -n '' ]]
2019-12-27 12:42:15,078: DEBUG - + cd /var/www/snipeit
2019-12-27 12:42:15,079: DEBUG - + curl -sS https://getcomposer.org/installer
2019-12-27 12:42:15,081: DEBUG - + php
2019-12-27 12:42:17,191: DEBUG - All settings correct for using Composer
2019-12-27 12:42:17,192: DEBUG - The HOME or COMPOSER_HOME environment variable must be set for composer to run correctly
2019-12-27 12:42:17,194: DEBUG - + ynh_exit_properly
2019-12-27 12:42:17,195: DEBUG - + local exit_code=1
2019-12-27 12:42:17,196: DEBUG - + '[' 1 -eq 0 ']'
2019-12-27 12:42:17,198: DEBUG - + trap '' EXIT
2019-12-27 12:42:17,199: DEBUG - + set +eu
2019-12-27 12:42:17,200: DEBUG - + sleep 0.5
2019-12-27 12:42:17,703: DEBUG - + ynh_print_err '--message=!!\n snipeit'''s script has encountered an error. Its execution was cancelled.\n!!'
2019-12-27 12:42:17,705: DEBUG - + local legacy_args=m
2019-12-27 12:42:17,706: DEBUG - + args_array=([m]=message=)
2019-12-27 12:42:17,708: DEBUG - + declare -Ar args_array
2019-12-27 12:42:17,710: DEBUG - + local message
2019-12-27 12:42:17,712: DEBUG - + ynh_handle_getopts_args '--message=!!\n snipeit'''s script has encountered an error. Its execution was cancelled.\n!!'
2019-12-27 12:42:17,713: DEBUG - + set +x
2019-12-27 12:42:17,817: 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-12-27 12:42:17,818: WARNING - �[91m�[1m[ERR]�[0m !!
2019-12-27 12:42:17,821: DEBUG - + echo -e '\e[91m\e[1m[ERR]\e[0m !!\n snipeit'''s script has encountered an error. Its execution was cancelled.\n!!'
2019-12-27 12:42:17,823: WARNING - snipeit's script has encountered an error. Its execution was cancelled.
2019-12-27 12:42:17,826: DEBUG - + '[' api == cli ']'
2019-12-27 12:42:17,827: WARNING - !!
2019-12-27 12:42:17,830: DEBUG - + type -t ynh_clean_setup
2019-12-27 12:42:17,832: WARNING -
2019-12-27 12:42:17,835: DEBUG - + ynh_clean_setup
2019-12-27 12:42:17,836: DEBUG - + true
2019-12-27 12:42:17,837: DEBUG - + ynh_die
2019-12-27 12:42:17,838: DEBUG - + local legacy_args=mc
2019-12-27 12:42:17,840: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2019-12-27 12:42:17,841: DEBUG - + declare -Ar args_array
2019-12-27 12:42:17,842: DEBUG - + local message
2019-12-27 12:42:17,843: DEBUG - + local ret_code
2019-12-27 12:42:17,844: DEBUG - + ynh_handle_getopts_args
2019-12-27 12:42:17,846: DEBUG - + set +x
2019-12-27 12:42:17,847: DEBUG - + echo ''
2019-12-27 12:42:17,848: DEBUG - + exit 1
any ideas?