[SOLVED] Netdata installation fails

Hello all,

I got an error trying to install Netdata. Please see below the log. I appreciate your help.


args:
  app: netdata
  force: false
  label: NetData
  no_remove_on_failure: false
ended_at: 2022-02-07 17:21:33.428343
env:
  YNH_APP_ARG_ADMIN: XXXX
  YNH_APP_ARG_DOMAIN: maindomain.tld
  YNH_APP_ARG_IS_PUBLIC: '0'
  YNH_APP_ARG_PATH: /netdata
  YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_cjcoh9jh
  YNH_APP_ID: netdata
  YNH_APP_INSTANCE_NAME: netdata
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 1.33.0~ynh1
  YNH_ARCH: amd64
error: An error occurred inside the app installation script
interface: api
operation: app_install
parent: null
related_to:
- - app
  - netdata
started_at: 2022-02-07 17:21:22.726070
success: false
yunohost_version: 4.3.6.2

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

2022-02-07 19:21:22,732: INFO - Installing netdata...
2022-02-07 19:21:22,900: DEBUG - Nothing to update in LDAP
2022-02-07 19:21:22,901: DEBUG - Permission 'netdata.main' updated
2022-02-07 19:21:23,045: DEBUG - Full log of this operation: '<a href="#/tools/logs/20220207-172122-permission_url-netdata" style="text-decoration:underline">Update URL related to permission 'netdata'</a>'
2022-02-07 19:21:23,340: DEBUG - The permission database has been resynchronized
2022-02-07 19:21:23,529: DEBUG - SSOwat configuration regenerated
2022-02-07 19:21:23,684: DEBUG - Permission 'netdata.main' created
2022-02-07 19:21:23,685: DEBUG - Full log of this operation: '<a href="#/tools/logs/20220207-172122-permission_create-netdata" style="text-decoration:underline">Create permission 'netdata'</a>'
2022-02-07 19:21:23,697: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install"  7>&1']'
2022-02-07 19:21:23,705: DEBUG - + source _common.sh
2022-02-07 19:21:23,706: DEBUG - ++ pkg_dependencies='zlib1g-dev uuid-dev libmnl-dev gcc make git autoconf autoconf-archive autogen automake pkg-config curl jq nodejs python3-mysqldb libipmimonitoring-dev acl python3-psycopg2 python3-pymongo libuv1-dev liblz4-dev libjudy-dev libssl-dev cmake'
2022-02-07 19:21:23,706: DEBUG - + source /usr/share/yunohost/helpers
2022-02-07 19:21:23,706: DEBUG - +++ set +o
2022-02-07 19:21:23,706: DEBUG - +++ grep xtrace
2022-02-07 19:21:23,708: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2022-02-07 19:21:23,708: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2022-02-07 19:21:23,735: DEBUG - + ynh_abort_if_errors
2022-02-07 19:21:23,736: DEBUG - + trap ynh_exit_properly EXIT
2022-02-07 19:21:23,736: DEBUG - + domain=maindomain.tld
2022-02-07 19:21:23,736: DEBUG - + path_url=/netdata
2022-02-07 19:21:23,736: DEBUG - + admin=XXXX
2022-02-07 19:21:23,737: DEBUG - + is_public=0
2022-02-07 19:21:23,737: DEBUG - + app=netdata
2022-02-07 19:21:23,835: INFO - [....................] > Validating installation parameters...
2022-02-07 19:21:23,836: DEBUG - + final_path=/opt/netdata
2022-02-07 19:21:23,836: DEBUG - + test '!' -e /opt/netdata
2022-02-07 19:21:23,836: DEBUG - + ynh_webpath_register --app=netdata --domain=maindomain.tld --path_url=/netdata
2022-02-07 19:21:23,917: DEBUG - + yunohost app register-url netdata maindomain.tld /netdata
2022-02-07 19:21:25,767: INFO - [....................] > Storing installation settings...
2022-02-07 19:21:25,769: DEBUG - + ynh_app_setting_set --app=netdata --key=domain --value=maindomain.tld
2022-02-07 19:21:25,769: DEBUG - + local _globalapp=netdata
2022-02-07 19:21:25,854: DEBUG - + app=netdata
2022-02-07 19:21:25,855: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2022-02-07 19:21:25,855: DEBUG - + ynh_app_setting set netdata domain maindomain.tld
2022-02-07 19:21:25,901: DEBUG - + ynh_app_setting_set --app=netdata --key=path --value=/netdata
2022-02-07 19:21:25,901: DEBUG - + local _globalapp=netdata
2022-02-07 19:21:25,970: DEBUG - + app=netdata
2022-02-07 19:21:25,970: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2022-02-07 19:21:25,971: DEBUG - + ynh_app_setting set netdata path /netdata
2022-02-07 19:21:26,015: DEBUG - + ynh_app_setting_set --app=netdata --key=admin --value=XXXX
2022-02-07 19:21:26,015: DEBUG - + local _globalapp=netdata
2022-02-07 19:21:26,085: DEBUG - + app=netdata
2022-02-07 19:21:26,085: DEBUG - + [[ admin =~ (unprotected|protected|skipped)_ ]]
2022-02-07 19:21:26,085: DEBUG - + ynh_app_setting set netdata admin XXXX
2022-02-07 19:21:26,212: INFO - [++++++++............] > Installing dependencies...
2022-02-07 19:21:26,214: DEBUG - + ynh_install_app_dependencies zlib1g-dev uuid-dev libmnl-dev gcc make git autoconf autoconf-archive autogen automake pkg-config curl jq nodejs python3-mysqldb libipmimonitoring-dev acl python3-psycopg2 python3-pymongo libuv1-dev liblz4-dev libjudy-dev libssl-dev cmake
2022-02-07 19:21:26,214: DEBUG - + local 'dependencies=zlib1g-dev uuid-dev libmnl-dev gcc make git autoconf autoconf-archive autogen automake pkg-config curl jq nodejs python3-mysqldb libipmimonitoring-dev acl python3-psycopg2 python3-pymongo libuv1-dev liblz4-dev libjudy-dev libssl-dev cmake'
2022-02-07 19:21:26,214: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2022-02-07 19:21:26,214: DEBUG - ++ echo 'zlib1g-dev uuid-dev libmnl-dev gcc make git autoconf autoconf-archive autogen automake pkg-config curl jq nodejs python3-mysqldb libipmimonitoring-dev acl python3-psycopg2 python3-pymongo libuv1-dev liblz4-dev libjudy-dev libssl-dev cmake'
2022-02-07 19:21:26,216: DEBUG - + dependencies='zlib1g-dev, uuid-dev, libmnl-dev, gcc, make, git, autoconf, autoconf-archive, autogen, automake, pkg-config, curl, jq, nodejs, python3-mysqldb, libipmimonitoring-dev, acl, python3-psycopg2, python3-pymongo, libuv1-dev, liblz4-dev, libjudy-dev, libssl-dev, cmake'
2022-02-07 19:21:26,217: DEBUG - + local 'dependencies=zlib1g-dev, uuid-dev, libmnl-dev, gcc, make, git, autoconf, autoconf-archive, autogen, automake, pkg-config, curl, jq, nodejs, python3-mysqldb, libipmimonitoring-dev, acl, python3-psycopg2, python3-pymongo, libuv1-dev, liblz4-dev, libjudy-dev, libssl-dev, cmake'
2022-02-07 19:21:26,217: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_cjcoh9jh/manifest.json
2022-02-07 19:21:26,217: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_cjcoh9jh/manifest.json
2022-02-07 19:21:26,221: DEBUG - + local version=1.33.0~ynh1
2022-02-07 19:21:26,221: DEBUG - + '[' -z 1.33.0~ynh1 ']'
2022-02-07 19:21:26,221: DEBUG - + '[' 1.33.0~ynh1 == null ']'
2022-02-07 19:21:26,221: DEBUG - + local dep_app=netdata
2022-02-07 19:21:26,222: DEBUG - + [[ zlib1g-dev, uuid-dev, libmnl-dev, gcc, make, git, autoconf, autoconf-archive, autogen, automake, pkg-config, curl, jq, nodejs, python3-mysqldb, libipmimonitoring-dev, acl, python3-psycopg2, python3-pymongo, libuv1-dev, liblz4-dev, libjudy-dev, libssl-dev, cmake =~ [<=>] ]]
2022-02-07 19:21:26,222: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
2022-02-07 19:21:26,222: DEBUG - ++ echo zlib1g-dev, uuid-dev, libmnl-dev, gcc, make, git, autoconf, autoconf-archive, autogen, automake, pkg-config, curl, jq, nodejs, python3-mysqldb, libipmimonitoring-dev, acl, python3-psycopg2, python3-pymongo, libuv1-dev, liblz4-dev, libjudy-dev, libssl-dev, cmake
2022-02-07 19:21:26,223: DEBUG - ++ sort -u
2022-02-07 19:21:26,225: DEBUG - + local specific_php_version=
2022-02-07 19:21:26,225: DEBUG - + [[ '' != \7\.\3 ]]
2022-02-07 19:21:26,225: DEBUG - + [[ true == \t\r\u\e ]]
2022-02-07 19:21:26,226: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2022-02-07 19:21:26,226: DEBUG - + grep --quiet php
2022-02-07 19:21:26,227: DEBUG - + cat
2022-02-07 19:21:26,229: DEBUG - + ynh_package_install_from_equivs /tmp/netdata-ynh-deps.control
2022-02-07 19:21:26,230: DEBUG - + local controlfile=/tmp/netdata-ynh-deps.control
2022-02-07 19:21:26,230: DEBUG - ++ grep '^Package: ' /tmp/netdata-ynh-deps.control
2022-02-07 19:21:26,231: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-02-07 19:21:26,233: DEBUG - + local pkgname=netdata-ynh-deps
2022-02-07 19:21:26,234: DEBUG - ++ grep '^Version: ' /tmp/netdata-ynh-deps.control
2022-02-07 19:21:26,234: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-02-07 19:21:26,236: DEBUG - + local pkgversion=1.33.0~ynh1
2022-02-07 19:21:26,236: DEBUG - + [[ -z netdata-ynh-deps ]]
2022-02-07 19:21:26,236: DEBUG - + [[ -z 1.33.0~ynh1 ]]
2022-02-07 19:21:26,237: DEBUG - + ynh_package_update
2022-02-07 19:21:26,237: DEBUG - + ynh_apt update
2022-02-07 19:21:26,237: DEBUG - + ynh_wait_dpkg_free
2022-02-07 19:21:26,442: DEBUG - + return 0
2022-02-07 19:21:26,442: DEBUG - + LC_ALL=C
2022-02-07 19:21:26,442: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-02-07 19:21:26,442: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2022-02-07 19:21:26,681: DEBUG - Hit:1 http://ftp.debian.org/debian buster InRelease
2022-02-07 19:21:26,681: DEBUG - Hit:2 http://security.debian.org/debian-security buster/updates InRelease
2022-02-07 19:21:26,733: DEBUG - Hit:3 http://ftp.debian.org/debian buster-updates InRelease
2022-02-07 19:21:26,754: DEBUG - Hit:4 http://forge.yunohost.org/debian buster InRelease
2022-02-07 19:21:26,781: DEBUG - Hit:5 https://packages.sury.org/php buster InRelease
2022-02-07 19:21:30,080: DEBUG - Reading package lists...
2022-02-07 19:21:30,105: DEBUG - ++ mktemp --directory
2022-02-07 19:21:30,106: DEBUG - + local TMPDIR=/tmp/tmp.uCXbdelzQv
2022-02-07 19:21:30,106: DEBUG - + echo 10
2022-02-07 19:21:30,106: DEBUG - + ynh_wait_dpkg_free
2022-02-07 19:21:30,310: DEBUG - + return 0
2022-02-07 19:21:30,310: DEBUG - + cp /tmp/netdata-ynh-deps.control /tmp/tmp.uCXbdelzQv/control
2022-02-07 19:21:30,312: DEBUG - + cd /tmp/tmp.uCXbdelzQv
2022-02-07 19:21:30,312: DEBUG - + LC_ALL=C
2022-02-07 19:21:30,312: DEBUG - + equivs-build ./control
2022-02-07 19:21:31,014: DEBUG - + LC_ALL=C
2022-02-07 19:21:31,015: DEBUG - + dpkg --force-depends --install ./netdata-ynh-deps_1.33.0~ynh1_all.deb
2022-02-07 19:21:31,015: DEBUG - + tee ./dpkg_log
2022-02-07 19:21:31,036: DEBUG - dpkg: unrecoverable fatal error, aborting:
2022-02-07 19:21:31,036: DEBUG -  unknown system user 'netdata' in statoverride file; the system user got removed
2022-02-07 19:21:31,037: DEBUG - before the override, which is most probably a packaging bug, to recover you
2022-02-07 19:21:31,037: DEBUG - can remove the override manually with dpkg-statoverride
2022-02-07 19:21:31,037: DEBUG - + ynh_package_install --fix-broken
2022-02-07 19:21:31,037: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2022-02-07 19:21:31,037: DEBUG - + ynh_wait_dpkg_free
2022-02-07 19:21:31,237: DEBUG - + return 0
2022-02-07 19:21:31,238: DEBUG - + LC_ALL=C
2022-02-07 19:21:31,238: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-02-07 19:21:31,238: 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
2022-02-07 19:21:31,282: DEBUG - Reading package lists...
2022-02-07 19:21:31,439: DEBUG - Building dependency tree...
2022-02-07 19:21:31,440: DEBUG - Reading state information...
2022-02-07 19:21:31,640: DEBUG - The following packages were automatically installed and are no longer required:
2022-02-07 19:21:31,640: DEBUG -   fonts-font-awesome freeipmi-common libbrotli1 libc-ares2 libfreeipmi17
2022-02-07 19:21:31,640: DEBUG -   libipmimonitoring6 libnode64 libuv1 netdata-core netdata-plugins-bash
2022-02-07 19:21:31,641: DEBUG -   netdata-plugins-nodejs netdata-plugins-python netdata-web nodejs nodejs-doc
2022-02-07 19:21:31,641: DEBUG - Use 'apt autoremove' to remove them.
2022-02-07 19:21:31,667: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
2022-02-07 19:21:31,667: DEBUG - + [[ -n /tmp/tmp.uCXbdelzQv ]]
2022-02-07 19:21:31,668: DEBUG - + rm --recursive --force /tmp/tmp.uCXbdelzQv
2022-02-07 19:21:31,669: DEBUG - + ynh_package_is_installed netdata-ynh-deps
2022-02-07 19:21:31,677: DEBUG - + ynh_wait_dpkg_free
2022-02-07 19:21:31,885: DEBUG - + return 0
2022-02-07 19:21:31,885: DEBUG - + dpkg-query --show '--showformat=${Status}' netdata-ynh-deps
2022-02-07 19:21:31,885: DEBUG - + grep --count 'ok installed'
2022-02-07 19:21:31,903: DEBUG - + ynh_die '--message=Unable to install dependencies'
2022-02-07 19:21:31,922: DEBUG - + ynh_exit_properly
2022-02-07 19:21:31,923: WARNING - Unable to install dependencies
2022-02-07 19:21:32,425: DEBUG - + ynh_clean_setup
2022-02-07 19:21:32,426: DEBUG - + true
2022-02-07 19:21:33,427: ERROR - Unable to install netdata: An error occurred inside the app installation script
1 Like

