Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- args:
- app: shsd
- args: domain=DOMAIN&path=%2Fshsd&language=en
- force: false
- label: Self-Hosting Security Dashboard
- no_remove_on_failure: false
- ended_at: 2019-07-01 07:54:49.298331
- env:
- YNH_APP_ARG_DOMAIN: DOMAIN
- YNH_APP_ARG_LANGUAGE: en
- YNH_APP_ARG_PATH: /shsd
- YNH_APP_ID: shsd
- YNH_APP_INSTANCE_NAME: shsd
- YNH_APP_INSTANCE_NUMBER: '1'
- YNH_CWD: /var/cache/yunohost/from_file/shsd_ynh-6902a4e56df7ce7610dfc22b46bd0a821f003c39/scripts
- YNH_STDINFO: /tmp/tmptQKwXO/stdinfo
- YNH_STDRETURN: /tmp/tmpL3bxOT/stdreturn
- error: Ein unerwarteter Fehler ist aufgetreten
- operation: app_install
- related_to:
- - - app
- - shsd
- started_at: 2019-07-01 07:53:42.413076
- success: false
- ============
- 2019-07-01 09:53:42,420: INFO - Installing application shsd…
- 2019-07-01 09:53:42,643: DEBUG - Führe den Behfehl 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ARG_LANGUAGE=en YNH_STDINFO=/tmp/tmptQKwXO/stdinfo YNH_CWD=/var/cache/yunohost/from_file/shsd_ynh-6902a4e56df7ce7610dfc22b46bd0a821f003c39/scripts YNH_APP_INSTANCE_NAME=shsd YNH_STDRETURN=/tmp/tmpL3bxOT/stdreturn YNH_APP_ID=shsd YNH_APP_ARG_PATH=/shsd YNH_APP_ARG_DOMAIN=DOMAIN BASH_XTRACEFD=7 /bin/bash -x "./install" DOMAIN /shsd en shsd 7>&1' aus...
- 2019-07-01 09:53:42,644: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ARG_LANGUAGE=en YNH_STDINFO=/tmp/tmptQKwXO/stdinfo YNH_CWD=/var/cache/yunohost/from_file/shsd_ynh-6902a4e56df7ce7610dfc22b46bd0a821f003c39/scripts YNH_APP_INSTANCE_NAME=shsd YNH_STDRETURN=/tmp/tmpL3bxOT/stdreturn YNH_APP_ID=shsd YNH_APP_ARG_PATH=/shsd YNH_APP_ARG_DOMAIN=DOMAIN BASH_XTRACEFD=7 /bin/bash -x "./install" DOMAIN /shsd en shsd 7>&1']'
- 2019-07-01 09:53:42,679: DEBUG - + source /usr/share/yunohost/helpers
- 2019-07-01 09:53:42,681: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
- 2019-07-01 09:53:42,681: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 2019-07-01 09:53:42,682: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
- 2019-07-01 09:53:42,682: DEBUG - ++ . /usr/share/yunohost/helpers.d/backend
- 2019-07-01 09:53:42,682: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 2019-07-01 09:53:42,683: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/debug ']'
- 2019-07-01 09:53:42,683: DEBUG - ++ . /usr/share/yunohost/helpers.d/debug
- 2019-07-01 09:53:42,683: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 2019-07-01 09:53:42,684: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
- 2019-07-01 09:53:42,684: DEBUG - ++ . /usr/share/yunohost/helpers.d/filesystem
- 2019-07-01 09:53:42,684: DEBUG - +++ source /usr/share/yunohost/helpers.d/getopts
- 2019-07-01 09:53:42,685: DEBUG - +++ CAN_BIND=1
- 2019-07-01 09:53:42,685: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 2019-07-01 09:53:42,685: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
- 2019-07-01 09:53:42,686: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
- 2019-07-01 09:53:42,686: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 2019-07-01 09:53:42,686: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
- 2019-07-01 09:53:42,686: DEBUG - ++ . /usr/share/yunohost/helpers.d/ip
- 2019-07-01 09:53:42,687: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 2019-07-01 09:53:42,687: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
- 2019-07-01 09:53:42,687: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
- 2019-07-01 09:53:42,688: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
- 2019-07-01 09:53:42,788: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 2019-07-01 09:53:42,789: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
- 2019-07-01 09:53:42,789: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
- 2019-07-01 09:53:42,790: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 2019-07-01 09:53:42,790: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
- 2019-07-01 09:53:42,790: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
- 2019-07-01 09:53:42,791: DEBUG - +++ n_install_dir=/opt/node_n
- 2019-07-01 09:53:42,791: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
- 2019-07-01 09:53:42,791: DEBUG - +++ export N_PREFIX=/opt/node_n
- 2019-07-01 09:53:42,792: DEBUG - +++ N_PREFIX=/opt/node_n
- 2019-07-01 09:53:42,792: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 2019-07-01 09:53:42,792: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
- 2019-07-01 09:53:42,793: DEBUG - ++ . /usr/share/yunohost/helpers.d/package
- 2019-07-01 09:53:42,793: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 2019-07-01 09:53:42,793: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
- 2019-07-01 09:53:42,793: DEBUG - ++ . /usr/share/yunohost/helpers.d/print
- 2019-07-01 09:53:42,794: DEBUG - +++ increment_progression=0
- 2019-07-01 09:53:42,794: DEBUG - +++ previous_weight=0
- 2019-07-01 09:53:42,794: DEBUG - ++++ date +%s
- 2019-07-01 09:53:42,795: DEBUG - +++ base_time=1561967622
- 2019-07-01 09:53:42,795: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 2019-07-01 09:53:42,795: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
- 2019-07-01 09:53:42,796: DEBUG - ++ . /usr/share/yunohost/helpers.d/psql
- 2019-07-01 09:53:42,796: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
- 2019-07-01 09:53:42,796: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 2019-07-01 09:53:42,797: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
- 2019-07-01 09:53:42,797: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
- 2019-07-01 09:53:42,797: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 2019-07-01 09:53:42,797: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
- 2019-07-01 09:53:42,798: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
- 2019-07-01 09:53:42,798: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 2019-07-01 09:53:42,798: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
- 2019-07-01 09:53:42,799: DEBUG - ++ . /usr/share/yunohost/helpers.d/system
- 2019-07-01 09:53:42,799: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 2019-07-01 09:53:42,799: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
- 2019-07-01 09:53:42,800: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
- 2019-07-01 09:53:42,800: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 2019-07-01 09:53:42,800: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
- 2019-07-01 09:53:42,800: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
- 2019-07-01 09:53:42,801: DEBUG - + ynh_abort_if_errors
- 2019-07-01 09:53:42,801: DEBUG - + set -eu
- 2019-07-01 09:53:42,801: DEBUG - + trap ynh_exit_properly EXIT
- 2019-07-01 09:53:42,802: DEBUG - + domain=DOMAIN
- 2019-07-01 09:53:42,802: DEBUG - + path_url=/shsd
- 2019-07-01 09:53:42,802: DEBUG - + language=en
- 2019-07-01 09:53:42,802: DEBUG - + app=shsd
- 2019-07-01 09:53:42,803: DEBUG - + final_path=/var/www/shsd
- 2019-07-01 09:53:42,803: DEBUG - + test '!' -e /var/www/shsd
- 2019-07-01 09:53:42,803: DEBUG - + mkdir -p /var/lib/shsd
- 2019-07-01 09:53:42,804: DEBUG - ++ ynh_normalize_url_path /shsd
- 2019-07-01 09:53:42,804: DEBUG - ++ local legacy_args=p
- 2019-07-01 09:53:42,804: DEBUG - ++ args_array=([p]=path_url=)
- 2019-07-01 09:53:42,805: DEBUG - ++ declare -Ar args_array
- 2019-07-01 09:53:42,805: DEBUG - ++ local path_url
- 2019-07-01 09:53:42,805: DEBUG - ++ ynh_handle_getopts_args /shsd
- 2019-07-01 09:53:42,805: DEBUG - ++ set +x
- 2019-07-01 09:53:42,806: DEBUG - ++ echo '! Helper used in legacy mode !'
- 2019-07-01 09:53:42,806: DEBUG - ++ set +x
- 2019-07-01 09:53:42,806: DEBUG - ++ test -n /shsd
- 2019-07-01 09:53:42,807: DEBUG - ++ '[' / '!=' / ']'
- 2019-07-01 09:53:42,807: DEBUG - ++ '[' d == / ']'
- 2019-07-01 09:53:42,807: DEBUG - ++ echo /shsd
- 2019-07-01 09:53:42,807: DEBUG - + path_url=/shsd
- 2019-07-01 09:53:42,808: DEBUG - + ynh_webpath_available DOMAIN /shsd
- 2019-07-01 09:53:42,808: DEBUG - + local legacy_args=dp
- 2019-07-01 09:53:42,808: DEBUG - + args_array=([d]=domain= [p]=path_url=)
- 2019-07-01 09:53:42,809: DEBUG - + declare -Ar args_array
- 2019-07-01 09:53:42,809: DEBUG - + local domain
- 2019-07-01 09:53:42,809: DEBUG - + local path_url
- 2019-07-01 09:53:42,809: DEBUG - + ynh_handle_getopts_args DOMAIN /shsd
- 2019-07-01 09:53:42,810: DEBUG - + set +x
- 2019-07-01 09:53:42,810: DEBUG - + echo '! Helper used in legacy mode !'
- 2019-07-01 09:53:42,810: DEBUG - + set +x
- 2019-07-01 09:53:42,811: DEBUG - + sudo yunohost domain url-available DOMAIN /shsd
- 2019-07-01 09:53:43,613: DEBUG - True
- 2019-07-01 09:53:43,714: DEBUG - + ynh_webpath_register shsd DOMAIN /shsd
- 2019-07-01 09:53:43,715: DEBUG - + local legacy_args=adp
- 2019-07-01 09:53:43,715: DEBUG - + args_array=([a]=app= [d]=domain= [p]=path_url=)
- 2019-07-01 09:53:43,715: DEBUG - + declare -Ar args_array
- 2019-07-01 09:53:43,716: DEBUG - + local app
- 2019-07-01 09:53:43,716: DEBUG - + local domain
- 2019-07-01 09:53:43,716: DEBUG - + local path_url
- 2019-07-01 09:53:43,717: DEBUG - + ynh_handle_getopts_args shsd DOMAIN /shsd
- 2019-07-01 09:53:43,717: DEBUG - + set +x
- 2019-07-01 09:53:43,717: DEBUG - + echo '! Helper used in legacy mode !'
- 2019-07-01 09:53:43,718: DEBUG - + set +x
- 2019-07-01 09:53:43,718: DEBUG - + sudo yunohost app register-url shsd DOMAIN /shsd
- 2019-07-01 09:53:44,821: DEBUG - + ynh_app_setting_set shsd domain DOMAIN
- 2019-07-01 09:53:44,822: DEBUG - + local legacy_args=akv
- 2019-07-01 09:53:44,822: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
- 2019-07-01 09:53:44,823: DEBUG - + declare -Ar args_array
- 2019-07-01 09:53:44,823: DEBUG - + local app
- 2019-07-01 09:53:44,824: DEBUG - + local key
- 2019-07-01 09:53:44,824: DEBUG - + local value
- 2019-07-01 09:53:44,824: DEBUG - + ynh_handle_getopts_args shsd domain DOMAIN
- 2019-07-01 09:53:44,825: DEBUG - + set +x
- 2019-07-01 09:53:44,925: DEBUG - + echo '! Helper used in legacy mode !'
- 2019-07-01 09:53:44,926: DEBUG - + set +x
- 2019-07-01 09:53:44,926: DEBUG - + ynh_app_setting set shsd domain DOMAIN
- 2019-07-01 09:53:44,927: DEBUG - + ACTION=set
- 2019-07-01 09:53:44,927: DEBUG - + APP=shsd
- 2019-07-01 09:53:44,927: DEBUG - + KEY=domain
- 2019-07-01 09:53:44,928: DEBUG - + VALUE=DOMAIN
- 2019-07-01 09:53:44,928: DEBUG - + python -
- 2019-07-01 09:53:45,229: DEBUG - + ynh_app_setting_set shsd path /shsd
- 2019-07-01 09:53:45,230: DEBUG - + local legacy_args=akv
- 2019-07-01 09:53:45,230: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
- 2019-07-01 09:53:45,231: DEBUG - + declare -Ar args_array
- 2019-07-01 09:53:45,231: DEBUG - + local app
- 2019-07-01 09:53:45,232: DEBUG - + local key
- 2019-07-01 09:53:45,232: DEBUG - + local value
- 2019-07-01 09:53:45,232: DEBUG - + ynh_handle_getopts_args shsd path /shsd
- 2019-07-01 09:53:45,233: DEBUG - + set +x
- 2019-07-01 09:53:45,233: DEBUG - + echo '! Helper used in legacy mode !'
- 2019-07-01 09:53:45,233: DEBUG - + set +x
- 2019-07-01 09:53:45,233: DEBUG - + ynh_app_setting set shsd path /shsd
- 2019-07-01 09:53:45,234: DEBUG - + ACTION=set
- 2019-07-01 09:53:45,234: DEBUG - + APP=shsd
- 2019-07-01 09:53:45,234: DEBUG - + KEY=path
- 2019-07-01 09:53:45,235: DEBUG - + VALUE=/shsd
- 2019-07-01 09:53:45,235: DEBUG - + python -
- 2019-07-01 09:53:45,637: DEBUG - + ynh_app_setting_set shsd language en
- 2019-07-01 09:53:45,637: DEBUG - + local legacy_args=akv
- 2019-07-01 09:53:45,638: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
- 2019-07-01 09:53:45,638: DEBUG - + declare -Ar args_array
- 2019-07-01 09:53:45,638: DEBUG - + local app
- 2019-07-01 09:53:45,639: DEBUG - + local key
- 2019-07-01 09:53:45,639: DEBUG - + local value
- 2019-07-01 09:53:45,639: DEBUG - + ynh_handle_getopts_args shsd language en
- 2019-07-01 09:53:45,640: DEBUG - + set +x
- 2019-07-01 09:53:45,640: DEBUG - + echo '! Helper used in legacy mode !'
- 2019-07-01 09:53:45,641: DEBUG - + set +x
- 2019-07-01 09:53:45,641: DEBUG - + ynh_app_setting set shsd language en
- 2019-07-01 09:53:45,641: DEBUG - + ACTION=set
- 2019-07-01 09:53:45,642: DEBUG - + APP=shsd
- 2019-07-01 09:53:45,642: DEBUG - + KEY=language
- 2019-07-01 09:53:45,642: DEBUG - + VALUE=en
- 2019-07-01 09:53:45,643: DEBUG - + python -
- 2019-07-01 09:53:45,944: DEBUG - ++ ynh_find_port 8095
- 2019-07-01 09:53:45,945: DEBUG - ++ local legacy_args=p
- 2019-07-01 09:53:45,945: DEBUG - ++ args_array=([p]=port=)
- 2019-07-01 09:53:45,945: DEBUG - ++ declare -Ar args_array
- 2019-07-01 09:53:45,946: DEBUG - ++ local port
- 2019-07-01 09:53:45,946: DEBUG - ++ ynh_handle_getopts_args 8095
- 2019-07-01 09:53:45,946: DEBUG - ++ set +x
- 2019-07-01 09:53:45,946: DEBUG - ++ echo '! Helper used in legacy mode !'
- 2019-07-01 09:53:45,947: DEBUG - ++ set +x
- 2019-07-01 09:53:45,947: DEBUG - ++ test -n 8095
- 2019-07-01 09:53:45,947: DEBUG - ++ netcat -z 127.0.0.1 8095
- 2019-07-01 09:53:46,048: DEBUG - ++ echo 8095
- 2019-07-01 09:53:46,049: DEBUG - + port=8095
- 2019-07-01 09:53:46,049: DEBUG - + yunohost firewall allow --no-upnp TCP 8095
- 2019-07-01 09:53:59,282: DEBUG - The firewall has been reloaded
- 2019-07-01 09:53:59,282: DEBUG - opened_ports:
- 2019-07-01 09:53:59,283: DEBUG - - 22
- 2019-07-01 09:53:59,283: DEBUG - - 25
- 2019-07-01 09:53:59,283: DEBUG - - 53
- 2019-07-01 09:53:59,284: DEBUG - - 80
- 2019-07-01 09:53:59,284: DEBUG - - 139
- 2019-07-01 09:53:59,284: DEBUG - - 443
- 2019-07-01 09:53:59,285: DEBUG - - 445
- 2019-07-01 09:53:59,285: DEBUG - - 587
- 2019-07-01 09:53:59,285: DEBUG - - 993
- 2019-07-01 09:53:59,286: DEBUG - - 5222
- 2019-07-01 09:53:59,286: DEBUG - - 5269
- 2019-07-01 09:53:59,287: DEBUG - - 5353
- 2019-07-01 09:53:59,287: DEBUG - - 8095
- 2019-07-01 09:53:59,388: DEBUG - + ynh_app_setting_set shsd port 8095
- 2019-07-01 09:53:59,388: DEBUG - + local legacy_args=akv
- 2019-07-01 09:53:59,389: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
- 2019-07-01 09:53:59,389: DEBUG - + declare -Ar args_array
- 2019-07-01 09:53:59,390: DEBUG - + local app
- 2019-07-01 09:53:59,390: DEBUG - + local key
- 2019-07-01 09:53:59,390: DEBUG - + local value
- 2019-07-01 09:53:59,391: DEBUG - + ynh_handle_getopts_args shsd port 8095
- 2019-07-01 09:53:59,391: DEBUG - + set +x
- 2019-07-01 09:53:59,392: DEBUG - + echo '! Helper used in legacy mode !'
- 2019-07-01 09:53:59,392: DEBUG - + set +x
- 2019-07-01 09:53:59,392: DEBUG - + ynh_app_setting set shsd port 8095
- 2019-07-01 09:53:59,393: DEBUG - + ACTION=set
- 2019-07-01 09:53:59,393: DEBUG - + APP=shsd
- 2019-07-01 09:53:59,393: DEBUG - + KEY=port
- 2019-07-01 09:53:59,394: DEBUG - + VALUE=8095
- 2019-07-01 09:53:59,394: DEBUG - + python -
- 2019-07-01 09:53:59,695: DEBUG - + ynh_install_app_dependencies python3 python3-sqlalchemy python3-flask python3-geojson python3-geoip geoip-database-extra
- 2019-07-01 09:53:59,696: DEBUG - + local 'dependencies=python3 python3-sqlalchemy python3-flask python3-geojson python3-geoip geoip-database-extra'
- 2019-07-01 09:53:59,697: DEBUG - + local 'dependencies=python3, python3-sqlalchemy, python3-flask, python3-geojson, python3-geoip, geoip-database-extra'
- 2019-07-01 09:53:59,697: DEBUG - + local 'dependencies=python3, python3-sqlalchemy, python3-flask, python3-geojson, python3-geoip, geoip-database-extra'
- 2019-07-01 09:53:59,697: DEBUG - + local manifest_path=../manifest.json
- 2019-07-01 09:53:59,698: DEBUG - + '[' '!' -e ../manifest.json ']'
- 2019-07-01 09:53:59,698: DEBUG - ++ grep '\"version\": ' ../manifest.json
- 2019-07-01 09:53:59,698: DEBUG - ++ cut -d '"' -f 4
- 2019-07-01 09:53:59,799: DEBUG - + local version=0.1.3~ynh1
- 2019-07-01 09:53:59,800: DEBUG - + '[' 10 -eq 0 ']'
- 2019-07-01 09:53:59,800: DEBUG - + local dep_app=shsd
- 2019-07-01 09:53:59,800: DEBUG - + cat
- 2019-07-01 09:53:59,801: DEBUG - + ynh_package_install_from_equivs /tmp/shsd-ynh-deps.control
- 2019-07-01 09:53:59,801: DEBUG - + local controlfile=/tmp/shsd-ynh-deps.control
- 2019-07-01 09:53:59,802: DEBUG - ++ grep '^Package: ' /tmp/shsd-ynh-deps.control
- 2019-07-01 09:53:59,802: DEBUG - ++ cut '-d ' -f 2
- 2019-07-01 09:53:59,802: DEBUG - + local pkgname=shsd-ynh-deps
- 2019-07-01 09:53:59,803: DEBUG - ++ grep '^Version: ' /tmp/shsd-ynh-deps.control
- 2019-07-01 09:53:59,803: DEBUG - ++ cut '-d ' -f 2
- 2019-07-01 09:53:59,803: DEBUG - + local pkgversion=0.1.3~ynh1
- 2019-07-01 09:53:59,804: DEBUG - + [[ -z shsd-ynh-deps ]]
- 2019-07-01 09:53:59,804: DEBUG - + [[ -z 0.1.3~ynh1 ]]
- 2019-07-01 09:53:59,804: DEBUG - + ynh_package_update
- 2019-07-01 09:53:59,805: DEBUG - + ynh_apt update
- 2019-07-01 09:53:59,805: DEBUG - + ynh_wait_dpkg_free
- 2019-07-01 09:53:59,805: DEBUG - + local try
- 2019-07-01 09:53:59,805: DEBUG - ++ seq 1 17
- 2019-07-01 09:53:59,806: DEBUG - + for try in `seq 1 17`
- 2019-07-01 09:53:59,806: DEBUG - + sudo lsof /var/lib/dpkg/lock
- 2019-07-01 09:54:00,308: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
- 2019-07-01 09:54:00,308: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
- 2019-07-01 09:54:00,308: DEBUG - + read dpkg_file
- 2019-07-01 09:54:00,309: DEBUG - + echo ''
- 2019-07-01 09:54:00,309: DEBUG - + grep -Pq '^[[:digit:]]+$'
- 2019-07-01 09:54:00,309: DEBUG - + read dpkg_file
- 2019-07-01 09:54:00,310: DEBUG - + return 0
- 2019-07-01 09:54:00,310: DEBUG - + DEBIAN_FRONTEND=noninteractive
- 2019-07-01 09:54:00,310: DEBUG - + apt-get -y update
- 2019-07-01 09:54:00,712: DEBUG - Hit:1 http://security.debian.org stretch/updates InRelease
- 2019-07-01 09:54:00,712: DEBUG - Ign:2 http://ftp.debian.org/debian stretch InRelease
- 2019-07-01 09:54:00,713: DEBUG - Hit:3 http://ftp.debian.org/debian stretch-updates InRelease
- 2019-07-01 09:54:00,713: DEBUG - Hit:4 http://ftp.debian.org/debian stretch Release
- 2019-07-01 09:54:00,713: DEBUG - Hit:5 http://forge.yunohost.org/debian stretch InRelease
- 2019-07-01 09:54:00,714: DEBUG - Hit:6 http://fuzon.co.uk/meveric all InRelease
- 2019-07-01 09:54:05,124: DEBUG - Reading package lists...
- 2019-07-01 09:54:05,225: DEBUG - ++ mktemp -d
- 2019-07-01 09:54:05,225: DEBUG - + local TMPDIR=/tmp/tmp.WXMBLeXvQJ
- 2019-07-01 09:54:05,226: DEBUG - + echo 10
- 2019-07-01 09:54:05,226: DEBUG - + ynh_wait_dpkg_free
- 2019-07-01 09:54:05,226: DEBUG - + local try
- 2019-07-01 09:54:05,227: DEBUG - ++ seq 1 17
- 2019-07-01 09:54:05,227: DEBUG - + for try in `seq 1 17`
- 2019-07-01 09:54:05,227: DEBUG - + sudo lsof /var/lib/dpkg/lock
- 2019-07-01 09:54:05,629: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
- 2019-07-01 09:54:05,630: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
- 2019-07-01 09:54:05,630: DEBUG - + read dpkg_file
- 2019-07-01 09:54:05,630: DEBUG - + echo ''
- 2019-07-01 09:54:05,631: DEBUG - + grep -Pq '^[[:digit:]]+$'
- 2019-07-01 09:54:05,631: DEBUG - + read dpkg_file
- 2019-07-01 09:54:05,632: DEBUG - + return 0
- 2019-07-01 09:54:05,632: DEBUG - + cp /tmp/shsd-ynh-deps.control /tmp/tmp.WXMBLeXvQJ/control
- 2019-07-01 09:54:05,733: DEBUG - + cd /tmp/tmp.WXMBLeXvQJ
- 2019-07-01 09:54:05,733: DEBUG - + equivs-build ./control
- 2019-07-01 09:54:08,240: DEBUG - + dpkg --force-depends -i ./shsd-ynh-deps_0.1.3~ynh1_all.deb
- 2019-07-01 09:54:08,441: DEBUG - Selecting previously unselected package shsd-ynh-deps.
- 2019-07-01 09:54:08,542: DEBUG - (Reading database ... 46007 files and directories currently installed.)
- 2019-07-01 09:54:08,543: DEBUG - Preparing to unpack .../shsd-ynh-deps_0.1.3~ynh1_all.deb ...
- 2019-07-01 09:54:08,543: DEBUG - Unpacking shsd-ynh-deps (0.1.3~ynh1) ...
- 2019-07-01 09:54:08,744: DEBUG - dpkg: shsd-ynh-deps: dependency problems, but configuring anyway as you requested:
- 2019-07-01 09:54:08,744: DEBUG - shsd-ynh-deps depends on python3-sqlalchemy; however:
- 2019-07-01 09:54:08,744: DEBUG - Package python3-sqlalchemy is not installed.
- 2019-07-01 09:54:08,745: DEBUG - shsd-ynh-deps depends on python3-flask; however:
- 2019-07-01 09:54:08,745: DEBUG - Package python3-flask is not installed.
- 2019-07-01 09:54:08,745: DEBUG - shsd-ynh-deps depends on python3-geojson; however:
- 2019-07-01 09:54:08,746: DEBUG - Package python3-geojson is not installed.
- 2019-07-01 09:54:08,746: DEBUG - shsd-ynh-deps depends on python3-geoip; however:
- 2019-07-01 09:54:08,746: DEBUG - Package python3-geoip is not installed.
- 2019-07-01 09:54:08,746: DEBUG - shsd-ynh-deps depends on geoip-database-extra; however:
- 2019-07-01 09:54:08,747: DEBUG - Package geoip-database-extra is not installed.
- 2019-07-01 09:54:08,747: DEBUG -
- 2019-07-01 09:54:08,747: DEBUG - Setting up shsd-ynh-deps (0.1.3~ynh1) ...
- 2019-07-01 09:54:08,948: DEBUG - + ynh_package_install -f
- 2019-07-01 09:54:08,949: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
- 2019-07-01 09:54:08,949: DEBUG - + ynh_wait_dpkg_free
- 2019-07-01 09:54:08,949: DEBUG - + local try
- 2019-07-01 09:54:08,950: DEBUG - ++ seq 1 17
- 2019-07-01 09:54:08,950: DEBUG - + for try in `seq 1 17`
- 2019-07-01 09:54:08,950: DEBUG - + sudo lsof /var/lib/dpkg/lock
- 2019-07-01 09:54:09,352: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
- 2019-07-01 09:54:09,352: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
- 2019-07-01 09:54:09,352: DEBUG - + read dpkg_file
- 2019-07-01 09:54:09,353: DEBUG - + echo ''
- 2019-07-01 09:54:09,353: DEBUG - + grep -Pq '^[[:digit:]]+$'
- 2019-07-01 09:54:09,353: DEBUG - + read dpkg_file
- 2019-07-01 09:54:09,354: DEBUG - + return 0
- 2019-07-01 09:54:09,354: DEBUG - + DEBIAN_FRONTEND=noninteractive
- 2019-07-01 09:54:09,354: DEBUG - + apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
- 2019-07-01 09:54:10,157: DEBUG - Reading package lists...
- 2019-07-01 09:54:10,659: DEBUG - Building dependency tree...
- 2019-07-01 09:54:10,660: DEBUG - Reading state information...
- 2019-07-01 09:54:11,161: DEBUG - Correcting dependencies... Done
- 2019-07-01 09:54:11,864: DEBUG - The following additional packages will be installed:
- 2019-07-01 09:54:11,865: DEBUG - geoip-database geoip-database-extra libjs-jquery python3-click
- 2019-07-01 09:54:11,865: DEBUG - python3-colorama python3-flask python3-geoip python3-geojson
- 2019-07-01 09:54:11,866: DEBUG - python3-itsdangerous python3-jinja2 python3-markupsafe python3-sqlalchemy
- 2019-07-01 09:54:11,866: DEBUG - python3-werkzeug
- 2019-07-01 09:54:11,866: DEBUG - Suggested packages:
- 2019-07-01 09:54:11,867: DEBUG - python-flask-doc python-jinja2-doc python-sqlalchemy-doc python3-psycopg2
- 2019-07-01 09:54:11,867: DEBUG - python3-mysqldb python3-fdb ipython3 python3-lxml python-werkzeug-doc
- 2019-07-01 09:54:11,867: DEBUG - Recommended packages:
- 2019-07-01 09:54:11,868: DEBUG - python3-blinker python3-simplejson python3-openssl python3-pyinotify
- 2019-07-01 09:54:11,968: DEBUG - The following NEW packages will be installed:
- 2019-07-01 09:54:11,969: DEBUG - geoip-database geoip-database-extra libjs-jquery python3-click
- 2019-07-01 09:54:11,969: DEBUG - python3-colorama python3-flask python3-geoip python3-geojson
- 2019-07-01 09:54:11,970: DEBUG - python3-itsdangerous python3-jinja2 python3-markupsafe python3-sqlalchemy
- 2019-07-01 09:54:11,970: DEBUG - python3-werkzeug
- 2019-07-01 09:54:12,070: DEBUG - 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
- 2019-07-01 09:54:12,071: DEBUG - Need to get 15.4 MB of archives.
- 2019-07-01 09:54:12,071: DEBUG - After this operation, 39.6 MB of additional disk space will be used.
- 2019-07-01 09:54:12,071: DEBUG - Get:1 http://ftp.debian.org/debian stretch/main armhf geoip-database all 20170512-1 [2,112 kB]
- 2019-07-01 09:54:12,473: DEBUG - Get:2 http://ftp.debian.org/debian stretch/main armhf geoip-database-extra all 20170512-1 [12.1 MB]
- 2019-07-01 09:54:14,377: DEBUG - Get:3 http://ftp.debian.org/debian stretch/main armhf libjs-jquery all 3.1.1-2+deb9u1 [154 kB]
- 2019-07-01 09:54:14,377: DEBUG - Get:4 http://ftp.debian.org/debian stretch/main armhf python3-colorama all 0.3.7-1 [18.1 kB]
- 2019-07-01 09:54:14,478: DEBUG - Get:5 http://ftp.debian.org/debian stretch/main armhf python3-click all 6.6-1 [56.2 kB]
- 2019-07-01 09:54:14,478: DEBUG - Get:6 http://ftp.debian.org/debian stretch/main armhf python3-itsdangerous all 0.24+dfsg1-2 [13.0 kB]
- 2019-07-01 09:54:14,479: DEBUG - Get:7 http://ftp.debian.org/debian stretch/main armhf python3-markupsafe armhf 0.23-3 [14.5 kB]
- 2019-07-01 09:54:14,479: DEBUG - Get:8 http://ftp.debian.org/debian stretch/main armhf python3-jinja2 all 2.8-1 [105 kB]
- 2019-07-01 09:54:14,479: DEBUG - Get:9 http://ftp.debian.org/debian stretch/main armhf python3-werkzeug all 0.11.15+dfsg1-1 [173 kB]
- 2019-07-01 09:54:14,480: DEBUG - Get:10 http://ftp.debian.org/debian stretch/main armhf python3-flask all 0.12.1-1 [62.4 kB]
- 2019-07-01 09:54:14,480: DEBUG - Get:11 http://ftp.debian.org/debian stretch/main armhf python3-geoip armhf 1.3.2-1+b2 [18.1 kB]
- 2019-07-01 09:54:14,480: DEBUG - Get:12 http://ftp.debian.org/debian stretch/main armhf python3-geojson all 1.3.1-1 [13.5 kB]
- 2019-07-01 09:54:14,481: DEBUG - Get:13 http://ftp.debian.org/debian stretch/main armhf python3-sqlalchemy all 1.0.15+ds1-1 [645 kB]
- 2019-07-01 09:54:15,684: DEBUG - Fetched 15.4 MB in 2s (5,890 kB/s)
- 2019-07-01 09:54:15,785: DEBUG - Selecting previously unselected package geoip-database.
- 2019-07-01 09:54:15,785: DEBUG - (Reading database ...
- (Reading database ... 5%
- (Reading database ... 10%
- (Reading database ... 15%
- (Reading database ... 20%
- (Reading database ... 25%
- (Reading database ... 30%
- (Reading database ... 35%
- (Reading database ... 40%
- (Reading database ... 45%
- (Reading database ... 50%
- (Reading database ... 55%
- (Reading database ... 60%
- (Reading database ... 65%
- (Reading database ... 70%
- (Reading database ... 75%
- (Reading database ... 80%
- (Reading database ... 85%
- (Reading database ... 90%
- (Reading database ... 95%
- (Reading database ... 100%
- (Reading database ... 46011 files and directories currently installed.)
- 2019-07-01 09:54:15,886: DEBUG - Preparing to unpack .../00-geoip-database_20170512-1_all.deb ...
- 2019-07-01 09:54:15,887: DEBUG - Unpacking geoip-database (20170512-1) ...
- 2019-07-01 09:54:16,689: DEBUG - Selecting previously unselected package geoip-database-extra.
- 2019-07-01 09:54:16,690: DEBUG - Preparing to unpack .../01-geoip-database-extra_20170512-1_all.deb ...
- 2019-07-01 09:54:16,791: DEBUG - Unpacking geoip-database-extra (20170512-1) ...
- 2019-07-01 09:54:19,298: DEBUG - Selecting previously unselected package libjs-jquery.
- 2019-07-01 09:54:19,299: DEBUG - Preparing to unpack .../02-libjs-jquery_3.1.1-2+deb9u1_all.deb ...
- 2019-07-01 09:54:19,299: DEBUG - Unpacking libjs-jquery (3.1.1-2+deb9u1) ...
- 2019-07-01 09:54:19,700: DEBUG - Selecting previously unselected package python3-colorama.
- 2019-07-01 09:54:19,802: DEBUG - Preparing to unpack .../03-python3-colorama_0.3.7-1_all.deb ...
- 2019-07-01 09:54:19,802: DEBUG - Unpacking python3-colorama (0.3.7-1) ...
- 2019-07-01 09:54:20,103: DEBUG - Selecting previously unselected package python3-click.
- 2019-07-01 09:54:20,205: DEBUG - Preparing to unpack .../04-python3-click_6.6-1_all.deb ...
- 2019-07-01 09:54:20,205: DEBUG - Unpacking python3-click (6.6-1) ...
- 2019-07-01 09:54:20,506: DEBUG - Selecting previously unselected package python3-itsdangerous.
- 2019-07-01 09:54:20,507: DEBUG - Preparing to unpack .../05-python3-itsdangerous_0.24+dfsg1-2_all.deb ...
- 2019-07-01 09:54:20,607: DEBUG - Unpacking python3-itsdangerous (0.24+dfsg1-2) ...
- 2019-07-01 09:54:20,909: DEBUG - Selecting previously unselected package python3-markupsafe.
- 2019-07-01 09:54:20,909: DEBUG - Preparing to unpack .../06-python3-markupsafe_0.23-3_armhf.deb ...
- 2019-07-01 09:54:21,010: DEBUG - Unpacking python3-markupsafe (0.23-3) ...
- 2019-07-01 09:54:21,311: DEBUG - Selecting previously unselected package python3-jinja2.
- 2019-07-01 09:54:21,311: DEBUG - Preparing to unpack .../07-python3-jinja2_2.8-1_all.deb ...
- 2019-07-01 09:54:21,412: DEBUG - Unpacking python3-jinja2 (2.8-1) ...
- 2019-07-01 09:54:21,813: DEBUG - Selecting previously unselected package python3-werkzeug.
- 2019-07-01 09:54:21,814: DEBUG - Preparing to unpack .../08-python3-werkzeug_0.11.15+dfsg1-1_all.deb ...
- 2019-07-01 09:54:21,915: DEBUG - Unpacking python3-werkzeug (0.11.15+dfsg1-1) ...
- 2019-07-01 09:54:22,316: DEBUG - Selecting previously unselected package python3-flask.
- 2019-07-01 09:54:22,317: DEBUG - Preparing to unpack .../09-python3-flask_0.12.1-1_all.deb ...
- 2019-07-01 09:54:22,317: DEBUG - Unpacking python3-flask (0.12.1-1) ...
- 2019-07-01 09:54:22,718: DEBUG - Selecting previously unselected package python3-geoip.
- 2019-07-01 09:54:22,719: DEBUG - Preparing to unpack .../10-python3-geoip_1.3.2-1+b2_armhf.deb ...
- 2019-07-01 09:54:22,719: DEBUG - Unpacking python3-geoip (1.3.2-1+b2) ...
- 2019-07-01 09:54:23,020: DEBUG - Selecting previously unselected package python3-geojson.
- 2019-07-01 09:54:23,021: DEBUG - Preparing to unpack .../11-python3-geojson_1.3.1-1_all.deb ...
- 2019-07-01 09:54:23,121: DEBUG - Unpacking python3-geojson (1.3.1-1) ...
- 2019-07-01 09:54:23,422: DEBUG - Selecting previously unselected package python3-sqlalchemy.
- 2019-07-01 09:54:23,423: DEBUG - Preparing to unpack .../12-python3-sqlalchemy_1.0.15+ds1-1_all.deb ...
- 2019-07-01 09:54:23,523: DEBUG - Unpacking python3-sqlalchemy (1.0.15+ds1-1) ...
- 2019-07-01 09:54:24,125: DEBUG - Setting up libjs-jquery (3.1.1-2+deb9u1) ...
- 2019-07-01 09:54:24,326: DEBUG - Setting up python3-werkzeug (0.11.15+dfsg1-1) ...
- 2019-07-01 09:54:25,229: DEBUG - Setting up geoip-database-extra (20170512-1) ...
- 2019-07-01 09:54:25,330: DEBUG - Setting up python3-sqlalchemy (1.0.15+ds1-1) ...
- 2019-07-01 09:54:27,335: DEBUG - Setting up geoip-database (20170512-1) ...
- 2019-07-01 09:54:27,436: DEBUG - Setting up python3-geoip (1.3.2-1+b2) ...
- 2019-07-01 09:54:27,637: DEBUG - Setting up python3-colorama (0.3.7-1) ...
- 2019-07-01 09:54:28,239: DEBUG - Setting up python3-geojson (1.3.1-1) ...
- 2019-07-01 09:54:28,841: DEBUG - Setting up python3-markupsafe (0.23-3) ...
- 2019-07-01 09:54:29,544: DEBUG - Setting up python3-jinja2 (2.8-1) ...
- 2019-07-01 09:54:30,346: DEBUG - Setting up python3-itsdangerous (0.24+dfsg1-2) ...
- 2019-07-01 09:54:30,848: DEBUG - Setting up python3-click (6.6-1) ...
- 2019-07-01 09:54:31,550: DEBUG - Setting up python3-flask (0.12.1-1) ...
- 2019-07-01 09:54:32,854: DEBUG - + [[ -n /tmp/tmp.WXMBLeXvQJ ]]
- 2019-07-01 09:54:32,854: DEBUG - + rm -rf /tmp/tmp.WXMBLeXvQJ
- 2019-07-01 09:54:32,855: DEBUG - + ynh_package_is_installed shsd-ynh-deps
- 2019-07-01 09:54:32,855: DEBUG - + local legacy_args=p
- 2019-07-01 09:54:32,855: DEBUG - + args_array=([p]=package=)
- 2019-07-01 09:54:32,856: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:32,856: DEBUG - + local package
- 2019-07-01 09:54:32,857: DEBUG - + ynh_handle_getopts_args shsd-ynh-deps
- 2019-07-01 09:54:32,857: DEBUG - + set +x
- 2019-07-01 09:54:32,857: DEBUG - + echo '! Helper used in legacy mode !'
- 2019-07-01 09:54:32,857: DEBUG - + set +x
- 2019-07-01 09:54:32,858: DEBUG - + ynh_wait_dpkg_free
- 2019-07-01 09:54:32,858: DEBUG - + local try
- 2019-07-01 09:54:32,858: DEBUG - ++ seq 1 17
- 2019-07-01 09:54:32,859: DEBUG - + for try in `seq 1 17`
- 2019-07-01 09:54:32,859: DEBUG - + sudo lsof /var/lib/dpkg/lock
- 2019-07-01 09:54:33,361: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
- 2019-07-01 09:54:33,362: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
- 2019-07-01 09:54:33,362: DEBUG - + read dpkg_file
- 2019-07-01 09:54:33,362: DEBUG - + echo ''
- 2019-07-01 09:54:33,362: DEBUG - + grep -Pq '^[[:digit:]]+$'
- 2019-07-01 09:54:33,363: DEBUG - + read dpkg_file
- 2019-07-01 09:54:33,363: DEBUG - + return 0
- 2019-07-01 09:54:33,363: DEBUG - + dpkg-query -W -f '${Status}' shsd-ynh-deps
- 2019-07-01 09:54:33,364: DEBUG - + grep -c 'ok installed'
- 2019-07-01 09:54:33,464: DEBUG - + rm /tmp/shsd-ynh-deps.control
- 2019-07-01 09:54:33,465: DEBUG - + ynh_app_setting_set --app=shsd --key=apt_dependencies '--value=python3, python3-sqlalchemy, python3-flask, python3-geojson, python3-geoip, geoip-database-extra'
- 2019-07-01 09:54:33,465: DEBUG - + local legacy_args=akv
- 2019-07-01 09:54:33,465: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
- 2019-07-01 09:54:33,466: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:33,466: DEBUG - + local app
- 2019-07-01 09:54:33,466: DEBUG - + local key
- 2019-07-01 09:54:33,467: DEBUG - + local value
- 2019-07-01 09:54:33,467: DEBUG - + ynh_handle_getopts_args --app=shsd --key=apt_dependencies '--value=python3, python3-sqlalchemy, python3-flask, python3-geojson, python3-geoip, geoip-database-extra'
- 2019-07-01 09:54:33,467: DEBUG - + set +x
- 2019-07-01 09:54:33,468: DEBUG - + ynh_app_setting set shsd apt_dependencies 'python3, python3-sqlalchemy, python3-flask, python3-geojson, python3-geoip, geoip-database-extra'
- 2019-07-01 09:54:33,468: DEBUG - + ACTION=set
- 2019-07-01 09:54:33,468: DEBUG - + APP=shsd
- 2019-07-01 09:54:33,469: DEBUG - + KEY=apt_dependencies
- 2019-07-01 09:54:33,469: DEBUG - + VALUE='python3, python3-sqlalchemy, python3-flask, python3-geojson, python3-geoip, geoip-database-extra'
- 2019-07-01 09:54:33,469: DEBUG - + python -
- 2019-07-01 09:54:33,770: DEBUG - + ynh_app_setting_set shsd final_path /var/www/shsd
- 2019-07-01 09:54:33,771: DEBUG - + local legacy_args=akv
- 2019-07-01 09:54:33,771: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
- 2019-07-01 09:54:33,772: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:33,772: DEBUG - + local app
- 2019-07-01 09:54:33,772: DEBUG - + local key
- 2019-07-01 09:54:33,772: DEBUG - + local value
- 2019-07-01 09:54:33,773: DEBUG - + ynh_handle_getopts_args shsd final_path /var/www/shsd
- 2019-07-01 09:54:33,773: DEBUG - + set +x
- 2019-07-01 09:54:33,773: DEBUG - + echo '! Helper used in legacy mode !'
- 2019-07-01 09:54:33,774: DEBUG - + set +x
- 2019-07-01 09:54:33,774: DEBUG - + ynh_app_setting set shsd final_path /var/www/shsd
- 2019-07-01 09:54:33,774: DEBUG - + ACTION=set
- 2019-07-01 09:54:33,774: DEBUG - + APP=shsd
- 2019-07-01 09:54:33,775: DEBUG - + KEY=final_path
- 2019-07-01 09:54:33,775: DEBUG - + VALUE=/var/www/shsd
- 2019-07-01 09:54:33,775: DEBUG - + python -
- 2019-07-01 09:54:34,076: DEBUG - + mkdir -p /var/www/shsd
- 2019-07-01 09:54:34,077: WARNING - --2019-07-01 09:54:34-- https://github.com/dynamid/shsd/archive/master.zip
- 2019-07-01 09:54:34,080: DEBUG - + wget https://github.com/dynamid/shsd/archive/master.zip -O /tmp/shsd.zip
- 2019-07-01 09:54:34,180: WARNING - Resolving github.com (github.com)... 140.82.118.3
- 2019-07-01 09:54:34,181: WARNING - Connecting to github.com (github.com)|140.82.118.3|:443... connected.
- 2019-07-01 09:54:34,482: WARNING - HTTP request sent, awaiting response... 302 Found
- 2019-07-01 09:54:34,483: WARNING - Location: https://codeload.github.com/dynamid/shsd/zip/master [following]
- 2019-07-01 09:54:34,484: WARNING - --2019-07-01 09:54:34-- https://codeload.github.com/dynamid/shsd/zip/master
- 2019-07-01 09:54:34,484: WARNING - Resolving codeload.github.com (codeload.github.com)... 192.30.253.120
- 2019-07-01 09:54:34,585: WARNING - Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected.
- 2019-07-01 09:54:34,886: WARNING - HTTP request sent, awaiting response... 200 OK
- 2019-07-01 09:54:34,887: WARNING - Length: unspecified [application/zip]
- 2019-07-01 09:54:34,888: WARNING - Saving to: ‘/tmp/shsd.zip’
- 2019-07-01 09:54:34,888: WARNING -
- 2019-07-01 09:54:35,190: WARNING - 0K .......... .......... .......... .......... .......... 234K
- 2019-07-01 09:54:35,191: WARNING - 50K .......... .......... .......... .......... .......... 535K
- 2019-07-01 09:54:35,291: WARNING - 100K .......... .......... .......... .......... .......... 11.0M
- 2019-07-01 09:54:35,292: WARNING - 150K .......... .......... .......... .......... .......... 523K
- 2019-07-01 09:54:35,393: WARNING - 200K .......... .......... .......... .......... .......... 10.9M
- 2019-07-01 09:54:35,394: WARNING - 250K .......... .......... .......... .......... .......... 12.5M
- 2019-07-01 09:54:35,394: WARNING - 300K .......... .......... .......... .......... .......... 1.30M
- 2019-07-01 09:54:35,495: DEBUG - + unzip -u /tmp/shsd.zip -d /tmp
- 2019-07-01 09:54:35,496: WARNING - 350K .......... .......... .......... .......... ... 734K=0.5s
- 2019-07-01 09:54:35,497: DEBUG - Archive: /tmp/shsd.zip
- 2019-07-01 09:54:35,497: WARNING -
- 2019-07-01 09:54:35,498: DEBUG - 4dd744a96bf11cb303ff1f7180790c1536580aa2
- 2019-07-01 09:54:35,499: WARNING - 2019-07-01 09:54:35 (768 KB/s) - ‘/tmp/shsd.zip’ saved [403174]
- 2019-07-01 09:54:35,499: DEBUG - creating: /tmp/shsd-master/
- 2019-07-01 09:54:35,500: WARNING -
- 2019-07-01 09:54:35,500: DEBUG - inflating: /tmp/shsd-master/.gitignore
- 2019-07-01 09:54:35,501: DEBUG - inflating: /tmp/shsd-master/INSTALL.md
- 2019-07-01 09:54:35,501: DEBUG - inflating: /tmp/shsd-master/LICENSE
- 2019-07-01 09:54:35,502: DEBUG - inflating: /tmp/shsd-master/README.md
- 2019-07-01 09:54:35,502: DEBUG - creating: /tmp/shsd-master/core/
- 2019-07-01 09:54:35,502: DEBUG - inflating: /tmp/shsd-master/core/daemon.py
- 2019-07-01 09:54:35,503: DEBUG - inflating: /tmp/shsd-master/core/database.py
- 2019-07-01 09:54:35,503: DEBUG - inflating: /tmp/shsd-master/core/shsd.py
- 2019-07-01 09:54:35,503: DEBUG - creating: /tmp/shsd-master/core/static/
- 2019-07-01 09:54:35,504: DEBUG - inflating: /tmp/shsd-master/core/static/Functions.js
- 2019-07-01 09:54:35,504: DEBUG - extracting: /tmp/shsd-master/core/static/logo.png
- 2019-07-01 09:54:35,504: DEBUG - inflating: /tmp/shsd-master/core/static/style.css
- 2019-07-01 09:54:35,505: DEBUG - creating: /tmp/shsd-master/core/templates/
- 2019-07-01 09:54:35,505: DEBUG - inflating: /tmp/shsd-master/core/templates/about.html
- 2019-07-01 09:54:35,505: DEBUG - inflating: /tmp/shsd-master/core/templates/details.html
- 2019-07-01 09:54:35,506: DEBUG - inflating: /tmp/shsd-master/core/templates/index.html
- 2019-07-01 09:54:35,506: DEBUG - creating: /tmp/shsd-master/doc/
- 2019-07-01 09:54:35,506: DEBUG - inflating: /tmp/shsd-master/doc/apache.conf
- 2019-07-01 09:54:35,507: DEBUG - inflating: /tmp/shsd-master/doc/screenshot.png
- 2019-07-01 09:54:35,507: DEBUG - inflating: /tmp/shsd-master/doc/shsd.wsgi
- 2019-07-01 09:54:35,508: DEBUG - extracting: /tmp/shsd-master/requirements.txt
- 2019-07-01 09:54:35,508: DEBUG - inflating: /tmp/shsd-master/shsd.conf
- 2019-07-01 09:54:35,508: DEBUG - creating: /tmp/shsd-master/workers/
- 2019-07-01 09:54:35,508: DEBUG - creating: /tmp/shsd-master/workers/devices/
- 2019-07-01 09:54:35,509: DEBUG - inflating: /tmp/shsd-master/workers/devices/arpdevices.py
- 2019-07-01 09:54:35,509: DEBUG - creating: /tmp/shsd-master/workers/loggers/
- 2019-07-01 09:54:35,509: DEBUG - inflating: /tmp/shsd-master/workers/loggers/auth-nginx.py
- 2019-07-01 09:54:35,510: DEBUG - inflating: /tmp/shsd-master/workers/loggers/imap-dovecot.py
- 2019-07-01 09:54:35,510: DEBUG - inflating: /tmp/shsd-master/workers/loggers/ssh-sshd.py
- 2019-07-01 09:54:35,511: DEBUG - + mv /tmp/shsd-master/core /tmp/shsd-master/doc /tmp/shsd-master/INSTALL.md /tmp/shsd-master/LICENSE /tmp/shsd-master/README.md /tmp/shsd-master/requirements.txt /tmp/shsd-master/shsd.conf /tmp/shsd-master/workers /var/www/shsd
- 2019-07-01 09:54:35,511: DEBUG - + ynh_secure_remove /tmp/shsd.zip
- 2019-07-01 09:54:35,511: DEBUG - + local legacy_args=f
- 2019-07-01 09:54:35,512: DEBUG - + args_array=([f]=file=)
- 2019-07-01 09:54:35,512: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:35,512: DEBUG - + local file
- 2019-07-01 09:54:35,513: DEBUG - + ynh_handle_getopts_args /tmp/shsd.zip
- 2019-07-01 09:54:35,513: DEBUG - + set +x
- 2019-07-01 09:54:35,513: DEBUG - + echo '! Helper used in legacy mode !'
- 2019-07-01 09:54:35,513: DEBUG - + set +x
- 2019-07-01 09:54:35,514: DEBUG - + local 'forbidden_path= /var/www /home/yunohost.app'
- 2019-07-01 09:54:35,514: DEBUG - + '[' 1 -ge 2 ']'
- 2019-07-01 09:54:35,514: DEBUG - + [[ /var/www /home/yunohost.app =~ /tmp/shsd\.zip ]]
- 2019-07-01 09:54:35,515: DEBUG - + [[ /tmp/shsd.zip =~ ^/[[:alnum:]]+$ ]]
- 2019-07-01 09:54:35,515: DEBUG - + [[ p = \/ ]]
- 2019-07-01 09:54:35,515: DEBUG - + '[' -e /tmp/shsd.zip ']'
- 2019-07-01 09:54:35,516: DEBUG - + sudo rm -R /tmp/shsd.zip
- 2019-07-01 09:54:35,516: DEBUG - + ynh_secure_remove /tmp/shsd-master
- 2019-07-01 09:54:35,516: DEBUG - + local legacy_args=f
- 2019-07-01 09:54:35,517: DEBUG - + args_array=([f]=file=)
- 2019-07-01 09:54:35,517: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:35,517: DEBUG - + local file
- 2019-07-01 09:54:35,518: DEBUG - + ynh_handle_getopts_args /tmp/shsd-master
- 2019-07-01 09:54:35,518: DEBUG - + set +x
- 2019-07-01 09:54:35,518: DEBUG - + echo '! Helper used in legacy mode !'
- 2019-07-01 09:54:35,519: DEBUG - + set +x
- 2019-07-01 09:54:35,519: DEBUG - + local 'forbidden_path= /var/www /home/yunohost.app'
- 2019-07-01 09:54:35,519: DEBUG - + '[' 1 -ge 2 ']'
- 2019-07-01 09:54:35,520: DEBUG - + [[ /var/www /home/yunohost.app =~ /tmp/shsd-master ]]
- 2019-07-01 09:54:35,520: DEBUG - + [[ /tmp/shsd-master =~ ^/[[:alnum:]]+$ ]]
- 2019-07-01 09:54:35,520: DEBUG - + [[ r = \/ ]]
- 2019-07-01 09:54:35,521: DEBUG - + '[' -e /tmp/shsd-master ']'
- 2019-07-01 09:54:35,521: DEBUG - + sudo rm -R /tmp/shsd-master
- 2019-07-01 09:54:35,621: DEBUG - + ynh_add_nginx_config
- 2019-07-01 09:54:35,622: DEBUG - + finalnginxconf=/etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:35,622: DEBUG - + local others_var=
- 2019-07-01 09:54:35,623: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:35,623: DEBUG - + local legacy_args=f
- 2019-07-01 09:54:35,623: DEBUG - + args_array=([f]=file=)
- 2019-07-01 09:54:35,624: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:35,624: DEBUG - + local file
- 2019-07-01 09:54:35,624: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:35,625: DEBUG - + set +x
- 2019-07-01 09:54:35,625: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_DOMAIN.d_shsd.conf
- 2019-07-01 09:54:35,625: DEBUG - ++ ynh_app_setting_get --app=shsd --key=checksum__etc_nginx_conf.d_DOMAIN.d_shsd.conf
- 2019-07-01 09:54:35,625: DEBUG - ++ local legacy_args=ak
- 2019-07-01 09:54:35,626: DEBUG - ++ args_array=([a]=app= [k]=key=)
- 2019-07-01 09:54:35,626: DEBUG - ++ declare -Ar args_array
- 2019-07-01 09:54:35,626: DEBUG - ++ local app
- 2019-07-01 09:54:35,627: DEBUG - ++ local key
- 2019-07-01 09:54:35,627: DEBUG - ++ ynh_handle_getopts_args --app=shsd --key=checksum__etc_nginx_conf.d_DOMAIN.d_shsd.conf
- 2019-07-01 09:54:35,627: DEBUG - ++ set +x
- 2019-07-01 09:54:35,628: DEBUG - ++ ynh_app_setting get shsd checksum__etc_nginx_conf.d_DOMAIN.d_shsd.conf
- 2019-07-01 09:54:35,628: DEBUG - ++ ACTION=get
- 2019-07-01 09:54:35,628: DEBUG - ++ APP=shsd
- 2019-07-01 09:54:35,628: DEBUG - ++ KEY=checksum__etc_nginx_conf.d_DOMAIN.d_shsd.conf
- 2019-07-01 09:54:35,629: DEBUG - ++ VALUE=
- 2019-07-01 09:54:35,629: DEBUG - ++ python -
- 2019-07-01 09:54:36,031: DEBUG - + local checksum_value=
- 2019-07-01 09:54:36,031: DEBUG - + backup_file_checksum=
- 2019-07-01 09:54:36,032: DEBUG - + '[' -n '' ']'
- 2019-07-01 09:54:36,032: DEBUG - + sudo cp ../conf/nginx.conf /etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,032: DEBUG - + test -n /shsd
- 2019-07-01 09:54:36,033: DEBUG - + local path_url_slash_less=/shsd
- 2019-07-01 09:54:36,033: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/shsd/ --target_file=/etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,034: DEBUG - + local legacy_args=mrf
- 2019-07-01 09:54:36,034: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
- 2019-07-01 09:54:36,034: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:36,035: DEBUG - + local match_string
- 2019-07-01 09:54:36,035: DEBUG - + local replace_string
- 2019-07-01 09:54:36,035: DEBUG - + local target_file
- 2019-07-01 09:54:36,036: DEBUG - + ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/shsd/ --target_file=/etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,036: DEBUG - + set +x
- 2019-07-01 09:54:36,137: DEBUG - + local delimit=@
- 2019-07-01 09:54:36,138: DEBUG - + match_string=__PATH__/
- 2019-07-01 09:54:36,139: DEBUG - + replace_string=/shsd/
- 2019-07-01 09:54:36,139: DEBUG - + sudo sed --in-place s@__PATH__/@/shsd/@g /etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,140: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/shsd --target_file=/etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,140: DEBUG - + local legacy_args=mrf
- 2019-07-01 09:54:36,140: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
- 2019-07-01 09:54:36,141: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:36,141: DEBUG - + local match_string
- 2019-07-01 09:54:36,141: DEBUG - + local replace_string
- 2019-07-01 09:54:36,142: DEBUG - + local target_file
- 2019-07-01 09:54:36,142: DEBUG - + ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/shsd --target_file=/etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,143: DEBUG - + set +x
- 2019-07-01 09:54:36,144: DEBUG - + local delimit=@
- 2019-07-01 09:54:36,144: DEBUG - + match_string=__PATH__
- 2019-07-01 09:54:36,145: DEBUG - + replace_string=/shsd
- 2019-07-01 09:54:36,145: DEBUG - + sudo sed --in-place s@__PATH__@/shsd@g /etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,246: DEBUG - + test -n DOMAIN
- 2019-07-01 09:54:36,246: DEBUG - + ynh_replace_string --match_string=__DOMAIN__ --replace_string=DOMAIN --target_file=/etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,247: DEBUG - + local legacy_args=mrf
- 2019-07-01 09:54:36,247: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
- 2019-07-01 09:54:36,248: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:36,248: DEBUG - + local match_string
- 2019-07-01 09:54:36,248: DEBUG - + local replace_string
- 2019-07-01 09:54:36,249: DEBUG - + local target_file
- 2019-07-01 09:54:36,249: DEBUG - + ynh_handle_getopts_args --match_string=__DOMAIN__ --replace_string=DOMAIN --target_file=/etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,249: DEBUG - + set +x
- 2019-07-01 09:54:36,250: DEBUG - + local delimit=@
- 2019-07-01 09:54:36,250: DEBUG - + match_string=__DOMAIN__
- 2019-07-01 09:54:36,250: DEBUG - + replace_string=DOMAIN
- 2019-07-01 09:54:36,251: DEBUG - + sudo sed --in-place s@__DOMAIN__@DOMAIN@g /etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,351: DEBUG - + test -n 8095
- 2019-07-01 09:54:36,352: DEBUG - + ynh_replace_string --match_string=__PORT__ --replace_string=8095 --target_file=/etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,352: DEBUG - + local legacy_args=mrf
- 2019-07-01 09:54:36,352: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
- 2019-07-01 09:54:36,353: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:36,353: DEBUG - + local match_string
- 2019-07-01 09:54:36,353: DEBUG - + local replace_string
- 2019-07-01 09:54:36,354: DEBUG - + local target_file
- 2019-07-01 09:54:36,354: DEBUG - + ynh_handle_getopts_args --match_string=__PORT__ --replace_string=8095 --target_file=/etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,354: DEBUG - + set +x
- 2019-07-01 09:54:36,354: DEBUG - + local delimit=@
- 2019-07-01 09:54:36,355: DEBUG - + match_string=__PORT__
- 2019-07-01 09:54:36,355: DEBUG - + replace_string=8095
- 2019-07-01 09:54:36,355: DEBUG - + sudo sed --in-place s@__PORT__@8095@g /etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,456: DEBUG - + test -n shsd
- 2019-07-01 09:54:36,457: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=shsd --target_file=/etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,457: DEBUG - + local legacy_args=mrf
- 2019-07-01 09:54:36,457: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
- 2019-07-01 09:54:36,457: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:36,458: DEBUG - + local match_string
- 2019-07-01 09:54:36,458: DEBUG - + local replace_string
- 2019-07-01 09:54:36,458: DEBUG - + local target_file
- 2019-07-01 09:54:36,459: DEBUG - + ynh_handle_getopts_args --match_string=__NAME__ --replace_string=shsd --target_file=/etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,459: DEBUG - + set +x
- 2019-07-01 09:54:36,459: DEBUG - + local delimit=@
- 2019-07-01 09:54:36,460: DEBUG - + match_string=__NAME__
- 2019-07-01 09:54:36,460: DEBUG - + replace_string=shsd
- 2019-07-01 09:54:36,460: DEBUG - + sudo sed --in-place s@__NAME__@shsd@g /etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,461: DEBUG - + test -n /var/www/shsd
- 2019-07-01 09:54:36,461: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/shsd --target_file=/etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,461: DEBUG - + local legacy_args=mrf
- 2019-07-01 09:54:36,462: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
- 2019-07-01 09:54:36,462: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:36,462: DEBUG - + local match_string
- 2019-07-01 09:54:36,463: DEBUG - + local replace_string
- 2019-07-01 09:54:36,463: DEBUG - + local target_file
- 2019-07-01 09:54:36,463: DEBUG - + ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/shsd --target_file=/etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,464: DEBUG - + set +x
- 2019-07-01 09:54:36,564: DEBUG - + local delimit=@
- 2019-07-01 09:54:36,565: DEBUG - + match_string=__FINALPATH__
- 2019-07-01 09:54:36,565: DEBUG - + replace_string=/var/www/shsd
- 2019-07-01 09:54:36,565: DEBUG - + sudo sed --in-place s@__FINALPATH__@/var/www/shsd@g /etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,566: DEBUG - + '[' /shsd '!=' / ']'
- 2019-07-01 09:54:36,566: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,566: DEBUG - + local legacy_args=mrf
- 2019-07-01 09:54:36,567: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
- 2019-07-01 09:54:36,567: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:36,567: DEBUG - + local match_string
- 2019-07-01 09:54:36,568: DEBUG - + local replace_string
- 2019-07-01 09:54:36,568: DEBUG - + local target_file
- 2019-07-01 09:54:36,568: DEBUG - + ynh_handle_getopts_args '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,569: DEBUG - + set +x
- 2019-07-01 09:54:36,569: DEBUG - + local delimit=@
- 2019-07-01 09:54:36,569: DEBUG - + match_string='^#sub_path_only'
- 2019-07-01 09:54:36,569: DEBUG - + replace_string=
- 2019-07-01 09:54:36,570: DEBUG - + sudo sed --in-place 's@^#sub_path_only@@g' /etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,670: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,671: DEBUG - + local legacy_args=f
- 2019-07-01 09:54:36,671: DEBUG - + args_array=([f]=file=)
- 2019-07-01 09:54:36,672: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:36,672: DEBUG - + local file
- 2019-07-01 09:54:36,672: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,672: DEBUG - + set +x
- 2019-07-01 09:54:36,673: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_DOMAIN.d_shsd.conf
- 2019-07-01 09:54:36,673: DEBUG - ++ sudo md5sum /etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:36,673: DEBUG - ++ cut '-d ' -f1
- 2019-07-01 09:54:36,674: DEBUG - + ynh_app_setting_set --app=shsd --key=checksum__etc_nginx_conf.d_DOMAIN.d_shsd.conf --value=80b3c9b800411b70f5e6720673e59007
- 2019-07-01 09:54:36,674: DEBUG - + local legacy_args=akv
- 2019-07-01 09:54:36,674: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
- 2019-07-01 09:54:36,675: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:36,675: DEBUG - + local app
- 2019-07-01 09:54:36,675: DEBUG - + local key
- 2019-07-01 09:54:36,675: DEBUG - + local value
- 2019-07-01 09:54:36,676: DEBUG - + ynh_handle_getopts_args --app=shsd --key=checksum__etc_nginx_conf.d_DOMAIN.d_shsd.conf --value=80b3c9b800411b70f5e6720673e59007
- 2019-07-01 09:54:36,676: DEBUG - + set +x
- 2019-07-01 09:54:36,777: DEBUG - + ynh_app_setting set shsd checksum__etc_nginx_conf.d_DOMAIN.d_shsd.conf 80b3c9b800411b70f5e6720673e59007
- 2019-07-01 09:54:36,777: DEBUG - + ACTION=set
- 2019-07-01 09:54:36,778: DEBUG - + APP=shsd
- 2019-07-01 09:54:36,778: DEBUG - + KEY=checksum__etc_nginx_conf.d_DOMAIN.d_shsd.conf
- 2019-07-01 09:54:36,778: DEBUG - + VALUE=80b3c9b800411b70f5e6720673e59007
- 2019-07-01 09:54:36,779: DEBUG - + python -
- 2019-07-01 09:54:37,080: DEBUG - + '[' -n '' ']'
- 2019-07-01 09:54:37,080: INFO - Reload the service nginx
- 2019-07-01 09:54:37,081: DEBUG - + unset backup_file_checksum
- 2019-07-01 09:54:37,081: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
- 2019-07-01 09:54:37,082: DEBUG - + local legacy_args=nalpte
- 2019-07-01 09:54:37,082: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
- 2019-07-01 09:54:37,082: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:37,083: DEBUG - + local service_name
- 2019-07-01 09:54:37,083: DEBUG - + local action
- 2019-07-01 09:54:37,083: DEBUG - + local line_match
- 2019-07-01 09:54:37,084: DEBUG - + local length
- 2019-07-01 09:54:37,084: DEBUG - + local log_path
- 2019-07-01 09:54:37,084: DEBUG - + local timeout
- 2019-07-01 09:54:37,085: DEBUG - + ynh_handle_getopts_args --service_name=nginx --action=reload
- 2019-07-01 09:54:37,085: DEBUG - + set +x
- 2019-07-01 09:54:37,085: DEBUG - + local service_name=nginx
- 2019-07-01 09:54:37,085: DEBUG - + local action=reload
- 2019-07-01 09:54:37,086: DEBUG - + local log_path=/var/log/nginx/nginx.log
- 2019-07-01 09:54:37,086: DEBUG - + local length=20
- 2019-07-01 09:54:37,086: DEBUG - + local timeout=300
- 2019-07-01 09:54:37,087: DEBUG - + [[ -n '' ]]
- 2019-07-01 09:54:37,087: DEBUG - + ynh_print_info '--message=Reload the service nginx'
- 2019-07-01 09:54:37,087: DEBUG - + local legacy_args=m
- 2019-07-01 09:54:37,088: DEBUG - + args_array=([m]=message=)
- 2019-07-01 09:54:37,088: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:37,088: DEBUG - + local message
- 2019-07-01 09:54:37,088: DEBUG - + ynh_handle_getopts_args '--message=Reload the service nginx'
- 2019-07-01 09:54:37,089: DEBUG - + set +x
- 2019-07-01 09:54:37,089: DEBUG - + echo 'Reload the service nginx'
- 2019-07-01 09:54:37,089: DEBUG - + '[' reload == reload ']'
- 2019-07-01 09:54:37,090: DEBUG - + action=reload-or-restart
- 2019-07-01 09:54:37,090: DEBUG - + systemctl reload-or-restart nginx
- 2019-07-01 09:54:37,190: DEBUG - + [[ -n '' ]]
- 2019-07-01 09:54:37,191: DEBUG - + '[' /shsd '!=' / ']'
- 2019-07-01 09:54:37,191: DEBUG - + ynh_replace_string '^#sub_path_only' '' /etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:37,192: DEBUG - + local legacy_args=mrf
- 2019-07-01 09:54:37,192: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
- 2019-07-01 09:54:37,192: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:37,193: DEBUG - + local match_string
- 2019-07-01 09:54:37,193: DEBUG - + local replace_string
- 2019-07-01 09:54:37,194: DEBUG - + local target_file
- 2019-07-01 09:54:37,194: DEBUG - + ynh_handle_getopts_args '^#sub_path_only' '' /etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:37,194: DEBUG - + set +x
- 2019-07-01 09:54:37,295: DEBUG - + echo '! Helper used in legacy mode !'
- 2019-07-01 09:54:37,296: DEBUG - + set +x
- 2019-07-01 09:54:37,296: DEBUG - + local delimit=@
- 2019-07-01 09:54:37,296: DEBUG - + match_string='^#sub_path_only'
- 2019-07-01 09:54:37,297: DEBUG - + replace_string=
- 2019-07-01 09:54:37,297: DEBUG - + sudo sed --in-place 's@^#sub_path_only@@g' /etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:37,297: DEBUG - + ynh_store_file_checksum /etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:37,298: DEBUG - + local legacy_args=f
- 2019-07-01 09:54:37,298: DEBUG - + args_array=([f]=file=)
- 2019-07-01 09:54:37,299: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:37,299: DEBUG - + local file
- 2019-07-01 09:54:37,299: DEBUG - + ynh_handle_getopts_args /etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:37,300: DEBUG - + set +x
- 2019-07-01 09:54:37,300: DEBUG - + echo '! Helper used in legacy mode !'
- 2019-07-01 09:54:37,301: DEBUG - + set +x
- 2019-07-01 09:54:37,301: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_DOMAIN.d_shsd.conf
- 2019-07-01 09:54:37,301: DEBUG - ++ sudo md5sum /etc/nginx/conf.d/DOMAIN.d/shsd.conf
- 2019-07-01 09:54:37,302: DEBUG - ++ cut '-d ' -f1
- 2019-07-01 09:54:37,403: DEBUG - + ynh_app_setting_set --app=shsd --key=checksum__etc_nginx_conf.d_DOMAIN.d_shsd.conf --value=80b3c9b800411b70f5e6720673e59007
- 2019-07-01 09:54:37,403: DEBUG - + local legacy_args=akv
- 2019-07-01 09:54:37,403: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
- 2019-07-01 09:54:37,404: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:37,404: DEBUG - + local app
- 2019-07-01 09:54:37,404: DEBUG - + local key
- 2019-07-01 09:54:37,405: DEBUG - + local value
- 2019-07-01 09:54:37,405: DEBUG - + ynh_handle_getopts_args --app=shsd --key=checksum__etc_nginx_conf.d_DOMAIN.d_shsd.conf --value=80b3c9b800411b70f5e6720673e59007
- 2019-07-01 09:54:37,405: DEBUG - + set +x
- 2019-07-01 09:54:37,406: DEBUG - + ynh_app_setting set shsd checksum__etc_nginx_conf.d_DOMAIN.d_shsd.conf 80b3c9b800411b70f5e6720673e59007
- 2019-07-01 09:54:37,406: DEBUG - + ACTION=set
- 2019-07-01 09:54:37,406: DEBUG - + APP=shsd
- 2019-07-01 09:54:37,407: DEBUG - + KEY=checksum__etc_nginx_conf.d_DOMAIN.d_shsd.conf
- 2019-07-01 09:54:37,407: DEBUG - + VALUE=80b3c9b800411b70f5e6720673e59007
- 2019-07-01 09:54:37,407: DEBUG - + python -
- 2019-07-01 09:54:37,708: DEBUG - + '[' -n '' ']'
- 2019-07-01 09:54:37,709: DEBUG - + unset backup_file_checksum
- 2019-07-01 09:54:37,709: DEBUG - + sudo service nginx reload
- 2019-07-01 09:54:37,910: DEBUG - + ynh_system_user_create shsd
- 2019-07-01 09:54:37,910: DEBUG - + local legacy_args=uhs
- 2019-07-01 09:54:37,911: DEBUG - + args_array=([u]=username= [h]=home_dir= [s]=use_shell)
- 2019-07-01 09:54:37,911: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:37,911: DEBUG - + local username
- 2019-07-01 09:54:37,912: DEBUG - + local home_dir
- 2019-07-01 09:54:37,912: DEBUG - + local use_shell
- 2019-07-01 09:54:37,912: DEBUG - + ynh_handle_getopts_args shsd
- 2019-07-01 09:54:37,913: DEBUG - + set +x
- 2019-07-01 09:54:37,913: DEBUG - + echo '! Helper used in legacy mode !'
- 2019-07-01 09:54:37,913: DEBUG - + set +x
- 2019-07-01 09:54:37,914: DEBUG - + use_shell=0
- 2019-07-01 09:54:37,914: DEBUG - + home_dir=
- 2019-07-01 09:54:37,914: DEBUG - + ynh_system_user_exists shsd
- 2019-07-01 09:54:37,914: DEBUG - + local legacy_args=u
- 2019-07-01 09:54:37,915: DEBUG - + args_array=([u]=username=)
- 2019-07-01 09:54:37,915: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:37,915: DEBUG - + local username
- 2019-07-01 09:54:37,916: DEBUG - + ynh_handle_getopts_args shsd
- 2019-07-01 09:54:37,916: DEBUG - + set +x
- 2019-07-01 09:54:37,916: DEBUG - + echo '! Helper used in legacy mode !'
- 2019-07-01 09:54:37,916: DEBUG - + set +x
- 2019-07-01 09:54:37,917: DEBUG - + getent passwd shsd
- 2019-07-01 09:54:37,917: DEBUG - + '[' -n '' ']'
- 2019-07-01 09:54:37,917: DEBUG - + local user_home_dir=--no-create-home
- 2019-07-01 09:54:37,918: DEBUG - + '[' 0 -eq 1 ']'
- 2019-07-01 09:54:37,918: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
- 2019-07-01 09:54:37,918: DEBUG - + useradd --no-create-home --system --user-group shsd --shell /usr/sbin/nologin
- 2019-07-01 09:54:43,132: DEBUG - + sudo mv /var/www/shsd/shsd.conf /etc/
- 2019-07-01 09:54:43,233: DEBUG - + ynh_add_systemd_config
- 2019-07-01 09:54:43,233: DEBUG - + local legacy_args=st
- 2019-07-01 09:54:43,234: DEBUG - + args_array=([s]=service= [t]=template=)
- 2019-07-01 09:54:43,234: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:43,235: DEBUG - + local service
- 2019-07-01 09:54:43,235: DEBUG - + local template
- 2019-07-01 09:54:43,235: DEBUG - + ynh_handle_getopts_args
- 2019-07-01 09:54:43,236: DEBUG - + set +x
- 2019-07-01 09:54:43,236: DEBUG - + local service=shsd
- 2019-07-01 09:54:43,236: DEBUG - + local template=systemd.service
- 2019-07-01 09:54:43,237: DEBUG - + finalsystemdconf=/etc/systemd/system/shsd.service
- 2019-07-01 09:54:43,237: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/systemd/system/shsd.service
- 2019-07-01 09:54:43,237: DEBUG - + local legacy_args=f
- 2019-07-01 09:54:43,238: DEBUG - + args_array=([f]=file=)
- 2019-07-01 09:54:43,238: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:43,238: DEBUG - + local file
- 2019-07-01 09:54:43,239: DEBUG - + ynh_handle_getopts_args --file=/etc/systemd/system/shsd.service
- 2019-07-01 09:54:43,239: DEBUG - + set +x
- 2019-07-01 09:54:43,239: DEBUG - + local checksum_setting_name=checksum__etc_systemd_system_shsd.service
- 2019-07-01 09:54:43,240: DEBUG - ++ ynh_app_setting_get --app=shsd --key=checksum__etc_systemd_system_shsd.service
- 2019-07-01 09:54:43,240: DEBUG - ++ local legacy_args=ak
- 2019-07-01 09:54:43,240: DEBUG - ++ args_array=([a]=app= [k]=key=)
- 2019-07-01 09:54:43,241: DEBUG - ++ declare -Ar args_array
- 2019-07-01 09:54:43,241: DEBUG - ++ local app
- 2019-07-01 09:54:43,241: DEBUG - ++ local key
- 2019-07-01 09:54:43,242: DEBUG - ++ ynh_handle_getopts_args --app=shsd --key=checksum__etc_systemd_system_shsd.service
- 2019-07-01 09:54:43,242: DEBUG - ++ set +x
- 2019-07-01 09:54:43,242: DEBUG - ++ ynh_app_setting get shsd checksum__etc_systemd_system_shsd.service
- 2019-07-01 09:54:43,243: DEBUG - ++ ACTION=get
- 2019-07-01 09:54:43,243: DEBUG - ++ APP=shsd
- 2019-07-01 09:54:43,243: DEBUG - ++ KEY=checksum__etc_systemd_system_shsd.service
- 2019-07-01 09:54:43,244: DEBUG - ++ VALUE=
- 2019-07-01 09:54:43,244: DEBUG - ++ python -
- 2019-07-01 09:54:43,645: DEBUG - + local checksum_value=
- 2019-07-01 09:54:43,646: DEBUG - + backup_file_checksum=
- 2019-07-01 09:54:43,647: DEBUG - + '[' -n '' ']'
- 2019-07-01 09:54:43,647: DEBUG - + sudo cp ../conf/systemd.service /etc/systemd/system/shsd.service
- 2019-07-01 09:54:43,647: DEBUG - + test -n /var/www/shsd
- 2019-07-01 09:54:43,648: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/shsd --target_file=/etc/systemd/system/shsd.service
- 2019-07-01 09:54:43,648: DEBUG - + local legacy_args=mrf
- 2019-07-01 09:54:43,649: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
- 2019-07-01 09:54:43,649: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:43,649: DEBUG - + local match_string
- 2019-07-01 09:54:43,649: DEBUG - + local replace_string
- 2019-07-01 09:54:43,650: DEBUG - + local target_file
- 2019-07-01 09:54:43,650: DEBUG - + ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/shsd --target_file=/etc/systemd/system/shsd.service
- 2019-07-01 09:54:43,650: DEBUG - + set +x
- 2019-07-01 09:54:43,751: DEBUG - + local delimit=@
- 2019-07-01 09:54:43,752: DEBUG - + match_string=__FINALPATH__
- 2019-07-01 09:54:43,752: DEBUG - + replace_string=/var/www/shsd
- 2019-07-01 09:54:43,752: DEBUG - + sudo sed --in-place s@__FINALPATH__@/var/www/shsd@g /etc/systemd/system/shsd.service
- 2019-07-01 09:54:43,753: DEBUG - + test -n shsd
- 2019-07-01 09:54:43,753: DEBUG - + ynh_replace_string --match_string=__APP__ --replace_string=shsd --target_file=/etc/systemd/system/shsd.service
- 2019-07-01 09:54:43,754: DEBUG - + local legacy_args=mrf
- 2019-07-01 09:54:43,754: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
- 2019-07-01 09:54:43,754: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:43,755: DEBUG - + local match_string
- 2019-07-01 09:54:43,755: DEBUG - + local replace_string
- 2019-07-01 09:54:43,755: DEBUG - + local target_file
- 2019-07-01 09:54:43,756: DEBUG - + ynh_handle_getopts_args --match_string=__APP__ --replace_string=shsd --target_file=/etc/systemd/system/shsd.service
- 2019-07-01 09:54:43,756: DEBUG - + set +x
- 2019-07-01 09:54:43,857: DEBUG - + local delimit=@
- 2019-07-01 09:54:43,857: DEBUG - + match_string=__APP__
- 2019-07-01 09:54:43,858: DEBUG - + replace_string=shsd
- 2019-07-01 09:54:43,858: DEBUG - + sudo sed --in-place s@__APP__@shsd@g /etc/systemd/system/shsd.service
- 2019-07-01 09:54:43,858: DEBUG - + ynh_store_file_checksum --file=/etc/systemd/system/shsd.service
- 2019-07-01 09:54:43,859: DEBUG - + local legacy_args=f
- 2019-07-01 09:54:43,859: DEBUG - + args_array=([f]=file=)
- 2019-07-01 09:54:43,859: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:43,860: DEBUG - + local file
- 2019-07-01 09:54:43,860: DEBUG - + ynh_handle_getopts_args --file=/etc/systemd/system/shsd.service
- 2019-07-01 09:54:43,860: DEBUG - + set +x
- 2019-07-01 09:54:43,860: DEBUG - + local checksum_setting_name=checksum__etc_systemd_system_shsd.service
- 2019-07-01 09:54:43,861: DEBUG - ++ sudo md5sum /etc/systemd/system/shsd.service
- 2019-07-01 09:54:43,861: DEBUG - ++ cut '-d ' -f1
- 2019-07-01 09:54:43,962: DEBUG - + ynh_app_setting_set --app=shsd --key=checksum__etc_systemd_system_shsd.service --value=4b191273c5bb77ee6b5882fcd4c3f624
- 2019-07-01 09:54:43,962: DEBUG - + local legacy_args=akv
- 2019-07-01 09:54:43,962: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
- 2019-07-01 09:54:43,963: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:43,963: DEBUG - + local app
- 2019-07-01 09:54:43,963: DEBUG - + local key
- 2019-07-01 09:54:43,964: DEBUG - + local value
- 2019-07-01 09:54:43,964: DEBUG - + ynh_handle_getopts_args --app=shsd --key=checksum__etc_systemd_system_shsd.service --value=4b191273c5bb77ee6b5882fcd4c3f624
- 2019-07-01 09:54:43,964: DEBUG - + set +x
- 2019-07-01 09:54:43,965: DEBUG - + ynh_app_setting set shsd checksum__etc_systemd_system_shsd.service 4b191273c5bb77ee6b5882fcd4c3f624
- 2019-07-01 09:54:43,965: DEBUG - + ACTION=set
- 2019-07-01 09:54:43,965: DEBUG - + APP=shsd
- 2019-07-01 09:54:43,966: DEBUG - + KEY=checksum__etc_systemd_system_shsd.service
- 2019-07-01 09:54:43,966: DEBUG - + VALUE=4b191273c5bb77ee6b5882fcd4c3f624
- 2019-07-01 09:54:43,966: DEBUG - + python -
- 2019-07-01 09:54:44,368: DEBUG - + '[' -n '' ']'
- 2019-07-01 09:54:44,368: DEBUG - + unset backup_file_checksum
- 2019-07-01 09:54:44,369: DEBUG - + sudo chown root: /etc/systemd/system/shsd.service
- 2019-07-01 09:54:44,369: DEBUG - + sudo systemctl enable shsd
- 2019-07-01 09:54:44,470: WARNING - Created symlink /etc/systemd/system/multi-user.target.wants/shsd.service → /etc/systemd/system/shsd.service.
- 2019-07-01 09:54:45,073: DEBUG - + sudo systemctl daemon-reload
- 2019-07-01 09:54:45,474: DEBUG - + chown -R shsd: /var/www/shsd
- 2019-07-01 09:54:45,475: DEBUG - + chown -R shsd: /var/lib/shsd
- 2019-07-01 09:54:45,475: DEBUG - + ynh_app_setting_set shsd skipped_uris /
- 2019-07-01 09:54:45,475: DEBUG - + local legacy_args=akv
- 2019-07-01 09:54:45,476: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
- 2019-07-01 09:54:45,476: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:45,476: DEBUG - + local app
- 2019-07-01 09:54:45,477: DEBUG - + local key
- 2019-07-01 09:54:45,477: DEBUG - + local value
- 2019-07-01 09:54:45,477: DEBUG - + ynh_handle_getopts_args shsd skipped_uris /
- 2019-07-01 09:54:45,478: DEBUG - + set +x
- 2019-07-01 09:54:45,478: DEBUG - + echo '! Helper used in legacy mode !'
- 2019-07-01 09:54:45,478: DEBUG - + set +x
- 2019-07-01 09:54:45,579: DEBUG - + ynh_app_setting set shsd skipped_uris /
- 2019-07-01 09:54:45,579: DEBUG - + ACTION=set
- 2019-07-01 09:54:45,580: DEBUG - + APP=shsd
- 2019-07-01 09:54:45,580: DEBUG - + KEY=skipped_uris
- 2019-07-01 09:54:45,580: DEBUG - + VALUE=/
- 2019-07-01 09:54:45,581: DEBUG - + python -
- 2019-07-01 09:54:45,782: DEBUG - + yunohost app ssowatconf
- 2019-07-01 09:54:47,085: DEBUG - The SSOwat configuration has been generated
- 2019-07-01 09:54:47,086: DEBUG - + systemctl reload nginx
- 2019-07-01 09:54:47,287: DEBUG - + ynh_replace_string 5000 8095 /etc/shsd.conf
- 2019-07-01 09:54:47,287: DEBUG - + local legacy_args=mrf
- 2019-07-01 09:54:47,288: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
- 2019-07-01 09:54:47,288: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:47,288: DEBUG - + local match_string
- 2019-07-01 09:54:47,289: DEBUG - + local replace_string
- 2019-07-01 09:54:47,289: DEBUG - + local target_file
- 2019-07-01 09:54:47,289: DEBUG - + ynh_handle_getopts_args 5000 8095 /etc/shsd.conf
- 2019-07-01 09:54:47,289: DEBUG - + set +x
- 2019-07-01 09:54:47,290: DEBUG - + echo '! Helper used in legacy mode !'
- 2019-07-01 09:54:47,290: DEBUG - + set +x
- 2019-07-01 09:54:47,290: DEBUG - + local delimit=@
- 2019-07-01 09:54:47,291: DEBUG - + match_string=5000
- 2019-07-01 09:54:47,291: DEBUG - + replace_string=8095
- 2019-07-01 09:54:47,291: DEBUG - + sudo sed --in-place s@5000@8095@g /etc/shsd.conf
- 2019-07-01 09:54:47,392: DEBUG - + ynh_store_file_checksum /etc/shsd.conf
- 2019-07-01 09:54:47,393: DEBUG - + local legacy_args=f
- 2019-07-01 09:54:47,393: DEBUG - + args_array=([f]=file=)
- 2019-07-01 09:54:47,394: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:47,394: DEBUG - + local file
- 2019-07-01 09:54:47,394: DEBUG - + ynh_handle_getopts_args /etc/shsd.conf
- 2019-07-01 09:54:47,395: DEBUG - + set +x
- 2019-07-01 09:54:47,395: DEBUG - + echo '! Helper used in legacy mode !'
- 2019-07-01 09:54:47,396: DEBUG - + set +x
- 2019-07-01 09:54:47,396: DEBUG - + local checksum_setting_name=checksum__etc_shsd.conf
- 2019-07-01 09:54:47,396: DEBUG - ++ sudo md5sum /etc/shsd.conf
- 2019-07-01 09:54:47,397: DEBUG - ++ cut '-d ' -f1
- 2019-07-01 09:54:47,498: DEBUG - + ynh_app_setting_set --app=shsd --key=checksum__etc_shsd.conf --value=e1585f3242f1c788f6498281b57f396a
- 2019-07-01 09:54:47,499: DEBUG - + local legacy_args=akv
- 2019-07-01 09:54:47,501: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
- 2019-07-01 09:54:47,502: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:47,503: DEBUG - + local app
- 2019-07-01 09:54:47,504: DEBUG - + local key
- 2019-07-01 09:54:47,505: DEBUG - + local value
- 2019-07-01 09:54:47,507: DEBUG - + ynh_handle_getopts_args --app=shsd --key=checksum__etc_shsd.conf --value=e1585f3242f1c788f6498281b57f396a
- 2019-07-01 09:54:47,508: DEBUG - + set +x
- 2019-07-01 09:54:47,509: DEBUG - + ynh_app_setting set shsd checksum__etc_shsd.conf e1585f3242f1c788f6498281b57f396a
- 2019-07-01 09:54:47,510: DEBUG - + ACTION=set
- 2019-07-01 09:54:47,512: DEBUG - + APP=shsd
- 2019-07-01 09:54:47,513: DEBUG - + KEY=checksum__etc_shsd.conf
- 2019-07-01 09:54:47,514: DEBUG - + VALUE=e1585f3242f1c788f6498281b57f396a
- 2019-07-01 09:54:47,515: DEBUG - + python -
- 2019-07-01 09:54:47,817: DEBUG - + '[' -n '' ']'
- 2019-07-01 09:54:47,818: DEBUG - + unset backup_file_checksum
- 2019-07-01 09:54:47,818: DEBUG - + chown -R root: /var/www/shsd
- 2019-07-01 09:54:47,818: DEBUG - + yunohost service add shsd --log /var/log/daemon.log
- 2019-07-01 09:54:48,620: DEBUG - The service 'shsd' has been added
- 2019-07-01 09:54:48,621: DEBUG - + ynh_app_setting_delete shsd skipped_uris
- 2019-07-01 09:54:48,621: DEBUG - + local legacy_args=ak
- 2019-07-01 09:54:48,621: DEBUG - + args_array=([a]=app= [k]=key=)
- 2019-07-01 09:54:48,622: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:48,622: DEBUG - + local app
- 2019-07-01 09:54:48,622: DEBUG - + local key
- 2019-07-01 09:54:48,623: DEBUG - + ynh_handle_getopts_args shsd skipped_uris
- 2019-07-01 09:54:48,623: DEBUG - + set +x
- 2019-07-01 09:54:48,623: DEBUG - + echo '! Helper used in legacy mode !'
- 2019-07-01 09:54:48,624: DEBUG - + set +x
- 2019-07-01 09:54:48,624: DEBUG - + ynh_app_setting delete shsd skipped_uris
- 2019-07-01 09:54:48,624: DEBUG - + ACTION=delete
- 2019-07-01 09:54:48,624: DEBUG - + APP=shsd
- 2019-07-01 09:54:48,625: DEBUG - + KEY=skipped_uris
- 2019-07-01 09:54:48,625: DEBUG - + VALUE=
- 2019-07-01 09:54:48,625: DEBUG - + python -
- 2019-07-01 09:54:48,926: DEBUG - + systemctl reload nginx
- 2019-07-01 09:54:49,027: DEBUG - + systemctl start shsd
- 2019-07-01 09:54:49,129: DEBUG - + /var/www/shsd/workers/loggers/imap-dovecot.py
- 2019-07-01 09:54:49,129: WARNING - Traceback (most recent call last):
- 2019-07-01 09:54:49,130: DEBUG - + ynh_exit_properly
- 2019-07-01 09:54:49,131: WARNING - File "/var/www/shsd/workers/loggers/imap-dovecot.py", line 4, in <module>
- 2019-07-01 09:54:49,132: DEBUG - + local exit_code=1
- 2019-07-01 09:54:49,132: WARNING - import requests
- 2019-07-01 09:54:49,133: DEBUG - + '[' 1 -eq 0 ']'
- 2019-07-01 09:54:49,133: WARNING - ImportError: No module named 'requests'
- 2019-07-01 09:54:49,133: DEBUG - + trap '' EXIT
- 2019-07-01 09:54:49,134: WARNING - !!
- 2019-07-01 09:54:49,134: DEBUG - + set +eu
- 2019-07-01 09:54:49,135: WARNING - shsd's script has encountered an error. Its execution was cancelled.
- 2019-07-01 09:54:49,135: DEBUG - + echo -e '!!\n shsd'\''s script has encountered an error. Its execution was cancelled.\n!!'
- 2019-07-01 09:54:49,136: WARNING - !!
- 2019-07-01 09:54:49,136: DEBUG - + type -t ynh_clean_setup
- 2019-07-01 09:54:49,137: WARNING -
- 2019-07-01 09:54:49,137: DEBUG - + ynh_die
- 2019-07-01 09:54:49,137: DEBUG - + local legacy_args=mc
- 2019-07-01 09:54:49,138: DEBUG - + args_array=([m]=message= [c]=ret_code=)
- 2019-07-01 09:54:49,138: DEBUG - + declare -Ar args_array
- 2019-07-01 09:54:49,138: DEBUG - + local message
- 2019-07-01 09:54:49,139: DEBUG - + local ret_code
- 2019-07-01 09:54:49,139: DEBUG - + ynh_handle_getopts_args
- 2019-07-01 09:54:49,139: DEBUG - + set +x
- 2019-07-01 09:54:49,140: DEBUG - + echo ''
- 2019-07-01 09:54:49,140: DEBUG - + exit 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement