Yunohost: YunoHost 4.1.8 (stable).
HW: Raspberry Pi3 B+
yunohost app install zabbix --debug
301 DEBUG initializing base actions map parser for cli
306 DEBUG loading actions map namespace 'yunohost'
369 DEBUG building parser...
410 DEBUG building parser took 0.040s
415 DEBUG acquiring lock...
499 DEBUG lock has been acquired
573 DEBUG loading python module yunohost.app took 0.073s
573 INFO processing action [26102.1]: yunohost.app.install with args={'force': False, 'app': 'zabbix', 'args': None, 'label': None, 'no_remove_on_failure': Fal se}
713 DEBUG Downloading…
1819 DEBUG Done
1837 DEBUG Checking required packages for zabbix...
1863 DEBUG Checking that required services are up and running...
3578 DEBUG initialize authenticator 'as-root' with: uri='ldapi://%2Fvar%2Frun%2Fslapd%2Fldapi', base_dn='dc=yunohost,dc=org', user_rdn='gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth'
Choose the domain where this app should be installed [yunhostwallabag.home | yunhostzabbix.home | yunohostserverzwei.home] (default: yunohostserverzwei.home): ^C35293 DEBUG action [26102.1] executed in 34.719s
35296 DEBUG lock has been released
35322 ERROR Operation interrupted
root@yunohostserverzwei:~# yunohost app install zabbix --debug
300 DEBUG initializing base actions map parser for cli
305 DEBUG loading actions map namespace 'yunohost'
367 DEBUG building parser...
408 DEBUG building parser took 0.040s
413 DEBUG acquiring lock...
497 DEBUG lock has been acquired
569 DEBUG loading python module yunohost.app took 0.071s
569 INFO processing action [26134.1]: yunohost.app.install with args={'force': False, 'app': 'zabbix', 'args': None, 'label': None, 'no_remove_on_failure': False}
721 DEBUG Downloading…
1817 DEBUG Done
1830 DEBUG Checking required packages for zabbix...
1848 DEBUG Checking that required services are up and running...
3550 DEBUG initialize authenticator 'as-root' with: uri='ldapi://%2Fvar%2Frun%2Fslapd%2Fldapi', base_dn='dc=yunohost,dc=org', user_rdn='gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth'
Choose the domain where this app should be installed [yunhostwallabag.home | yunhostzabbix.home | yunohostserverzwei.home] (default: yunohostserverzwei.home): yunhostzabbix.home
Choose the path where this app should be installed (default: /zabbix): /zabbix
Choose an administrator user for this app [mrburns] (default: mrburns): mrburns
Should this app be exposed to anonymous visitors? [yes | no] (default: no): bo
47878 DEBUG action [26134.1] executed in 47.308s
47880 DEBUG lock has been released
47887 ERROR Use one of these choices 'yes, no, y, n, 1, 0' for the argument 'is_public'
root@yunohostserverzwei:~# yunohost app install zabbix --debug
305 DEBUG initializing base actions map parser for cli
309 DEBUG loading actions map namespace 'yunohost'
372 DEBUG building parser...
413 DEBUG building parser took 0.040s
418 DEBUG acquiring lock...
502 DEBUG lock has been acquired
573 DEBUG loading python module yunohost.app took 0.070s
573 INFO processing action [26215.1]: yunohost.app.install with args={'force': False, 'app': 'zabbix', 'args': None, 'label': None, 'no_remove_on_failure': False}
725 DEBUG Downloading…
1798 DEBUG Done
1812 DEBUG Checking required packages for zabbix...
1830 DEBUG Checking that required services are up and running...
3535 DEBUG initialize authenticator 'as-root' with: uri='ldapi://%2Fvar%2Frun%2Fslapd%2Fldapi', base_dn='dc=yunohost,dc=org', user_rdn='gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth'
Choose the domain where this app should be installed [yunhostwallabag.home | yunhostzabbix.home | yunohostserverzwei.home] (default: yunohostserverzwei.home): yunhostzabbix.home
Choose the path where this app should be installed (default: /zabbix): /zabbix
Choose an administrator user for this app [mrburns] (default: mrburns): mrburns
Should this app be exposed to anonymous visitors? [yes | no] (default: no): no
Choose the application language [fr | en] (default: en): en
25846 INFO Installing zabbix...
26129 DEBUG Nothing to update in LDAP
26129 DEBUG Permission 'zabbix.main' updated
26218 DEBUG To view the log of the operation 'Update url related to permission 'zabbix'', use the command 'yunohost log display 20210411-153936-permission_url-zabbix'
26406 DEBUG The permission database has been resynchronized
26525 DEBUG SSOwat configuration regenerated
26635 DEBUG Permission 'zabbix.main' created
26637 DEBUG To view the log of the operation 'Create permission 'zabbix'', use the command 'yunohost log display 20210411-153936-permission_create-zabbix'
26689 DEBUG Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ARG_LANGUAGE=en YNH_APP_MANIFEST_VERSION='4.4~ynh1' YNH_APP_ARG_IS_PUBLIC=0 YNH_STDINFO=/tmp/tmpaFBVAQ/stdinfo YNH_CWD=/var/cache/yunohost/from_file/scripts YNH_APP_INSTANCE_NAME=zabbix YNH_APP_ARG_ADMIN=mrburns YNH_INTERFACE=cli YNH_APP_ID=zabbix YNH_APP_ARG_PATH=/zabbix YNH_STDRETURN=/tmp/tmpwOfo7n/stdreturn YNH_APP_ARG_DOMAIN=yunhostzabbix.home BASH_XTRACEFD=7 /bin/bash -x "./install" yunhostzabbix.home /zabbix mrburns 0 en zabbix 7>&1'
26724 DEBUG + source _common.sh
26727 DEBUG + source /usr/share/yunohost/helpers
26728 DEBUG +++ set +o
26729 DEBUG +++ grep xtrace
26730 DEBUG ++ readonly 'XTRACE_ENABLE=set -o xtrace'
26731 DEBUG ++ XTRACE_ENABLE='set -o xtrace'
26733 DEBUG ++ set +x
26934 DEBUG + ynh_abort_if_errors
26935 DEBUG + set -o errexit
26936 DEBUG + set -o nounset
26937 DEBUG + trap ynh_exit_properly EXIT
26939 DEBUG + export domain=yunhostzabbix.home
26940 DEBUG + domain=yunhostzabbix.home
26941 DEBUG + export path_url=/zabbix
26942 DEBUG + path_url=/zabbix
26943 DEBUG + admin=mrburns
26944 DEBUG + is_public=0
26945 DEBUG + language=en
26946 DEBUG + app=zabbix
26947 DEBUG + final_path=/var/www/zabbix
26948 DEBUG + test '!' -e /var/www/zabbix
26949 DEBUG ++ ynh_normalize_url_path /zabbix
26950 DEBUG ++ local legacy_args=p
26951 DEBUG ++ args_array=([p]=path_url=)
26952 DEBUG ++ local -A args_array
26953 DEBUG ++ local path_url
26955 DEBUG ++ ynh_handle_getopts_args /zabbix
26956 DEBUG ++ set +o xtrace
26957 DEBUG ++ echo '! Helper used in legacy mode !'
26958 DEBUG ++ set +x
26959 DEBUG ++ test -n /zabbix
26960 DEBUG ++ '[' / '!=' / ']'
26961 DEBUG ++ '[' x == / ']'
26962 DEBUG ++ echo /zabbix
26963 DEBUG + path_url=/zabbix
26963 DEBUG + ynh_webpath_available yunhostzabbix.home /zabbix
26964 DEBUG + local legacy_args=dp
26966 DEBUG + args_array=([d]=domain= [p]=path_url=)
26966 DEBUG + local -A args_array
26968 DEBUG + local domain
26969 DEBUG + local path_url
26970 DEBUG + ynh_handle_getopts_args yunhostzabbix.home /zabbix
26971 DEBUG + set +o xtrace
27073 DEBUG + echo '! Helper used in legacy mode !'
27074 DEBUG + set +x
27075 DEBUG + yunohost domain url-available yunhostzabbix.home /zabbix
28079 DEBUG True
28180 DEBUG + ynh_webpath_register zabbix yunhostzabbix.home /zabbix
28182 DEBUG + local legacy_args=adp
28183 DEBUG + args_array=([a]=app= [d]=domain= [p]=path_url=)
28185 DEBUG + local -A args_array
28187 DEBUG + local app
28189 DEBUG + local domain
28191 DEBUG + local path_url
28193 DEBUG + ynh_handle_getopts_args zabbix yunhostzabbix.home /zabbix
28194 DEBUG + set +o xtrace
28296 DEBUG + echo '! Helper used in legacy mode !'
28298 DEBUG + set +x
28300 DEBUG + yunohost app register-url zabbix yunhostzabbix.home /zabbix
30407 DEBUG + ynh_script_progression '--message=Get infos from manifest' -w 1
30409 DEBUG + set +o xtrace
30712 DEBUG + set +o xtrace
30715 DEBUG + echo '! Helper used in legacy mode !'
30718 DEBUG + set +x
30720 DEBUG + echo '[....................] > Get infos from manifest'
30721 DEBUG + set -o xtrace
30723 DEBUG + ynh_app_setting_set zabbix domain yunhostzabbix.home
30725 DEBUG + local legacy_args=akv
30727 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
30729 DEBUG + local -A args_array
30731 DEBUG + local app
30733 DEBUG + local key
30734 DEBUG + local value
30736 DEBUG + ynh_handle_getopts_args zabbix domain yunhostzabbix.home
30739 DEBUG + set +o xtrace
30941 DEBUG + echo '! Helper used in legacy mode !'
30943 INFO [....................] > Get infos from manifest
30944 DEBUG + set +x
30946 DEBUG + [[ domain =~ (unprotected|protected|skipped)_ ]]
30947 DEBUG + ynh_app_setting set zabbix domain yunhostzabbix.home
30948 DEBUG + set +o xtrace
31250 DEBUG + ynh_app_setting_set zabbix path /zabbix
31252 DEBUG + local legacy_args=akv
31253 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
31254 DEBUG + local -A args_array
31256 DEBUG + local app
31257 DEBUG + local key
31258 DEBUG + local value
31260 DEBUG + ynh_handle_getopts_args zabbix path /zabbix
31262 DEBUG + set +o xtrace
31465 DEBUG + echo '! Helper used in legacy mode !'
31466 DEBUG + set +x
31468 DEBUG + [[ path =~ (unprotected|protected|skipped)_ ]]
31470 DEBUG + ynh_app_setting set zabbix path /zabbix
31471 DEBUG + set +o xtrace
31774 DEBUG + ynh_app_setting_set zabbix admin mrburns
31775 DEBUG + local legacy_args=akv
31776 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
31777 DEBUG + local -A args_array
31779 DEBUG + local app
31781 DEBUG + local key
31783 DEBUG + local value
31784 DEBUG + ynh_handle_getopts_args zabbix admin mrburns
31786 DEBUG + set +o xtrace
31989 DEBUG + echo '! Helper used in legacy mode !'
31991 DEBUG + set +x
31993 DEBUG + [[ admin =~ (unprotected|protected|skipped)_ ]]
31995 DEBUG + ynh_app_setting set zabbix admin mrburns
31997 DEBUG + set +o xtrace
32300 DEBUG + ynh_app_setting_set zabbix is_public 0
32302 DEBUG + local legacy_args=akv
32303 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
32305 DEBUG + local -A args_array
32307 DEBUG + local app
32309 DEBUG + local key
32311 DEBUG + local value
32313 DEBUG + ynh_handle_getopts_args zabbix is_public 0
32314 DEBUG + set +o xtrace
32416 DEBUG + echo '! Helper used in legacy mode !'
32418 DEBUG + set +x
32419 DEBUG + [[ is_public =~ (unprotected|protected|skipped)_ ]]
32421 DEBUG + ynh_app_setting set zabbix is_public 0
32423 DEBUG + set +o xtrace
32826 DEBUG + ynh_app_setting_set zabbix language en
32828 DEBUG + local legacy_args=akv
32829 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
32831 DEBUG + local -A args_array
32833 DEBUG + local app
32835 DEBUG + local key
32837 DEBUG + local value
32838 DEBUG + ynh_handle_getopts_args zabbix language en
32840 DEBUG + set +o xtrace
32942 DEBUG + echo '! Helper used in legacy mode !'
32944 DEBUG + set +x
32946 DEBUG + [[ language =~ (unprotected|protected|skipped)_ ]]
32947 DEBUG + ynh_app_setting set zabbix language en
32949 DEBUG + set +o xtrace
33252 DEBUG + ynh_script_progression '--message=Remove Zabbix if already installed' -w 1
33253 DEBUG + set +o xtrace
33555 DEBUG + set +o xtrace
33557 DEBUG + echo '! Helper used in legacy mode !'
33559 DEBUG + set +x
33560 DEBUG + echo '[....................] > Remove Zabbix if already installed'
33561 DEBUG + set -o xtrace
33563 DEBUG + apt-get purge 'zabbix*' -y
33665 DEBUG Reading package lists...
33666 INFO [....................] > Remove Zabbix if already installed
34370 DEBUG Building dependency tree...
34371 DEBUG Reading state information...
36078 DEBUG Package 'zabbix-agent' is not installed, so not removed
36080 DEBUG Package 'zabbix-cli' is not installed, so not removed
36081 DEBUG Package 'zabbix-frontend-php' is not installed, so not removed
36083 DEBUG Package 'zabbix-java-gateway' is not installed, so not removed
36085 DEBUG Package 'zabbix-proxy-mysql' is not installed, so not removed
36087 DEBUG Package 'zabbix-proxy-pgsql' is not installed, so not removed
36089 DEBUG Package 'zabbix-proxy-sqlite3' is not installed, so not removed
36091 DEBUG Package 'zabbix-server-mysql' is not installed, so not removed
36093 DEBUG Package 'zabbix-server-pgsql' is not installed, so not removed
36094 DEBUG 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
36097 DEBUG + ynh_secure_remove /var/cache/apt/archives/zabbix-server-mysql_1%3a4.0.4+dfsg-1_armhf.deb
36098 DEBUG + local legacy_args=f
36100 DEBUG + args_array=([f]=file=)
36102 DEBUG + local -A args_array
36104 DEBUG + local file
36105 DEBUG + ynh_handle_getopts_args /var/cache/apt/archives/zabbix-server-mysql_1%3a4.0.4+dfsg-1_armhf.deb
36107 DEBUG + set +o xtrace
36109 DEBUG + echo '! Helper used in legacy mode !'
36111 DEBUG + set +x
36113 DEBUG + local 'forbidden_path= /var/www /home/yunohost.app'
36115 DEBUG + '[' 1 -ge 2 ']'
36117 DEBUG + [[ -z /var/cache/apt/archives/zabbix-server-mysql_1%3a4.0.4+dfsg-1_armhf.deb ]]
36118 DEBUG + [[ /var/www /home/yunohost.app =~ /var/cache/apt/archives/zabbix-server-mysql_1%3a4\.0\.4\+dfsg-1_armhf\.deb ]]
36120 DEBUG + [[ /var/cache/apt/archives/zabbix-server-mysql_1%3a4.0.4+dfsg-1_armhf.deb =~ ^/[[:alnum:]]+$ ]]
36123 DEBUG + [[ b = \/ ]]
36125 DEBUG + '[' -e /var/cache/apt/archives/zabbix-server-mysql_1%3a4.0.4+dfsg-1_armhf.deb ']'
36127 DEBUG + rm --recursive /var/cache/apt/archives/zabbix-server-mysql_1%3a4.0.4+dfsg-1_armhf.deb
36128 DEBUG + ynh_script_progression '--message=Install Zabbix repository' -w 3
36130 DEBUG + set +o xtrace
36333 DEBUG + set +o xtrace
36335 DEBUG + echo '! Helper used in legacy mode !'
36336 DEBUG + set +x
36338 DEBUG + echo '[+...................] > Install Zabbix repository'
36340 DEBUG + set -o xtrace
36342 DEBUG + install_zabbix_repo
36343 DEBUG ++ lsb_release -sc
36546 DEBUG + ynh_install_extra_repo '--repo=http://repo.zabbix.com/zabbix/4.4/debian buster main' --key=https://repo.zabbix.com/zabbix-official-repo.key --priority=999 --name=zabbix
36548 INFO [+...................] > Install Zabbix repository
36550 DEBUG + local legacy_args=rkpna
36552 DEBUG + args_array=([r]=repo= [k]=key= [p]=priority= [n]=name= [a]=append)
36554 DEBUG + local -A args_array
36556 DEBUG + local repo
36557 DEBUG + local key
36559 DEBUG + local priority
36561 DEBUG + local name
36563 DEBUG + local append
36565 DEBUG + ynh_handle_getopts_args '--repo=http://repo.zabbix.com/zabbix/4.4/debian buster main' --key=https://repo.zabbix.com/zabbix-official-repo.key --priority=999 --name=zabbix
36567 DEBUG + set +o xtrace
36970 DEBUG + name=zabbix
36973 DEBUG + append=0
36975 DEBUG + key=https://repo.zabbix.com/zabbix-official-repo.key
36977 DEBUG + priority=999
36979 DEBUG + '[' 0 -eq 1 ']'
36981 DEBUG + append=
36984 DEBUG + wget_append=tee
36987 DEBUG + repo='http://repo.zabbix.com/zabbix/4.4/debian buster main'
36990 DEBUG ++ echo 'http://repo.zabbix.com/zabbix/4.4/debian buster main'
36993 DEBUG ++ awk '{ print $1 }'
36996 DEBUG + local uri=http://repo.zabbix.com/zabbix/4.4/debian
36998 DEBUG ++ echo 'http://repo.zabbix.com/zabbix/4.4/debian buster main'
37001 DEBUG ++ awk '{ print $2 }'
37003 DEBUG + local suite=buster
37006 DEBUG + local component=main
37008 DEBUG + ynh_add_repo --uri=http://repo.zabbix.com/zabbix/4.4/debian --suite=buster --component=main --name=zabbix
37010 DEBUG + local legacy_args=uscna
37013 DEBUG + args_array=([u]=uri= [s]=suite= [c]=component= [n]=name= [a]=append)
37016 DEBUG + local -A args_array
37018 DEBUG + local uri
37020 DEBUG + local suite
37022 DEBUG + local component
37024 DEBUG + local name
37025 DEBUG + local append
37027 DEBUG + ynh_handle_getopts_args --uri=http://repo.zabbix.com/zabbix/4.4/debian --suite=buster --component=main --name=zabbix
37028 DEBUG + set +o xtrace
37432 DEBUG + name=zabbix
37434 DEBUG + append=0
37435 DEBUG + '[' 0 -eq 1 ']'
37437 DEBUG + append=tee
37439 DEBUG + mkdir --parents /etc/apt/sources.list.d
37441 DEBUG + echo 'deb http://repo.zabbix.com/zabbix/4.4/debian buster main'
37443 DEBUG + tee /etc/apt/sources.list.d/zabbix.list
37445 DEBUG deb http://repo.zabbix.com/zabbix/4.4/debian buster main
37447 DEBUG + local pin=repo.zabbix.com/zabbix/4.4/debian
37448 DEBUG + pin=repo.zabbix.com
37450 DEBUG + '[' -n 999 ']'
37452 DEBUG + priority=--priority=999
37454 DEBUG + ynh_pin_repo '--package=*' '--pin=origin "repo.zabbix.com"' --priority=999 --name=zabbix
37456 DEBUG + local legacy_args=pirna
37458 DEBUG + args_array=([p]=package= [i]=pin= [r]=priority= [n]=name= [a]=append)
37459 DEBUG + local -A args_array
37461 DEBUG + local package
37463 DEBUG + local pin
37466 DEBUG + local priority
37467 DEBUG + local name
37469 DEBUG + local append
37471 DEBUG + ynh_handle_getopts_args '--package=*' '--pin=origin "repo.zabbix.com"' --priority=999 --name=zabbix
37472 DEBUG + set +o xtrace
37976 DEBUG + package='*'
37977 DEBUG + priority=999
37979 DEBUG + name=zabbix
37981 DEBUG + append=0
37982 DEBUG + '[' 0 -eq 1 ']'
37983 DEBUG + append=tee
37985 DEBUG + [[ zabbix != \e\x\t\r\a\_\p\h\p\_\v\e\r\s\i\o\n ]]
37986 DEBUG + mkdir --parents /etc/apt/preferences.d
37988 DEBUG + echo 'Package: *
37989 DEBUG Pin: origin "repo.zabbix.com"
37991 DEBUG Pin-Priority: 999
37992 DEBUG '
37994 DEBUG + tee /etc/apt/preferences.d/zabbix
37995 DEBUG Package: *
37997 DEBUG Pin: origin "repo.zabbix.com"
37998 DEBUG Pin-Priority: 999
37999 DEBUG
38000 DEBUG + '[' -n https://repo.zabbix.com/zabbix-official-repo.key ']'
38002 DEBUG + mkdir --parents /etc/apt/trusted.gpg.d
38003 DEBUG + wget --timeout 900 --quiet https://repo.zabbix.com/zabbix-official-repo.key --output-document=-
38004 DEBUG + gpg --dearmor
38005 DEBUG + tee /etc/apt/trusted.gpg.d/zabbix.gpg
38708 DEBUG + ynh_package_update
38711 DEBUG + ynh_apt update
38714 DEBUG + ynh_wait_dpkg_free
38716 DEBUG + local try
38718 DEBUG + set +o xtrace
39121 DEBUG + return 0
39123 DEBUG + LC_ALL=C
39125 DEBUG + DEBIAN_FRONTEND=noninteractive
39126 DEBUG + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
56672 DEBUG Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.9 kB]
56675 DEBUG Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
56779 DEBUG Hit:3 http://forge.yunohost.org/debian buster InRelease
56982 DEBUG Get:4 http://repo.zabbix.com/zabbix/4.4/debian buster InRelease [7096 B]
58390 DEBUG Fetched 55.0 kB in 19s (2886 B/s)
62301 DEBUG Reading package lists...
62504 DEBUG + ynh_script_progression '--message=Update and install dependencies' -w 5
62506 DEBUG + set +o xtrace
62708 DEBUG + set +o xtrace
62710 DEBUG + echo '! Helper used in legacy mode !'
62712 DEBUG + set +x
62714 DEBUG + echo '[#++.................] > Update and install dependencies'
62716 DEBUG + set -o xtrace
62718 DEBUG + ynh_install_app_dependencies libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0 php7.3 php-bcmath php7.3-bcmath ttf-dejavu-core php7.3-bcmath patch smistrip unzip wget fping libcap2-bin libiksemel3 libopenipmi0 libpam-cap libsnmp-base libsnmp30 snmptrapd snmpd libjs-prototype jq zabbix-server-mysql zabbix-agent zabbix-frontend-php
62720 DEBUG + local 'dependencies=libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0 php7.3 php-bcmath php7.3-bcmath ttf-dejavu-core php7.3-bcmath patch smistrip unzip wget fping libcap2-bin libiksemel3 libopenipmi0 libpam-cap libsnmp-base libsnmp30 snmptrapd snmpd libjs-prototype jq zabbix-server-mysql zabbix-agent zabbix-frontend-php'
62722 DEBUG ++ echo 'libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0 php7.3 php-bcmath php7.3-bcmath ttf-dejavu-core php7.3-bcmath patch smistrip unzip wget fping libcap2-bin libiksemel3 libopenipmi0 libpam-cap libsnmp-base libsnmp30 snmptrapd snmpd libjs-prototype jq zabbix-server-mysql zabbix-agent zabbix-frontend-php'
62725 DEBUG ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
62727 DEBUG + dependencies='libapr1, libaprutil1, libaprutil1-dbd-sqlite3, libaprutil1-ldap, liblua5.2-0, php7.3, php-bcmath, php7.3-bcmath, ttf-dejavu-core, php7.3-bcmath, patch, smistrip, unzip, wget, fping, libcap2-bin, libiksemel3, libopenipmi0, libpam-cap, libsnmp-base, libsnmp30, snmptrapd, snmpd, libjs-prototype, jq, zabbix-server-mysql, zabbix-agent, zabbix-frontend-php'
62730 DEBUG + local 'dependencies=libapr1, libaprutil1, libaprutil1-dbd-sqlite3, libaprutil1-ldap, liblua5.2-0, php7.3, php-bcmath, php7.3-bcmath, ttf-dejavu-core, php7.3-bcmath, patch, smistrip, unzip, wget, fping, libcap2-bin, libiksemel3, libopenipmi0, libpam-cap, libsnmp-base, libsnmp30, snmptrapd, snmpd, libjs-prototype, jq, zabbix-server-mysql, zabbix-agent, zabbix-frontend-php'
62732 DEBUG + local manifest_path=../manifest.json
62734 DEBUG + '[' '!' -e ../manifest.json ']'
62736 DEBUG ++ grep '\"version\": ' ../manifest.json
62738 DEBUG ++ cut '--delimiter="' --fields=4
62740 DEBUG + local version=4.4~ynh1
62741 DEBUG + '[' 8 -eq 0 ']'
62743 DEBUG + local dep_app=zabbix
62746 DEBUG + [[ libapr1, libaprutil1, libaprutil1-dbd-sqlite3, libaprutil1-ldap, liblua5.2-0, php7.3, php-bcmath, php7.3-bcmath, ttf-dejavu-core, php7.3-bcmath, patch, smistrip, unzip, wget, fping, libcap2-bin, libiksemel3, libopenipmi0, libpam-cap, libsnmp-base, libsnmp30, snmptrapd, snmpd, libjs-prototype, jq, zabbix-server-mysql, zabbix-agent, zabbix-frontend-php =~ [<=>] ]]
62749 DEBUG + echo libapr1, libaprutil1, libaprutil1-dbd-sqlite3, libaprutil1-ldap, liblua5.2-0, php7.3, php-bcmath, php7.3-bcmath, ttf-dejavu-core, php7.3-bcmath, patch, smistrip, unzip, wget, fping, libcap2-bin, libiksemel3, libopenipmi0, libpam-cap, libsnmp-base, libsnmp30, snmptrapd, snmpd, libjs-prototype, jq, zabbix-server-mysql, zabbix-agent, zabbix-frontend-php
62751 DEBUG + grep --quiet php
62753 DEBUG + dpkg --list
62755 DEBUG + grep php7.0
62757 DEBUG + grep --quiet --invert-match 7.0.33-0+deb9
62859 DEBUG + cat
62860 INFO [#++.................] > Update and install dependencies
62862 DEBUG + ynh_package_install_from_equivs /tmp/zabbix-ynh-deps.control
62863 DEBUG + local controlfile=/tmp/zabbix-ynh-deps.control
62864 DEBUG ++ grep '^Package: ' /tmp/zabbix-ynh-deps.control
62865 DEBUG ++ cut '--delimiter= ' --fields=2
62866 DEBUG + local pkgname=zabbix-ynh-deps
62868 DEBUG ++ grep '^Version: ' /tmp/zabbix-ynh-deps.control
62869 DEBUG ++ cut '--delimiter= ' --fields=2
62870 DEBUG + local pkgversion=4.4~ynh1
62871 DEBUG + [[ -z zabbix-ynh-deps ]]
62873 DEBUG + [[ -z 4.4~ynh1 ]]
62874 DEBUG + ynh_package_update
62875 DEBUG + ynh_apt update
62876 DEBUG + ynh_wait_dpkg_free
62878 DEBUG + local try
62879 DEBUG + set +o xtrace
63185 DEBUG + return 0
63188 DEBUG + LC_ALL=C
63190 DEBUG + DEBIAN_FRONTEND=noninteractive
63192 DEBUG + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
68508 DEBUG Hit:1 http://forge.yunohost.org/debian buster InRelease
68510 DEBUG Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
69515 DEBUG Get:3 http://archive.raspberrypi.org/debian buster InRelease [32.9 kB]
69517 DEBUG Hit:4 http://repo.zabbix.com/zabbix/4.4/debian buster InRelease
70623 DEBUG Fetched 47.9 kB in 7s (6623 B/s)
74635 DEBUG Reading package lists...
74837 DEBUG ++ mktemp --directory
74839 DEBUG + local TMPDIR=/tmp/tmp.lNBEnZVySH
74840 DEBUG + echo 10
74841 DEBUG + ynh_wait_dpkg_free
74843 DEBUG + local try
74844 DEBUG + set +o xtrace
75146 DEBUG + return 0
75148 DEBUG + cp /tmp/zabbix-ynh-deps.control /tmp/tmp.lNBEnZVySH/control
75150 DEBUG + cd /tmp/tmp.lNBEnZVySH
75152 DEBUG + LC_ALL=C
75153 DEBUG + equivs-build ./control
77963 DEBUG + LC_ALL=C
77964 DEBUG + dpkg --force-depends --install ./zabbix-ynh-deps_4.4~ynh1_all.deb
77966 DEBUG + tee ./dpkg_log
78068 DEBUG Selecting previously unselected package zabbix-ynh-deps.
78170 DEBUG (Reading database ... 52853 files and directories currently installed.)
78171 DEBUG Preparing to unpack .../zabbix-ynh-deps_4.4~ynh1_all.deb ...
78277 DEBUG Unpacking zabbix-ynh-deps (4.4~ynh1) ...
78278 DEBUG dpkg: zabbix-ynh-deps: dependency problems, but configuring anyway as you requested:
78279 DEBUG zabbix-ynh-deps depends on libapr1; however:
78280 DEBUG Package libapr1 is not installed.
78280 DEBUG zabbix-ynh-deps depends on libaprutil1; however:
78281 DEBUG Package libaprutil1 is not installed.
78282 DEBUG zabbix-ynh-deps depends on libaprutil1-dbd-sqlite3; however:
78285 DEBUG Package libaprutil1-dbd-sqlite3 is not installed.
78286 DEBUG zabbix-ynh-deps depends on libaprutil1-ldap; however:
78287 DEBUG Package libaprutil1-ldap is not installed.
78287 DEBUG zabbix-ynh-deps depends on liblua5.2-0; however:
78288 DEBUG Package liblua5.2-0 is not installed.
78292 DEBUG zabbix-ynh-deps depends on php7.3; however:
78293 DEBUG Package php7.3 is not installed.
78297 DEBUG zabbix-ynh-deps depends on php-bcmath; however:
78297 DEBUG Package php-bcmath is not installed.
78298 DEBUG zabbix-ynh-deps depends on php7.3-bcmath; however:
78299 DEBUG Package php7.3-bcmath is not installed.
78300 DEBUG zabbix-ynh-deps depends on ttf-dejavu-core; however:
78305 DEBUG Package ttf-dejavu-core is not installed.
78305 DEBUG zabbix-ynh-deps depends on smistrip; however:
78310 DEBUG Package smistrip is not installed.
78311 DEBUG zabbix-ynh-deps depends on fping; however:
78312 DEBUG Package fping is not installed.
78313 DEBUG zabbix-ynh-deps depends on libiksemel3; however:
78314 DEBUG Package libiksemel3 is not installed.
78315 DEBUG zabbix-ynh-deps depends on libopenipmi0; however:
78315 DEBUG Package libopenipmi0 is not installed.
78316 DEBUG zabbix-ynh-deps depends on libsnmp-base; however:
78317 DEBUG Package libsnmp-base is not installed.
78318 DEBUG zabbix-ynh-deps depends on libsnmp30; however:
78319 DEBUG Package libsnmp30 is not installed.
78320 DEBUG zabbix-ynh-deps depends on snmptrapd; however:
78321 DEBUG Package snmptrapd is not installed.
78322 DEBUG zabbix-ynh-deps depends on snmpd; however:
78323 DEBUG Package snmpd is not installed.
78324 DEBUG zabbix-ynh-deps depends on libjs-prototype; however:
78324 DEBUG Package libjs-prototype is not installed.
78325 DEBUG zabbix-ynh-deps depends on zabbix-server-mysql; however:
78326 DEBUG Package zabbix-server-mysql is not installed.
78327 DEBUG zabbix-ynh-deps depends on zabbix-agent; however:
78328 DEBUG Package zabbix-agent is not installed.
78329 DEBUG zabbix-ynh-deps depends on zabbix-frontend-php; however:
78330 DEBUG Package zabbix-frontend-php is not installed.
78331 DEBUG
78332 DEBUG Setting up zabbix-ynh-deps (4.4~ynh1) ...
78433 DEBUG + ynh_package_install --fix-broken
78434 DEBUG + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
78435 DEBUG + ynh_wait_dpkg_free
78437 DEBUG + local try
78438 DEBUG + set +o xtrace
78740 DEBUG + return 0
78741 DEBUG + LC_ALL=C
78742 DEBUG + DEBIAN_FRONTEND=noninteractive
78742 DEBUG + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
82554 DEBUG Reading package lists...
83358 DEBUG Building dependency tree...
83359 DEBUG Reading state information...
84262 DEBUG Correcting dependencies... Done
85376 DEBUG The following additional packages will be installed:
85377 DEBUG fping libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libblas3
85378 DEBUG libgfortran5 libiksemel3 libjs-prototype liblinear3 liblua5.2-0 libopenipmi0
85379 DEBUG libpcap0.8 libsensors-config libsensors5 libsnmp-base libsnmp30 nmap
85380 DEBUG nmap-common php-bcmath php7.3 php7.3-bcmath smistrip snmpd snmptrapd
85381 DEBUG ttf-dejavu-core zabbix-agent zabbix-frontend-php zabbix-server-mysql
85382 DEBUG Suggested packages:
85383 DEBUG liblinear-tools liblinear-dev lm-sensors snmp-mibs-downloader ncat ndiff
85384 DEBUG zenmap
85486 DEBUG The following NEW packages will be installed:
85487 DEBUG fping libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libblas3
85488 DEBUG libgfortran5 libiksemel3 libjs-prototype liblinear3 liblua5.2-0 libopenipmi0
85489 DEBUG libpcap0.8 libsensors-config libsensors5 libsnmp-base libsnmp30 nmap
85490 DEBUG nmap-common php-bcmath php7.3 php7.3-bcmath smistrip snmpd snmptrapd
85491 DEBUG ttf-dejavu-core zabbix-agent zabbix-frontend-php zabbix-server-mysql
95719 DEBUG 0 upgraded, 29 newly installed, 0 to remove and 0 not upgraded.
95721 DEBUG Need to get 2104 kB/16.1 MB of archives.
95722 DEBUG After this operation, 59.2 MB of additional disk space will be used.
95723 DEBUG Get:1 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf zabbix-server-mysql armhf 1:4.0.4+dfsg-1 [2104 kB]
97830 DEBUG Preconfiguring packages ...
98333 DEBUG Fetched 2104 kB in 11s (199 kB/s)
98335 DEBUG Selecting previously unselected package fping.
98537 DEBUG (Reading database ... 52857 files and directories currently installed.)
98538 DEBUG Preparing to unpack .../00-fping_4.2-1_armhf.deb ...
98542 DEBUG Unpacking fping (4.2-1) ...
98644 DEBUG Selecting previously unselected package libapr1:armhf.
98646 DEBUG Preparing to unpack .../01-libapr1_1.6.5-1_armhf.deb ...
98647 DEBUG Unpacking libapr1:armhf (1.6.5-1) ...
98850 DEBUG Selecting previously unselected package libaprutil1:armhf.
98851 DEBUG Preparing to unpack .../02-libaprutil1_1.6.1-4_armhf.deb ...
98853 DEBUG Unpacking libaprutil1:armhf (1.6.1-4) ...
99055 DEBUG Selecting previously unselected package libaprutil1-dbd-sqlite3:armhf.
99057 DEBUG Preparing to unpack .../03-libaprutil1-dbd-sqlite3_1.6.1-4_armhf.deb ...
99059 DEBUG Unpacking libaprutil1-dbd-sqlite3:armhf (1.6.1-4) ...
99167 DEBUG Selecting previously unselected package libaprutil1-ldap:armhf.
99170 DEBUG Preparing to unpack .../04-libaprutil1-ldap_1.6.1-4_armhf.deb ...
99171 DEBUG Unpacking libaprutil1-ldap:armhf (1.6.1-4) ...
99373 DEBUG Selecting previously unselected package libgfortran5:armhf.
99375 DEBUG Preparing to unpack .../05-libgfortran5_8.3.0-6+rpi1_armhf.deb ...
99376 DEBUG Unpacking libgfortran5:armhf (8.3.0-6+rpi1) ...
99578 DEBUG Selecting previously unselected package libblas3:armhf.
99579 DEBUG Preparing to unpack .../06-libblas3_3.8.0-2_armhf.deb ...
99581 DEBUG Unpacking libblas3:armhf (3.8.0-2) ...
99783 DEBUG Selecting previously unselected package libiksemel3:armhf.
99785 DEBUG Preparing to unpack .../07-libiksemel3_1.4-3+b1_armhf.deb ...
99786 DEBUG Unpacking libiksemel3:armhf (1.4-3+b1) ...
99889 DEBUG Selecting previously unselected package libjs-prototype.
99991 DEBUG Preparing to unpack .../08-libjs-prototype_1.7.1-3_all.deb ...
99993 DEBUG Unpacking libjs-prototype (1.7.1-3) ...
100095 DEBUG Selecting previously unselected package liblinear3:armhf.
100197 DEBUG Preparing to unpack .../09-liblinear3_2.1.0+dfsg-4_armhf.deb ...
100199 DEBUG Unpacking liblinear3:armhf (2.1.0+dfsg-4) ...
100303 DEBUG Selecting previously unselected package liblua5.2-0:armhf.
100305 DEBUG Preparing to unpack .../10-liblua5.2-0_5.2.4-1.1+b1_armhf.deb ...
100307 DEBUG Unpacking liblua5.2-0:armhf (5.2.4-1.1+b1) ...
100510 DEBUG Selecting previously unselected package libopenipmi0.
100511 DEBUG Preparing to unpack .../11-libopenipmi0_2.0.25-2.1_armhf.deb ...
100513 DEBUG Unpacking libopenipmi0 (2.0.25-2.1) ...
100815 DEBUG Selecting previously unselected package libpcap0.8:armhf.
100816 DEBUG Preparing to unpack .../12-libpcap0.8_1.8.1-6_armhf.deb ...
100818 DEBUG Unpacking libpcap0.8:armhf (1.8.1-6) ...
101020 DEBUG Selecting previously unselected package libsensors-config.
101021 DEBUG Preparing to unpack .../13-libsensors-config_1%3a3.5.0-3_all.deb ...
101022 DEBUG Unpacking libsensors-config (1:3.5.0-3) ...
101124 DEBUG Selecting previously unselected package libsensors5:armhf.
101126 DEBUG Preparing to unpack .../14-libsensors5_1%3a3.5.0-3_armhf.deb ...
101233 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
101335 DEBUG Unpacking libsensors5:armhf (1:3.5.0-3) ...
101436 DEBUG Selecting previously unselected package libsnmp-base.
101538 DEBUG Preparing to unpack .../15-libsnmp-base_5.7.3+dfsg-5+deb10u2_all.deb ...
101540 DEBUG Unpacking libsnmp-base (5.7.3+dfsg-5+deb10u2) ...
101842 DEBUG Selecting previously unselected package libsnmp30:armhf.
101844 DEBUG Preparing to unpack .../16-libsnmp30_5.7.3+dfsg-5+deb10u2_armhf.deb ...
101845 DEBUG Unpacking libsnmp30:armhf (5.7.3+dfsg-5+deb10u2) ...
102347 DEBUG Selecting previously unselected package nmap-common.
102349 DEBUG Preparing to unpack .../17-nmap-common_7.70+dfsg1-6+deb10u1_all.deb ...
102351 DEBUG Unpacking nmap-common (7.70+dfsg1-6+deb10u1) ...
103956 DEBUG Selecting previously unselected package nmap.
103958 DEBUG Preparing to unpack .../18-nmap_7.70+dfsg1-6+deb10u1_armhf.deb ...
103960 DEBUG Unpacking nmap (7.70+dfsg1-6+deb10u1) ...
104462 DEBUG Selecting previously unselected package php7.3-bcmath.
104464 DEBUG Preparing to unpack .../19-php7.3-bcmath_7.3.27-1~deb10u1_armhf.deb ...
104466 DEBUG Unpacking php7.3-bcmath (7.3.27-1~deb10u1) ...
104568 DEBUG Selecting previously unselected package php-bcmath.
104670 DEBUG Preparing to unpack .../20-php-bcmath_2%3a7.3+69_all.deb ...
104673 DEBUG Unpacking php-bcmath (2:7.3+69) ...
104775 DEBUG Selecting previously unselected package php7.3.
104776 DEBUG Preparing to unpack .../21-php7.3_7.3.27-1~deb10u1_all.deb ...
104780 DEBUG Unpacking php7.3 (7.3.27-1~deb10u1) ...
104882 DEBUG Selecting previously unselected package smistrip.
104885 DEBUG Preparing to unpack .../22-smistrip_0.4.8+dfsg2-16_all.deb ...
104888 DEBUG Unpacking smistrip (0.4.8+dfsg2-16) ...
105091 DEBUG Selecting previously unselected package snmpd.
105093 DEBUG Preparing to unpack .../23-snmpd_5.7.3+dfsg-5+deb10u2_armhf.deb ...
105096 DEBUG Unpacking snmpd (5.7.3+dfsg-5+deb10u2) ...
105298 DEBUG Selecting previously unselected package snmptrapd.
105300 DEBUG Preparing to unpack .../24-snmptrapd_5.7.3+dfsg-5+deb10u2_armhf.deb ...
105301 DEBUG Unpacking snmptrapd (5.7.3+dfsg-5+deb10u2) ...
105403 DEBUG Selecting previously unselected package ttf-dejavu-core.
105505 DEBUG Preparing to unpack .../25-ttf-dejavu-core_2.37-1_all.deb ...
105507 DEBUG Unpacking ttf-dejavu-core (2.37-1) ...
105609 DEBUG Selecting previously unselected package zabbix-agent.
105610 DEBUG Preparing to unpack .../26-zabbix-agent_1%3a4.0.4+dfsg-1_armhf.deb ...
105612 DEBUG Unpacking zabbix-agent (1:4.0.4+dfsg-1) ...
105914 DEBUG Selecting previously unselected package zabbix-frontend-php.
105916 DEBUG Preparing to unpack .../27-zabbix-frontend-php_1%3a4.0.4+dfsg-1_all.deb ...
105917 DEBUG Unpacking zabbix-frontend-php (1:4.0.4+dfsg-1) ...
107323 DEBUG Selecting previously unselected package zabbix-server-mysql.
107425 DEBUG Preparing to unpack .../28-zabbix-server-mysql_1%3a4.0.4+dfsg-1_armhf.deb ...
107426 DEBUG Unpacking zabbix-server-mysql (1:4.0.4+dfsg-1) ...
108029 DEBUG Setting up php7.3-bcmath (7.3.27-1~deb10u1) ...
108031 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
108534 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
108736 DEBUG
108739 DEBUG Creating config file /etc/php/7.3/mods-available/bcmath.ini with new version
109041 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
109444 DEBUG Setting up php-bcmath (2:7.3+69) ...
109756 DEBUG Setting up php7.3 (7.3.27-1~deb10u1) ...
109758 DEBUG Setting up libsnmp-base (5.7.3+dfsg-5+deb10u2) ...
109864 DEBUG Setting up libsensors-config (1:3.5.0-3) ...
109866 DEBUG Setting up smistrip (0.4.8+dfsg2-16) ...
109967 DEBUG Setting up libapr1:armhf (1.6.5-1) ...
109969 DEBUG Setting up libpcap0.8:armhf (1.8.1-6) ...
109973 DEBUG Setting up libsensors5:armhf (1:3.5.0-3) ...
110075 DEBUG Setting up zabbix-frontend-php (1:4.0.4+dfsg-1) ...
110076 DEBUG Setting up libjs-prototype (1.7.1-3) ...
110178 DEBUG Setting up libgfortran5:armhf (8.3.0-6+rpi1) ...
110180 DEBUG Setting up libiksemel3:armhf (1.4-3+b1) ...
110181 DEBUG Setting up nmap-common (7.70+dfsg1-6+deb10u1) ...
110286 DEBUG Setting up liblua5.2-0:armhf (5.2.4-1.1+b1) ...
110288 DEBUG Setting up zabbix-agent (1:4.0.4+dfsg-1) ...
111092 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
111695 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
111897 DEBUG
111898 DEBUG Creating config file /etc/zabbix/zabbix_agentd.conf with new version
112200 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
112302 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
112906 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
113308 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
115818 DEBUG Created symlink /etc/systemd/system/multi-user.target.wants/zabbix-agent.service -> /lib/systemd/system/zabbix-agent.service.
116522 DEBUG Setting up libopenipmi0 (2.0.25-2.1) ...
116623 DEBUG Setting up fping (4.2-1) ...
116625 DEBUG Setting up ttf-dejavu-core (2.37-1) ...
116726 DEBUG Setting up libaprutil1:armhf (1.6.1-4) ...
116727 DEBUG Setting up libaprutil1-ldap:armhf (1.6.1-4) ...
116728 DEBUG Setting up libaprutil1-dbd-sqlite3:armhf (1.6.1-4) ...
116830 DEBUG Setting up libsnmp30:armhf (5.7.3+dfsg-5+deb10u2) ...
116831 DEBUG Setting up libblas3:armhf (3.8.0-2) ...
116832 DEBUG update-alternatives: using /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3 to provide /usr/lib/arm-linux-gnueabihf/libblas.so.3 (libblas.so.3-arm-linux-gnueabihf) in auto mode
116833 DEBUG Setting up liblinear3:armhf (2.1.0+dfsg-4) ...
116935 DEBUG Setting up zabbix-server-mysql (1:4.0.4+dfsg-1) ...
116936 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
117540 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
117742 DEBUG
117744 DEBUG Creating config file /etc/zabbix/zabbix_server.conf with new version
118047 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
118149 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
118752 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
118854 DEBUG
118855 DEBUG Creating config file /etc/sudoers.d/zabbix with new version
119158 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
120865 DEBUG Created symlink /etc/systemd/system/multi-user.target.wants/zabbix-server.service -> /lib/systemd/system/zabbix-server.service.
121571 DEBUG Setting up snmpd (5.7.3+dfsg-5+deb10u2) ...
122777 WARNING adduser: Warning: The home directory `/var/lib/snmp' does not belong to the user you are currently creating.
125286 DEBUG Created symlink /etc/systemd/system/multi-user.target.wants/snmpd.service -> /lib/systemd/system/snmpd.service.
126291 DEBUG Setting up nmap (7.70+dfsg1-6+deb10u1) ...
126292 DEBUG Setting up snmptrapd (5.7.3+dfsg-5+deb10u2) ...
127814 DEBUG Processing triggers for libc-bin (2.28-10+rpi1) ...
127915 DEBUG Processing triggers for systemd (241-7~deb10u7+rpi1) ...
128619 DEBUG Processing triggers for man-db (2.8.5-2) ...
130033 DEBUG Processing triggers for php7.3-fpm (7.3.27-1~deb10u1) ...
131840 DEBUG + [[ -n /tmp/tmp.lNBEnZVySH ]]
131841 DEBUG + rm --recursive --force /tmp/tmp.lNBEnZVySH
131842 DEBUG + ynh_package_is_installed zabbix-ynh-deps
131843 DEBUG + local legacy_args=p
131843 DEBUG + args_array=([p]=package=)
131844 DEBUG + local -A args_array
131845 DEBUG + local package
131846 DEBUG + ynh_handle_getopts_args zabbix-ynh-deps
131846 DEBUG + set +o xtrace
131847 DEBUG + echo '! Helper used in legacy mode !'
131848 DEBUG + set +x
131849 DEBUG + ynh_wait_dpkg_free
131850 DEBUG + local try
131850 DEBUG + set +o xtrace
132152 DEBUG + return 0
132153 DEBUG + dpkg-query --show '--showformat=${Status}' zabbix-ynh-deps
132154 DEBUG + grep --count 'ok installed'
132155 DEBUG + rm /tmp/zabbix-ynh-deps.control
132257 DEBUG + ynh_app_setting_set --app=zabbix --key=apt_dependencies '--value=libapr1, libaprutil1, libaprutil1-dbd-sqlite3, libaprutil1-ldap, liblua5.2-0, php7.3, php-bcmath, php7.3-bcmath, ttf-dejavu-core, php7.3-bcmath, patch, smistrip, unzip, wget, fping, libcap2-bin, libiksemel3, libopenipmi0, libpam-cap, libsnmp-base, libsnmp30, snmptrapd, snmpd, libjs-prototype, jq, zabbix-server-mysql, zabbix-agent, zabbix-frontend-php'
132259 DEBUG + local legacy_args=akv
132260 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
132262 DEBUG + local -A args_array
132263 DEBUG + local app
132264 DEBUG + local key
132265 DEBUG + local value
132266 DEBUG + ynh_handle_getopts_args --app=zabbix --key=apt_dependencies '--value=libapr1, libaprutil1, libaprutil1-dbd-sqlite3, libaprutil1-ldap, liblua5.2-0, php7.3, php-bcmath, php7.3-bcmath, ttf-dejavu-core, php7.3-bcmath, patch, smistrip, unzip, wget, fping, libcap2-bin, libiksemel3, libopenipmi0, libpam-cap, libsnmp-base, libsnmp30, snmptrapd, snmpd, libjs-prototype, jq, zabbix-server-mysql, zabbix-agent, zabbix-frontend-php'
132267 DEBUG + set +o xtrace
132370 DEBUG + [[ apt_dependencies =~ (unprotected|protected|skipped)_ ]]
132371 DEBUG + ynh_app_setting set zabbix apt_dependencies 'libapr1, libaprutil1, libaprutil1-dbd-sqlite3, libaprutil1-ldap, liblua5.2-0, php7.3, php-bcmath, php7.3-bcmath, ttf-dejavu-core, php7.3-bcmath, patch, smistrip, unzip, wget, fping, libcap2-bin, libiksemel3, libopenipmi0, libpam-cap, libsnmp-base, libsnmp30, snmptrapd, snmpd, libjs-prototype, jq, zabbix-server-mysql, zabbix-agent, zabbix-frontend-php'
132373 DEBUG + set +o xtrace
132775 DEBUG + dpkg -i --force-confmiss /var/cache/apt/archives/zabbix-server-mysql_1%3a4.0.4+dfsg-1_armhf.deb
132977 DEBUG (Reading database ... 55149 files and directories currently installed.)
132978 DEBUG Preparing to unpack .../zabbix-server-mysql_1%3a4.0.4+dfsg-1_armhf.deb ...
133079 DEBUG Unpacking zabbix-server-mysql (1:4.0.4+dfsg-1) over (1:4.0.4+dfsg-1) ...
133582 DEBUG Setting up zabbix-server-mysql (1:4.0.4+dfsg-1) ...
137494 DEBUG Processing triggers for systemd (241-7~deb10u7+rpi1) ...
138297 DEBUG Processing triggers for man-db (2.8.5-2) ...
139303 DEBUG + ynh_replace_string '--match_string=# fr_FR.UTF-8 UTF-8' '--replace_string=fr_FR.UTF-8 UTF-8' --target_file=/etc/locale.gen
139304 DEBUG + local legacy_args=mrf
139305 DEBUG + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
139306 DEBUG + local -A args_array
139307 DEBUG + local match_string
139309 DEBUG + local replace_string
139310 DEBUG + local target_file
139310 DEBUG + ynh_handle_getopts_args '--match_string=# fr_FR.UTF-8 UTF-8' '--replace_string=fr_FR.UTF-8 UTF-8' --target_file=/etc/locale.gen
139312 DEBUG + set +o xtrace
139513 DEBUG + local delimit=@
139515 DEBUG + match_string='# fr_FR.UTF-8 UTF-8'
139516 DEBUG + replace_string='fr_FR.UTF-8 UTF-8'
139517 DEBUG + sed --in-place 's@# fr_FR.UTF-8 UTF-8@fr_FR.UTF-8 UTF-8@g' /etc/locale.gen
139517 DEBUG + locale-gen
139518 DEBUG Generating locales (this might take a while)...
153056 DEBUG en_US.UTF-8... done
166695 DEBUG fr_FR.UTF-8... done
166696 DEBUG Generation complete.
166697 DEBUG + ln -s /usr/share/zabbix /var/www/zabbix
166699 DEBUG + '[' -f /var/www/zabbix/conf/zabbix.conf.php ']'
166700 DEBUG + ynh_script_progression '--message=Creation of database ' -w 10
166701 DEBUG + set +o xtrace
167003 DEBUG + set +o xtrace
167005 INFO [###+++..............] > Creation of database
167006 DEBUG + echo '! Helper used in legacy mode !'
167007 DEBUG + set +x
167009 DEBUG + echo '[###+++..............] > Creation of database '
167010 DEBUG + set -o xtrace
167011 DEBUG + declare db_pwd
167012 DEBUG ++ ynh_sanitize_dbid zabbix
167013 DEBUG ++ local legacy_args=n
167014 DEBUG ++ args_array=([n]=db_name=)
167016 DEBUG ++ local -A args_array
167017 DEBUG ++ local db_name
167019 DEBUG ++ ynh_handle_getopts_args zabbix
167020 DEBUG ++ set +o xtrace
167021 DEBUG ++ echo '! Helper used in legacy mode !'
167022 DEBUG ++ set +x
167023 DEBUG ++ echo zabbix
167024 DEBUG + db_name=zabbix
167025 DEBUG + db_user=zabbix
167026 DEBUG + ynh_app_setting_set zabbix db_name zabbix
167027 DEBUG + local legacy_args=akv
167029 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
167030 DEBUG + local -A args_array
167032 DEBUG + local app
167033 DEBUG + local key
167034 DEBUG + local value
167035 DEBUG + ynh_handle_getopts_args zabbix db_name zabbix
167036 DEBUG + set +o xtrace
167238 DEBUG + echo '! Helper used in legacy mode !'
167239 DEBUG + set +x
167240 DEBUG + [[ db_name =~ (unprotected|protected|skipped)_ ]]
167241 DEBUG + ynh_app_setting set zabbix db_name zabbix
167242 DEBUG + set +o xtrace
167544 DEBUG + ynh_app_setting_set zabbix db_user zabbix
167545 DEBUG + local legacy_args=akv
167547 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
167548 DEBUG + local -A args_array
167549 DEBUG + local app
167550 DEBUG + local key
167551 DEBUG + local value
167552 DEBUG + ynh_handle_getopts_args zabbix db_user zabbix
167553 DEBUG + set +o xtrace
167755 DEBUG + echo '! Helper used in legacy mode !'
167756 DEBUG + set +x
167758 DEBUG + [[ db_user =~ (unprotected|protected|skipped)_ ]]
167759 DEBUG + ynh_app_setting set zabbix db_user zabbix
167760 DEBUG + set +o xtrace
168063 DEBUG + ynh_mysql_setup_db zabbix zabbix
168064 DEBUG + local legacy_args=unp
168065 DEBUG + args_array=([u]=db_user= [n]=db_name= [p]=db_pwd=)
168066 DEBUG + local -A args_array
168067 DEBUG + local db_user
168068 DEBUG + local db_name
168069 DEBUG + db_pwd=
168071 DEBUG + ynh_handle_getopts_args zabbix zabbix
168072 DEBUG + set +o xtrace
168274 DEBUG + echo '! Helper used in legacy mode !'
168275 DEBUG + set +x
168276 DEBUG ++ ynh_string_random
168277 DEBUG ++ local legacy_args=l
168278 DEBUG ++ args_array=([l]=length=)
168279 DEBUG ++ local -A args_array
168280 DEBUG ++ local length
168281 DEBUG ++ ynh_handle_getopts_args
168282 DEBUG ++ set +o xtrace
168283 DEBUG ++ length=24
168284 DEBUG ++ dd if=/dev/urandom bs=1 count=1000
168285 DEBUG ++ tr --complement --delete A-Za-z0-9
168287 DEBUG ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
168288 DEBUG + local new_db_pwd=9J1WNX9j5izJPUrZUS48AS08
168289 DEBUG + db_pwd=9J1WNX9j5izJPUrZUS48AS08
168290 DEBUG + ynh_mysql_create_db zabbix zabbix 9J1WNX9j5izJPUrZUS48AS08
168291 DEBUG + local db=zabbix
168292 DEBUG + local 'sql=CREATE DATABASE zabbix;'
168293 DEBUG + [[ 3 -gt 1 ]]
168294 DEBUG + sql+=' GRANT ALL PRIVILEGES ON zabbix.* TO '\''zabbix'\''@'\''localhost'\'''
168295 DEBUG + [[ -n 9J1WNX9j5izJPUrZUS48AS08 ]]
168296 DEBUG + sql+=' IDENTIFIED BY '\''9J1WNX9j5izJPUrZUS48AS08'\'''
168297 DEBUG + sql+=' WITH GRANT OPTION;'
168298 DEBUG + ynh_mysql_execute_as_root '--sql=CREATE DATABASE zabbix; GRANT ALL PRIVILEGES ON zabbix.* TO '\''zabbix'\''@'\''localhost'\'' IDENTIFIED BY '\''9J1WNX9j5izJPUrZUS48AS08'\'' WITH GRANT OPTION;'
168300 DEBUG + local legacy_args=sd
168301 DEBUG + args_array=([s]=sql= [d]=database=)
168303 DEBUG + local -A args_array
168304 DEBUG + local sql
168305 DEBUG + local database
168306 DEBUG + ynh_handle_getopts_args '--sql=CREATE DATABASE zabbix; GRANT ALL PRIVILEGES ON zabbix.* TO '\''zabbix'\''@'\''localhost'\'' IDENTIFIED BY '\''9J1WNX9j5izJPUrZUS48AS08'\'' WITH GRANT OPTION;'
168307 DEBUG + set +o xtrace
168308 DEBUG + database=
168309 DEBUG + '[' -n '' ']'
168310 DEBUG ++ cat /etc/yunohost/mysql
168311 DEBUG + ynh_mysql_connect_as --user=root --password=AnCRiv8GeH
168312 DEBUG + local legacy_args=upd
168313 DEBUG + args_array=([u]=user= [p]=password= [d]=database=)
168314 DEBUG + local -A args_array
168315 DEBUG + local user
168316 DEBUG + local password
168317 DEBUG + local database
168318 DEBUG + ynh_handle_getopts_args --user=root --password=AnCRiv8GeH
168319 DEBUG + set +o xtrace
168420 DEBUG + database=
168421 DEBUG + mysql --user=root --password=AnCRiv8GeH --batch ''
168523 DEBUG + ynh_app_setting_set --app=zabbix --key=mysqlpwd --value=9J1WNX9j5izJPUrZUS48AS08
168524 DEBUG + local legacy_args=akv
168526 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
168527 DEBUG + local -A args_array
168528 DEBUG + local app
168529 DEBUG + local key
168531 DEBUG + local value
168532 DEBUG + ynh_handle_getopts_args --app=zabbix --key=mysqlpwd --value=9J1WNX9j5izJPUrZUS48AS08
168533 DEBUG + set +o xtrace
168735 DEBUG + [[ mysqlpwd =~ (unprotected|protected|skipped)_ ]]
168736 DEBUG + ynh_app_setting set zabbix mysqlpwd 9J1WNX9j5izJPUrZUS48AS08
168738 DEBUG + set +o xtrace
169040 DEBUG + export 'mysqlconn=mysql -uzabbix -p9J1WNX9j5izJPUrZUS48AS08 zabbix'
169042 DEBUG + mysqlconn='mysql -uzabbix -p9J1WNX9j5izJPUrZUS48AS08 zabbix'
169043 DEBUG + mysql --user=zabbix --password=9J1WNX9j5izJPUrZUS48AS08 --database=zabbix -e 'ALTER DATABASE zabbix CHARACTER SET utf8 COLLATE utf8_general_ci;'
169045 DEBUG + ynh_script_progression '--message=Import default data in database...' -w 25
169046 DEBUG + set +o xtrace
169348 DEBUG + set +o xtrace
169349 WARNING gzip: /usr/share/doc/zabbix-server-mysql*/create.sql.gz: No such file or directory
169350 DEBUG + echo '! Helper used in legacy mode !'
169351 DEBUG + set +x
169352 DEBUG + echo '[######+++++++.......] > Import default data in database...'
169353 DEBUG + set -o xtrace
169354 DEBUG + mysql -uzabbix -p9J1WNX9j5izJPUrZUS48AS08 zabbix
169355 DEBUG + zcat '/usr/share/doc/zabbix-server-mysql*/create.sql.gz'
169356 DEBUG + convert_ZabbixDB
169357 DEBUG + mysql --user=zabbix --password=9J1WNX9j5izJPUrZUS48AS08 --database=zabbix -e 'ALTER DATABASE zabbix CHARACTER SET utf8 COLLATE utf8_general_ci;'
169458 DEBUG ++ mysql -B -N --user=zabbix --password=9J1WNX9j5izJPUrZUS48AS08 --database=zabbix -e 'show tables'
169459 WARNING ERROR 1146 (42S02) at line 1: Table 'zabbix.config' doesn't exist
169460 INFO [######+++++++.......] > Import default data in database...
169461 DEBUG + mysql -uzabbix -p9J1WNX9j5izJPUrZUS48AS08 zabbix -e 'UPDATE `config` SET `http_auth_enabled` = '\''1'\'', `http_login_form` = '\''1'\'' WHERE `config`.`configid` = 1;'
169462 DEBUG + ynh_exit_properly
169463 DEBUG + local exit_code=1
169463 DEBUG + '[' 1 -eq 0 ']'
169464 DEBUG + trap '' EXIT
169465 DEBUG + set +o errexit
169466 DEBUG + set +o nounset
169466 DEBUG + sleep 0.5
169970 DEBUG + type -t ynh_clean_setup
169972 DEBUG + exit 1
170008 ERROR Unable to install zabbix: An error occurred inside the app installation script
170010 INFO The operation 'Install the 'zabbix' app' could not be completed. Please share the full log of this operation using the command 'yunohost log display 20210411-153936-app_install-zabbix --share' to get help
170141 WARNING Here's an extract of the logs before the crash. It might help debugging the error:
170142 INFO DEBUG - ++ cat /etc/yunohost/mysql
170153 INFO DEBUG - + ynh_mysql_connect_as --user=root --password=**********
170153 INFO DEBUG - + database=
170155 INFO DEBUG - + mysql --user=root --password=********** --batch ''
170156 INFO DEBUG - + ynh_app_setting_set --app=zabbix --key=mysqlpwd --value=**********
170157 INFO DEBUG - + [[ mysqlpwd =~ (unprotected|protected|skipped)_ ]]
170158 INFO DEBUG - + ynh_app_setting set zabbix mysqlpwd **********
170159 INFO DEBUG - + export 'mysqlconn=mysql -uzabbix -p********** zabbix'
170160 INFO DEBUG - + mysqlconn='mysql -uzabbix -p********** zabbix'
170161 INFO DEBUG - + mysql --user=zabbix --password=********** --database=zabbix -e 'ALTER DATABASE zabbix CHARACTER SET utf8 COLLATE utf8_general_ci;'
170163 INFO WARNING - gzip: /usr/share/doc/zabbix-server-mysql*/create.sql.gz: No such file or directory
170164 INFO DEBUG - + echo '[######+++++++.......] > Import default data in database...'
170165 INFO DEBUG - + mysql -uzabbix -p********** zabbix
170166 INFO DEBUG - + zcat '/usr/share/doc/zabbix-server-mysql*/create.sql.gz'
170167 INFO DEBUG - + convert_ZabbixDB
170168 INFO DEBUG - + mysql --user=zabbix --password=********** --database=zabbix -e 'ALTER DATABASE zabbix CHARACTER SET utf8 COLLATE utf8_general_ci;'
170169 INFO DEBUG - ++ mysql -B -N --user=zabbix --password=********** --database=zabbix -e 'show tables'
170171 INFO WARNING - ERROR 1146 (42S02) at line 1: Table 'zabbix.config' doesn't exist
170172 INFO INFO - [######+++++++.......] > Import default data in database...
170173 INFO DEBUG - + mysql -uzabbix -p********** zabbix -e 'UPDATE `config` SET `http_auth_enabled` = '\''1'\'', `http_login_form` = '\''1'\'' WHERE `config`.`configid` = 1;'
170174 INFO DEBUG - + ynh_exit_properly
170273 WARNING Removing the app following the installation failure...
170303 DEBUG Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/scripts YNH_STDINFO=/tmp/tmpwR5rNU/stdinfo YNH_APP_INSTANCE_NAME=zabbix YNH_INTERFACE=cli YNH_APP_ID=zabbix YNH_STDRETURN=/tmp/tmpiEsuAn/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./remove" zabbix 7>&1'
170336 DEBUG + source _common.sh
170339 DEBUG + source /usr/share/yunohost/helpers
170341 DEBUG +++ set +o
170344 DEBUG +++ grep xtrace
170346 DEBUG ++ readonly 'XTRACE_ENABLE=set -o xtrace'
170347 DEBUG ++ XTRACE_ENABLE='set -o xtrace'
170349 DEBUG ++ set +x
170551 DEBUG + app=zabbix
170552 DEBUG ++ ynh_app_setting_get zabbix domain
170553 DEBUG ++ local legacy_args=ak
170555 DEBUG ++ args_array=([a]=app= [k]=key=)
170556 DEBUG ++ local -A args_array
170557 DEBUG ++ local app
170559 DEBUG ++ local key
170561 DEBUG ++ ynh_handle_getopts_args zabbix domain
170563 DEBUG ++ set +o xtrace
170565 DEBUG ++ echo '! Helper used in legacy mode !'
170566 DEBUG ++ set +x
170668 DEBUG ++ [[ domain =~ (unprotected|protected|skipped)_ ]]
170671 DEBUG ++ ynh_app_setting get zabbix domain
170673 DEBUG ++ set +o xtrace
170976 DEBUG + domain=yunhostzabbix.home
170978 DEBUG ++ ynh_app_setting_get zabbix port
170980 DEBUG ++ local legacy_args=ak
170982 DEBUG ++ args_array=([a]=app= [k]=key=)
170983 DEBUG ++ local -A args_array
170985 DEBUG ++ local app
170987 DEBUG ++ local key
170989 DEBUG ++ ynh_handle_getopts_args zabbix port
170991 DEBUG ++ set +o xtrace
170992 DEBUG ++ echo '! Helper used in legacy mode !'
170994 DEBUG ++ set +x
170995 DEBUG ++ [[ port =~ (unprotected|protected|skipped)_ ]]
170997 DEBUG ++ ynh_app_setting get zabbix port
170999 DEBUG ++ set +o xtrace
171401 DEBUG + port=
171402 DEBUG ++ ynh_app_setting_get zabbix db_name
171403 DEBUG ++ local legacy_args=ak
171404 DEBUG ++ args_array=([a]=app= [k]=key=)
171405 DEBUG ++ local -A args_array
171406 DEBUG ++ local app
171407 DEBUG ++ local key
171408 DEBUG ++ ynh_handle_getopts_args zabbix db_name
171409 DEBUG ++ set +o xtrace
171410 DEBUG ++ echo '! Helper used in legacy mode !'
171411 DEBUG ++ set +x
171412 DEBUG ++ [[ db_name =~ (unprotected|protected|skipped)_ ]]
171413 DEBUG ++ ynh_app_setting get zabbix db_name
171414 DEBUG ++ set +o xtrace
171816 DEBUG + db_name=zabbix
171817 DEBUG + db_user=zabbix
171818 DEBUG + yunohost service remove snmpd
172421 DEBUG + yunohost service remove zabbix-server
172422 WARNING Unknown service 'snmpd'
173126 DEBUG + yunohost service remove zabbix-agent
173128 WARNING Unknown service 'zabbix-server'
173731 WARNING Unknown service 'zabbix-agent'
173834 DEBUG + ynh_remove_fpm_config
173835 DEBUG ++ ynh_app_setting_get --app=zabbix --key=fpm_config_dir
173837 DEBUG ++ local legacy_args=ak
173839 DEBUG ++ args_array=([a]=app= [k]=key=)
173841 DEBUG ++ local -A args_array
173843 DEBUG ++ local app
173844 DEBUG ++ local key
173846 DEBUG ++ ynh_handle_getopts_args --app=zabbix --key=fpm_config_dir
173848 DEBUG ++ set +o xtrace
173850 DEBUG ++ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
173851 DEBUG ++ ynh_app_setting get zabbix fpm_config_dir
173853 DEBUG ++ set +o xtrace
174256 DEBUG + local fpm_config_dir=
174258 DEBUG ++ ynh_app_setting_get --app=zabbix --key=fpm_service
174260 DEBUG ++ local legacy_args=ak
174262 DEBUG ++ args_array=([a]=app= [k]=key=)
174263 DEBUG ++ local -A args_array
174265 DEBUG ++ local app
174266 DEBUG ++ local key
174268 DEBUG ++ ynh_handle_getopts_args --app=zabbix --key=fpm_service
174270 DEBUG ++ set +o xtrace
174272 DEBUG ++ [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
174273 DEBUG ++ ynh_app_setting get zabbix fpm_service
174275 DEBUG ++ set +o xtrace
174678 DEBUG + local fpm_service=
174680 DEBUG ++ ynh_app_setting_get --app=zabbix --key=fpm_dedicated_service
174682 DEBUG ++ local legacy_args=ak
174683 DEBUG ++ args_array=([a]=app= [k]=key=)
174685 DEBUG ++ local -A args_array
174687 DEBUG ++ local app
174688 DEBUG ++ local key
174690 DEBUG ++ ynh_handle_getopts_args --app=zabbix --key=fpm_dedicated_service
174692 DEBUG ++ set +o xtrace
174694 DEBUG ++ [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
174695 DEBUG ++ ynh_app_setting get zabbix fpm_dedicated_service
174697 DEBUG ++ set +o xtrace
175100 DEBUG + local dedicated_service=
175101 DEBUG + dedicated_service=0
175103 DEBUG ++ ynh_app_setting_get --app=zabbix --key=phpversion
175104 DEBUG ++ local legacy_args=ak
175105 DEBUG ++ args_array=([a]=app= [k]=key=)
175106 DEBUG ++ local -A args_array
175107 DEBUG ++ local app
175109 DEBUG ++ local key
175110 DEBUG ++ ynh_handle_getopts_args --app=zabbix --key=phpversion
175111 DEBUG ++ set +o xtrace
175113 DEBUG ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
175114 DEBUG ++ ynh_app_setting get zabbix phpversion
175115 DEBUG ++ set +o xtrace
175518 DEBUG + local phpversion=
175519 DEBUG + phpversion=7.3
175520 DEBUG + '[' -z '' ']'
175522 DEBUG + fpm_config_dir=/etc/php/7.3/fpm
175524 DEBUG + fpm_service=php7.3-fpm
175525 DEBUG + '[' 0 -eq 1 ']'
175527 DEBUG + ynh_package_is_installed --package=php7.3-fpm
175529 DEBUG + local legacy_args=p
175530 DEBUG + args_array=([p]=package=)
175532 DEBUG + local -A args_array
175534 DEBUG + local package
175535 DEBUG + ynh_handle_getopts_args --package=php7.3-fpm
175537 DEBUG + set +o xtrace
175538 DEBUG + ynh_wait_dpkg_free
175539 DEBUG + local try
175540 DEBUG + set +o xtrace
175842 DEBUG + return 0
175844 DEBUG + dpkg-query --show '--showformat=${Status}' php7.3-fpm
175846 DEBUG + grep --count 'ok installed'
175848 DEBUG + ynh_systemd_action --service_name=php7.3-fpm --action=reload
175849 DEBUG + local legacy_args=nalpte
175851 DEBUG + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
175853 DEBUG + local -A args_array
175855 DEBUG + local service_name
175856 DEBUG + local action
175858 DEBUG + local line_match
175860 DEBUG + local length
175862 DEBUG + local log_path
175864 DEBUG + local timeout
175866 DEBUG + ynh_handle_getopts_args --service_name=php7.3-fpm --action=reload
175868 DEBUG + set +o xtrace
176070 DEBUG + service_name=php7.3-fpm
176071 DEBUG + action=reload
176073 DEBUG + line_match=
176075 DEBUG + length=20
176081 DEBUG + log_path=/var/log/php7.3-fpm/php7.3-fpm.log
176083 DEBUG + timeout=300
176089 DEBUG + [[ -n '' ]]
176090 DEBUG + '[' reload == reload ']'
176093 DEBUG + action=reload-or-restart
176095 DEBUG + systemctl reload-or-restart php7.3-fpm
176198 DEBUG + [[ -n '' ]]
176200 DEBUG + ynh_secure_remove --file=/etc/php/7.3/fpm/pool.d/zabbix.conf
176204 DEBUG + local legacy_args=f
176205 DEBUG + args_array=([f]=file=)
176206 DEBUG + local -A args_array
176207 DEBUG + local file
176208 DEBUG + ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/zabbix.conf
176211 DEBUG + set +o xtrace
176212 DEBUG + local 'forbidden_path= /var/www /home/yunohost.app'
176213 DEBUG + '[' 1 -ge 2 ']'
176215 DEBUG + [[ -z /etc/php/7.3/fpm/pool.d/zabbix.conf ]]
176216 DEBUG + [[ /var/www /home/yunohost.app =~ /etc/php/7\.3/fpm/pool\.d/zabbix\.conf ]]
176217 DEBUG + [[ /etc/php/7.3/fpm/pool.d/zabbix.conf =~ ^/[[:alnum:]]+$ ]]
176218 DEBUG + [[ f = \/ ]]
176220 DEBUG + '[' -e /etc/php/7.3/fpm/pool.d/zabbix.conf ']'
176221 DEBUG + ynh_print_info '--message='\''/etc/php/7.3/fpm/pool.d/zabbix.conf'\'' wasn'\''t deleted because it doesn'\''t exist.'
176222 DEBUG + local legacy_args=m
176224 DEBUG + args_array=([m]=message=)
176225 DEBUG + local -A args_array
176227 DEBUG + local message
176228 DEBUG + ynh_handle_getopts_args '--message='\''/etc/php/7.3/fpm/pool.d/zabbix.conf'\'' wasn'\''t deleted because it doesn'\''t exist.'
176229 DEBUG + set +o xtrace
176231 DEBUG + echo ''\''/etc/php/7.3/fpm/pool.d/zabbix.conf'\'' wasn'\''t deleted because it doesn'\''t exist.'
176232 DEBUG + '[' -e /etc/php/7.3/fpm/conf.d/20-zabbix.ini ']'
176233 DEBUG + '[' 7.3 '!=' 7.3 ']'
176234 DEBUG + timeout 5 systemctl stop zabbix-server
176235 DEBUG + systemctl disable zabbix-server --quiet
177440 WARNING insserv: warning: current start runlevel(s) (empty) of script `zabbix-server' overrides LSB defaults (2 3 4 5).
177441 INFO '/etc/php/7.3/fpm/pool.d/zabbix.conf' wasn't deleted because it doesn't exist.
177443 WARNING insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `zabbix-server' overrides LSB defaults (0 1 6).
178948 DEBUG + killall zabbix_server
178949 WARNING zabbix_server: no process found
178950 DEBUG + timeout 5 systemctl stop zabbix-agent
178951 DEBUG + systemctl disable zabbix-agent --quiet
180055 WARNING insserv: warning: current start runlevel(s) (empty) of script `zabbix-agent' overrides LSB defaults (2 3 4 5).
180057 WARNING insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `zabbix-agent' overrides LSB defaults (0 1 6).
181562 DEBUG + killall zabbix_agentd
181563 WARNING zabbix_agentd: no process found
181564 DEBUG + delete_initZabbixConf
181564 DEBUG + '[' -f /etc/zabbix/web/init.zabbix.conf.php.sh ']'
181565 DEBUG + '[' -f /etc/apt/apt.conf.d/100update_force_init_zabbix_frontend_config ']'
181566 DEBUG + DEBIAN_FRONTEND=noninteractive
181567 DEBUG + apt-get purge zabbix-release -y
182170 DEBUG Reading package lists...
182974 DEBUG Building dependency tree...
182975 DEBUG Reading state information...
183678 DEBUG + ynh_remove_app_dependencies
183679 WARNING E: Unable to locate package zabbix-release
183679 DEBUG + local dep_app=zabbix
183680 DEBUG + ynh_package_autopurge zabbix-ynh-deps
183681 DEBUG + ynh_apt autoremove --purge zabbix-ynh-deps
183682 DEBUG + ynh_wait_dpkg_free
183682 DEBUG + local try
183683 DEBUG + set +o xtrace
183985 DEBUG + return 0
183986 DEBUG + LC_ALL=C
183987 DEBUG + DEBIAN_FRONTEND=noninteractive
183988 DEBUG + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 autoremove --purge zabbix-ynh-deps
184089 DEBUG Reading package lists...
184792 DEBUG Building dependency tree...
184794 DEBUG Reading state information...
186199 DEBUG The following packages will be REMOVED:
186201 DEBUG fping* libapr1* libaprutil1* libaprutil1-dbd-sqlite3* libaprutil1-ldap*
186202 DEBUG libblas3* libgfortran5* libiksemel3* libjs-prototype* liblinear3*
186204 DEBUG liblua5.2-0* libopenipmi0* libpcap0.8* libsensors-config* libsensors5*
186206 DEBUG libsnmp-base* libsnmp30* nmap* nmap-common* php-bcmath* php7.3*
186207 DEBUG php7.3-bcmath* smistrip* snmpd* snmptrapd* ttf-dejavu-core* zabbix-agent*
186209 DEBUG zabbix-frontend-php* zabbix-server-mysql* zabbix-ynh-deps*
188015 DEBUG 0 upgraded, 0 newly installed, 30 to remove and 0 not upgraded.
188017 DEBUG After this operation, 59.2 MB disk space will be freed.
188219 DEBUG (Reading database ... 55148 files and directories currently installed.)
188220 DEBUG Removing zabbix-ynh-deps (4.4~ynh1) ...
188322 DEBUG Removing zabbix-server-mysql (1:4.0.4+dfsg-1) ...
189427 DEBUG Removing fping (4.2-1) ...
189529 DEBUG Removing libaprutil1-ldap:armhf (1.6.1-4) ...
189730 DEBUG Removing libaprutil1-dbd-sqlite3:armhf (1.6.1-4) ...
189832 DEBUG Removing libaprutil1:armhf (1.6.1-4) ...
189934 DEBUG Removing libapr1:armhf (1.6.5-1) ...
190136 DEBUG Removing nmap (7.70+dfsg1-6+deb10u1) ...
190238 DEBUG Removing liblinear3:armhf (2.1.0+dfsg-4) ...
190341 DEBUG Removing libblas3:armhf (3.8.0-2) ...
190543 DEBUG Removing libgfortran5:armhf (8.3.0-6+rpi1) ...
190746 DEBUG Removing libiksemel3:armhf (1.4-3+b1) ...
190849 DEBUG Removing libjs-prototype (1.7.1-3) ...
190952 DEBUG Removing liblua5.2-0:armhf (5.2.4-1.1+b1) ...
191155 DEBUG Removing libopenipmi0 (2.0.25-2.1) ...
191257 DEBUG Removing libpcap0.8:armhf (1.8.1-6) ...
191460 DEBUG Removing snmptrapd (5.7.3+dfsg-5+deb10u2) ...
192567 DEBUG Removing snmpd (5.7.3+dfsg-5+deb10u2) ...
194480 DEBUG Removing libsnmp30:armhf (5.7.3+dfsg-5+deb10u2) ...
194581 DEBUG Removing libsensors5:armhf (1:3.5.0-3) ...
194682 DEBUG Removing libsensors-config (1:3.5.0-3) ...
194783 DEBUG Removing libsnmp-base (5.7.3+dfsg-5+deb10u2) ...
194985 DEBUG Removing nmap-common (7.70+dfsg1-6+deb10u1) ...
195187 DEBUG Removing zabbix-frontend-php (1:4.0.4+dfsg-1) ...
195489 DEBUG Removing php-bcmath (2:7.3+69) ...
195691 DEBUG Removing php7.3 (7.3.27-1~deb10u1) ...
195792 DEBUG Removing php7.3-bcmath (7.3.27-1~deb10u1) ...
196094 DEBUG Removing smistrip (0.4.8+dfsg2-16) ...
196196 DEBUG Removing ttf-dejavu-core (2.37-1) ...
196398 DEBUG Removing zabbix-agent (1:4.0.4+dfsg-1) ...
198405 DEBUG Processing triggers for libc-bin (2.28-10+rpi1) ...
198507 DEBUG Processing triggers for man-db (2.8.5-2) ...
199712 DEBUG Processing triggers for php7.3-fpm (7.3.27-1~deb10u1) ...
201117 DEBUG (Reading database ... 52872 files and directories currently installed.)
201118 DEBUG Purging configuration files for php7.3-bcmath (7.3.27-1~deb10u1) ...
201220 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
201321 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
201724 DEBUG Purging configuration files for zabbix-server-mysql (1:4.0.4+dfsg-1) ...
202828 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
203030 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
203132 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
203233 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
204638 DEBUG Purging configuration files for libsnmp-base (5.7.3+dfsg-5+deb10u2) ...
204739 DEBUG Purging configuration files for libsensors-config (1:3.5.0-3) ...
204840 DEBUG Purging configuration files for snmpd (5.7.3+dfsg-5+deb10u2) ...
212161 DEBUG Purging configuration files for zabbix-frontend-php (1:4.0.4+dfsg-1) ...
212263 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
212465 DEBUG Purging configuration files for snmptrapd (5.7.3+dfsg-5+deb10u2) ...
212466 DEBUG dpkg: warning: while removing zabbix-frontend-php, directory '/usr/share/zabbix' not empty so not removed
214678 DEBUG Purging configuration files for zabbix-agent (1:4.0.4+dfsg-1) ...
214779 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
215783 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
215985 DEBUG /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
217390 DEBUG Processing triggers for systemd (241-7~deb10u7+rpi1) ...
218695 DEBUG ++ apt list --installed
218696 DEBUG ++ grep -Po '\K(zabbix-.*)(?=/)'
218797 DEBUG
218799 WARNING WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
218801 DEBUG
219806 DEBUG + ynh_mysql_remove_db zabbix zabbix
219808 DEBUG + local legacy_args=un
219809 DEBUG + args_array=([u]=db_user= [n]=db_name=)
219810 DEBUG + local -A args_array
219811 DEBUG + local db_user
219812 DEBUG + local db_name
219813 DEBUG + ynh_handle_getopts_args zabbix zabbix
219815 DEBUG + set +o xtrace
219917 DEBUG + echo '! Helper used in legacy mode !'
219918 DEBUG + set +x
219919 DEBUG ++ cat /etc/yunohost/mysql
219920 DEBUG + local mysql_root_password=AnCRiv8GeH
219922 DEBUG + mysqlshow --user=root --password=AnCRiv8GeH
219923 DEBUG + grep --quiet '^| zabbix'
219924 DEBUG + ynh_mysql_drop_db zabbix
219926 DEBUG + ynh_mysql_execute_as_root '--sql=DROP DATABASE zabbix;'
219927 DEBUG + local legacy_args=sd
219929 DEBUG + args_array=([s]=sql= [d]=database=)
219930 DEBUG + local -A args_array
219931 DEBUG + local sql
219932 DEBUG + local database
219933 DEBUG + ynh_handle_getopts_args '--sql=DROP DATABASE zabbix;'
219934 DEBUG + set +o xtrace
220035 DEBUG + database=
220036 DEBUG + '[' -n '' ']'
220037 DEBUG ++ cat /etc/yunohost/mysql
220038 DEBUG + ynh_mysql_connect_as --user=root --password=AnCRiv8GeH
220039 DEBUG + local legacy_args=upd
220040 DEBUG + args_array=([u]=user= [p]=password= [d]=database=)
220041 DEBUG + local -A args_array
220044 DEBUG + local user
220045 DEBUG + local password
220046 DEBUG + local database
220047 DEBUG + ynh_handle_getopts_args --user=root --password=AnCRiv8GeH
220049 DEBUG + set +o xtrace
220150 DEBUG + database=
220151 DEBUG + mysql --user=root --password=AnCRiv8GeH --batch ''
220152 DEBUG + ynh_mysql_user_exists --user=zabbix
220153 DEBUG + local legacy_args=u
220154 DEBUG + args_array=([u]=user=)
220155 DEBUG + local -A args_array
220157 DEBUG + local user
220158 DEBUG + ynh_handle_getopts_args --user=zabbix
220160 DEBUG + set +o xtrace
220261 DEBUG ++ ynh_mysql_execute_as_root '--sql=SELECT User from mysql.user WHERE User = '\''zabbix'\'';'
220262 DEBUG ++ local legacy_args=sd
220263 DEBUG ++ args_array=([s]=sql= [d]=database=)
220264 DEBUG ++ local -A args_array
220265 DEBUG ++ local sql
220266 DEBUG ++ local database
220267 DEBUG ++ ynh_handle_getopts_args '--sql=SELECT User from mysql.user WHERE User = '\''zabbix'\'';'
220268 DEBUG ++ set +o xtrace
220269 DEBUG ++ database=
220270 DEBUG ++ '[' -n '' ']'
220271 DEBUG +++ cat /etc/yunohost/mysql
220272 DEBUG ++ ynh_mysql_connect_as --user=root --password=AnCRiv8GeH
220273 DEBUG ++ local legacy_args=upd
220274 DEBUG ++ args_array=([u]=user= [p]=password= [d]=database=)
220275 DEBUG ++ local -A args_array
220277 DEBUG ++ local user
220278 DEBUG ++ local password
220279 DEBUG ++ local database
220280 DEBUG ++ ynh_handle_getopts_args --user=root --password=AnCRiv8GeH
220281 DEBUG ++ set +o xtrace
220382 DEBUG ++ database=
220383 DEBUG ++ mysql --user=root --password=AnCRiv8GeH --batch ''
220484 DEBUG + [[ -z User
220486 DEBUG zabbix ]]
220487 DEBUG + return 0
220488 DEBUG + ynh_mysql_drop_user zabbix
220489 DEBUG + ynh_mysql_execute_as_root '--sql=DROP USER '\''zabbix'\''@'\''localhost'\'';'
220490 DEBUG + local legacy_args=sd
220491 DEBUG + args_array=([s]=sql= [d]=database=)
220492 DEBUG + local -A args_array
220493 DEBUG + local sql
220494 DEBUG + local database
220495 DEBUG + ynh_handle_getopts_args '--sql=DROP USER '\''zabbix'\''@'\''localhost'\'';'
220496 DEBUG + set +o xtrace
220497 DEBUG + database=
220498 DEBUG + '[' -n '' ']'
220499 DEBUG ++ cat /etc/yunohost/mysql
220500 DEBUG + ynh_mysql_connect_as --user=root --password=AnCRiv8GeH
220501 DEBUG + local legacy_args=upd
220503 DEBUG + args_array=([u]=user= [p]=password= [d]=database=)
220504 DEBUG + local -A args_array
220505 DEBUG + local user
220506 DEBUG + local password
220507 DEBUG + local database
220508 DEBUG + ynh_handle_getopts_args --user=root --password=AnCRiv8GeH
220509 DEBUG + set +o xtrace
220711 DEBUG + database=
220713 DEBUG + mysql --user=root --password=AnCRiv8GeH --batch ''
220714 DEBUG + ynh_remove_nginx_config
220715 DEBUG + ynh_secure_remove --file=/etc/nginx/conf.d/yunhostzabbix.home.d/zabbix.conf
220717 DEBUG + local legacy_args=f
220718 DEBUG + args_array=([f]=file=)
220720 DEBUG + local -A args_array
220721 DEBUG + local file
220722 DEBUG + ynh_handle_getopts_args --file=/etc/nginx/conf.d/yunhostzabbix.home.d/zabbix.conf
220724 DEBUG + set +o xtrace
220826 DEBUG + local 'forbidden_path= /var/www /home/yunohost.app'
220827 INFO '/etc/nginx/conf.d/yunhostzabbix.home.d/zabbix.conf' wasn't deleted because it doesn't exist.
220829 DEBUG + '[' 1 -ge 2 ']'
220830 DEBUG + [[ -z /etc/nginx/conf.d/yunhostzabbix.home.d/zabbix.conf ]]
220831 DEBUG + [[ /var/www /home/yunohost.app =~ /etc/nginx/conf\.d/yunhostzabbix\.home\.d/zabbix\.conf ]]
220832 DEBUG + [[ /etc/nginx/conf.d/yunhostzabbix.home.d/zabbix.conf =~ ^/[[:alnum:]]+$ ]]
220833 DEBUG + [[ f = \/ ]]
220834 DEBUG + '[' -e /etc/nginx/conf.d/yunhostzabbix.home.d/zabbix.conf ']'
220835 DEBUG + ynh_print_info '--message='\''/etc/nginx/conf.d/yunhostzabbix.home.d/zabbix.conf'\'' wasn'\''t deleted because it doesn'\''t exist.'
220836 DEBUG + local legacy_args=m
220837 DEBUG + args_array=([m]=message=)
220839 DEBUG + local -A args_array
220840 DEBUG + local message
220841 DEBUG + ynh_handle_getopts_args '--message='\''/etc/nginx/conf.d/yunhostzabbix.home.d/zabbix.conf'\'' wasn'\''t deleted because it doesn'\''t exist.'
220843 DEBUG + set +o xtrace
220844 DEBUG + echo ''\''/etc/nginx/conf.d/yunhostzabbix.home.d/zabbix.conf'\'' wasn'\''t deleted because it doesn'\''t exist.'
220845 DEBUG + ynh_systemd_action --service_name=nginx --action=reload
220846 DEBUG + local legacy_args=nalpte
220847 DEBUG + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
220848 DEBUG + local -A args_array
220849 DEBUG + local service_name
220850 DEBUG + local action
220851 DEBUG + local line_match
220853 DEBUG + local length
220854 DEBUG + local log_path
220855 DEBUG + local timeout
220856 DEBUG + ynh_handle_getopts_args --service_name=nginx --action=reload
220857 DEBUG + set +o xtrace
221059 DEBUG + service_name=nginx
221060 DEBUG + action=reload
221061 DEBUG + line_match=
221062 DEBUG + length=20
221062 DEBUG + log_path=/var/log/nginx/nginx.log
221063 DEBUG + timeout=300
221064 DEBUG + [[ -n '' ]]
221065 DEBUG + '[' reload == reload ']'
221066 DEBUG + action=reload-or-restart
221067 DEBUG + systemctl reload-or-restart nginx
221268 DEBUG + [[ -n '' ]]
221269 DEBUG + ynh_remove_logrotate
221270 DEBUG + '[' -e /etc/logrotate.d/zabbix ']'
221271 DEBUG + yunohost firewall list
221272 DEBUG + grep -q '\- $'
221975 DEBUG + remove_zabbix_repo
221976 DEBUG + ynh_remove_extra_repo --name=zabbix
221977 DEBUG + local legacy_args=n
221978 DEBUG + args_array=([n]=name=)
221979 DEBUG + local -A args_array
221980 DEBUG + local name
221981 DEBUG + ynh_handle_getopts_args --name=zabbix
221982 DEBUG + set +o xtrace
222083 DEBUG + name=zabbix
222084 DEBUG + ynh_secure_remove /etc/apt/sources.list.d/zabbix.list
222085 DEBUG + local legacy_args=f
222087 DEBUG + args_array=([f]=file=)
222088 DEBUG + local -A args_array
222089 DEBUG + local file
222090 DEBUG + ynh_handle_getopts_args /etc/apt/sources.list.d/zabbix.list
222091 DEBUG + set +o xtrace
222092 DEBUG + echo '! Helper used in legacy mode !'
222093 DEBUG + set +x
222094 DEBUG + local 'forbidden_path= /var/www /home/yunohost.app'
222095 DEBUG + '[' 1 -ge 2 ']'
222097 DEBUG + [[ -z /etc/apt/sources.list.d/zabbix.list ]]
222098 DEBUG + [[ /var/www /home/yunohost.app =~ /etc/apt/sources\.list\.d/zabbix\.list ]]
222099 DEBUG + [[ /etc/apt/sources.list.d/zabbix.list =~ ^/[[:alnum:]]+$ ]]
222100 DEBUG + [[ t = \/ ]]
222101 DEBUG + '[' -e /etc/apt/sources.list.d/zabbix.list ']'
222102 DEBUG + rm --recursive /etc/apt/sources.list.d/zabbix.list
222103 DEBUG + [[ zabbix == \e\x\t\r\a\_\p\h\p\_\v\e\r\s\i\o\n ]]
222104 DEBUG + ynh_secure_remove /etc/apt/preferences.d/zabbix
222106 DEBUG + local legacy_args=f
222107 DEBUG + args_array=([f]=file=)
222108 DEBUG + local -A args_array
222109 DEBUG + local file
222110 DEBUG + ynh_handle_getopts_args /etc/apt/preferences.d/zabbix
222111 DEBUG + set +o xtrace
222112 DEBUG + echo '! Helper used in legacy mode !'
222113 DEBUG + set +x
222114 DEBUG + local 'forbidden_path= /var/www /home/yunohost.app'
222115 DEBUG + '[' 1 -ge 2 ']'
222116 DEBUG + [[ -z /etc/apt/preferences.d/zabbix ]]
222118 DEBUG + [[ /var/www /home/yunohost.app =~ /etc/apt/preferences\.d/zabbix ]]
222119 DEBUG + [[ /etc/apt/preferences.d/zabbix =~ ^/[[:alnum:]]+$ ]]
222120 DEBUG + [[ x = \/ ]]
222121 DEBUG + '[' -e /etc/apt/preferences.d/zabbix ']'
222122 DEBUG + rm --recursive /etc/apt/preferences.d/zabbix
222123 DEBUG + ynh_secure_remove /etc/apt/trusted.gpg.d/zabbix.gpg
222124 DEBUG + local legacy_args=f
222126 DEBUG + args_array=([f]=file=)
222127 DEBUG + local -A args_array
222128 DEBUG + local file
222129 DEBUG + ynh_handle_getopts_args /etc/apt/trusted.gpg.d/zabbix.gpg
222130 DEBUG + set +o xtrace
222131 DEBUG + echo '! Helper used in legacy mode !'
222132 DEBUG + set +x
222133 DEBUG + local 'forbidden_path= /var/www /home/yunohost.app'
222135 DEBUG + '[' 1 -ge 2 ']'
222136 DEBUG + [[ -z /etc/apt/trusted.gpg.d/zabbix.gpg ]]
222137 DEBUG + [[ /var/www /home/yunohost.app =~ /etc/apt/trusted\.gpg\.d/zabbix\.gpg ]]
222138 DEBUG + [[ /etc/apt/trusted.gpg.d/zabbix.gpg =~ ^/[[:alnum:]]+$ ]]
222139 DEBUG + [[ g = \/ ]]
222140 DEBUG + '[' -e /etc/apt/trusted.gpg.d/zabbix.gpg ']'
222141 DEBUG + rm --recursive /etc/apt/trusted.gpg.d/zabbix.gpg
222142 DEBUG + ynh_secure_remove /etc/apt/trusted.gpg.d/zabbix.asc
222143 DEBUG + local legacy_args=f
222144 DEBUG + args_array=([f]=file=)
222145 DEBUG + local -A args_array
222147 DEBUG + local file
222148 DEBUG + ynh_handle_getopts_args /etc/apt/trusted.gpg.d/zabbix.asc
222149 DEBUG + set +o xtrace
222150 DEBUG + echo '! Helper used in legacy mode !'
222151 DEBUG + set +x
222152 DEBUG + local 'forbidden_path= /var/www /home/yunohost.app'
222153 DEBUG + '[' 1 -ge 2 ']'
222154 DEBUG + [[ -z /etc/apt/trusted.gpg.d/zabbix.asc ]]
222155 DEBUG + [[ /var/www /home/yunohost.app =~ /etc/apt/trusted\.gpg\.d/zabbix\.asc ]]
222156 DEBUG + [[ /etc/apt/trusted.gpg.d/zabbix.asc =~ ^/[[:alnum:]]+$ ]]
222157 DEBUG + [[ c = \/ ]]
222158 DEBUG + '[' -e /etc/apt/trusted.gpg.d/zabbix.asc ']'
222159 DEBUG + ynh_print_info '--message='\''/etc/apt/trusted.gpg.d/zabbix.asc'\'' wasn'\''t deleted because it doesn'\''t exist.'
222160 DEBUG + local legacy_args=m
222161 DEBUG + args_array=([m]=message=)
222162 DEBUG + local -A args_array
222163 DEBUG + local message
222164 DEBUG + ynh_handle_getopts_args '--message='\''/etc/apt/trusted.gpg.d/zabbix.asc'\'' wasn'\''t deleted because it doesn'\''t exist.'
222165 DEBUG + set +o xtrace
222166 DEBUG + echo ''\''/etc/apt/trusted.gpg.d/zabbix.asc'\'' wasn'\''t deleted because it doesn'\''t exist.'
222167 DEBUG + ynh_package_update
222168 DEBUG + ynh_apt update
222169 DEBUG + ynh_wait_dpkg_free
222170 DEBUG + local try
222172 DEBUG + set +o xtrace
222473 DEBUG + return 0
222474 INFO '/etc/apt/trusted.gpg.d/zabbix.asc' wasn't deleted because it doesn't exist.
222475 DEBUG + LC_ALL=C
222476 DEBUG + DEBIAN_FRONTEND=noninteractive
222477 DEBUG + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
225887 DEBUG Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
225990 DEBUG Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.9 kB]
225992 DEBUG Hit:3 http://forge.yunohost.org/debian buster InRelease
227097 DEBUG Fetched 47.9 kB in 4s (11.0 kB/s)
231120 DEBUG Reading package lists...
231222 DEBUG + '[' -d /var/www/zabbix ']'
231224 DEBUG + ynh_secure_remove /var/www/zabbix
231226 DEBUG + local legacy_args=f
231228 DEBUG + args_array=([f]=file=)
231230 DEBUG + local -A args_array
231231 DEBUG + local file
231233 DEBUG + ynh_handle_getopts_args /var/www/zabbix
231234 DEBUG + set +o xtrace
231236 DEBUG + echo '! Helper used in legacy mode !'
231237 DEBUG + set +x
231239 DEBUG + local 'forbidden_path= /var/www /home/yunohost.app'
231240 DEBUG + '[' 1 -ge 2 ']'
231241 DEBUG + [[ -z /var/www/zabbix ]]
231243 DEBUG + [[ /var/www /home/yunohost.app =~ /var/www/zabbix ]]
231244 DEBUG + [[ /var/www/zabbix =~ ^/[[:alnum:]]+$ ]]
231246 DEBUG + [[ x = \/ ]]
231247 DEBUG + '[' -e /var/www/zabbix ']'
231249 DEBUG + rm --recursive /var/www/zabbix
231251 DEBUG + '[' -d /etc/zabbix ']'
231252 DEBUG + '[' -d /var/log/zabbix ']'
231254 DEBUG + '[' -d /run/zabbix ']'
231255 DEBUG + '[' -f /etc/sudoers.d/zabbix ']'
231257 DEBUG ++ dpkg-query -W '-f=${Section}\t${Package}\n'
231258 DEBUG ++ grep '^non-free'
231360 DEBUG + nonfreepackagelist='non-free/kernel bluez-firmware
231362 DEBUG non-free/kernel firmware-atheros
231364 DEBUG non-free/kernel firmware-brcm80211
231366 DEBUG non-free/kernel firmware-libertas
231368 DEBUG non-free/kernel firmware-misc-nonfree
231370 DEBUG non-free/kernel firmware-realtek'
231372 DEBUG ++ echo non-free/kernel bluez-firmware non-free/kernel firmware-atheros non-free/kernel firmware-brcm80211 non-free/kernel firmware-libertas non-free/kernel firmware-misc-nonfree non-free/kernel firmware-realtek
231374 DEBUG ++ wc -l
231375 DEBUG + '[' 1 -eq 1 ']'
231377 DEBUG ++ echo non-free/kernel bluez-firmware non-free/kernel firmware-atheros non-free/kernel firmware-brcm80211 non-free/kernel firmware-libertas non-free/kernel firmware-misc-nonfree non-free/kernel firmware-realtek
231379 DEBUG ++ grep -c snmp-mibs-downloader
231381 DEBUG + '[' 0 -eq 1 ']'
231383 DEBUG + ynh_system_user_delete zabbix
231385 DEBUG + local legacy_args=u
231386 DEBUG + args_array=([u]=username=)
231388 DEBUG + local -A args_array
231390 DEBUG + local username
231391 DEBUG + ynh_handle_getopts_args zabbix
231393 DEBUG + set +o xtrace
231395 DEBUG + echo '! Helper used in legacy mode !'
231396 DEBUG + set +x
231398 DEBUG + ynh_system_user_exists zabbix
231400 DEBUG + local legacy_args=u
231402 DEBUG + args_array=([u]=username=)
231403 DEBUG + local -A args_array
231405 DEBUG + local username
231407 DEBUG + ynh_handle_getopts_args zabbix
231408 DEBUG + set +o xtrace
231410 DEBUG + echo '! Helper used in legacy mode !'
231412 DEBUG + set +x
231413 DEBUG + getent passwd zabbix
231415 DEBUG + deluser zabbix
231718 DEBUG Removing user `zabbix' ...
231719 DEBUG Warning: group `zabbix' has no more members.
232022 DEBUG Done.
232024 DEBUG + ynh_system_group_exists zabbix
232025 DEBUG + local legacy_args=g
232026 DEBUG + args_array=([g]=group=)
232027 DEBUG + local -A args_array
232029 DEBUG + local group
232030 DEBUG + ynh_handle_getopts_args zabbix
232031 DEBUG + set +o xtrace
232032 DEBUG + echo '! Helper used in legacy mode !'
232034 DEBUG + set +x
232035 DEBUG + getent group zabbix
232373 DEBUG Permission 'zabbix.main' deleted
232375 DEBUG To view the log of the operation 'Delete permission 'zabbix'', use the command 'yunohost log display 20210411-154303-permission_delete-zabbix'
232402 DEBUG Checking that required services are up and running...
233860 DEBUG To view the log of the operation 'Remove 'zabbix' after a failed installation', use the command 'yunohost log display 20210411-154200-remove_on_failed_install-zabbix'
233985 DEBUG The permission database has been resynchronized
234096 DEBUG SSOwat configuration regenerated
234129 DEBUG action [26215.1] executed in 233.555s
234130 DEBUG lock has been released
234131 ERROR The operation 'Install the 'zabbix' app' could not be completed. Please share the full log of this operation using the command 'yunohost log display 20210411-153936-app_install-zabbix --share' to get help
2021-04-11 16:26:43,535: INFO - Installing zabbix...
2021-04-11 16:26:43,797: DEBUG - Permission 'zabbix.main' updated
2021-04-11 16:26:43,876: DEBUG - Full log of this operation: '<a href="#/tools/logs/20210411-152643-permission_url-zabbix" style="text-decoration:underline">Update url related to permission 'zabbix'</a>'
2021-04-11 16:26:44,068: DEBUG - The permission database has been resynchronized
2021-04-11 16:26:44,191: DEBUG - SSOwat configuration regenerated
2021-04-11 16:26:44,308: DEBUG - Permission 'zabbix.main' created
2021-04-11 16:26:44,309: DEBUG - Full log of this operation: '<a href="#/tools/logs/20210411-152643-permission_create-zabbix" style="text-decoration:underline">Create permission 'zabbix'</a>'
2021-04-11 16:26:44,347: DEBUG - Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ARG_LANGUAGE=en YNH_APP_MANIFEST_VERSION='4.4~ynh1' YNH_APP_ARG_IS_PUBLIC=0 YNH_STDINFO=/tmp/tmp99AN_A/stdinfo YNH_CWD=/var/cache/yunohost/from_file/scripts YNH_APP_INSTANCE_NAME=zabbix YNH_APP_ARG_ADMIN=mrburns YNH_INTERFACE=api YNH_APP_ID=zabbix YNH_APP_ARG_PATH=/zabbix YNH_STDRETURN=/tmp/tmpbYa3qR/stdreturn YNH_APP_ARG_DOMAIN=yunhostzabbix.home BASH_XTRACEFD=7 /bin/bash -x "./install" yunhostzabbix.home /zabbix mrburns 0 en zabbix 7>&1'
2021-04-11 16:26:44,390: DEBUG - + source _common.sh
2021-04-11 16:26:44,392: DEBUG - + source /usr/share/yunohost/helpers
2021-04-11 16:26:44,393: DEBUG - +++ set +o
2021-04-11 16:26:44,394: DEBUG - +++ grep xtrace
2021-04-11 16:26:44,395: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-04-11 16:26:44,396: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-04-11 16:26:44,598: DEBUG - + ynh_abort_if_errors
2021-04-11 16:26:44,599: DEBUG - + set -o errexit
2021-04-11 16:26:44,600: DEBUG - + set -o nounset
2021-04-11 16:26:44,600: DEBUG - + trap ynh_exit_properly EXIT
2021-04-11 16:26:44,601: DEBUG - + export domain=yunhostzabbix.home
2021-04-11 16:26:44,602: DEBUG - + domain=yunhostzabbix.home
2021-04-11 16:26:44,603: DEBUG - + export path_url=/zabbix
2021-04-11 16:26:44,603: DEBUG - + path_url=/zabbix
2021-04-11 16:26:44,605: DEBUG - + admin=mrburns
2021-04-11 16:26:44,605: DEBUG - + is_public=0
2021-04-11 16:26:44,606: DEBUG - + language=en
2021-04-11 16:26:44,607: DEBUG - + app=zabbix
2021-04-11 16:26:44,608: DEBUG - + final_path=/var/www/zabbix
2021-04-11 16:26:44,609: DEBUG - + test '!' -e /var/www/zabbix
2021-04-11 16:26:44,610: DEBUG - ++ ynh_normalize_url_path /zabbix
2021-04-11 16:26:44,616: DEBUG - ++ test -n /zabbix
2021-04-11 16:26:44,617: DEBUG - ++ '[' / '!=' / ']'
2021-04-11 16:26:44,618: DEBUG - ++ '[' x == / ']'
2021-04-11 16:26:44,619: DEBUG - ++ echo /zabbix
2021-04-11 16:26:44,620: DEBUG - + path_url=/zabbix
2021-04-11 16:26:44,621: DEBUG - + ynh_webpath_available yunhostzabbix.home /zabbix
2021-04-11 16:26:44,728: DEBUG - + yunohost domain url-available yunhostzabbix.home /zabbix
2021-04-11 16:26:45,732: DEBUG - True
2021-04-11 16:26:45,833: DEBUG - + ynh_webpath_register zabbix yunhostzabbix.home /zabbix
2021-04-11 16:26:45,943: DEBUG - + yunohost app register-url zabbix yunhostzabbix.home /zabbix
2021-04-11 16:26:48,455: INFO - [....................] > Get infos from manifest
2021-04-11 16:26:48,459: DEBUG - + echo '[....................] > Get infos from manifest'
2021-04-11 16:26:48,461: DEBUG - + ynh_app_setting_set zabbix domain yunhostzabbix.home
2021-04-11 16:26:48,670: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2021-04-11 16:26:48,671: DEBUG - + ynh_app_setting set zabbix domain yunhostzabbix.home
2021-04-11 16:26:48,973: DEBUG - + ynh_app_setting_set zabbix path /zabbix
2021-04-11 16:26:49,183: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2021-04-11 16:26:49,183: DEBUG - + ynh_app_setting set zabbix path /zabbix
2021-04-11 16:26:49,486: DEBUG - + ynh_app_setting_set zabbix admin mrburns
2021-04-11 16:26:49,698: DEBUG - + [[ admin =~ (unprotected|protected|skipped)_ ]]
2021-04-11 16:26:49,698: DEBUG - + ynh_app_setting set zabbix admin mrburns
2021-04-11 16:26:50,101: DEBUG - + ynh_app_setting_set zabbix is_public 0
2021-04-11 16:26:50,211: DEBUG - + [[ is_public =~ (unprotected|protected|skipped)_ ]]
2021-04-11 16:26:50,211: DEBUG - + ynh_app_setting set zabbix is_public 0
2021-04-11 16:26:50,614: DEBUG - + ynh_app_setting_set zabbix language en
2021-04-11 16:26:50,724: DEBUG - + [[ language =~ (unprotected|protected|skipped)_ ]]
2021-04-11 16:26:50,725: DEBUG - + ynh_app_setting set zabbix language en
2021-04-11 16:26:51,331: DEBUG - + echo '[....................] > Remove Zabbix if already installed'
2021-04-11 16:26:51,332: DEBUG - + apt-get purge 'zabbix*' -y
2021-04-11 16:26:51,433: DEBUG - Reading package lists...
2021-04-11 16:26:51,434: INFO - [....................] > Remove Zabbix if already installed
2021-04-11 16:26:52,138: DEBUG - Building dependency tree...
2021-04-11 16:26:52,139: DEBUG - Reading state information...
2021-04-11 16:26:53,845: DEBUG - Package 'zabbix-agent' is not installed, so not removed
2021-04-11 16:26:53,846: DEBUG - Package 'zabbix-cli' is not installed, so not removed
2021-04-11 16:26:53,847: DEBUG - Package 'zabbix-frontend-php' is not installed, so not removed
2021-04-11 16:26:53,848: DEBUG - Package 'zabbix-java-gateway' is not installed, so not removed
2021-04-11 16:26:53,849: DEBUG - Package 'zabbix-proxy-mysql' is not installed, so not removed
2021-04-11 16:26:53,849: DEBUG - Package 'zabbix-proxy-pgsql' is not installed, so not removed
2021-04-11 16:26:53,850: DEBUG - Package 'zabbix-proxy-sqlite3' is not installed, so not removed
2021-04-11 16:26:53,851: DEBUG - Package 'zabbix-server-mysql' is not installed, so not removed
2021-04-11 16:26:53,852: DEBUG - Package 'zabbix-server-pgsql' is not installed, so not removed
2021-04-11 16:26:53,852: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2021-04-11 16:26:53,854: DEBUG - + ynh_secure_remove '/var/cache/apt/archives/zabbix-server-mysql*'
2021-04-11 16:26:53,860: DEBUG - + local 'forbidden_path= /var/www /home/yunohost.app'
2021-04-11 16:26:53,861: DEBUG - + '[' 1 -ge 2 ']'
2021-04-11 16:26:53,862: DEBUG - + [[ -z /var/cache/apt/archives/zabbix-server-mysql* ]]
2021-04-11 16:26:53,863: DEBUG - + [[ /var/www /home/yunohost.app =~ /var/cache/apt/archives/zabbix-server-mysql\* ]]
2021-04-11 16:26:53,864: DEBUG - + [[ /var/cache/apt/archives/zabbix-server-mysql* =~ ^/[[:alnum:]]+$ ]]
2021-04-11 16:26:53,865: DEBUG - + [[ * = \/ ]]
2021-04-11 16:26:53,865: DEBUG - + '[' -e '/var/cache/apt/archives/zabbix-server-mysql*' ']'
2021-04-11 16:26:53,866: DEBUG - + ynh_print_info '--message='\''/var/cache/apt/archives/zabbix-server-mysql*'\'' wasn'\''t deleted because it doesn'\''t exist.'
2021-04-11 16:26:53,971: DEBUG - + echo ''\''/var/cache/apt/archives/zabbix-server-mysql*'\'' wasn'\''t deleted because it doesn'\''t exist.'
2021-04-11 16:26:53,972: INFO - '/var/cache/apt/archives/zabbix-server-mysql*' wasn't deleted because it doesn't exist.
2021-04-11 16:26:54,178: DEBUG - + echo '[+...................] > Install Zabbix repository'
2021-04-11 16:26:54,179: DEBUG - + install_zabbix_repo
2021-04-11 16:26:54,179: DEBUG - ++ lsb_release -sc
2021-04-11 16:26:54,380: DEBUG - + ynh_install_extra_repo '--repo=http://repo.zabbix.com/zabbix/4.4/debian buster main' --key=https://repo.zabbix.com/zabbix-official-repo.key --priority=999 --name=zabbix
2021-04-11 16:26:54,382: INFO - [+...................] > Install Zabbix repository
2021-04-11 16:26:54,893: DEBUG - + name=zabbix
2021-04-11 16:26:54,894: DEBUG - + append=0
2021-04-11 16:26:54,894: DEBUG - + key=https://repo.zabbix.com/zabbix-official-repo.key
2021-04-11 16:26:54,895: DEBUG - + priority=999
2021-04-11 16:26:54,895: DEBUG - + '[' 0 -eq 1 ']'
2021-04-11 16:26:54,896: DEBUG - + append=
2021-04-11 16:26:54,896: DEBUG - + wget_append=tee
2021-04-11 16:26:54,897: DEBUG - + repo='http://repo.zabbix.com/zabbix/4.4/debian buster main'
2021-04-11 16:26:54,898: DEBUG - ++ echo 'http://repo.zabbix.com/zabbix/4.4/debian buster main'
2021-04-11 16:26:54,898: DEBUG - ++ awk '{ print $1 }'
2021-04-11 16:26:54,899: DEBUG - + local uri=http://repo.zabbix.com/zabbix/4.4/debian
2021-04-11 16:26:54,900: DEBUG - ++ echo 'http://repo.zabbix.com/zabbix/4.4/debian buster main'
2021-04-11 16:26:54,900: DEBUG - ++ awk '{ print $2 }'
2021-04-11 16:26:54,901: DEBUG - + local suite=buster
2021-04-11 16:26:54,902: DEBUG - + local component=main
2021-04-11 16:26:54,902: DEBUG - + ynh_add_repo --uri=http://repo.zabbix.com/zabbix/4.4/debian --suite=buster --component=main --name=zabbix
2021-04-11 16:26:55,313: DEBUG - + name=zabbix
2021-04-11 16:26:55,314: DEBUG - + append=0
2021-04-11 16:26:55,315: DEBUG - + '[' 0 -eq 1 ']'
2021-04-11 16:26:55,315: DEBUG - + append=tee
2021-04-11 16:26:55,316: DEBUG - + mkdir --parents /etc/apt/sources.list.d
2021-04-11 16:26:55,317: DEBUG - + echo 'deb http://repo.zabbix.com/zabbix/4.4/debian buster main'
2021-04-11 16:26:55,318: DEBUG - + tee /etc/apt/sources.list.d/zabbix.list
2021-04-11 16:26:55,318: DEBUG - deb http://repo.zabbix.com/zabbix/4.4/debian buster main
2021-04-11 16:26:55,319: DEBUG - + local pin=repo.zabbix.com/zabbix/4.4/debian
2021-04-11 16:26:55,320: DEBUG - + pin=repo.zabbix.com
2021-04-11 16:26:55,321: DEBUG - + '[' -n 999 ']'
2021-04-11 16:26:55,321: DEBUG - + priority=--priority=999
2021-04-11 16:26:55,322: DEBUG - + ynh_pin_repo '--package=*' '--pin=origin "repo.zabbix.com"' --priority=999 --name=zabbix
2021-04-11 16:26:55,833: DEBUG - + package='*'
2021-04-11 16:26:55,834: DEBUG - + priority=999
2021-04-11 16:26:55,835: DEBUG - + name=zabbix
2021-04-11 16:26:55,835: DEBUG - + append=0
2021-04-11 16:26:55,836: DEBUG - + '[' 0 -eq 1 ']'
2021-04-11 16:26:55,837: DEBUG - + append=tee
2021-04-11 16:26:55,838: DEBUG - + [[ zabbix != \e\x\t\r\a\_\p\h\p\_\v\e\r\s\i\o\n ]]
2021-04-11 16:26:55,838: DEBUG - + mkdir --parents /etc/apt/preferences.d
2021-04-11 16:26:55,839: DEBUG - + echo 'Package: *
2021-04-11 16:26:55,840: DEBUG - Pin: origin "repo.zabbix.com"
2021-04-11 16:26:55,841: DEBUG - Pin-Priority: 999
2021-04-11 16:26:55,841: DEBUG - '
2021-04-11 16:26:55,842: DEBUG - + tee /etc/apt/preferences.d/zabbix
2021-04-11 16:26:55,843: DEBUG - Package: *
2021-04-11 16:26:55,843: DEBUG - Pin: origin "repo.zabbix.com"
2021-04-11 16:26:55,844: DEBUG - Pin-Priority: 999
2021-04-11 16:26:55,845: DEBUG -
2021-04-11 16:26:55,846: DEBUG - + '[' -n https://repo.zabbix.com/zabbix-official-repo.key ']'
2021-04-11 16:26:55,846: DEBUG - + mkdir --parents /etc/apt/trusted.gpg.d
2021-04-11 16:26:55,847: DEBUG - + wget --timeout 900 --quiet https://repo.zabbix.com/zabbix-official-repo.key --output-document=-
2021-04-11 16:26:55,848: DEBUG - + gpg --dearmor
2021-04-11 16:26:55,849: DEBUG - + tee /etc/apt/trusted.gpg.d/zabbix.gpg
2021-04-11 16:26:56,651: DEBUG - + ynh_package_update
2021-04-11 16:26:56,653: DEBUG - + ynh_apt update
2021-04-11 16:26:56,654: DEBUG - + ynh_wait_dpkg_free
2021-04-11 16:26:56,958: DEBUG - + return 0
2021-04-11 16:26:56,959: DEBUG - + LC_ALL=C
2021-04-11 16:26:56,959: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-04-11 16:26:56,960: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-04-11 16:27:10,095: DEBUG - Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.9 kB]
2021-04-11 16:27:10,197: DEBUG - Hit:2 http://forge.yunohost.org/debian buster InRelease
2021-04-11 16:27:10,298: DEBUG - Get:3 http://repo.zabbix.com/zabbix/4.4/debian buster InRelease [7096 B]
2021-04-11 16:27:37,280: DEBUG - Get:4 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
2021-04-11 16:27:37,783: DEBUG - Fetched 55.0 kB in 41s (1354 B/s)
2021-04-11 16:27:41,795: DEBUG - Reading package lists...
2021-04-11 16:27:42,201: INFO - [#++.................] > Update and install dependencies
2021-04-11 16:27:42,203: DEBUG - + echo '[#++.................] > Update and install dependencies'
2021-04-11 16:27:42,204: DEBUG - + ynh_install_app_dependencies libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0 php7.3 php-bcmath php7.3-bcmath ttf-dejavu-core php7.3-bcmath patch smistrip unzip wget fping libcap2-bin libiksemel3 libopenipmi0 libpam-cap libsnmp-base libsnmp30 snmptrapd snmpd libjs-prototype jq zabbix-server-mysql zabbix-agent zabbix-frontend-php
2021-04-11 16:27:42,205: DEBUG - + local 'dependencies=libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0 php7.3 php-bcmath php7.3-bcmath ttf-dejavu-core php7.3-bcmath patch smistrip unzip wget fping libcap2-bin libiksemel3 libopenipmi0 libpam-cap libsnmp-base libsnmp30 snmptrapd snmpd libjs-prototype jq zabbix-server-mysql zabbix-agent zabbix-frontend-php'
2021-04-11 16:27:42,206: DEBUG - ++ echo 'libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0 php7.3 php-bcmath php7.3-bcmath ttf-dejavu-core php7.3-bcmath patch smistrip unzip wget fping libcap2-bin libiksemel3 libopenipmi0 libpam-cap libsnmp-base libsnmp30 snmptrapd snmpd libjs-prototype jq zabbix-server-mysql zabbix-agent zabbix-frontend-php'
2021-04-11 16:27:42,213: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2021-04-11 16:27:42,214: DEBUG - + dependencies='libapr1, libaprutil1, libaprutil1-dbd-sqlite3, libaprutil1-ldap, liblua5.2-0, php7.3, php-bcmath, php7.3-bcmath, ttf-dejavu-core, php7.3-bcmath, patch, smistrip, unzip, wget, fping, libcap2-bin, libiksemel3, libopenipmi0, libpam-cap, libsnmp-base, libsnmp30, snmptrapd, snmpd, libjs-prototype, jq, zabbix-server-mysql, zabbix-agent, zabbix-frontend-php'
2021-04-11 16:27:42,214: DEBUG - + local 'dependencies=libapr1, libaprutil1, libaprutil1-dbd-sqlite3, libaprutil1-ldap, liblua5.2-0, php7.3, php-bcmath, php7.3-bcmath, ttf-dejavu-core, php7.3-bcmath, patch, smistrip, unzip, wget, fping, libcap2-bin, libiksemel3, libopenipmi0, libpam-cap, libsnmp-base, libsnmp30, snmptrapd, snmpd, libjs-prototype, jq, zabbix-server-mysql, zabbix-agent, zabbix-frontend-php'
2021-04-11 16:27:42,215: DEBUG - + local manifest_path=../manifest.json
2021-04-11 16:27:42,216: DEBUG - + '[' '!' -e ../manifest.json ']'
2021-04-11 16:27:42,216: DEBUG - ++ grep '\"version\": ' ../manifest.json
2021-04-11 16:27:42,217: DEBUG - ++ cut '--delimiter="' --fields=4
2021-04-11 16:27:42,217: DEBUG - + local version=4.4~ynh1
2021-04-11 16:27:42,220: DEBUG - + '[' 8 -eq 0 ']'
2021-04-11 16:27:42,220: DEBUG - + local dep_app=zabbix
2021-04-11 16:27:42,221: DEBUG - + [[ libapr1, libaprutil1, libaprutil1-dbd-sqlite3, libaprutil1-ldap, liblua5.2-0, php7.3, php-bcmath, php7.3-bcmath, ttf-dejavu-core, php7.3-bcmath, patch, smistrip, unzip, wget, fping, libcap2-bin, libiksemel3, libopenipmi0, libpam-cap, libsnmp-base, libsnmp30, snmptrapd, snmpd, libjs-prototype, jq, zabbix-server-mysql, zabbix-agent, zabbix-frontend-php =~ [<=>] ]]
2021-04-11 16:27:42,222: DEBUG - + echo libapr1, libaprutil1, libaprutil1-dbd-sqlite3, libaprutil1-ldap, liblua5.2-0, php7.3, php-bcmath, php7.3-bcmath, ttf-dejavu-core, php7.3-bcmath, patch, smistrip, unzip, wget, fping, libcap2-bin, libiksemel3, libopenipmi0, libpam-cap, libsnmp-base, libsnmp30, snmptrapd, snmpd, libjs-prototype, jq, zabbix-server-mysql, zabbix-agent, zabbix-frontend-php
2021-04-11 16:27:42,224: DEBUG - + grep --quiet php
2021-04-11 16:27:42,225: DEBUG - + dpkg --list
2021-04-11 16:27:42,226: DEBUG - + grep php7.0
2021-04-11 16:27:42,228: DEBUG - + grep --quiet --invert-match 7.0.33-0+deb9
2021-04-11 16:27:42,229: DEBUG - + cat
2021-04-11 16:27:42,229: DEBUG - + ynh_package_install_from_equivs /tmp/zabbix-ynh-deps.control
2021-04-11 16:27:42,230: DEBUG - + local controlfile=/tmp/zabbix-ynh-deps.control
2021-04-11 16:27:42,231: DEBUG - ++ grep '^Package: ' /tmp/zabbix-ynh-deps.control
2021-04-11 16:27:42,232: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-04-11 16:27:42,333: DEBUG - + local pkgname=zabbix-ynh-deps
2021-04-11 16:27:42,334: DEBUG - ++ grep '^Version: ' /tmp/zabbix-ynh-deps.control
2021-04-11 16:27:42,334: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-04-11 16:27:42,335: DEBUG - + local pkgversion=4.4~ynh1
2021-04-11 16:27:42,335: DEBUG - + [[ -z zabbix-ynh-deps ]]
2021-04-11 16:27:42,336: DEBUG - + [[ -z 4.4~ynh1 ]]
2021-04-11 16:27:42,337: DEBUG - + ynh_package_update
2021-04-11 16:27:42,337: DEBUG - + ynh_apt update
2021-04-11 16:27:42,338: DEBUG - + ynh_wait_dpkg_free
2021-04-11 16:27:42,540: DEBUG - + return 0
2021-04-11 16:27:42,541: DEBUG - + LC_ALL=C
2021-04-11 16:27:42,541: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-04-11 16:27:42,542: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-04-11 16:27:42,843: DEBUG - Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.9 kB]
2021-04-11 16:27:42,844: DEBUG - Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
2021-04-11 16:27:42,945: DEBUG - Hit:3 http://forge.yunohost.org/debian buster InRelease
2021-04-11 16:27:42,946: DEBUG - Hit:4 http://repo.zabbix.com/zabbix/4.4/debian buster InRelease
2021-04-11 16:27:44,451: DEBUG - Fetched 47.9 kB in 2s (30.4 kB/s)
2021-04-11 16:27:48,363: DEBUG - Reading package lists...
2021-04-11 16:27:48,564: DEBUG - ++ mktemp --directory
2021-04-11 16:27:48,565: DEBUG - + local TMPDIR=/tmp/tmp.iIajOGMBIU
2021-04-11 16:27:48,565: DEBUG - + echo 10
2021-04-11 16:27:48,566: DEBUG - + ynh_wait_dpkg_free
2021-04-11 16:27:48,868: DEBUG - + return 0
2021-04-11 16:27:48,869: DEBUG - + cp /tmp/zabbix-ynh-deps.control /tmp/tmp.iIajOGMBIU/control
2021-04-11 16:27:48,869: DEBUG - + cd /tmp/tmp.iIajOGMBIU
2021-04-11 16:27:48,870: DEBUG - + LC_ALL=C
2021-04-11 16:27:48,870: DEBUG - + equivs-build ./control
2021-04-11 16:27:51,879: DEBUG - + LC_ALL=C
2021-04-11 16:27:51,880: DEBUG - + dpkg --force-depends --install ./zabbix-ynh-deps_4.4~ynh1_all.deb
2021-04-11 16:27:51,881: DEBUG - + tee ./dpkg_log
2021-04-11 16:27:51,982: DEBUG - Selecting previously unselected package zabbix-ynh-deps.
2021-04-11 16:27:52,083: DEBUG - (Reading database ... 52846 files and directories currently installed.)
2021-04-11 16:27:52,084: DEBUG - Preparing to unpack .../zabbix-ynh-deps_4.4~ynh1_all.deb ...
2021-04-11 16:27:52,085: DEBUG - Unpacking zabbix-ynh-deps (4.4~ynh1) ...
2021-04-11 16:27:52,186: DEBUG - dpkg: zabbix-ynh-deps: dependency problems, but configuring anyway as you requested:
2021-04-11 16:27:52,187: DEBUG - zabbix-ynh-deps depends on libapr1; however:
2021-04-11 16:27:52,187: DEBUG - Package libapr1 is not installed.
2021-04-11 16:27:52,188: DEBUG - zabbix-ynh-deps depends on libaprutil1; however:
2021-04-11 16:27:52,188: DEBUG - Package libaprutil1 is not installed.
2021-04-11 16:27:52,189: DEBUG - zabbix-ynh-deps depends on libaprutil1-dbd-sqlite3; however:
2021-04-11 16:27:52,189: DEBUG - Package libaprutil1-dbd-sqlite3 is not installed.
2021-04-11 16:27:52,189: DEBUG - zabbix-ynh-deps depends on libaprutil1-ldap; however:
2021-04-11 16:27:52,190: DEBUG - Package libaprutil1-ldap is not installed.
2021-04-11 16:27:52,190: DEBUG - zabbix-ynh-deps depends on liblua5.2-0; however:
2021-04-11 16:27:52,191: DEBUG - Package liblua5.2-0 is not installed.
2021-04-11 16:27:52,191: DEBUG - zabbix-ynh-deps depends on php7.3; however:
2021-04-11 16:27:52,192: DEBUG - Package php7.3 is not installed.
2021-04-11 16:27:52,192: DEBUG - zabbix-ynh-deps depends on php-bcmath; however:
2021-04-11 16:27:52,193: DEBUG - Package php-bcmath is not installed.
2021-04-11 16:27:52,193: DEBUG - zabbix-ynh-deps depends on php7.3-bcmath; however:
2021-04-11 16:27:52,194: DEBUG - Package php7.3-bcmath is not installed.
2021-04-11 16:27:52,199: DEBUG - zabbix-ynh-deps depends on ttf-dejavu-core; however:
2021-04-11 16:27:52,200: DEBUG - Package ttf-dejavu-core is not installed.
2021-04-11 16:27:52,201: DEBUG - zabbix-ynh-deps depends on smistrip; however:
2021-04-11 16:27:52,201: DEBUG - Package smistrip is not installed.
2021-04-11 16:27:52,207: DEBUG - zabbix-ynh-deps depends on fping; however:
2021-04-11 16:27:52,207: DEBUG - Package fping is not installed.
2021-04-11 16:27:52,208: DEBUG - zabbix-ynh-deps depends on libiksemel3; however:
2021-04-11 16:27:52,211: DEBUG - Package libiksemel3 is not installed.
2021-04-11 16:27:52,212: DEBUG - zabbix-ynh-deps depends on libopenipmi0; however:
2021-04-11 16:27:52,213: DEBUG - Package libopenipmi0 is not installed.
2021-04-11 16:27:52,213: DEBUG - zabbix-ynh-deps depends on libpam-cap; however:
2021-04-11 16:27:52,214: DEBUG - Package libpam-cap is not installed.
2021-04-11 16:27:52,214: DEBUG - zabbix-ynh-deps depends on libsnmp-base; however:
2021-04-11 16:27:52,215: DEBUG - Package libsnmp-base is not installed.
2021-04-11 16:27:52,215: DEBUG - zabbix-ynh-deps depends on libsnmp30; however:
2021-04-11 16:27:52,216: DEBUG - Package libsnmp30 is not installed.
2021-04-11 16:27:52,217: DEBUG - zabbix-ynh-deps depends on snmptrapd; however:
2021-04-11 16:27:52,217: DEBUG - Package snmptrapd is not installed.
2021-04-11 16:27:52,218: DEBUG - zabbix-ynh-deps depends on snmpd; however:
2021-04-11 16:27:52,218: DEBUG - Package snmpd is not installed.
2021-04-11 16:27:52,219: DEBUG - zabbix-ynh-deps depends on libjs-prototype; however:
2021-04-11 16:27:52,220: DEBUG - Package libjs-prototype is not installed.
2021-04-11 16:27:52,220: DEBUG - zabbix-ynh-deps depends on zabbix-server-mysql; however:
2021-04-11 16:27:52,221: DEBUG - Package zabbix-server-mysql is not installed.
2021-04-11 16:27:52,221: DEBUG - zabbix-ynh-deps depends on zabbix-agent; however:
2021-04-11 16:27:52,222: DEBUG - Package zabbix-agent is not installed.
2021-04-11 16:27:52,223: DEBUG - zabbix-ynh-deps depends on zabbix-frontend-php; however:
2021-04-11 16:27:52,223: DEBUG - Package zabbix-frontend-php is not installed.
2021-04-11 16:27:52,224: DEBUG -
2021-04-11 16:27:52,226: DEBUG - Setting up zabbix-ynh-deps (4.4~ynh1) ...
2021-04-11 16:27:52,227: DEBUG - + ynh_package_install --fix-broken
2021-04-11 16:27:52,228: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-04-11 16:27:52,228: DEBUG - + ynh_wait_dpkg_free
2021-04-11 16:27:52,632: DEBUG - + return 0
2021-04-11 16:27:52,632: DEBUG - + LC_ALL=C
2021-04-11 16:27:52,633: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-04-11 16:27:52,634: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-04-11 16:27:55,041: DEBUG - Reading package lists...
2021-04-11 16:27:55,845: DEBUG - Building dependency tree...
2021-04-11 16:27:55,846: DEBUG - Reading state information...
2021-04-11 16:27:56,749: DEBUG - Correcting dependencies... Done
2021-04-11 16:27:57,853: DEBUG - The following additional packages will be installed:
2021-04-11 16:27:57,854: DEBUG - fping libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libblas3
2021-04-11 16:27:57,855: DEBUG - libgfortran5 libiksemel3 libjs-prototype liblinear3 liblua5.2-0 libopenipmi0
2021-04-11 16:27:57,855: DEBUG - libpam-cap libpcap0.8 libsensors-config libsensors5 libsnmp-base libsnmp30
2021-04-11 16:27:57,857: DEBUG - nmap nmap-common php-bcmath php7.3 php7.3-bcmath smistrip snmpd snmptrapd
2021-04-11 16:27:57,857: DEBUG - ttf-dejavu-core zabbix-agent zabbix-frontend-php zabbix-server-mysql
2021-04-11 16:27:57,858: DEBUG - Suggested packages:
2021-04-11 16:27:57,858: DEBUG - liblinear-tools liblinear-dev lm-sensors snmp-mibs-downloader ncat ndiff
2021-04-11 16:27:57,859: DEBUG - zenmap
2021-04-11 16:27:57,960: DEBUG - The following NEW packages will be installed:
2021-04-11 16:27:57,960: DEBUG - fping libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libblas3
2021-04-11 16:27:57,961: DEBUG - libgfortran5 libiksemel3 libjs-prototype liblinear3 liblua5.2-0 libopenipmi0
2021-04-11 16:27:57,962: DEBUG - libpam-cap libpcap0.8 libsensors-config libsensors5 libsnmp-base libsnmp30
2021-04-11 16:27:57,962: DEBUG - nmap nmap-common php-bcmath php7.3 php7.3-bcmath smistrip snmpd snmptrapd
2021-04-11 16:27:57,963: DEBUG - ttf-dejavu-core zabbix-agent zabbix-frontend-php zabbix-server-mysql
2021-04-11 16:28:24,044: DEBUG - 0 upgraded, 30 newly installed, 0 to remove and 0 not upgraded.
2021-04-11 16:28:24,045: DEBUG - Need to get 16.2 MB of archives.
2021-04-11 16:28:24,047: DEBUG - After this operation, 59.2 MB of additional disk space will be used.
2021-04-11 16:28:24,049: DEBUG - Get:1 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf fping armhf 4.2-1 [35.5 kB]
2021-04-11 16:28:24,050: DEBUG - Get:2 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf libapr1 armhf 1.6.5-1 [83.3 kB]
2021-04-11 16:28:24,152: DEBUG - Get:3 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf libaprutil1 armhf 1.6.1-4 [81.7 kB]
2021-04-11 16:28:24,153: DEBUG - Get:4 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf libaprutil1-dbd-sqlite3 armhf 1.6.1-4 [17.3 kB]
2021-04-11 16:28:24,154: DEBUG - Get:5 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf libaprutil1-ldap armhf 1.6.1-4 [16.3 kB]
2021-04-11 16:28:24,155: DEBUG - Get:6 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf libgfortran5 armhf 8.3.0-6+rpi1 [206 kB]
2021-04-11 16:28:24,256: DEBUG - Get:7 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf libblas3 armhf 3.8.0-2 [103 kB]
2021-04-11 16:28:24,358: DEBUG - Get:8 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf libiksemel3 armhf 1.4-3+b1 [23.5 kB]
2021-04-11 16:28:24,359: DEBUG - Get:9 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf libjs-prototype all 1.7.1-3 [44.3 kB]
2021-04-11 16:28:24,461: DEBUG - Get:10 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf liblinear3 armhf 2.1.0+dfsg-4 [35.5 kB]
2021-04-11 16:28:24,462: DEBUG - Get:11 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf liblua5.2-0 armhf 5.2.4-1.1+b1 [83.1 kB]
2021-04-11 16:28:24,463: DEBUG - Get:12 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf libopenipmi0 armhf 2.0.25-2.1 [440 kB]
2021-04-11 16:28:24,664: DEBUG - Get:13 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf libpam-cap armhf 1:2.25-2 [13.8 kB]
2021-04-11 16:28:24,665: DEBUG - Get:14 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf libpcap0.8 armhf 1.8.1-6 [124 kB]
2021-04-11 16:28:24,666: DEBUG - Get:15 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf libsensors-config all 1:3.5.0-3 [31.6 kB]
2021-04-11 16:28:24,667: DEBUG - Get:16 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf libsensors5 armhf 1:3.5.0-3 [49.5 kB]
2021-04-11 16:28:24,668: DEBUG - Get:17 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf libsnmp-base all 5.7.3+dfsg-5+deb10u2 [1595 kB]
2021-04-11 16:28:25,069: DEBUG - Get:18 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf libsnmp30 armhf 5.7.3+dfsg-5+deb10u2 [2193 kB]
2021-04-11 16:28:25,572: DEBUG - Get:19 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf nmap-common all 7.70+dfsg1-6+deb10u1 [3898 kB]
2021-04-11 16:28:26,375: DEBUG - Get:20 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf nmap armhf 7.70+dfsg1-6+deb10u1 [1766 kB]
2021-04-11 16:28:26,777: DEBUG - Get:21 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf php7.3-bcmath armhf 7.3.27-1~deb10u1 [12.5 kB]
2021-04-11 16:28:26,778: DEBUG - Get:22 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf php-bcmath all 2:7.3+69 [5996 B]
2021-04-11 16:28:26,778: DEBUG - Get:23 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf php7.3 all 7.3.27-1~deb10u1 [46.8 kB]
2021-04-11 16:28:26,880: DEBUG - Get:24 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf smistrip all 0.4.8+dfsg2-16 [29.4 kB]
2021-04-11 16:28:26,881: DEBUG - Get:25 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf snmpd armhf 5.7.3+dfsg-5+deb10u2 [56.1 kB]
2021-04-11 16:28:26,982: DEBUG - Get:26 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf snmptrapd armhf 5.7.3+dfsg-5+deb10u2 [24.1 kB]
2021-04-11 16:28:26,983: DEBUG - Get:27 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf ttf-dejavu-core all 2.37-1 [32.1 kB]
2021-04-11 16:28:26,984: DEBUG - Get:28 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf zabbix-agent armhf 1:4.0.4+dfsg-1 [442 kB]
2021-04-11 16:28:27,186: DEBUG - Get:29 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf zabbix-frontend-php all 1:4.0.4+dfsg-1 [2568 kB]
2021-04-11 16:28:27,789: DEBUG - Get:30 http://ftp.tugraz.at/mirror/raspbian/raspbian buster/main armhf zabbix-server-mysql armhf 1:4.0.4+dfsg-1 [2104 kB]
2021-04-11 16:28:29,896: DEBUG - Preconfiguring packages ...
2021-04-11 16:28:30,298: DEBUG - Fetched 16.2 MB in 30s (536 kB/s)
2021-04-11 16:28:30,399: DEBUG - Selecting previously unselected package fping.
2021-04-11 16:28:30,500: DEBUG - (Reading database ... 52850 files and directories currently installed.)
2021-04-11 16:28:30,501: DEBUG - Preparing to unpack .../00-fping_4.2-1_armhf.deb ...
2021-04-11 16:28:30,502: DEBUG - Unpacking fping (4.2-1) ...
2021-04-11 16:28:30,703: DEBUG - Selecting previously unselected package libapr1:armhf.
2021-04-11 16:28:30,704: DEBUG - Preparing to unpack .../01-libapr1_1.6.5-1_armhf.deb ...
2021-04-11 16:28:30,704: DEBUG - Unpacking libapr1:armhf (1.6.5-1) ...
2021-04-11 16:28:30,905: DEBUG - Selecting previously unselected package libaprutil1:armhf.
2021-04-11 16:28:30,907: DEBUG - Preparing to unpack .../02-libaprutil1_1.6.1-4_armhf.deb ...
2021-04-11 16:28:30,908: DEBUG - Unpacking libaprutil1:armhf (1.6.1-4) ...
2021-04-11 16:28:31,110: DEBUG - Selecting previously unselected package libaprutil1-dbd-sqlite3:armhf.
2021-04-11 16:28:31,111: DEBUG - Preparing to unpack .../03-libaprutil1-dbd-sqlite3_1.6.1-4_armhf.deb ...
2021-04-11 16:28:31,112: DEBUG - Unpacking libaprutil1-dbd-sqlite3:armhf (1.6.1-4) ...
2021-04-11 16:28:31,213: DEBUG - Selecting previously unselected package libaprutil1-ldap:armhf.
2021-04-11 16:28:31,214: DEBUG - Preparing to unpack .../04-libaprutil1-ldap_1.6.1-4_armhf.deb ...
2021-04-11 16:28:31,315: DEBUG - Unpacking libaprutil1-ldap:armhf (1.6.1-4) ...
2021-04-11 16:28:31,416: DEBUG - Selecting previously unselected package libgfortran5:armhf.
2021-04-11 16:28:31,417: DEBUG - Preparing to unpack .../05-libgfortran5_8.3.0-6+rpi1_armhf.deb ...
2021-04-11 16:28:31,418: DEBUG - Unpacking libgfortran5:armhf (8.3.0-6+rpi1) ...
2021-04-11 16:28:31,619: DEBUG - Selecting previously unselected package libblas3:armhf.
2021-04-11 16:28:31,620: DEBUG - Preparing to unpack .../06-libblas3_3.8.0-2_armhf.deb ...
2021-04-11 16:28:31,620: DEBUG - Unpacking libblas3:armhf (3.8.0-2) ...
2021-04-11 16:28:31,822: DEBUG - Selecting previously unselected package libiksemel3:armhf.
2021-04-11 16:28:31,823: DEBUG - Preparing to unpack .../07-libiksemel3_1.4-3+b1_armhf.deb ...
2021-04-11 16:28:31,824: DEBUG - Unpacking libiksemel3:armhf (1.4-3+b1) ...
2021-04-11 16:28:32,026: DEBUG - Selecting previously unselected package libjs-prototype.
2021-04-11 16:28:32,027: DEBUG - Preparing to unpack .../08-libjs-prototype_1.7.1-3_all.deb ...
2021-04-11 16:28:32,028: DEBUG - Unpacking libjs-prototype (1.7.1-3) ...
2021-04-11 16:28:32,229: DEBUG - Selecting previously unselected package liblinear3:armhf.
2021-04-11 16:28:32,230: DEBUG - Preparing to unpack .../09-liblinear3_2.1.0+dfsg-4_armhf.deb ...
2021-04-11 16:28:32,231: DEBUG - Unpacking liblinear3:armhf (2.1.0+dfsg-4) ...
2021-04-11 16:28:32,433: DEBUG - Selecting previously unselected package liblua5.2-0:armhf.
2021-04-11 16:28:32,434: DEBUG - Preparing to unpack .../10-liblua5.2-0_5.2.4-1.1+b1_armhf.deb ...
2021-04-11 16:28:32,444: DEBUG - Unpacking liblua5.2-0:armhf (5.2.4-1.1+b1) ...
2021-04-11 16:28:32,645: DEBUG - Selecting previously unselected package libopenipmi0.
2021-04-11 16:28:32,647: DEBUG - Preparing to unpack .../11-libopenipmi0_2.0.25-2.1_armhf.deb ...
2021-04-11 16:28:32,648: DEBUG - Unpacking libopenipmi0 (2.0.25-2.1) ...
2021-04-11 16:28:32,950: DEBUG - Selecting previously unselected package libpam-cap:armhf.
2021-04-11 16:28:32,950: DEBUG - Preparing to unpack .../12-libpam-cap_1%3a2.25-2_armhf.deb ...
2021-04-11 16:28:32,951: DEBUG - Unpacking libpam-cap:armhf (1:2.25-2) ...
2021-04-11 16:28:33,152: DEBUG - Selecting previously unselected package libpcap0.8:armhf.
2021-04-11 16:28:33,153: DEBUG - Preparing to unpack .../13-libpcap0.8_1.8.1-6_armhf.deb ...
2021-04-11 16:28:33,153: DEBUG - Unpacking libpcap0.8:armhf (1.8.1-6) ...
2021-04-11 16:28:33,254: DEBUG - Selecting previously unselected package libsensors-config.
2021-04-11 16:28:33,255: DEBUG - Preparing to unpack .../14-libsensors-config_1%3a3.5.0-3_all.deb ...
2021-04-11 16:28:33,256: DEBUG - Unpacking libsensors-config (1:3.5.0-3) ...
2021-04-11 16:28:33,458: DEBUG - Selecting previously unselected package libsensors5:armhf.
2021-04-11 16:28:33,459: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-04-11 16:28:33,460: DEBUG - Preparing to unpack .../15-libsensors5_1%3a3.5.0-3_armhf.deb ...
2021-04-11 16:28:33,662: DEBUG - Unpacking libsensors5:armhf (1:3.5.0-3) ...
2021-04-11 16:28:33,763: DEBUG - Selecting previously unselected package libsnmp-base.
2021-04-11 16:28:33,865: DEBUG - Preparing to unpack .../16-libsnmp-base_5.7.3+dfsg-5+deb10u2_all.deb ...
2021-04-11 16:28:33,866: DEBUG - Unpacking libsnmp-base (5.7.3+dfsg-5+deb10u2) ...
2021-04-11 16:28:34,168: DEBUG - Selecting previously unselected package libsnmp30:armhf.
2021-04-11 16:28:34,169: DEBUG - Preparing to unpack .../17-libsnmp30_5.7.3+dfsg-5+deb10u2_armhf.deb ...
2021-04-11 16:28:34,169: DEBUG - Unpacking libsnmp30:armhf (5.7.3+dfsg-5+deb10u2) ...
2021-04-11 16:28:34,671: DEBUG - Selecting previously unselected package nmap-common.
2021-04-11 16:28:34,672: DEBUG - Preparing to unpack .../18-nmap-common_7.70+dfsg1-6+deb10u1_all.deb ...
2021-04-11 16:28:34,673: DEBUG - Unpacking nmap-common (7.70+dfsg1-6+deb10u1) ...
2021-04-11 16:28:36,278: DEBUG - Selecting previously unselected package nmap.
2021-04-11 16:28:36,280: DEBUG - Preparing to unpack .../19-nmap_7.70+dfsg1-6+deb10u1_armhf.deb ...
2021-04-11 16:28:36,281: DEBUG - Unpacking nmap (7.70+dfsg1-6+deb10u1) ...
2021-04-11 16:28:36,984: DEBUG - Selecting previously unselected package php7.3-bcmath.
2021-04-11 16:28:36,985: DEBUG - Preparing to unpack .../20-php7.3-bcmath_7.3.27-1~deb10u1_armhf.deb ...
2021-04-11 16:28:36,986: DEBUG - Unpacking php7.3-bcmath (7.3.27-1~deb10u1) ...
2021-04-11 16:28:37,188: DEBUG - Selecting previously unselected package php-bcmath.
2021-04-11 16:28:37,188: DEBUG - Preparing to unpack .../21-php-bcmath_2%3a7.3+69_all.deb ...
2021-04-11 16:28:37,189: DEBUG - Unpacking php-bcmath (2:7.3+69) ...
2021-04-11 16:28:37,290: DEBUG - Selecting previously unselected package php7.3.
2021-04-11 16:28:37,291: DEBUG - Preparing to unpack .../22-php7.3_7.3.27-1~deb10u1_all.deb ...
2021-04-11 16:28:37,291: DEBUG - Unpacking php7.3 (7.3.27-1~deb10u1) ...
2021-04-11 16:28:37,392: DEBUG - Selecting previously unselected package smistrip.
2021-04-11 16:28:37,494: DEBUG - Preparing to unpack .../23-smistrip_0.4.8+dfsg2-16_all.deb ...
2021-04-11 16:28:37,495: DEBUG - Unpacking smistrip (0.4.8+dfsg2-16) ...
2021-04-11 16:28:37,595: DEBUG - Selecting previously unselected package snmpd.
2021-04-11 16:28:37,596: DEBUG - Preparing to unpack .../24-snmpd_5.7.3+dfsg-5+deb10u2_armhf.deb ...
2021-04-11 16:28:37,697: DEBUG - Unpacking snmpd (5.7.3+dfsg-5+deb10u2) ...
2021-04-11 16:28:37,798: DEBUG - Selecting previously unselected package snmptrapd.
2021-04-11 16:28:37,799: DEBUG - Preparing to unpack .../25-snmptrapd_5.7.3+dfsg-5+deb10u2_armhf.deb ...
2021-04-11 16:28:37,800: DEBUG - Unpacking snmptrapd (5.7.3+dfsg-5+deb10u2) ...
2021-04-11 16:28:38,001: DEBUG - Selecting previously unselected package ttf-dejavu-core.
2021-04-11 16:28:38,002: DEBUG - Preparing to unpack .../26-ttf-dejavu-core_2.37-1_all.deb ...
2021-04-11 16:28:38,003: DEBUG - Unpacking ttf-dejavu-core (2.37-1) ...
2021-04-11 16:28:38,205: DEBUG - Selecting previously unselected package zabbix-agent.
2021-04-11 16:28:38,206: DEBUG - Preparing to unpack .../27-zabbix-agent_1%3a4.0.4+dfsg-1_armhf.deb ...
2021-04-11 16:28:38,207: DEBUG - Unpacking zabbix-agent (1:4.0.4+dfsg-1) ...
2021-04-11 16:28:38,408: DEBUG - Selecting previously unselected package zabbix-frontend-php.
2021-04-11 16:28:38,510: DEBUG - Preparing to unpack .../28-zabbix-frontend-php_1%3a4.0.4+dfsg-1_all.deb ...
2021-04-11 16:28:38,510: DEBUG - Unpacking zabbix-frontend-php (1:4.0.4+dfsg-1) ...
2021-04-11 16:28:39,915: DEBUG - Selecting previously unselected package zabbix-server-mysql.
2021-04-11 16:28:40,016: DEBUG - Preparing to unpack .../29-zabbix-server-mysql_1%3a4.0.4+dfsg-1_armhf.deb ...
2021-04-11 16:28:40,017: DEBUG - Unpacking zabbix-server-mysql (1:4.0.4+dfsg-1) ...
2021-04-11 16:28:40,619: DEBUG - Setting up php7.3-bcmath (7.3.27-1~deb10u1) ...
2021-04-11 16:28:40,620: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-04-11 16:28:41,122: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-04-11 16:28:41,324: DEBUG -
2021-04-11 16:28:41,325: DEBUG - Creating config file /etc/php/7.3/mods-available/bcmath.ini with new version
2021-04-11 16:28:41,627: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-04-11 16:28:42,029: DEBUG - Setting up php-bcmath (2:7.3+69) ...
2021-04-11 16:28:42,030: DEBUG - Setting up php7.3 (7.3.27-1~deb10u1) ...
2021-04-11 16:28:42,132: DEBUG - Setting up libsnmp-base (5.7.3+dfsg-5+deb10u2) ...
2021-04-11 16:28:42,133: DEBUG - Setting up libsensors-config (1:3.5.0-3) ...
2021-04-11 16:28:42,234: DEBUG - Setting up smistrip (0.4.8+dfsg2-16) ...
2021-04-11 16:28:42,236: DEBUG - Setting up libapr1:armhf (1.6.5-1) ...
2021-04-11 16:28:42,239: DEBUG - Setting up libpcap0.8:armhf (1.8.1-6) ...
2021-04-11 16:28:42,341: DEBUG - Setting up libsensors5:armhf (1:3.5.0-3) ...
2021-04-11 16:28:42,342: DEBUG - Setting up zabbix-frontend-php (1:4.0.4+dfsg-1) ...
2021-04-11 16:28:42,443: DEBUG - Setting up libjs-prototype (1.7.1-3) ...
2021-04-11 16:28:42,445: DEBUG - Setting up libgfortran5:armhf (8.3.0-6+rpi1) ...
2021-04-11 16:28:42,446: DEBUG - Setting up libiksemel3:armhf (1.4-3+b1) ...
2021-04-11 16:28:42,547: DEBUG - Setting up nmap-common (7.70+dfsg1-6+deb10u1) ...
2021-04-11 16:28:42,548: DEBUG - Setting up liblua5.2-0:armhf (5.2.4-1.1+b1) ...
2021-04-11 16:28:42,650: DEBUG - Setting up zabbix-agent (1:4.0.4+dfsg-1) ...
2021-04-11 16:28:43,454: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-04-11 16:28:44,057: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-04-11 16:28:44,159: DEBUG -
2021-04-11 16:28:44,160: DEBUG - Creating config file /etc/zabbix/zabbix_agentd.conf with new version
2021-04-11 16:28:44,561: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-04-11 16:28:44,663: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-04-11 16:28:45,165: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-04-11 16:28:45,668: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-04-11 16:28:48,076: DEBUG - Created symlink /etc/systemd/system/multi-user.target.wants/zabbix-agent.service -> /lib/systemd/system/zabbix-agent.service.
2021-04-11 16:28:48,879: DEBUG - Setting up libopenipmi0 (2.0.25-2.1) ...
2021-04-11 16:28:48,880: DEBUG - Setting up fping (4.2-1) ...
2021-04-11 16:28:48,880: DEBUG - Setting up libpam-cap:armhf (1:2.25-2) ...
2021-04-11 16:28:49,883: DEBUG - Setting up ttf-dejavu-core (2.37-1) ...
2021-04-11 16:28:49,895: DEBUG - Setting up libaprutil1:armhf (1.6.1-4) ...
2021-04-11 16:28:49,998: DEBUG - Setting up libaprutil1-ldap:armhf (1.6.1-4) ...
2021-04-11 16:28:49,998: DEBUG - Setting up libaprutil1-dbd-sqlite3:armhf (1.6.1-4) ...
2021-04-11 16:28:49,999: DEBUG - Setting up libsnmp30:armhf (5.7.3+dfsg-5+deb10u2) ...
2021-04-11 16:28:50,108: DEBUG - Setting up libblas3:armhf (3.8.0-2) ...
2021-04-11 16:28:50,209: DEBUG - update-alternatives: using /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3 to provide /usr/lib/arm-linux-gnueabihf/libblas.so.3 (libblas.so.3-arm-linux-gnueabihf) in auto mode
2021-04-11 16:28:50,211: DEBUG - Setting up liblinear3:armhf (2.1.0+dfsg-4) ...
2021-04-11 16:28:50,212: DEBUG - Setting up zabbix-server-mysql (1:4.0.4+dfsg-1) ...
2021-04-11 16:28:50,313: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-04-11 16:28:50,917: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-04-11 16:28:51,118: DEBUG -
2021-04-11 16:28:51,119: DEBUG - Creating config file /etc/zabbix/zabbix_server.conf with new version
2021-04-11 16:28:51,421: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-04-11 16:28:51,522: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-04-11 16:28:52,025: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-04-11 16:28:52,226: DEBUG -
2021-04-11 16:28:52,228: DEBUG - Creating config file /etc/sudoers.d/zabbix with new version
2021-04-11 16:28:52,529: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-04-11 16:28:54,135: DEBUG - Created symlink /etc/systemd/system/multi-user.target.wants/zabbix-server.service -> /lib/systemd/system/zabbix-server.service.
2021-04-11 16:28:54,838: DEBUG - Setting up snmpd (5.7.3+dfsg-5+deb10u2) ...
2021-04-11 16:28:56,143: WARNING - adduser: Warning: The home directory `/var/lib/snmp' does not belong to the user you are currently creating.
2021-04-11 16:28:58,557: DEBUG - Created symlink /etc/systemd/system/multi-user.target.wants/snmpd.service -> /lib/systemd/system/snmpd.service.
2021-04-11 16:28:59,561: DEBUG - Setting up nmap (7.70+dfsg1-6+deb10u1) ...
2021-04-11 16:28:59,561: DEBUG - Setting up snmptrapd (5.7.3+dfsg-5+deb10u2) ...
2021-04-11 16:29:00,966: DEBUG - Processing triggers for libc-bin (2.28-10+rpi1) ...
2021-04-11 16:29:01,067: DEBUG - Processing triggers for systemd (241-7~deb10u7+rpi1) ...
2021-04-11 16:29:01,870: DEBUG - Processing triggers for man-db (2.8.5-2) ...
2021-04-11 16:29:04,785: DEBUG - Processing triggers for php7.3-fpm (7.3.27-1~deb10u1) ...
2021-04-11 16:29:06,492: DEBUG - + [[ -n /tmp/tmp.iIajOGMBIU ]]
2021-04-11 16:29:06,492: DEBUG - + rm --recursive --force /tmp/tmp.iIajOGMBIU
2021-04-11 16:29:06,493: DEBUG - + ynh_package_is_installed zabbix-ynh-deps
2021-04-11 16:29:06,498: DEBUG - + ynh_wait_dpkg_free
2021-04-11 16:29:06,901: DEBUG - + return 0
2021-04-11 16:29:06,902: DEBUG - + dpkg-query --show '--showformat=${Status}' zabbix-ynh-deps
2021-04-11 16:29:06,903: DEBUG - + grep --count 'ok installed'
2021-04-11 16:29:06,904: DEBUG - + rm /tmp/zabbix-ynh-deps.control
2021-04-11 16:29:06,905: DEBUG - + ynh_app_setting_set --app=zabbix --key=apt_dependencies '--value=libapr1, libaprutil1, libaprutil1-dbd-sqlite3, libaprutil1-ldap, liblua5.2-0, php7.3, php-bcmath, php7.3-bcmath, ttf-dejavu-core, php7.3-bcmath, patch, smistrip, unzip, wget, fping, libcap2-bin, libiksemel3, libopenipmi0, libpam-cap, libsnmp-base, libsnmp30, snmptrapd, snmpd, libjs-prototype, jq, zabbix-server-mysql, zabbix-agent, zabbix-frontend-php'
2021-04-11 16:29:07,113: DEBUG - + [[ apt_dependencies =~ (unprotected|protected|skipped)_ ]]
2021-04-11 16:29:07,114: DEBUG - + ynh_app_setting set zabbix apt_dependencies 'libapr1, libaprutil1, libaprutil1-dbd-sqlite3, libaprutil1-ldap, liblua5.2-0, php7.3, php-bcmath, php7.3-bcmath, ttf-dejavu-core, php7.3-bcmath, patch, smistrip, unzip, wget, fping, libcap2-bin, libiksemel3, libopenipmi0, libpam-cap, libsnmp-base, libsnmp30, snmptrapd, snmpd, libjs-prototype, jq, zabbix-server-mysql, zabbix-agent, zabbix-frontend-php'
2021-04-11 16:29:07,518: DEBUG - + dpkg -i --force-confmiss /var/cache/apt/archives/zabbix-server-mysql_1%3a4.0.4+dfsg-1_armhf.deb
2021-04-11 16:29:07,720: DEBUG - (Reading database ... 55149 files and directories currently installed.)
2021-04-11 16:29:07,721: DEBUG - Preparing to unpack .../zabbix-server-mysql_1%3a4.0.4+dfsg-1_armhf.deb ...
2021-04-11 16:29:07,822: DEBUG - Unpacking zabbix-server-mysql (1:4.0.4+dfsg-1) over (1:4.0.4+dfsg-1) ...
2021-04-11 16:29:08,324: DEBUG - Setting up zabbix-server-mysql (1:4.0.4+dfsg-1) ...
2021-04-11 16:29:09,127: WARNING - debconf: unable to initialize frontend: Dialog
2021-04-11 16:29:09,129: WARNING - debconf: (TERM is not set, so the dialog frontend is not usable.)
2021-04-11 16:29:09,131: WARNING - debconf: falling back to frontend: Readline
2021-04-11 16:29:09,133: WARNING - debconf: unable to initialize frontend: Readline
2021-04-11 16:29:09,136: WARNING - debconf: (This frontend requires a controlling tty.)
2021-04-11 16:29:09,138: WARNING - debconf: falling back to frontend: Teletype
2021-04-11 16:29:10,243: WARNING - debconf: unable to initialize frontend: Dialog
2021-04-11 16:29:10,245: WARNING - debconf: (TERM is not set, so the dialog frontend is not usable.)
2021-04-11 16:29:10,247: WARNING - debconf: falling back to frontend: Readline
2021-04-11 16:29:10,249: WARNING - debconf: unable to initialize frontend: Readline
2021-04-11 16:29:10,251: WARNING - debconf: (This frontend requires a controlling tty.)
2021-04-11 16:29:10,253: WARNING - debconf: falling back to frontend: Teletype
2021-04-11 16:29:12,470: DEBUG - Processing triggers for systemd (241-7~deb10u7+rpi1) ...
2021-04-11 16:29:13,173: DEBUG - Processing triggers for man-db (2.8.5-2) ...
2021-04-11 16:29:14,178: DEBUG - + ynh_replace_string '--match_string=# fr_FR.UTF-8 UTF-8' '--replace_string=fr_FR.UTF-8 UTF-8' --target_file=/etc/locale.gen
2021-04-11 16:29:14,384: DEBUG - + local delimit=@
2021-04-11 16:29:14,384: DEBUG - + match_string='# fr_FR.UTF-8 UTF-8'
2021-04-11 16:29:14,385: DEBUG - + replace_string='fr_FR.UTF-8 UTF-8'
2021-04-11 16:29:14,386: DEBUG - + sed --in-place 's@# fr_FR.UTF-8 UTF-8@fr_FR.UTF-8 UTF-8@g' /etc/locale.gen
2021-04-11 16:29:14,386: DEBUG - + locale-gen
2021-04-11 16:29:14,387: DEBUG - Generating locales (this might take a while)...
2021-04-11 16:29:28,027: DEBUG - en_US.UTF-8... done
2021-04-11 16:29:41,490: DEBUG - fr_FR.UTF-8... done
2021-04-11 16:29:41,491: DEBUG - Generation complete.
2021-04-11 16:29:41,492: DEBUG - + ln -s /usr/share/zabbix /var/www/zabbix
2021-04-11 16:29:41,493: DEBUG - + '[' -f /var/www/zabbix/conf/zabbix.conf.php ']'
2021-04-11 16:29:41,799: INFO - [###+++..............] > Creation of database
2021-04-11 16:29:41,802: DEBUG - + echo '[###+++..............] > Creation of database '
2021-04-11 16:29:41,804: DEBUG - + declare db_pwd
2021-04-11 16:29:41,804: DEBUG - ++ ynh_sanitize_dbid zabbix
2021-04-11 16:29:41,812: DEBUG - ++ echo zabbix
2021-04-11 16:29:41,814: DEBUG - + db_name=zabbix
2021-04-11 16:29:41,814: DEBUG - + db_user=zabbix
2021-04-11 16:29:41,815: DEBUG - + ynh_app_setting_set zabbix db_name zabbix
2021-04-11 16:29:42,025: DEBUG - + [[ db_name =~ (unprotected|protected|skipped)_ ]]
2021-04-11 16:29:42,026: DEBUG - + ynh_app_setting set zabbix db_name zabbix
2021-04-11 16:29:42,328: DEBUG - + ynh_app_setting_set zabbix db_user zabbix
2021-04-11 16:29:42,537: DEBUG - + [[ db_user =~ (unprotected|protected|skipped)_ ]]
2021-04-11 16:29:42,538: DEBUG - + ynh_app_setting set zabbix db_user zabbix
2021-04-11 16:29:42,840: DEBUG - + ynh_mysql_setup_db zabbix zabbix
2021-04-11 16:29:42,843: DEBUG - + db_pwd=
2021-04-11 16:29:43,047: DEBUG - ++ ynh_string_random
2021-04-11 16:29:43,052: DEBUG - ++ length=24
2021-04-11 16:29:43,053: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2021-04-11 16:29:43,054: DEBUG - ++ tr --complement --delete A-Za-z0-9
2021-04-11 16:29:43,054: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2021-04-11 16:29:43,055: DEBUG - + local new_db_pwd=**********
2021-04-11 16:29:43,056: DEBUG - + db_pwd=**********
2021-04-11 16:29:43,057: DEBUG - + ynh_mysql_create_db zabbix zabbix **********
2021-04-11 16:29:43,058: DEBUG - + local db=zabbix
2021-04-11 16:29:43,059: DEBUG - + local 'sql=CREATE DATABASE zabbix;'
2021-04-11 16:29:43,060: DEBUG - + [[ 3 -gt 1 ]]
2021-04-11 16:29:43,061: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON zabbix.* TO '\''zabbix'\''@'\''localhost'\'''
2021-04-11 16:29:43,062: DEBUG - + [[ -n ********** ]]
2021-04-11 16:29:43,063: DEBUG - + sql+=' IDENTIFIED BY '\''**********'\'''
2021-04-11 16:29:43,063: DEBUG - + sql+=' WITH GRANT OPTION;'
2021-04-11 16:29:43,064: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE zabbix; GRANT ALL PRIVILEGES ON zabbix.* TO '\''zabbix'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2021-04-11 16:29:43,071: DEBUG - + database=
2021-04-11 16:29:43,072: DEBUG - + '[' -n '' ']'
2021-04-11 16:29:43,072: DEBUG - ++ cat /etc/yunohost/mysql
2021-04-11 16:29:43,073: DEBUG - + ynh_mysql_connect_as --user=root --password=**********
2021-04-11 16:29:43,180: DEBUG - + database=
2021-04-11 16:29:43,181: DEBUG - + mysql --user=root --password=********** --batch ''
2021-04-11 16:29:43,282: DEBUG - + ynh_app_setting_set --app=zabbix --key=mysqlpwd --value=**********
2021-04-11 16:29:43,487: DEBUG - + [[ mysqlpwd =~ (unprotected|protected|skipped)_ ]]
2021-04-11 16:29:43,488: DEBUG - + ynh_app_setting set zabbix mysqlpwd **********
2021-04-11 16:29:43,790: DEBUG - + export 'mysqlconn=mysql -uzabbix -p********** zabbix'
2021-04-11 16:29:43,791: DEBUG - + mysqlconn='mysql -uzabbix -p********** zabbix'
2021-04-11 16:29:43,791: DEBUG - + mysql --user=zabbix --password=********** --database=zabbix -e 'ALTER DATABASE zabbix CHARACTER SET utf8 COLLATE utf8_general_ci;'
2021-04-11 16:29:44,095: WARNING - gzip: /usr/share/doc/zabbix-server-mysql*/create.sql.gz: No such file or directory
2021-04-11 16:29:44,099: DEBUG - + echo '[######+++++++.......] > Import default data in database...'
2021-04-11 16:29:44,100: DEBUG - + mysql -uzabbix -p********** zabbix
2021-04-11 16:29:44,100: DEBUG - + zcat '/usr/share/doc/zabbix-server-mysql*/create.sql.gz'
2021-04-11 16:29:44,201: DEBUG - + convert_ZabbixDB
2021-04-11 16:29:44,214: WARNING - ERROR 1146 (42S02) at line 1: Table 'zabbix.config' doesn't exist
2021-04-11 16:29:44,216: INFO - [######+++++++.......] > Import default data in database...
2021-04-11 16:29:44,218: DEBUG - + mysql --user=zabbix --password=********** --database=zabbix -e 'ALTER DATABASE zabbix CHARACTER SET utf8 COLLATE utf8_general_ci;'
2021-04-11 16:29:44,219: DEBUG - ++ mysql -B -N --user=zabbix --password=********** --database=zabbix -e 'show tables'
2021-04-11 16:29:44,220: DEBUG - + mysql -uzabbix -p********** zabbix -e 'UPDATE `config` SET `http_auth_enabled` = '\''1'\'', `http_login_form` = '\''1'\'' WHERE `config`.`configid` = 1;'
2021-04-11 16:29:44,220: DEBUG - + ynh_exit_properly
2021-04-11 16:29:44,221: DEBUG - + local exit_code=1
2021-04-11 16:29:44,221: DEBUG - + '[' 1 -eq 0 ']'
2021-04-11 16:29:44,222: DEBUG - + trap '' EXIT
2021-04-11 16:29:44,222: DEBUG - + set +o errexit
2021-04-11 16:29:44,222: DEBUG - + set +o nounset
2021-04-11 16:29:44,223: DEBUG - + sleep 0.5
2021-04-11 16:29:44,726: DEBUG - + type -t ynh_clean_setup
2021-04-11 16:29:44,728: DEBUG - + exit 1
2021-04-11 16:29:44,887: ERROR - Unable to install zabbix: An error occurred inside the app installation script