Netdata installation error

My YunoHost server

Hardware: computer running behind OpenVPN Open Access server VPN
YunoHost version: 4.1.7.1
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

I tried to install Netdata via the command line but it failed.

Info: [###########+++++++..] > Executing Netdata installer...
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 display 20210207-125340-app_install-netdata --share' to get help
Warning: Here's an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG - + unset backup_file_checksum
Info: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
Info: DEBUG - + service_name=nginx
Info: DEBUG - + action=reload
Info: DEBUG - + line_match=
Info: DEBUG - + length=20
Info: DEBUG - + log_path=/var/log/nginx/nginx.log
Info: DEBUG - + timeout=300
Info: DEBUG - + [[ -n '' ]]
Info: DEBUG - + '[' reload == reload ']'
Info: DEBUG - + action=reload-or-restart
Info: DEBUG - + systemctl reload-or-restart nginx
Info: DEBUG - + [[ -n '' ]]
Info: DEBUG - + echo '[###########+++++++..] > Executing Netdata installer...'
Info: DEBUG - ++ mktemp /tmp/netdata-updater-log-XXXXXX.log
Info: DEBUG - + tmp=/tmp/netdata-updater-log-Jfmyru.log
Info: DEBUG - + exec
Info: DEBUG - + pushd /tmp/tmp.aIvhdKn0kX
Info: DEBUG - /tmp/tmp.aIvhdKn0kX /var/cache/yunohost/from_file/scripts
Info: DEBUG - + ./netdata-installer.sh --install /opt --dont-wait --disable-cloud
Info: DEBUG - + ynh_die 'FAILED TO COMPILE/INSTALL NETDATA'
Warning: Removing the app following the installation failure...
Info: [+...................] > Loading installation settings...
Warning: <stdin>:7: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
Warning: <stdin>:7: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
Info: [#++++++++...........] > Removing dependencies...
Info: [#########++++++.....] > Uninstalling Netdata...
Warning: ERROR 1396 (HY000) at line 1: Operation DROP USER failed for 'netdata'@'localhost'
Info: [###############+....] > Removing nginx web server configuration...
Error: The operation 'Install the 'netdata' app' could not be completed. Please share the full log of this operation using the command 'yunohost log display 20210207-125340-app_install-netdata --share' to get help

here is the full log
https://paste.yunohost.org/raw/pucewopave

Hi @arkadi,

I think the error is occuring here :

2021-02-07 21:00:07,087: DEBUG - + ./netdata-installer.sh --install /opt --dont-wait --disable-cloud
2021-02-07 21:00:44,370: DEBUG - + ynh_die 'FAILED TO COMPILE/INSTALL NETDATA'
2021-02-07 21:00:44,370: WARNING - FAILED TO COMPILE/INSTALL NETDATA

Not entirelly sure why, and there are no further logs. But… there seems to have be changes to the package in the last 8 days, and an upgraded version (1.29 instead of 1.28) seems to be available in GitHub - YunoHost-Apps/netdata_ynh: NetData package for YunoHost

Can you re-try installing netdata ?

1 Like

Still fails.

Info: DEBUG - + ynh_die 'FAILED TO COMPILE/INSTALL NETDATA'
Warning: Removing the app following the installation failure...
Info: [+...................] > Loading installation settings...
Warning: <stdin>:7: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://m
sg.pyyaml.org/load for full details.
Warning: <stdin>:7: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://m
sg.pyyaml.org/load for full details.
Info: [#++++++++...........] > Removing dependencies...
Info: [#########++++++.....] > Uninstalling Netdata...
Warning: ERROR 1396 (HY000) at line 1: Operation DROP USER failed for 'netdata'@'localhost'
Info: [###############+....] > Removing nginx web server configuration...

full log:
https://paste.yunohost.org/raw/omasudafeb

They don’t seem to have any ‘issues’ posted on their Github page though. Odd. Looks like could be something to do with mysql too? My sql is running fine it seems.

mysql: 
  configuration: unknown
  description: Stores app data (SQL database)
  last_state_change: 2021-02-12 02:01:20
  start_on_boot: enabled
  status: running

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