Did you try manually installing the dependencies?

I just tried installing it on a moderately app-filled Yunohost, with no problem. Maybe my log has a pointer for you.

PS, I had intended to attempt installation, and uninstall afterwards, but Netdata is quite nice! It turns out my Yunohost has been quite busy, the past few hours, mostly PHP. I suspect Nextcloud, but I have no way of digging deeper into that via Netdata (as far as I can see).
Before Yunohost I tried configuring a similar service, and failed miserably. I have been hesitant ever since to try burning my fingers at automatic monitoring. Yunohost + Netdata gives a lot graphs (and arguably useful info) direct upon installing :slight_smile:

Try

sudo apt autoremove
sudo yunohost app install netdata

Yes tried that also but again I am getting an error:

Info: Installing netdata...
Info: [....................] > Validating installation parameters...
Info: [....................] > Storing installation settings...
Info: [++++++++............] > Installing dependencies...
Warning: Unable to install dependencies
Error: Unable to install netdata: An error occurred inside the app installation script
Info: The operation 'Install the 'netdata' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20220208-210510-app_install-netdata' to get help
Warning: Here's an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG - + ynh_package_install --fix-broken
Info: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
Info: DEBUG - + ynh_wait_dpkg_free
Info: DEBUG - + return 0
Info: DEBUG - + LC_ALL=C
Info: DEBUG - + DEBIAN_FRONTEND=noninteractive
Info: 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
Info: DEBUG - Reading package lists...
Info: DEBUG - Building dependency tree...
Info: DEBUG - Reading state information...
Info: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Info: DEBUG - + [[ -n /tmp/tmp.eM1D1z0hXn ]]
Info: DEBUG - + rm --recursive --force /tmp/tmp.eM1D1z0hXn
Info: DEBUG - + ynh_package_is_installed netdata-ynh-deps
Info: DEBUG - + ynh_wait_dpkg_free
Info: DEBUG - + return 0
Info: DEBUG - + dpkg-query --show '--showformat=${Status}' netdata-ynh-deps
Info: DEBUG - + grep --count 'ok installed'
Info: DEBUG - + ynh_die '--message=Unable to install dependencies'
Info: DEBUG - + ynh_exit_properly
Warning: Removing the app following the installation failure...
Info: [+...................] > Loading installation settings...
Info: [#++++++++...........] > Removing dependencies...
Warning: E: Unable to locate package netdata-ynh-deps
Info: [#########++++++.....] > Uninstalling Netdata...
Warning: ERROR 1396 (HY000) at line 1: Operation DROP USER failed for 'netdata'@'localhost'
Info: [###############+....] > Removing NGINX web server configuration...
Info: '/etc/nginx/conf.d/tdl.xxx.d/netdata.conf' wasn't deleted because it doesn't exist.
Info: [####################] > Removal of netdata completed

What ‘s your yunohost version and what is your apps list? The script can’ t install dependencies

4.3.6.2 (stable). Ive got Element, Firefly, Jellyfin, Navidrome, Rainloop, Simpletorrent, synapse, vaultwarden, wallabag, webmin, wekan

Anyone got any clue? Can anyone inform me if they have recently either installed the app or upgraded it and faced any problems?

OK tried to install also Grafana and got the same error…What is going on??

args:
  app: grafana
  force: false
  label: Grafana
  no_remove_on_failure: false
ended_at: 2022-02-10 22:01:33.068749
env:
  YNH_APP_ARG_ADMIN: xxx
  YNH_APP_ARG_DOMAIN: maindomain.tld
  YNH_APP_ARG_IS_PUBLIC: '0'
  YNH_APP_ARG_PATH: /grafana
  YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_40t4inbc
  YNH_APP_ID: grafana
  YNH_APP_INSTANCE_NAME: grafana
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 8.3.3~ynh1
  YNH_ARCH: amd64
error: An error occurred inside the app installation script
interface: api
operation: app_install
parent: null
related_to:
- - app
  - grafana
started_at: 2022-02-10 22:01:22.222633
success: false
yunohost_version: 4.3.6.2

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

2022-02-11 00:01:22,228: INFO - Installing grafana...
2022-02-11 00:01:22,419: DEBUG - Nothing to update in LDAP
2022-02-11 00:01:22,419: DEBUG - Permission 'grafana.main' updated
2022-02-11 00:01:22,569: DEBUG - Full log of this operation: '<a href="#/tools/logs/20220210-220122-permission_url-grafana" style="text-decoration:underline">Update URL related to permission 'grafana'</a>'
2022-02-11 00:01:22,859: DEBUG - The permission database has been resynchronized
2022-02-11 00:01:23,044: DEBUG - SSOwat configuration regenerated
2022-02-11 00:01:23,199: DEBUG - Permission 'grafana.main' created
2022-02-11 00:01:23,199: DEBUG - Full log of this operation: '<a href="#/tools/logs/20220210-220122-permission_create-grafana" style="text-decoration:underline">Create permission 'grafana'</a>'
2022-02-11 00:01:23,210: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install"  7>&1']'
2022-02-11 00:01:23,217: DEBUG - + source _common.sh
2022-02-11 00:01:23,218: DEBUG - ++ GRAFANA_VERSION=8.3.3
2022-02-11 00:01:23,218: DEBUG - ++ pkg_dependencies=influxdb
2022-02-11 00:01:23,218: DEBUG - + source /usr/share/yunohost/helpers
2022-02-11 00:01:23,218: DEBUG - +++ set +o
2022-02-11 00:01:23,218: DEBUG - +++ grep xtrace
2022-02-11 00:01:23,219: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2022-02-11 00:01:23,220: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2022-02-11 00:01:23,247: DEBUG - + ynh_abort_if_errors
2022-02-11 00:01:23,248: DEBUG - + trap ynh_exit_properly EXIT
2022-02-11 00:01:23,248: DEBUG - + domain=maindomain.tld
2022-02-11 00:01:23,248: DEBUG - + path_url=/grafana
2022-02-11 00:01:23,248: DEBUG - + admin=xxxx
2022-02-11 00:01:23,248: DEBUG - + is_public=0
2022-02-11 00:01:23,248: DEBUG - + app=grafana
2022-02-11 00:01:23,341: INFO - [....................] > Validating installation parameters...
2022-02-11 00:01:23,342: DEBUG - + ynh_webpath_register --app=grafana --domain=maindomain.tld --path_url=/grafana
2022-02-11 00:01:23,421: DEBUG - + yunohost app register-url grafana maindomain.tld /grafana
2022-02-11 00:01:25,240: INFO - [....................] > Storing installation settings...
2022-02-11 00:01:25,241: DEBUG - + ynh_app_setting_set --app=grafana --key=domain --value=maindomain.tld
2022-02-11 00:01:25,241: DEBUG - + local _globalapp=grafana
2022-02-11 00:01:25,318: DEBUG - + app=grafana
2022-02-11 00:01:25,319: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2022-02-11 00:01:25,319: DEBUG - + ynh_app_setting set grafana domain maindomain.tld
2022-02-11 00:01:25,364: DEBUG - + ynh_app_setting_set --app=grafana --key=path --value=/grafana
2022-02-11 00:01:25,364: DEBUG - + local _globalapp=grafana
2022-02-11 00:01:25,430: DEBUG - + app=grafana
2022-02-11 00:01:25,431: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2022-02-11 00:01:25,431: DEBUG - + ynh_app_setting set grafana path /grafana
2022-02-11 00:01:25,475: DEBUG - + ynh_app_setting_set --app=grafana --key=admin --value=xxxx
2022-02-11 00:01:25,475: DEBUG - + local _globalapp=grafana
2022-02-11 00:01:25,546: DEBUG - + app=grafana
2022-02-11 00:01:25,547: DEBUG - + [[ admin =~ (unprotected|protected|skipped)_ ]]
2022-02-11 00:01:25,547: DEBUG - + ynh_app_setting set grafana admin xxxx
2022-02-11 00:01:25,670: INFO - [....................] > Finding an available port...
2022-02-11 00:01:25,672: DEBUG - ++ ynh_find_port --port=3000
2022-02-11 00:01:25,684: DEBUG - ++ test -n 3000
2022-02-11 00:01:25,685: DEBUG - ++ ynh_port_available --port=3000
2022-02-11 00:01:25,697: DEBUG - ++ ss --numeric --listening --tcp --udp
2022-02-11 00:01:25,697: DEBUG - ++ awk '{print$5}'
2022-02-11 00:01:25,698: DEBUG - ++ grep --quiet --extended-regexp ':3000$'
2022-02-11 00:01:25,713: DEBUG - ++ return 1
2022-02-11 00:01:25,713: DEBUG - ++ port=3001
2022-02-11 00:01:25,713: DEBUG - ++ ynh_port_available --port=3001
2022-02-11 00:01:25,724: DEBUG - ++ ss --numeric --listening --tcp --udp
2022-02-11 00:01:25,724: DEBUG - ++ awk '{print$5}'
2022-02-11 00:01:25,725: DEBUG - ++ grep --quiet --extended-regexp ':3001$'
2022-02-11 00:01:25,730: DEBUG - ++ grep -q 'port: '\''3001'\''' /etc/yunohost/apps/coturn/settings.yml /etc/yunohost/apps/element/settings.yml /etc/yunohost/apps/firefly-iii/settings.yml /etc/yunohost/apps/grafana/settings.yml /etc/yunohost/apps/jellyfin/settings.yml /etc/yunohost/apps/navidrome/settings.yml /etc/yunohost/apps/nextcloud/settings.yml /etc/yunohost/apps/rainloop/settings.yml /etc/yunohost/apps/simple-torrent/settings.yml /etc/yunohost/apps/synapse/settings.yml /etc/yunohost/apps/tyto/settings.yml /etc/yunohost/apps/vaultwarden/settings.yml /etc/yunohost/apps/wallabag2/settings.yml /etc/yunohost/apps/webmin/settings.yml /etc/yunohost/apps/wekan/settings.yml
2022-02-11 00:01:25,731: DEBUG - ++ return 0
2022-02-11 00:01:25,732: DEBUG - ++ echo 3001
2022-02-11 00:01:25,732: DEBUG - + port=3001
2022-02-11 00:01:25,732: DEBUG - + ynh_app_setting_set --app=grafana --key=port --value=3001
2022-02-11 00:01:25,732: DEBUG - + local _globalapp=grafana
2022-02-11 00:01:25,810: DEBUG - + app=grafana
2022-02-11 00:01:25,811: DEBUG - + [[ port =~ (unprotected|protected|skipped)_ ]]
2022-02-11 00:01:25,811: DEBUG - + ynh_app_setting set grafana port 3001
2022-02-11 00:01:25,936: INFO - [+++++++++++.........] > Installing dependencies...
2022-02-11 00:01:25,937: DEBUG - + ynh_install_app_dependencies influxdb
2022-02-11 00:01:25,937: DEBUG - + local dependencies=influxdb
2022-02-11 00:01:25,938: DEBUG - ++ echo influxdb
2022-02-11 00:01:25,938: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2022-02-11 00:01:25,940: DEBUG - + dependencies=influxdb
2022-02-11 00:01:25,940: DEBUG - + local dependencies=influxdb
2022-02-11 00:01:25,941: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_40t4inbc/manifest.json
2022-02-11 00:01:25,941: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_40t4inbc/manifest.json
2022-02-11 00:01:25,946: DEBUG - + local version=8.3.3~ynh1
2022-02-11 00:01:25,946: DEBUG - + '[' -z 8.3.3~ynh1 ']'
2022-02-11 00:01:25,946: DEBUG - + '[' 8.3.3~ynh1 == null ']'
2022-02-11 00:01:25,947: DEBUG - + local dep_app=grafana
2022-02-11 00:01:25,947: DEBUG - + [[ influxdb =~ [<=>] ]]
2022-02-11 00:01:25,947: DEBUG - ++ echo influxdb
2022-02-11 00:01:25,947: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
2022-02-11 00:01:25,948: DEBUG - ++ sort -u
2022-02-11 00:01:25,950: DEBUG - + local specific_php_version=
2022-02-11 00:01:25,950: DEBUG - + [[ '' != \7\.\3 ]]
2022-02-11 00:01:25,950: DEBUG - + [[ true == \t\r\u\e ]]
2022-02-11 00:01:25,950: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2022-02-11 00:01:25,950: DEBUG - + grep --quiet php
2022-02-11 00:01:25,952: DEBUG - + cat
2022-02-11 00:01:25,954: DEBUG - + ynh_package_install_from_equivs /tmp/grafana-ynh-deps.control
2022-02-11 00:01:25,954: DEBUG - + local controlfile=/tmp/grafana-ynh-deps.control
2022-02-11 00:01:25,954: DEBUG - ++ grep '^Package: ' /tmp/grafana-ynh-deps.control
2022-02-11 00:01:25,955: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-02-11 00:01:25,957: DEBUG - + local pkgname=grafana-ynh-deps
2022-02-11 00:01:25,958: DEBUG - ++ grep '^Version: ' /tmp/grafana-ynh-deps.control
2022-02-11 00:01:25,958: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-02-11 00:01:25,959: DEBUG - + local pkgversion=8.3.3~ynh1
2022-02-11 00:01:25,960: DEBUG - + [[ -z grafana-ynh-deps ]]
2022-02-11 00:01:25,960: DEBUG - + [[ -z 8.3.3~ynh1 ]]
2022-02-11 00:01:25,960: DEBUG - + ynh_package_update
2022-02-11 00:01:25,960: DEBUG - + ynh_apt update
2022-02-11 00:01:25,960: DEBUG - + ynh_wait_dpkg_free
2022-02-11 00:01:26,142: DEBUG - + return 0
2022-02-11 00:01:26,143: DEBUG - + LC_ALL=C
2022-02-11 00:01:26,143: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-02-11 00:01:26,143: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2022-02-11 00:01:26,499: DEBUG - Hit:1 http://ftp.debian.org/debian buster InRelease
2022-02-11 00:01:26,499: DEBUG - Hit:2 http://security.debian.org/debian-security buster/updates InRelease
2022-02-11 00:01:26,529: DEBUG - Hit:3 http://ftp.debian.org/debian buster-updates InRelease
2022-02-11 00:01:26,553: DEBUG - Hit:4 http://forge.yunohost.org/debian buster InRelease
2022-02-11 00:01:26,579: DEBUG - Hit:5 https://packages.sury.org/php buster InRelease
2022-02-11 00:01:29,816: DEBUG - Reading package lists...
2022-02-11 00:01:29,840: DEBUG - ++ mktemp --directory
2022-02-11 00:01:29,842: DEBUG - + local TMPDIR=/tmp/tmp.7UaBxb6ctW
2022-02-11 00:01:29,842: DEBUG - + echo 10
2022-02-11 00:01:29,842: DEBUG - + ynh_wait_dpkg_free
2022-02-11 00:01:30,029: DEBUG - + return 0
2022-02-11 00:01:30,029: DEBUG - + cp /tmp/grafana-ynh-deps.control /tmp/tmp.7UaBxb6ctW/control
2022-02-11 00:01:30,031: DEBUG - + cd /tmp/tmp.7UaBxb6ctW
2022-02-11 00:01:30,031: DEBUG - + LC_ALL=C
2022-02-11 00:01:30,031: DEBUG - + equivs-build ./control
2022-02-11 00:01:30,730: DEBUG - + LC_ALL=C
2022-02-11 00:01:30,730: DEBUG - + dpkg --force-depends --install ./grafana-ynh-deps_8.3.3~ynh1_all.deb
2022-02-11 00:01:30,731: DEBUG - + tee ./dpkg_log
2022-02-11 00:01:30,752: DEBUG - **dpkg: unrecoverable fatal error, aborting:**
**2022-02-11 00:01:30,752: DEBUG -  unknown system user 'netdata' in statoverride file; the system user got removed**
**2022-02-11 00:01:30,752: DEBUG - before the override, which is most probably a packaging bug, to recover you**
**2022-02-11 00:01:30,753: DEBUG - can remove the override manually with dpkg-statoverride**
**2022-02-11 00:01:30,753: DEBUG - + ynh_package_install --fix-broken**
2022-02-11 00:01:30,753: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2022-02-11 00:01:30,754: DEBUG - + ynh_wait_dpkg_free
2022-02-11 00:01:30,915: DEBUG - + return 0
2022-02-11 00:01:30,915: DEBUG - + LC_ALL=C
2022-02-11 00:01:30,915: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-02-11 00:01:30,915: 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
2022-02-11 00:01:30,956: DEBUG - Reading package lists...
2022-02-11 00:01:31,114: DEBUG - Building dependency tree...
2022-02-11 00:01:31,114: DEBUG - Reading state information...
2022-02-11 00:01:31,342: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
2022-02-11 00:01:31,342: DEBUG - + [[ -n /tmp/tmp.7UaBxb6ctW ]]
2022-02-11 00:01:31,343: DEBUG - + rm --recursive --force /tmp/tmp.7UaBxb6ctW
2022-02-11 00:01:31,344: DEBUG - + ynh_package_is_installed grafana-ynh-deps
2022-02-11 00:01:31,352: DEBUG - + ynh_wait_dpkg_free
2022-02-11 00:01:31,524: DEBUG - + return 0
2022-02-11 00:01:31,525: DEBUG - + dpkg-query --show '--showformat=${Status}' grafana-ynh-deps
2022-02-11 00:01:31,525: DEBUG - + grep --count 'ok installed'
2022-02-11 00:01:31,542: DEBUG - + ynh_die '--message=Unable to install dependencies'
2022-02-11 00:01:31,562: DEBUG - + ynh_exit_properly
2022-02-11 00:01:31,563: WARNING - Unable to install dependencies
2022-02-11 00:01:32,065: DEBUG - + ynh_clean_setup
2022-02-11 00:01:32,066: DEBUG - + ynh_clean_check_starting
2022-02-11 00:01:32,066: DEBUG - + '[' -n '' ']'
2022-02-11 00:01:32,066: DEBUG - + '[' -n '' ']'
2022-02-11 00:01:33,068: ERROR - Unable to install grafana: An error occurred inside the app installation script

I did, 3 days ago :slight_smile:

Which architecture are you running on (AMD64/Intel, ARM, …), and how do you install the package (via the webadmin, or commandline, and in that case, via sudo … or by changing to root?)

Hey hi,

From the webadmin and I have Intel processor. Also tried from cli but nothing…Hmm cant recall if via sudo or changing to root though…

I got a search result for a similar error on a Ubuntu-forum, , I didn’t read all of it, does it apply to your case?
– edit –
Skimming through the posts, does it help you to have a look at /var/lib/dpkg/statoverride to see if user netdata is there, and comparing it to etc/shadow to find it not in that file? Eg:

$ cat /var/lib/dpkg/statoverride | grep netdata
$ cat /etc/passwd |grep netdata

Checking those on my installation, I find netdata is contained in /etc/passwd, but the statoverride file only contains some ten lines, none of them netdata.

Do you run ‘bare metal’ or inside virtualization/hypervisor/container? (Which all should work, just to narrow down possible sources of problems)

– edit –

Both should be OK, only when changing to root there are ways to do it without getting the full root ‘environment’, leading sometimes to strange problems. Working with sudo yunohost ... is ‘way to go’, sudo su - when changing to root (notice the trailing - )

Does this help?

OK so,

I followed your link to Ubuntu forum and indeed I had 2 lines for netdata:
netdata netdata 755 /var/cache/netdata
netdata netdata 755 /var/lib/netdata
I removed them completely and the installation begun this time, but finished with numerous errors shown below. Note that i have a bare metal server.

args:
  app: netdata
  force: false
  label: NetData
  no_remove_on_failure: false
ended_at: 2022-02-10 23:05:37.476233
env:
  YNH_APP_ARG_ADMIN: xxxx
  YNH_APP_ARG_DOMAIN: maindomain.tld
  YNH_APP_ARG_IS_PUBLIC: '0'
  YNH_APP_ARG_PATH: /netdata
  YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_
  YNH_APP_ID: netdata
  YNH_APP_INSTANCE_NAME: netdata
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 1.33.0~ynh1
  YNH_ARCH: amd64
error: An error occurred inside the app installation script
interface: api
operation: app_install
parent: null
related_to:
- - app
  - netdata
started_at: 2022-02-10 23:01:22.459602
success: false
yunohost_version: 4.3.6.2

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

2022-02-11 01:01:22,468: INFO - Installing netdata...
2022-02-11 01:01:22,646: DEBUG - Nothing to update in LDAP
2022-02-11 01:01:22,646: DEBUG - Permission 'netdata.main' updated
2022-02-11 01:01:22,801: DEBUG - Full log of this operation: '<a href="#/tools/logs/20220210-230122-permission_url-netdata" style="text-decoration:underline">Update URL related to permission 'netdata'</a>'
2022-02-11 01:01:23,115: DEBUG - The permission database has been resynchronized
2022-02-11 01:01:23,314: DEBUG - SSOwat configuration regenerated
2022-02-11 01:01:23,478: DEBUG - Permission 'netdata.main' created
2022-02-11 01:01:23,478: DEBUG - Full log of this operation: '<a href="#/tools/logs/20220210-230122-permission_create-netdata" style="text-decoration:underline">Create permission 'netdata'</a>'
2022-02-11 01:01:23,491: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install"  7>&1']'
2022-02-11 01:01:23,498: DEBUG - + source _common.sh
2022-02-11 01:01:23,498: DEBUG - ++ pkg_dependencies='zlib1g-dev uuid-dev libmnl-dev gcc make git autoconf autoconf-archive autogen automake pkg-config curl jq nodejs python3-mysqldb libipmimonitoring-dev acl python3-psycopg2 python3-pymongo libuv1-dev liblz4-dev libjudy-dev libssl-dev cmake'
2022-02-11 01:01:23,498: DEBUG - + source /usr/share/yunohost/helpers
2022-02-11 01:01:23,499: DEBUG - +++ set +o
2022-02-11 01:01:23,499: DEBUG - +++ grep xtrace
2022-02-11 01:01:23,501: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2022-02-11 01:01:23,501: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2022-02-11 01:01:23,534: DEBUG - + ynh_abort_if_errors
2022-02-11 01:01:23,535: DEBUG - + trap ynh_exit_properly EXIT
2022-02-11 01:01:23,535: DEBUG - + domain=maindomain.tld
2022-02-11 01:01:23,535: DEBUG - + path_url=/netdata
2022-02-11 01:01:23,535: DEBUG - + admin=xxxx
2022-02-11 01:01:23,535: DEBUG - + is_public=0
2022-02-11 01:01:23,536: DEBUG - + app=netdata
2022-02-11 01:01:23,626: INFO - [....................] > Validating installation parameters...
2022-02-11 01:01:23,627: DEBUG - + final_path=/opt/netdata
2022-02-11 01:01:23,627: DEBUG - + test '!' -e /opt/netdata
2022-02-11 01:01:23,627: DEBUG - + ynh_webpath_register --app=netdata --domain=maindomain.tld --path_url=/netdata
2022-02-11 01:01:23,706: DEBUG - + yunohost app register-url netdata maindomain.tld /netdata
2022-02-11 01:01:25,617: DEBUG - + ynh_app_setting_set --app=netdata --key=domain --value=maindomain.tld
2022-02-11 01:01:25,617: DEBUG - + local _globalapp=netdata
2022-02-11 01:01:25,619: INFO - [....................] > Storing installation settings...
2022-02-11 01:01:25,699: DEBUG - + app=netdata
2022-02-11 01:01:25,699: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2022-02-11 01:01:25,700: DEBUG - + ynh_app_setting set netdata domain maindomain.tld
2022-02-11 01:01:25,752: DEBUG - + ynh_app_setting_set --app=netdata --key=path --value=/netdata
2022-02-11 01:01:25,752: DEBUG - + local _globalapp=netdata
2022-02-11 01:01:25,823: DEBUG - + app=netdata
2022-02-11 01:01:25,824: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2022-02-11 01:01:25,824: DEBUG - + ynh_app_setting set netdata path /netdata
2022-02-11 01:01:25,867: DEBUG - + ynh_app_setting_set --app=netdata --key=admin --value=xxxx
2022-02-11 01:01:25,867: DEBUG - + local _globalapp=netdata
2022-02-11 01:01:25,935: DEBUG - + app=netdata
2022-02-11 01:01:25,935: DEBUG - + [[ admin =~ (unprotected|protected|skipped)_ ]]
2022-02-11 01:01:25,935: DEBUG - + ynh_app_setting set netdata admin xxxx
2022-02-11 01:01:26,066: INFO - [++++++++............] > Installing dependencies...
2022-02-11 01:01:26,066: DEBUG - + ynh_install_app_dependencies zlib1g-dev uuid-dev libmnl-dev gcc make git autoconf autoconf-archive autogen automake pkg-config curl jq nodejs python3-mysqldb libipmimonitoring-dev acl python3-psycopg2 python3-pymongo libuv1-dev liblz4-dev libjudy-dev libssl-dev cmake
2022-02-11 01:01:26,067: DEBUG - + local 'dependencies=zlib1g-dev uuid-dev libmnl-dev gcc make git autoconf autoconf-archive autogen automake pkg-config curl jq nodejs python3-mysqldb libipmimonitoring-dev acl python3-psycopg2 python3-pymongo libuv1-dev liblz4-dev libjudy-dev libssl-dev cmake'
2022-02-11 01:01:26,067: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2022-02-11 01:01:26,067: DEBUG - ++ echo 'zlib1g-dev uuid-dev libmnl-dev gcc make git autoconf autoconf-archive autogen automake pkg-config curl jq nodejs python3-mysqldb libipmimonitoring-dev acl python3-psycopg2 python3-pymongo libuv1-dev liblz4-dev libjudy-dev libssl-dev cmake'
2022-02-11 01:01:26,070: DEBUG - + dependencies='zlib1g-dev, uuid-dev, libmnl-dev, gcc, make, git, autoconf, autoconf-archive, autogen, automake, pkg-config, curl, jq, nodejs, python3-mysqldb, libipmimonitoring-dev, acl, python3-psycopg2, python3-pymongo, libuv1-dev, liblz4-dev, libjudy-dev, libssl-dev, cmake'
2022-02-11 01:01:26,070: DEBUG - + local 'dependencies=zlib1g-dev, uuid-dev, libmnl-dev, gcc, make, git, autoconf, autoconf-archive, autogen, automake, pkg-config, curl, jq, nodejs, python3-mysqldb, libipmimonitoring-dev, acl, python3-psycopg2, python3-pymongo, libuv1-dev, liblz4-dev, libjudy-dev, libssl-dev, cmake'
2022-02-11 01:01:26,070: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/manifest.json
2022-02-11 01:01:26,071: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/manifest.json
2022-02-11 01:01:26,078: DEBUG - + local version=1.33.0~ynh1
2022-02-11 01:01:26,078: DEBUG - + '[' -z 1.33.0~ynh1 ']'
2022-02-11 01:01:26,079: DEBUG - + '[' 1.33.0~ynh1 == null ']'
2022-02-11 01:01:26,079: DEBUG - + local dep_app=netdata
2022-02-11 01:01:26,079: DEBUG - + [[ zlib1g-dev, uuid-dev, libmnl-dev, gcc, make, git, autoconf, autoconf-archive, autogen, automake, pkg-config, curl, jq, nodejs, python3-mysqldb, libipmimonitoring-dev, acl, python3-psycopg2, python3-pymongo, libuv1-dev, liblz4-dev, libjudy-dev, libssl-dev, cmake =~ [<=>] ]]
2022-02-11 01:01:26,080: DEBUG - ++ echo zlib1g-dev, uuid-dev, libmnl-dev, gcc, make, git, autoconf, autoconf-archive, autogen, automake, pkg-config, curl, jq, nodejs, python3-mysqldb, libipmimonitoring-dev, acl, python3-psycopg2, python3-pymongo, libuv1-dev, liblz4-dev, libjudy-dev, libssl-dev, cmake
2022-02-11 01:01:26,080: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
2022-02-11 01:01:26,080: DEBUG - ++ sort -u
2022-02-11 01:01:26,082: DEBUG - + local specific_php_version=
2022-02-11 01:01:26,083: DEBUG - + [[ '' != \7\.\3 ]]
2022-02-11 01:01:26,083: DEBUG - + [[ true == \t\r\u\e ]]
2022-02-11 01:01:26,083: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2022-02-11 01:01:26,084: DEBUG - + grep --quiet php
2022-02-11 01:01:26,085: DEBUG - + cat
2022-02-11 01:01:26,086: DEBUG - + ynh_package_install_from_equivs /tmp/netdata-ynh-deps.control
2022-02-11 01:01:26,086: DEBUG - + local controlfile=/tmp/netdata-ynh-deps.control
2022-02-11 01:01:26,087: DEBUG - ++ grep '^Package: ' /tmp/netdata-ynh-deps.control
2022-02-11 01:01:26,087: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-02-11 01:01:26,089: DEBUG - + local pkgname=netdata-ynh-deps
2022-02-11 01:01:26,090: DEBUG - ++ grep '^Version: ' /tmp/netdata-ynh-deps.control
2022-02-11 01:01:26,090: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-02-11 01:01:26,093: DEBUG - + local pkgversion=1.33.0~ynh1
2022-02-11 01:01:26,093: DEBUG - + [[ -z netdata-ynh-deps ]]
2022-02-11 01:01:26,093: DEBUG - + [[ -z 1.33.0~ynh1 ]]
2022-02-11 01:01:26,093: DEBUG - + ynh_package_update
2022-02-11 01:01:26,093: DEBUG - + ynh_apt update
2022-02-11 01:01:26,094: DEBUG - + ynh_wait_dpkg_free
2022-02-11 01:01:26,235: DEBUG - + return 0
2022-02-11 01:01:26,235: DEBUG - + LC_ALL=C
2022-02-11 01:01:26,235: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-02-11 01:01:26,235: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2022-02-11 01:01:26,511: DEBUG - Hit:1 http://ftp.debian.org/debian buster InRelease
2022-02-11 01:01:26,512: DEBUG - Hit:2 http://security.debian.org/debian-security buster/updates InRelease
2022-02-11 01:01:26,516: DEBUG - Hit:3 http://forge.yunohost.org/debian buster InRelease
2022-02-11 01:01:26,547: DEBUG - Hit:4 http://ftp.debian.org/debian buster-updates InRelease
2022-02-11 01:01:26,604: DEBUG - Hit:5 https://packages.sury.org/php buster InRelease
2022-02-11 01:01:29,831: DEBUG - Reading package lists...
2022-02-11 01:01:29,856: DEBUG - ++ mktemp --directory
2022-02-11 01:01:29,857: DEBUG - + local TMPDIR=/tmp/tmp.kb5usOAf20
2022-02-11 01:01:29,857: DEBUG - + echo 10
2022-02-11 01:01:29,860: DEBUG - + ynh_wait_dpkg_free
2022-02-11 01:01:29,981: DEBUG - + return 0
2022-02-11 01:01:29,981: DEBUG - + cp /tmp/netdata-ynh-deps.control /tmp/tmp.kb5usOAf20/control
2022-02-11 01:01:29,983: DEBUG - + cd /tmp/tmp.kb5usOAf20
2022-02-11 01:01:29,984: DEBUG - + LC_ALL=C
2022-02-11 01:01:29,984: DEBUG - + equivs-build ./control
2022-02-11 01:01:30,746: DEBUG - + LC_ALL=C
2022-02-11 01:01:30,746: DEBUG - + dpkg --force-depends --install ./netdata-ynh-deps_1.33.0~ynh1_all.deb
2022-02-11 01:01:30,746: DEBUG - + tee ./dpkg_log
2022-02-11 01:01:30,797: DEBUG - Selecting previously unselected package netdata-ynh-deps.
2022-02-11 01:01:31,086: DEBUG - (Reading database ... 127373 files and directories currently installed.)
2022-02-11 01:01:31,089: DEBUG - Preparing to unpack .../netdata-ynh-deps_1.33.0~ynh1_all.deb ...
2022-02-11 01:01:31,101: DEBUG - Unpacking netdata-ynh-deps (1.33.0~ynh1) ...
2022-02-11 01:01:31,166: DEBUG - dpkg: netdata-ynh-deps: dependency problems, but configuring anyway as you requested:
2022-02-11 01:01:31,166: DEBUG -  netdata-ynh-deps depends on uuid-dev; however:
2022-02-11 01:01:31,167: DEBUG -   Package uuid-dev is not installed.
2022-02-11 01:01:31,167: DEBUG -  netdata-ynh-deps depends on libmnl-dev; however:
2022-02-11 01:01:31,167: DEBUG -   Package libmnl-dev is not installed.
2022-02-11 01:01:31,167: DEBUG -  netdata-ynh-deps depends on autogen; however:
2022-02-11 01:01:31,167: DEBUG -   Package autogen is not installed.
2022-02-11 01:01:31,167: DEBUG -  netdata-ynh-deps depends on nodejs; however:
2022-02-11 01:01:31,167: DEBUG -   Package nodejs is not installed.
2022-02-11 01:01:31,167: DEBUG -  netdata-ynh-deps depends on python3-mysqldb; however:
2022-02-11 01:01:31,167: DEBUG -   Package python3-mysqldb is not installed.
2022-02-11 01:01:31,167: DEBUG -  netdata-ynh-deps depends on libipmimonitoring-dev; however:
2022-02-11 01:01:31,168: DEBUG -   Package libipmimonitoring-dev is not installed.
2022-02-11 01:01:31,168: DEBUG -  netdata-ynh-deps depends on python3-psycopg2; however:
2022-02-11 01:01:31,168: DEBUG -   Package python3-psycopg2 is not installed.
2022-02-11 01:01:31,168: DEBUG -  netdata-ynh-deps depends on python3-pymongo; however:
2022-02-11 01:01:31,168: DEBUG -   Package python3-pymongo is not installed.
2022-02-11 01:01:31,168: DEBUG -  netdata-ynh-deps depends on libuv1-dev; however:
2022-02-11 01:01:31,168: DEBUG -   Package libuv1-dev is not installed.
2022-02-11 01:01:31,168: DEBUG -  netdata-ynh-deps depends on liblz4-dev; however:
2022-02-11 01:01:31,168: DEBUG -   Package liblz4-dev is not installed.
2022-02-11 01:01:31,168: DEBUG -  netdata-ynh-deps depends on libjudy-dev; however:
2022-02-11 01:01:31,168: DEBUG -   Package libjudy-dev is not installed.
2022-02-11 01:01:31,169: DEBUG -  netdata-ynh-deps depends on cmake; however:
2022-02-11 01:01:31,169: DEBUG -   Package cmake is not installed.
2022-02-11 01:01:31,169: DEBUG - 
2022-02-11 01:01:31,169: DEBUG - Setting up netdata-ynh-deps (1.33.0~ynh1) ...
2022-02-11 01:01:31,235: DEBUG - + ynh_package_install --fix-broken
2022-02-11 01:01:31,236: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2022-02-11 01:01:31,236: DEBUG - + ynh_wait_dpkg_free
2022-02-11 01:01:31,365: DEBUG - + return 0
2022-02-11 01:01:31,365: DEBUG - + LC_ALL=C
2022-02-11 01:01:31,365: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-02-11 01:01:31,365: 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
2022-02-11 01:01:31,610: DEBUG - Reading package lists...
2022-02-11 01:01:31,766: DEBUG - Building dependency tree...
2022-02-11 01:01:31,767: DEBUG - Reading state information...
2022-02-11 01:01:31,873: DEBUG - Correcting dependencies... Done
2022-02-11 01:01:32,028: DEBUG - The following additional packages will be installed:
2022-02-11 01:01:32,029: DEBUG -   autogen autogen-doc cmake cmake-data freeipmi-common guile-2.0-libs
2022-02-11 01:01:32,029: DEBUG -   libbrotli1 libc-ares2 libfreeipmi17 libipmimonitoring-dev libipmimonitoring6
2022-02-11 01:01:32,029: DEBUG -   libjsoncpp1 libjudy-dev libjudydebian1 liblz4-dev libmnl-dev libnode64
2022-02-11 01:01:32,030: DEBUG -   libopts25-dev librhash0 libuv1 libuv1-dev nodejs nodejs-doc python3-bson
2022-02-11 01:01:32,030: DEBUG -   python3-bson-ext python3-gridfs python3-mysqldb python3-psycopg2
2022-02-11 01:01:32,030: DEBUG -   python3-pymongo python3-pymongo-ext uuid-dev
2022-02-11 01:01:32,032: DEBUG - Suggested packages:
2022-02-11 01:01:32,032: DEBUG -   cmake-doc ninja-build freeipmi-tools npm python-egenix-mxdatetime
2022-02-11 01:01:32,032: DEBUG -   python3-mysqldb-dbg python-psycopg2-doc python-pymongo-doc
2022-02-11 01:01:32,056: DEBUG - The following NEW packages will be installed:
2022-02-11 01:01:32,056: DEBUG -   autogen autogen-doc cmake cmake-data freeipmi-common guile-2.0-libs
2022-02-11 01:01:32,057: DEBUG -   libbrotli1 libc-ares2 libfreeipmi17 libipmimonitoring-dev libipmimonitoring6
2022-02-11 01:01:32,057: DEBUG -   libjsoncpp1 libjudy-dev libjudydebian1 liblz4-dev libmnl-dev libnode64
2022-02-11 01:01:32,058: DEBUG -   libopts25-dev librhash0 libuv1 libuv1-dev nodejs nodejs-doc python3-bson
2022-02-11 01:01:32,058: DEBUG -   python3-bson-ext python3-gridfs python3-mysqldb python3-psycopg2
2022-02-11 01:01:32,058: DEBUG -   python3-pymongo python3-pymongo-ext uuid-dev
2022-02-11 01:01:32,603: DEBUG - 0 upgraded, 31 newly installed, 0 to remove and 2 not upgraded.
2022-02-11 01:01:32,603: DEBUG - Need to get 0 B/18.7 MB of archives.
2022-02-11 01:01:32,603: DEBUG - After this operation, 85.6 MB of additional disk space will be used.
2022-02-11 01:01:32,662: DEBUG - Selecting previously unselected package freeipmi-common.
2022-02-11 01:01:32,712: DEBUG - (Reading database ... 127377 files and directories currently installed.)
2022-02-11 01:01:32,715: DEBUG - Preparing to unpack .../00-freeipmi-common_1.6.3-1.1_all.deb ...
2022-02-11 01:01:32,732: DEBUG - Unpacking freeipmi-common (1.6.3-1.1) ...
2022-02-11 01:01:32,874: DEBUG - Selecting previously unselected package guile-2.0-libs:amd64.
2022-02-11 01:01:32,886: DEBUG - Preparing to unpack .../01-guile-2.0-libs_2.0.13+1-5.1_amd64.deb ...
2022-02-11 01:01:32,910: DEBUG - Unpacking guile-2.0-libs:amd64 (2.0.13+1-5.1) ...
2022-02-11 01:01:33,292: DEBUG - Selecting previously unselected package libopts25-dev:amd64.
2022-02-11 01:01:33,306: DEBUG - Preparing to unpack .../02-libopts25-dev_1%3a5.18.12-4_amd64.deb ...
2022-02-11 01:01:33,317: DEBUG - Unpacking libopts25-dev:amd64 (1:5.18.12-4) ...
2022-02-11 01:01:33,417: DEBUG - Selecting previously unselected package autogen.
2022-02-11 01:01:33,429: DEBUG - Preparing to unpack .../03-autogen_1%3a5.18.12-4_amd64.deb ...
2022-02-11 01:01:33,440: DEBUG - Unpacking autogen (1:5.18.12-4) ...
2022-02-11 01:01:33,460: DEBUG - Replaced by files in installed package libopts25-dev:amd64 (1:5.18.12-4) ...
2022-02-11 01:01:33,571: DEBUG - Selecting previously unselected package autogen-doc.
2022-02-11 01:01:33,583: DEBUG - Preparing to unpack .../04-autogen-doc_1%3a5.18.12-4_all.deb ...
2022-02-11 01:01:33,594: DEBUG - Unpacking autogen-doc (1:5.18.12-4) ...
2022-02-11 01:01:33,858: DEBUG - Selecting previously unselected package cmake-data.
2022-02-11 01:01:33,872: DEBUG - Preparing to unpack .../05-cmake-data_3.13.4-1_all.deb ...
2022-02-11 01:01:33,903: DEBUG - Unpacking cmake-data (3.13.4-1) ...
2022-02-11 01:01:34,744: DEBUG - Selecting previously unselected package libjsoncpp1:amd64.
2022-02-11 01:01:34,759: DEBUG - Preparing to unpack .../06-libjsoncpp1_1.7.4-3_amd64.deb ...
2022-02-11 01:01:34,771: DEBUG - Unpacking libjsoncpp1:amd64 (1.7.4-3) ...
2022-02-11 01:01:34,878: DEBUG - Selecting previously unselected package librhash0:amd64.
2022-02-11 01:01:34,890: DEBUG - Preparing to unpack .../07-librhash0_1.3.8-1_amd64.deb ...
2022-02-11 01:01:34,902: DEBUG - Unpacking librhash0:amd64 (1.3.8-1) ...
2022-02-11 01:01:35,016: DEBUG - Selecting previously unselected package libuv1:amd64.
2022-02-11 01:01:35,029: DEBUG - Preparing to unpack .../08-libuv1_1.24.1-1+deb10u1_amd64.deb ...
2022-02-11 01:01:35,040: DEBUG - Unpacking libuv1:amd64 (1.24.1-1+deb10u1) ...
2022-02-11 01:01:35,132: DEBUG - Selecting previously unselected package cmake.
2022-02-11 01:01:35,145: DEBUG - Preparing to unpack .../09-cmake_3.13.4-1_amd64.deb ...
2022-02-11 01:01:35,157: DEBUG - Unpacking cmake (3.13.4-1) ...
2022-02-11 01:01:35,640: DEBUG - Selecting previously unselected package libbrotli1:amd64.
2022-02-11 01:01:35,654: DEBUG - Preparing to unpack .../10-libbrotli1_1.0.7-2+deb10u1_amd64.deb ...
2022-02-11 01:01:35,665: DEBUG - Unpacking libbrotli1:amd64 (1.0.7-2+deb10u1) ...
2022-02-11 01:01:35,789: DEBUG - Selecting previously unselected package libc-ares2:amd64.
2022-02-11 01:01:35,798: DEBUG - Preparing to unpack .../11-libc-ares2_1.14.0-1+deb10u1_amd64.deb ...
2022-02-11 01:01:35,809: DEBUG - Unpacking libc-ares2:amd64 (1.14.0-1+deb10u1) ...
2022-02-11 01:01:35,918: DEBUG - Selecting previously unselected package libfreeipmi17.
2022-02-11 01:01:35,929: DEBUG - Preparing to unpack .../12-libfreeipmi17_1.6.3-1.1_amd64.deb ...
2022-02-11 01:01:35,940: DEBUG - Unpacking libfreeipmi17 (1.6.3-1.1) ...
2022-02-11 01:01:36,153: DEBUG - Selecting previously unselected package libipmimonitoring6.
2022-02-11 01:01:36,166: DEBUG - Preparing to unpack .../13-libipmimonitoring6_1.6.3-1.1_amd64.deb ...
2022-02-11 01:01:36,178: DEBUG - Unpacking libipmimonitoring6 (1.6.3-1.1) ...
2022-02-11 01:01:36,266: DEBUG - Selecting previously unselected package libipmimonitoring-dev.
2022-02-11 01:01:36,279: DEBUG - Preparing to unpack .../14-libipmimonitoring-dev_1.6.3-1.1_amd64.deb ...
2022-02-11 01:01:36,290: DEBUG - Unpacking libipmimonitoring-dev (1.6.3-1.1) ...
2022-02-11 01:01:36,396: DEBUG - Selecting previously unselected package libjudydebian1.
2022-02-11 01:01:36,404: DEBUG - Preparing to unpack .../15-libjudydebian1_1.0.5-5_amd64.deb ...
2022-02-11 01:01:36,416: DEBUG - Unpacking libjudydebian1 (1.0.5-5) ...
2022-02-11 01:01:36,509: DEBUG - Selecting previously unselected package libjudy-dev.
2022-02-11 01:01:36,518: DEBUG - Preparing to unpack .../16-libjudy-dev_1.0.5-5_amd64.deb ...
2022-02-11 01:01:36,529: DEBUG - Unpacking libjudy-dev (1.0.5-5) ...
2022-02-11 01:01:36,659: DEBUG - Selecting previously unselected package liblz4-dev:amd64.
2022-02-11 01:01:36,671: DEBUG - Preparing to unpack .../17-liblz4-dev_1.8.3-1+deb10u1_amd64.deb ...
2022-02-11 01:01:36,682: DEBUG - Unpacking liblz4-dev:amd64 (1.8.3-1+deb10u1) ...
2022-02-11 01:01:36,768: DEBUG - Selecting previously unselected package libmnl-dev.
2022-02-11 01:01:36,780: DEBUG - Preparing to unpack .../18-libmnl-dev_1.0.4-2_amd64.deb ...
2022-02-11 01:01:36,793: DEBUG - Unpacking libmnl-dev (1.0.4-2) ...
2022-02-11 01:01:36,889: DEBUG - Selecting previously unselected package libnode64:amd64.
2022-02-11 01:01:36,903: DEBUG - Preparing to unpack .../19-libnode64_10.24.0~dfsg-1~deb10u1_amd64.deb ...
2022-02-11 01:01:36,914: DEBUG - Unpacking libnode64:amd64 (10.24.0~dfsg-1~deb10u1) ...
2022-02-11 01:01:37,552: DEBUG - Selecting previously unselected package libuv1-dev:amd64.
2022-02-11 01:01:37,560: DEBUG - Preparing to unpack .../20-libuv1-dev_1.24.1-1+deb10u1_amd64.deb ...
2022-02-11 01:01:37,572: DEBUG - Unpacking libuv1-dev:amd64 (1.24.1-1+deb10u1) ...
2022-02-11 01:01:37,681: DEBUG - Selecting previously unselected package nodejs.
2022-02-11 01:01:37,695: DEBUG - Preparing to unpack .../21-nodejs_10.24.0~dfsg-1~deb10u1_amd64.deb ...
2022-02-11 01:01:37,706: DEBUG - Unpacking nodejs (10.24.0~dfsg-1~deb10u1) ...
2022-02-11 01:01:37,792: DEBUG - Selecting previously unselected package nodejs-doc.
2022-02-11 01:01:37,807: DEBUG - Preparing to unpack .../22-nodejs-doc_10.24.0~dfsg-1~deb10u1_all.deb ...
2022-02-11 01:01:37,818: DEBUG - Unpacking nodejs-doc (10.24.0~dfsg-1~deb10u1) ...
2022-02-11 01:01:38,041: DEBUG - Selecting previously unselected package python3-bson.
2022-02-11 01:01:38,054: DEBUG - Preparing to unpack .../23-python3-bson_3.7.1-1.1_amd64.deb ...
2022-02-11 01:01:38,065: DEBUG - Unpacking python3-bson (3.7.1-1.1) ...
2022-02-11 01:01:38,153: DEBUG - Selecting previously unselected package python3-bson-ext.
2022-02-11 01:01:38,164: DEBUG - Preparing to unpack .../24-python3-bson-ext_3.7.1-1.1_amd64.deb ...
2022-02-11 01:01:38,176: DEBUG - Unpacking python3-bson-ext (3.7.1-1.1) ...
2022-02-11 01:01:38,274: DEBUG - Selecting previously unselected package python3-pymongo.
2022-02-11 01:01:38,285: DEBUG - Preparing to unpack .../25-python3-pymongo_3.7.1-1.1_amd64.deb ...
2022-02-11 01:01:38,297: DEBUG - Unpacking python3-pymongo (3.7.1-1.1) ...
2022-02-11 01:01:38,402: DEBUG - Selecting previously unselected package python3-gridfs.
2022-02-11 01:01:38,413: DEBUG - Preparing to unpack .../26-python3-gridfs_3.7.1-1.1_all.deb ...
2022-02-11 01:01:38,424: DEBUG - Unpacking python3-gridfs (3.7.1-1.1) ...
2022-02-11 01:01:38,519: DEBUG - Selecting previously unselected package python3-mysqldb.
2022-02-11 01:01:38,527: DEBUG - Preparing to unpack .../27-python3-mysqldb_1.3.10-2_amd64.deb ...
2022-02-11 01:01:38,538: DEBUG - Unpacking python3-mysqldb (1.3.10-2) ...
2022-02-11 01:01:38,610: DEBUG - Selecting previously unselected package python3-psycopg2.
2022-02-11 01:01:38,618: DEBUG - Preparing to unpack .../28-python3-psycopg2_2.7.7-1_amd64.deb ...
2022-02-11 01:01:38,622: DEBUG - Unpacking python3-psycopg2 (2.7.7-1) ...
2022-02-11 01:01:38,723: DEBUG - Selecting previously unselected package python3-pymongo-ext.
2022-02-11 01:01:38,731: DEBUG - Preparing to unpack .../29-python3-pymongo-ext_3.7.1-1.1_amd64.deb ...
2022-02-11 01:01:38,744: DEBUG - Unpacking python3-pymongo-ext (3.7.1-1.1) ...
2022-02-11 01:01:38,833: DEBUG - Selecting previously unselected package uuid-dev:amd64.
2022-02-11 01:01:38,847: DEBUG - Preparing to unpack .../30-uuid-dev_2.33.1-0.1_amd64.deb ...
2022-02-11 01:01:38,859: DEBUG - Unpacking uuid-dev:amd64 (2.33.1-0.1) ...
2022-02-11 01:01:38,998: DEBUG - Setting up libopts25-dev:amd64 (1:5.18.12-4) ...
2022-02-11 01:01:39,034: DEBUG - Setting up guile-2.0-libs:amd64 (2.0.13+1-5.1) ...
2022-02-11 01:01:39,076: DEBUG - Setting up freeipmi-common (1.6.3-1.1) ...
2022-02-11 01:01:39,162: DEBUG - Setting up libbrotli1:amd64 (1.0.7-2+deb10u1) ...
2022-02-11 01:01:39,215: DEBUG - Setting up libc-ares2:amd64 (1.14.0-1+deb10u1) ...
2022-02-11 01:01:39,304: DEBUG - Setting up autogen (1:5.18.12-4) ...
2022-02-11 01:01:39,340: DEBUG - Setting up libjudydebian1 (1.0.5-5) ...
2022-02-11 01:01:39,407: DEBUG - Setting up python3-mysqldb (1.3.10-2) ...
2022-02-11 01:01:39,613: DEBUG - Setting up python3-bson (3.7.1-1.1) ...
2022-02-11 01:01:39,801: DEBUG - Setting up autogen-doc (1:5.18.12-4) ...
2022-02-11 01:01:39,836: DEBUG - Setting up libjudy-dev (1.0.5-5) ...
2022-02-11 01:01:39,870: DEBUG - Setting up libuv1:amd64 (1.24.1-1+deb10u1) ...
2022-02-11 01:01:39,905: DEBUG - Setting up uuid-dev:amd64 (2.33.1-0.1) ...
2022-02-11 01:01:39,940: DEBUG - Setting up libmnl-dev (1.0.4-2) ...
2022-02-11 01:01:39,975: DEBUG - Setting up libnode64:amd64 (10.24.0~dfsg-1~deb10u1) ...
2022-02-11 01:01:40,010: DEBUG - Setting up python3-bson-ext (3.7.1-1.1) ...
2022-02-11 01:01:40,044: DEBUG - Setting up python3-psycopg2 (2.7.7-1) ...
2022-02-11 01:01:40,303: DEBUG - Setting up liblz4-dev:amd64 (1.8.3-1+deb10u1) ...
2022-02-11 01:01:40,337: DEBUG - Setting up libfreeipmi17 (1.6.3-1.1) ...
2022-02-11 01:01:40,372: DEBUG - Setting up nodejs-doc (10.24.0~dfsg-1~deb10u1) ...
2022-02-11 01:01:40,406: DEBUG - Setting up librhash0:amd64 (1.3.8-1) ...
2022-02-11 01:01:40,440: DEBUG - Setting up cmake-data (3.13.4-1) ...
2022-02-11 01:01:40,529: DEBUG - Setting up python3-pymongo (3.7.1-1.1) ...
2022-02-11 01:01:40,786: DEBUG - Setting up python3-pymongo-ext (3.7.1-1.1) ...
2022-02-11 01:01:40,820: DEBUG - Setting up libjsoncpp1:amd64 (1.7.4-3) ...
2022-02-11 01:01:40,855: DEBUG - Setting up libuv1-dev:amd64 (1.24.1-1+deb10u1) ...
2022-02-11 01:01:40,889: DEBUG - Setting up nodejs (10.24.0~dfsg-1~deb10u1) ...
2022-02-11 01:01:40,922: DEBUG - update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
2022-02-11 01:01:40,940: DEBUG - Setting up libipmimonitoring6 (1.6.3-1.1) ...
2022-02-11 01:01:40,979: DEBUG - Setting up python3-gridfs (3.7.1-1.1) ...
2022-02-11 01:01:41,159: DEBUG - Setting up libipmimonitoring-dev (1.6.3-1.1) ...
2022-02-11 01:01:41,198: DEBUG - Setting up cmake (3.13.4-1) ...
2022-02-11 01:01:41,233: DEBUG - Processing triggers for man-db (2.8.5-2) ...
2022-02-11 01:01:41,650: DEBUG - Processing triggers for libc-bin (2.28-10) ...
2022-02-11 01:01:41,839: DEBUG - + [[ -n /tmp/tmp.kb5usOAf20 ]]
2022-02-11 01:01:41,839: DEBUG - + rm --recursive --force /tmp/tmp.kb5usOAf20
2022-02-11 01:01:41,841: DEBUG - + ynh_package_is_installed netdata-ynh-deps
2022-02-11 01:01:41,850: DEBUG - + ynh_wait_dpkg_free
2022-02-11 01:01:41,974: DEBUG - + return 0
2022-02-11 01:01:41,974: DEBUG - + dpkg-query --show '--showformat=${Status}' netdata-ynh-deps
2022-02-11 01:01:41,974: DEBUG - + grep --count 'ok installed'
2022-02-11 01:01:41,989: DEBUG - + rm /tmp/netdata-ynh-deps.control
2022-02-11 01:01:41,991: DEBUG - + grep --quiet php
2022-02-11 01:01:42,084: DEBUG - + ynh_app_setting_set --app=netdata --key=final_path --value=/opt/netdata
2022-02-11 01:01:42,084: DEBUG - + local _globalapp=netdata
2022-02-11 01:01:42,086: INFO - [########++..........] > Setting up source files...
2022-02-11 01:01:42,165: DEBUG - + app=netdata
2022-02-11 01:01:42,165: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]]
2022-02-11 01:01:42,166: DEBUG - + ynh_app_setting set netdata final_path /opt/netdata
2022-02-11 01:01:42,210: DEBUG - ++ mktemp -d
2022-02-11 01:01:42,211: DEBUG - + NETDATA_TMPDIR=/tmp/tmp.WdUUqDqnPV
2022-02-11 01:01:42,212: DEBUG - + ynh_setup_source --dest_dir=/tmp/tmp.WdUUqDqnPV
2022-02-11 01:01:42,235: DEBUG - + source_id=app
2022-02-11 01:01:42,236: DEBUG - + keep=
2022-02-11 01:01:42,236: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/conf/app.src
2022-02-11 01:01:42,236: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/conf/app.src
2022-02-11 01:01:42,237: DEBUG - ++ cut --delimiter== --fields=2-
2022-02-11 01:01:42,239: DEBUG - + local src_url=https://github.com/netdata/netdata/releases/download/v1.33.0/netdata-v1.33.0.tar.gz
2022-02-11 01:01:42,240: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/conf/app.src
2022-02-11 01:01:42,240: DEBUG - ++ cut --delimiter== --fields=2-
2022-02-11 01:01:42,242: DEBUG - + local src_sum=d167d4b2d8529119fa4047ae40d22833dac9d360a6ed07c314ba313807c027eb
2022-02-11 01:01:42,243: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/conf/app.src
2022-02-11 01:01:42,243: DEBUG - ++ cut --delimiter== --fields=2-
2022-02-11 01:01:42,245: DEBUG - + local src_sumprg=
2022-02-11 01:01:42,246: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/conf/app.src
2022-02-11 01:01:42,247: DEBUG - ++ cut --delimiter== --fields=2-
2022-02-11 01:01:42,248: DEBUG - + local src_format=tar.gz
2022-02-11 01:01:42,249: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/conf/app.src
2022-02-11 01:01:42,250: DEBUG - ++ cut --delimiter== --fields=2-
2022-02-11 01:01:42,251: DEBUG - + local src_extract=
2022-02-11 01:01:42,252: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/conf/app.src
2022-02-11 01:01:42,252: DEBUG - ++ cut --delimiter== --fields=2-
2022-02-11 01:01:42,254: DEBUG - + local src_in_subdir=
2022-02-11 01:01:42,255: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/conf/app.src
2022-02-11 01:01:42,255: DEBUG - ++ cut --delimiter== --fields=2-
2022-02-11 01:01:42,257: DEBUG - + local src_filename=
2022-02-11 01:01:42,257: DEBUG - + src_sumprg=sha256sum
2022-02-11 01:01:42,257: DEBUG - + src_in_subdir=true
2022-02-11 01:01:42,258: DEBUG - + src_format=tar.gz
2022-02-11 01:01:42,258: DEBUG - ++ echo tar.gz
2022-02-11 01:01:42,258: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2022-02-11 01:01:42,260: DEBUG - + src_format=tar.gz
2022-02-11 01:01:42,260: DEBUG - + src_extract=true
2022-02-11 01:01:42,260: DEBUG - + '[' '' = '' ']'
2022-02-11 01:01:42,260: DEBUG - + src_filename=app.tar.gz
2022-02-11 01:01:42,260: DEBUG - + local local_src=/opt/yunohost-apps-src/netdata/app.tar.gz
2022-02-11 01:01:42,260: DEBUG - + mkdir -p /var/cache/yunohost/download/netdata/
2022-02-11 01:01:42,261: DEBUG - + src_filename=/var/cache/yunohost/download/netdata/app.tar.gz
2022-02-11 01:01:42,262: DEBUG - + test -e /opt/yunohost-apps-src/netdata/app.tar.gz
2022-02-11 01:01:42,262: DEBUG - + '[' -n https://github.com/netdata/netdata/releases/download/v1.33.0/netdata-v1.33.0.tar.gz ']'
2022-02-11 01:01:42,262: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/netdata/app.tar.gz https://github.com/netdata/netdata/releases/download/v1.33.0/netdata-v1.33.0.tar.gz
2022-02-11 01:01:45,226: DEBUG - + out='2022-02-11 01:01:45 URL:https://objects.githubusercontent.com/github-production-release-asset-2e65be/10744183/8426c668-01f4-42f4-ba40-768f2da4a511?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220210%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220210T230142Z&X-Amz-Expires=300&X-Amz-Signature=069eafbab021b98504f27683d36b5f2ec90ce94277efcbb02659f4d5a850e6a2&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=10744183&response-content-disposition=attachment%3B%20filename%3Dnetdata-v1.33.0.tar.gz&response-content-type=application%2Foctet-stream [22470692/22470692] -> "/var/cache/yunohost/download/netdata/app.tar.gz" [1]'
2022-02-11 01:01:45,227: DEBUG - + sha256sum --check --status
2022-02-11 01:01:45,376: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2022-02-11 01:01:45,377: DEBUG - + '[' -n '' ']'
2022-02-11 01:01:45,378: DEBUG - + mkdir --parents /tmp/tmp.WdUUqDqnPV
2022-02-11 01:01:45,379: DEBUG - + '[' -n /opt/netdata ']'
2022-02-11 01:01:45,379: DEBUG - + '[' /tmp/tmp.WdUUqDqnPV == /opt/netdata ']'
2022-02-11 01:01:45,379: DEBUG - + true
2022-02-11 01:01:45,379: DEBUG - + '[' tar.gz = zip ']'
2022-02-11 01:01:45,379: DEBUG - + local strip=
2022-02-11 01:01:45,379: DEBUG - + '[' true '!=' false ']'
2022-02-11 01:01:45,379: DEBUG - + '[' true == true ']'
2022-02-11 01:01:45,379: DEBUG - + local sub_dirs=1
2022-02-11 01:01:45,380: DEBUG - + strip='--strip-components 1'
2022-02-11 01:01:45,380: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2022-02-11 01:01:45,380: DEBUG - + tar --extract --file=/var/cache/yunohost/download/netdata/app.tar.gz --directory=/tmp/tmp.WdUUqDqnPV --strip-components 1
2022-02-11 01:01:45,902: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/netdata/app.tar.gz
2022-02-11 01:01:45,938: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/sources/patches/ ']'
2022-02-11 01:01:45,938: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/sources/extra_files/app
2022-02-11 01:01:45,938: DEBUG - + '[' -n '' ']'
2022-02-11 01:01:45,939: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2022-02-11 01:01:46,035: INFO - [##########+.........] > Configuring NGINX web server...
2022-02-11 01:01:46,036: DEBUG - + ynh_add_nginx_config
2022-02-11 01:01:46,036: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,037: DEBUG - + '[' /netdata '!=' / ']'
2022-02-11 01:01:46,037: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/conf/nginx.conf
2022-02-11 01:01:46,119: DEBUG - + sed --in-place 's@^#sub_path_only@@g' /var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/conf/nginx.conf
2022-02-11 01:01:46,121: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/conf/nginx.conf --destination=/etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,163: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/conf//var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/conf/nginx.conf ']'
2022-02-11 01:01:46,164: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/conf/nginx.conf ']'
2022-02-11 01:01:46,164: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/conf/nginx.conf
2022-02-11 01:01:46,164: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,177: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_netdata.conf
2022-02-11 01:01:46,178: DEBUG - ++ ynh_app_setting_get --app=netdata --key=checksum__etc_nginx_conf.d_maindomain.tld.d_netdata.conf
2022-02-11 01:01:46,178: DEBUG - ++ local _globalapp=netdata
2022-02-11 01:01:46,220: DEBUG - ++ app=netdata
2022-02-11 01:01:46,220: DEBUG - ++ [[ checksum__etc_nginx_conf.d_maindomain.tld.d_netdata.conf =~ (unprotected|protected|skipped)_ ]]
2022-02-11 01:01:46,221: DEBUG - ++ ynh_app_setting get netdata checksum__etc_nginx_conf.d_maindomain.tld.d_netdata.conf
2022-02-11 01:01:46,264: DEBUG - + local checksum_value=
2022-02-11 01:01:46,265: DEBUG - + backup_file_checksum=
2022-02-11 01:01:46,265: DEBUG - + '[' -n '' ']'
2022-02-11 01:01:46,265: DEBUG - + touch /etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,266: DEBUG - + chown root:root /etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,267: DEBUG - + chmod 640 /etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,268: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/conf/nginx.conf /etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,269: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,270: DEBUG - + local target=/etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,270: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/manifest.json
2022-02-11 01:01:46,270: DEBUG - ++ tr -d '>= '
2022-02-11 01:01:46,274: DEBUG - + local ynh_requirement=4.2.0
2022-02-11 01:01:46,275: DEBUG - + '[' -z 4.2.0 ']'
2022-02-11 01:01:46,275: DEBUG - + '[' 4.2.0 == null ']'
2022-02-11 01:01:46,275: DEBUG - + dpkg --compare-versions 4.2.0 ge 4.2
2022-02-11 01:01:46,276: DEBUG - + chmod o-rwx /etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,278: DEBUG - + chmod g-w /etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,279: DEBUG - + chown -R root:root /etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,280: DEBUG - + ynh_system_user_exists netdata
2022-02-11 01:01:46,291: DEBUG - + getent passwd netdata
2022-02-11 01:01:46,297: DEBUG - + echo /etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,297: DEBUG - + grep -q '^/etc/cron'
2022-02-11 01:01:46,299: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,312: DEBUG - + test -n /netdata
2022-02-11 01:01:46,313: DEBUG - + local path_url_slash_less=/netdata
2022-02-11 01:01:46,313: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/netdata/ --target_file=/etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,396: DEBUG - + sed --in-place s@__PATH__/@/netdata/@g /etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,399: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/netdata --target_file=/etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,483: DEBUG - + sed --in-place s@__PATH__@/netdata@g /etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,486: DEBUG - + test -n netdata
2022-02-11 01:01:46,486: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=netdata --target_file=/etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,571: DEBUG - + sed --in-place s@__NAME__@netdata@g /etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,573: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=netdata --target_file=/etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,659: DEBUG - + sed --in-place s@__NAMETOCHANGE__@netdata@g /etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,662: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=netdata --target_file=/etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,746: DEBUG - + sed --in-place s@__USER__@netdata@g /etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,749: DEBUG - + test -n /opt/netdata
2022-02-11 01:01:46,749: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/opt/netdata --target_file=/etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,827: DEBUG - + sed --in-place s@__FINALPATH__@/opt/netdata@g /etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,830: DEBUG - + test -n 7.3
2022-02-11 01:01:46,830: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,916: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,918: DEBUG - + test -n ''
2022-02-11 01:01:46,919: DEBUG - + uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
2022-02-11 01:01:46,920: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,920: DEBUG - ++ sort --unique
2022-02-11 01:01:46,921: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2022-02-11 01:01:46,924: DEBUG - + local delimit=@
2022-02-11 01:01:46,925: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,927: DEBUG - + update_only=0
2022-02-11 01:01:46,948: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_netdata.conf
2022-02-11 01:01:46,948: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/netdata.conf
2022-02-11 01:01:46,949: DEBUG - ++ cut '--delimiter= ' --fields=1
2022-02-11 01:01:46,951: DEBUG - + ynh_app_setting_set --app=netdata --key=checksum__etc_nginx_conf.d_maindomain.tld.d_netdata.conf --value=df73fea1e6ff1af5b10b18b4104387f9
2022-02-11 01:01:46,951: DEBUG - + local _globalapp=netdata
2022-02-11 01:01:47,038: DEBUG - + app=netdata
2022-02-11 01:01:47,039: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_netdata.conf =~ (unprotected|protected|skipped)_ ]]
2022-02-11 01:01:47,039: DEBUG - + ynh_app_setting set netdata checksum__etc_nginx_conf.d_maindomain.tld.d_netdata.conf df73fea1e6ff1af5b10b18b4104387f9
2022-02-11 01:01:47,083: DEBUG - + '[' -n '' ']'
2022-02-11 01:01:47,084: DEBUG - + unset backup_file_checksum
2022-02-11 01:01:47,084: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2022-02-11 01:01:47,180: DEBUG - + service_name=nginx
2022-02-11 01:01:47,181: DEBUG - + action=reload
2022-02-11 01:01:47,181: DEBUG - + line_match=
2022-02-11 01:01:47,181: DEBUG - + length=20
2022-02-11 01:01:47,181: DEBUG - + log_path=/var/log/nginx/nginx.log
2022-02-11 01:01:47,182: DEBUG - + timeout=300
2022-02-11 01:01:47,182: DEBUG - + '[' reload == stop ']'
2022-02-11 01:01:47,182: DEBUG - + '[' reload == reload ']'
2022-02-11 01:01:47,182: DEBUG - + action=reload-or-restart
2022-02-11 01:01:47,182: DEBUG - + systemctl reload-or-restart nginx
2022-02-11 01:01:47,382: INFO - [###########+++++++..] > Executing Netdata installer...
2022-02-11 01:01:47,383: DEBUG - ++ mktemp /tmp/netdata-updater-log-XXXXXX.log
2022-02-11 01:01:47,384: DEBUG - + tmp=/tmp/netdata-updater-log-LFaBlG.log
2022-02-11 01:01:47,384: DEBUG - + exec
2022-02-11 01:01:47,384: DEBUG - + pushd /tmp/tmp.WdUUqDqnPV
2022-02-11 01:01:47,384: DEBUG - /tmp/tmp.WdUUqDqnPV /var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/scripts
2022-02-11 01:01:47,385: DEBUG - + ./netdata-installer.sh --install /opt --dont-wait --disable-cloud --disable-telemetry --stable-channel
2022-02-11 01:05:35,127: DEBUG - + popd
2022-02-11 01:05:35,127: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_3p1cmek_/scripts
2022-02-11 01:05:35,128: DEBUG - + exec
2022-02-11 01:05:35,128: DEBUG - + configure_netdata
2022-02-11 01:05:35,128: DEBUG - + sed -i '/^\[registry\]$/,/^\[/ {
2022-02-11 01:05:35,128: DEBUG -     s/# enabled = no/enabled = yes/
2022-02-11 01:05:35,128: DEBUG -     s@# registry to announce = https://registry.my-netdata.io@registry to announce = https://maindomain.tld/netdata@
2022-02-11 01:05:35,128: DEBUG -   }' /opt/netdata/etc/netdata/netdata.conf
2022-02-11 01:05:35,134: DEBUG - + touch /opt/netdata/etc/netdata/.opt-out-from-anonymous-statistics
2022-02-11 01:05:35,135: DEBUG - + netdata_add_yunohost_web_logs
2022-02-11 01:05:35,135: DEBUG - + local web_log_file=/opt/netdata/etc/netdata/python.d/web_log.conf
2022-02-11 01:05:35,135: DEBUG - + '[' '!' -f /opt/netdata/etc/netdata/python.d/web_log.conf ']'
2022-02-11 01:05:35,135: DEBUG - + cp /opt/netdata/etc/netdata/orig/python.d/web_log.conf /opt/netdata/etc/netdata/python.d/web_log.conf
2022-02-11 01:05:35,137: DEBUG - ++ grep YUNOHOST /opt/netdata/etc/netdata/python.d/web_log.conf
2022-02-11 01:05:35,138: DEBUG - + '[' -z '' ']'
2022-02-11 01:05:35,139: DEBUG - ++ yunohost domain list --output-as plain
2022-02-11 01:05:35,358: DEBUG - + for domain in $(yunohost domain list --output-as plain)
2022-02-11 01:05:35,358: DEBUG - + domain_label='#domains'
2022-02-11 01:05:35,358: DEBUG - + cat
2022-02-11 01:05:35,360: DEBUG - + for domain in $(yunohost domain list --output-as plain)
2022-02-11 01:05:35,360: DEBUG - + domain_label=xxx_noho_st
2022-02-11 01:05:35,360: DEBUG - + cat
2022-02-11 01:05:35,362: DEBUG - + for domain in $(yunohost domain list --output-as plain)
2022-02-11 01:05:35,362: DEBUG - + domain_label=domain_td2
2022-02-11 01:05:35,362: DEBUG - + cat
2022-02-11 01:05:35,363: DEBUG - + for domain in $(yunohost domain list --output-as plain)
2022-02-11 01:05:35,363: DEBUG - + domain_label=mat_domain_td2
2022-02-11 01:05:35,363: DEBUG - + cat
2022-02-11 01:05:35,364: DEBUG - + for domain in $(yunohost domain list --output-as plain)
2022-02-11 01:05:35,365: DEBUG - + domain_label=www_domain_td2
2022-02-11 01:05:35,365: DEBUG - + cat
2022-02-11 01:05:35,366: DEBUG - + for domain in $(yunohost domain list --output-as plain)
2022-02-11 01:05:35,366: DEBUG - + domain_label=domain_td
2022-02-11 01:05:35,366: DEBUG - + cat
2022-02-11 01:05:35,367: DEBUG - + for domain in $(yunohost domain list --output-as plain)
2022-02-11 01:05:35,368: DEBUG - + domain_label=mat_domain_td
2022-02-11 01:05:35,368: DEBUG - + cat
2022-02-11 01:05:35,369: DEBUG - + for domain in $(yunohost domain list --output-as plain)
2022-02-11 01:05:35,369: DEBUG - + domain_label=webmin_domain_td
2022-02-11 01:05:35,369: DEBUG - + cat
2022-02-11 01:05:35,371: DEBUG - + for domain in $(yunohost domain list --output-as plain)
2022-02-11 01:05:35,371: DEBUG - + domain_label=wiki_domain_td
2022-02-11 01:05:35,371: DEBUG - + cat
2022-02-11 01:05:35,373: DEBUG - + for domain in $(yunohost domain list --output-as plain)
2022-02-11 01:05:35,373: DEBUG - + domain_label=www_domain_td
2022-02-11 01:05:35,373: DEBUG - + cat
2022-02-11 01:05:35,375: DEBUG - + for domain in $(yunohost domain list --output-as plain)
2022-02-11 01:05:35,375: DEBUG - + domain_label='#main'
2022-02-11 01:05:35,375: DEBUG - + cat
2022-02-11 01:05:35,377: DEBUG - + for domain in $(yunohost domain list --output-as plain)
2022-02-11 01:05:35,377: DEBUG - + domain_label=domain_td
2022-02-11 01:05:35,377: DEBUG - + cat
2022-02-11 01:05:35,379: DEBUG - + chgrp netdata /opt/netdata/etc/netdata/python.d/web_log.conf
2022-02-11 01:05:35,380: DEBUG - + netdata_add_yunohost_postgres_configuration
2022-02-11 01:05:35,381: DEBUG - + local postgres_file=/opt/netdata/etc/netdata/python.d/postgres.conf
2022-02-11 01:05:35,381: DEBUG - + '[' '!' -f /opt/netdata/etc/netdata/python.d/postgres.conf ']'
2022-02-11 01:05:35,381: DEBUG - + cp /opt/netdata/etc/netdata/orig/python.d/postgres.conf /opt/netdata/etc/netdata/python.d/postgres.conf
2022-02-11 01:05:35,382: DEBUG - + '[' -f /etc/yunohost/psql ']'
2022-02-11 01:05:35,383: DEBUG - ++ grep yunohost: /opt/netdata/etc/netdata/python.d/postgres.conf
2022-02-11 01:05:35,385: DEBUG - + '[' -z '' ']'
2022-02-11 01:05:35,385: DEBUG - + cat
2022-02-11 01:05:35,386: DEBUG - ++ cat /etc/yunohost/psql
2022-02-11 01:05:35,388: DEBUG - + chgrp netdata /opt/netdata/etc/netdata/python.d/postgres.conf
2022-02-11 01:05:35,390: DEBUG - ++ ynh_mysql_execute_as_root '--sql=select user from mysql.user where user = '\''netdata'\'';'
2022-02-11 01:05:35,413: DEBUG - ++ database=
2022-02-11 01:05:35,414: DEBUG - ++ '[' -n '' ']'
2022-02-11 01:05:35,414: DEBUG - ++ mysql -B ''
2022-02-11 01:05:35,424: DEBUG - + is_mysql_user_existing=
2022-02-11 01:05:35,425: DEBUG - + '[' -z '' ']'
2022-02-11 01:05:35,425: DEBUG - + ynh_mysql_execute_as_root '--sql=create user '\''netdata'\''@'\''localhost'\'';
2022-02-11 01:05:35,425: DEBUG -     grant usage on *.* to '\''netdata'\''@'\''localhost'\'' with grant option;
2022-02-11 01:05:35,425: DEBUG -     flush privileges;'
2022-02-11 01:05:35,427: DEBUG -     grant usage on *.* to '\''netdata'\''@'\''localhost'\'' with grant option;
2022-02-11 01:05:35,427: DEBUG -     flush privileges;'
2022-02-11 01:05:35,448: DEBUG - + database=
2022-02-11 01:05:35,448: DEBUG - + '[' -n '' ']'
2022-02-11 01:05:35,449: DEBUG - + mysql -B ''
2022-02-11 01:05:35,461: DEBUG - + type setfacl
2022-02-11 01:05:35,461: DEBUG - + '[' -f /var/run/dovecot/stats ']'
2022-02-11 01:05:35,461: DEBUG - + '[' -f /var/run/dovecot/old-stats ']'
2022-02-11 01:05:35,461: DEBUG - + usermod -a -G adm netdata
2022-02-11 01:05:35,471: DEBUG - + yunohost service add netdata --description 'Real-time performance and health monitoring for systems and applications' --log /opt/netdata/var/log/netdata/error.log /opt/netdata/var/log/netdata/access.log /opt/netdata/var/log/netdata/debug.log
2022-02-11 01:05:35,656: DEBUG - The service 'netdata' was added
2022-02-11 01:05:35,768: INFO - [##################+.] > Starting a systemd service...
2022-02-11 01:05:35,770: DEBUG - + ynh_systemd_action --service_name=netdata --action=restart --log_path=/opt/netdata/var/log/netdata/error.log
2022-02-11 01:05:35,929: DEBUG - + service_name=netdata
2022-02-11 01:05:35,929: DEBUG - + action=restart
2022-02-11 01:05:35,930: DEBUG - + line_match=
2022-02-11 01:05:35,930: DEBUG - + length=20
2022-02-11 01:05:35,930: DEBUG - + log_path=/opt/netdata/var/log/netdata/error.log
2022-02-11 01:05:35,930: DEBUG - + timeout=300
2022-02-11 01:05:35,930: DEBUG - + '[' restart == stop ']'
2022-02-11 01:05:35,930: DEBUG - + '[' restart == reload ']'
2022-02-11 01:05:35,931: DEBUG - + systemctl restart netdata
2022-02-11 01:05:35,935: WARNING - Failed to restart netdata.service: Unit netdata.service is masked.
2022-02-11 01:05:35,936: DEBUG - + ynh_exec_err journalctl --quiet --no-hostname --no-pager --lines=20 --unit=netdata
2022-02-11 01:05:35,936: DEBUG - + [[ 6 -eq 1 ]]
2022-02-11 01:05:35,936: DEBUG - ++ journalctl --quiet --no-hostname --no-pager --lines=20 --unit=netdata
2022-02-11 01:05:35,942: DEBUG - + ynh_print_err ''
2022-02-11 01:05:35,952: DEBUG - + ynh_print_log '[Error] '
2022-02-11 01:05:35,952: DEBUG - + echo -e '[Error] '
2022-02-11 01:05:35,953: WARNING - [Error]
2022-02-11 01:05:35,953: DEBUG - + '[' -e /opt/netdata/var/log/netdata/error.log ']'
2022-02-11 01:05:35,953: DEBUG - + ynh_exec_err tail --lines=20 /opt/netdata/var/log/netdata/error.log
2022-02-11 01:05:35,953: DEBUG - + [[ 3 -eq 1 ]]
2022-02-11 01:05:35,954: DEBUG - ++ tail --lines=20 /opt/netdata/var/log/netdata/error.log
2022-02-11 01:05:35,955: DEBUG - + ynh_print_err '2022-02-11 01:05:31: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/pressure/io'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,955: DEBUG - 2022-02-11 01:05:31: netdata ERROR : PLUGIN[proc] : Cannot read pressure information from /proc/pressure/io.
2022-02-11 01:05:35,956: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/net/sctp/snmp'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,956: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/net/ip_vs_stats'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,956: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/net/stat/synproxy'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,956: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sda'\'', 8:0): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,956: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sda1'\'', 8:1): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,956: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sda2'\'', 8:2): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,956: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sda5'\'', 8:5): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,957: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sdb'\'', 8:16): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,957: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sr0'\'', 11:0): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,957: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sdc'\'', 8:32): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,957: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sdc1'\'', 8:33): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,957: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/mdstat'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,957: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/net/rpc/nfsd'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,958: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/net/rpc/nfs'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,958: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/spl/kstat/zfs/arcstats'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,958: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : Cannot read directory '\''/proc/spl/kstat/zfs'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,958: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : BTRFS: Cannot open directory '\''/sys/fs/btrfs'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,958: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : heartbeat missed 999937 monotonic microseconds'
2022-02-11 01:05:35,959: DEBUG - 2022-02-11 01:05:31: netdata ERROR : PLUGIN[proc] : Cannot read pressure information from /proc/pressure/io.
2022-02-11 01:05:35,960: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/net/sctp/snmp'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,960: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/net/ip_vs_stats'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,960: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/net/stat/synproxy'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,960: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sda'\'', 8:0): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,960: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sda1'\'', 8:1): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,961: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sda2'\'', 8:2): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,961: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sda5'\'', 8:5): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,961: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sdb'\'', 8:16): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,961: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sr0'\'', 11:0): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,961: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sdc'\'', 8:32): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,962: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sdc1'\'', 8:33): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,962: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/mdstat'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,962: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/net/rpc/nfsd'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,962: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/net/rpc/nfs'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,962: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/spl/kstat/zfs/arcstats'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,962: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : Cannot read directory '\''/proc/spl/kstat/zfs'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,962: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : BTRFS: Cannot open directory '\''/sys/fs/btrfs'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,963: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : heartbeat missed 999937 monotonic microseconds'
2022-02-11 01:05:35,966: DEBUG - + ynh_print_log '[Error] 2022-02-11 01:05:31: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/pressure/io'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,967: DEBUG - 2022-02-11 01:05:31: netdata ERROR : PLUGIN[proc] : Cannot read pressure information from /proc/pressure/io.
2022-02-11 01:05:35,967: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/net/sctp/snmp'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,967: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/net/ip_vs_stats'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,967: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/net/stat/synproxy'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,968: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sda'\'', 8:0): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,968: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sda1'\'', 8:1): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,968: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sda2'\'', 8:2): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,968: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sda5'\'', 8:5): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,968: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sdb'\'', 8:16): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,968: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sr0'\'', 11:0): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,968: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sdc'\'', 8:32): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,968: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sdc1'\'', 8:33): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,969: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/mdstat'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,969: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/net/rpc/nfsd'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,969: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/net/rpc/nfs'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,969: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/spl/kstat/zfs/arcstats'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,969: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : Cannot read directory '\''/proc/spl/kstat/zfs'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,969: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : BTRFS: Cannot open directory '\''/sys/fs/btrfs'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,969: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : heartbeat missed 999937 monotonic microseconds'
2022-02-11 01:05:35,969: DEBUG - + echo -e '[Error] 2022-02-11 01:05:31: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/pressure/io'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,969: DEBUG - 2022-02-11 01:05:31: netdata ERROR : PLUGIN[proc] : Cannot read pressure information from /proc/pressure/io.
2022-02-11 01:05:35,969: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/net/sctp/snmp'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,970: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/net/ip_vs_stats'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,970: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/net/stat/synproxy'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,970: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sda'\'', 8:0): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,970: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sda1'\'', 8:1): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,970: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sda2'\'', 8:2): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,970: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sda5'\'', 8:5): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,970: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sdb'\'', 8:16): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,970: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sr0'\'', 11:0): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,970: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sdc'\'', 8:32): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,971: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('\''sdc1'\'', 8:33): Cannot open directory '\''/dev/vx/dsk'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,971: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/mdstat'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,971: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/net/rpc/nfsd'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,971: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/net/rpc/nfs'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,971: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '\''/proc/spl/kstat/zfs/arcstats'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,971: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : Cannot read directory '\''/proc/spl/kstat/zfs'\'' (errno 2, No such file or directory)
2022-02-11 01:05:35,971: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : BTRFS: Cannot open directory '\''/sys/fs/btrfs'\''. (errno 2, No such file or directory)
2022-02-11 01:05:35,971: DEBUG - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : heartbeat missed 999937 monotonic microseconds'
2022-02-11 01:05:35,971: DEBUG - + ynh_clean_check_starting
2022-02-11 01:05:35,971: DEBUG - + '[' -n '' ']'
2022-02-11 01:05:35,972: DEBUG - + '[' -n '' ']'
2022-02-11 01:05:35,972: DEBUG - + return 1
2022-02-11 01:05:35,972: DEBUG - + ynh_exit_properly
2022-02-11 01:05:35,972: WARNING - [Error] 2022-02-11 01:05:31: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '/proc/pressure/io' (errno 2, No such file or directory)
2022-02-11 01:05:35,972: WARNING - 2022-02-11 01:05:31: netdata ERROR : PLUGIN[proc] : Cannot read pressure information from /proc/pressure/io.
2022-02-11 01:05:35,973: WARNING - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '/proc/net/sctp/snmp' (errno 2, No such file or directory)
2022-02-11 01:05:35,973: WARNING - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '/proc/net/ip_vs_stats' (errno 2, No such file or directory)
2022-02-11 01:05:35,973: WARNING - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '/proc/net/stat/synproxy' (errno 2, No such file or directory)
2022-02-11 01:05:35,974: WARNING - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('sda', 8:0): Cannot open directory '/dev/vx/dsk'. (errno 2, No such file or directory)
2022-02-11 01:05:35,974: WARNING - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('sda1', 8:1): Cannot open directory '/dev/vx/dsk'. (errno 2, No such file or directory)
2022-02-11 01:05:35,974: WARNING - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('sda2', 8:2): Cannot open directory '/dev/vx/dsk'. (errno 2, No such file or directory)
2022-02-11 01:05:35,974: WARNING - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('sda5', 8:5): Cannot open directory '/dev/vx/dsk'. (errno 2, No such file or directory)
2022-02-11 01:05:35,975: WARNING - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('sdb', 8:16): Cannot open directory '/dev/vx/dsk'. (errno 2, No such file or directory)
2022-02-11 01:05:35,975: WARNING - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('sr0', 11:0): Cannot open directory '/dev/vx/dsk'. (errno 2, No such file or directory)
2022-02-11 01:05:35,975: WARNING - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('sdc', 8:32): Cannot open directory '/dev/vx/dsk'. (errno 2, No such file or directory)
2022-02-11 01:05:35,976: WARNING - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : DEVICE-MAPPER ('sdc1', 8:33): Cannot open directory '/dev/vx/dsk'. (errno 2, No such file or directory)
2022-02-11 01:05:35,976: WARNING - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '/proc/mdstat' (errno 2, No such file or directory)
2022-02-11 01:05:35,976: WARNING - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '/proc/net/rpc/nfsd' (errno 2, No such file or directory)
2022-02-11 01:05:35,977: WARNING - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '/proc/net/rpc/nfs' (errno 2, No such file or directory)
2022-02-11 01:05:35,978: WARNING - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : PROCFILE: Cannot open file '/proc/spl/kstat/zfs/arcstats' (errno 2, No such file or directory)
2022-02-11 01:05:35,978: WARNING - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : Cannot read directory '/proc/spl/kstat/zfs' (errno 2, No such file or directory)
2022-02-11 01:05:35,978: WARNING - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : BTRFS: Cannot open directory '/sys/fs/btrfs'. (errno 2, No such file or directory)
2022-02-11 01:05:35,978: WARNING - 2022-02-11 01:05:32: netdata ERROR : PLUGIN[proc] : heartbeat missed 999937 monotonic microseconds
2022-02-11 01:05:36,470: DEBUG - + ynh_clean_setup
2022-02-11 01:05:36,470: DEBUG - + true
2022-02-11 01:05:37,475: ERROR - Unable to install netdata: An error occurred inside the app installation script

Is this what they call ‘irony’? From the thread you linked:
image

Talking about coincidence :smiley:

2 Likes

How about installing plain netdata, directly in Debian (sudo apt install netdata) just to see if the problem is in Apt or in the additional Yunohost packaging (which perhaps pulls a newer / specific version of some libraries).

If it does not work, nothing is lost. If it does work, you have the option of uninstalling and trying again via Yunohost, or directly trying to install the Yunohost netdata app on top (without apt removing first).

For readability of the log, could you consider using the upload functionality? The lines are a bit long in the largish font used by the forum.

1 Like

Hi ok I might try this and let you know.

Regarding the log readability, I have to edit out sensitive info on my domains etc, so I refrain doing it…Apologies.

Fully understood. The log is quite good at surpressing this kind of data, but I was a bit surprised when I saw what still is included.

OK that did it! Installed directly in Debian without any issues and after, I installed the Yunohost Netdata app on top.

Can’t understand why this happened in any case…

Many thanks for your help!

Yeah, intellectually not the most satisfying solution, but wohoo! It worked :slight_smile:

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