Jump to content

Featured Replies

Posted
comment_1163

There are lot’s of complains regarding the netdata not working or installing in CWP to fix the issue please follow the easy fix :

you will need top install these dependencies before installing netdata from cwp :

First uninstall netdata :

/usr/local/src/netdata/packaging/installer/netdata-uninstaller.sh --yes --force

Install dependencies :

yum install lz4-devel lz4 json-c-devel libuv-devel libuv --nobest 
yum install libyaml-devel

after these depes are installed go to cwp admin » netdata » and install to from there

Installation can take few time depending on your server performance.

comment_1170
18 hours ago, Sandeep B. said:

There are lot’s of complains regarding the netdata not working or installing in CWP to fix the issue please follow the easy fix :

you will need top install these dependencies before installing netdata from cwp :

First uninstall netdata :

/usr/local/src/netdata/packaging/installer/netdata-uninstaller.sh --yes --force

Install dependencies :

yum install lz4-devel lz4 json-c-devel libuv-devel libuv --nobest 
yum install libyaml-devel

after these depes are installed go to cwp admin » netdata » and install to from there

Installation can take few time depending on your server performance.

Nothing happens, still caught in an endless loop, always keeps asking to install again.

  • Author
comment_1172

please try this

/usr/local/src/netdata/packaging/installer/netdata-uninstaller.sh --yes --force
cd /usr/local/src
rm -rf netdata
git clone --recursive https://github.com/netdata/netdata
cd netdata
./netdata-installer.sh --disable-cloud --dont-wait

then after the official version is installed without any error (keep an eye on errors if there is any) uninstall it again :

/usr/local/src/netdata/packaging/installer/netdata-uninstaller.sh --yes --force

then install it from cwp

  • 2 weeks later...
  • 1 month later...
comment_1222

I came here and followed these instructions:

On 11/19/2024 at 2:46 AM, Sandeep B. said:

please try this

/usr/local/src/netdata/packaging/installer/netdata-uninstaller.sh --yes --force
cd /usr/local/src
rm -rf netdata
git clone --recursive https://github.com/netdata/netdata
cd netdata
./netdata-installer.sh --disable-cloud --dont-wait

then after the official version is installed without any error (keep an eye on errors if there is any) uninstall it again :

/usr/local/src/netdata/packaging/installer/netdata-uninstaller.sh --yes --force

then install it from cwp


This aborted on me, so close though - Alma 8.10 with CWP

The error message is “Package 'libuv', required by 'virtual:world', not found”

I initiated the netdata install via cwp control panel. The install failed twice.

I then found this “fix” or “workaround” here:

https://forum.centos-webpanel.com/centos-8-problems/failed-install-last-version-netdata-in-cwp-control-web-pannel-centos-8-stream/msg48165/#msg48165

Then used the install script as found @ cwp —> “cd /scripts && cp install_netdata install_netdata.orig && wget -O install_netdata https://github.com/LPJon/cwpfixes/raw/main/install_netdata && /scripts/./install_netdata"

The uninstall failed for this as well.


The errors:

-- Checking for module 'libuv'

-- Package 'libuv', required by 'virtual:world', not found

CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:607 (message):

A required package was not found

Call Stack (most recent call first):

/usr/share/cmake/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal)

CMakeLists.txt:2150 (pkg_check_modules)

-- Configuring incomplete, errors occurred!

FAILED ''

ABORTED Failed to configure Netdata sources.

^

|.-. .-. .-. .-. .-. . netdata .-. .-. .-. .-. .-. .-

| '-' '-' '-' '-' '-' '-' '-' '-' '-' '-'

+----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+--->

ABORTED Netdata failed to build for an unknown reason.


Operating System: AlmaLinux 8.10 (Cerulean Leopard)

CPE OS Name: cpe:/o:almalinux:almalinux:8::baseos

Kernel: Linux 4.18.0-553.33.1.el8_10.x86_64

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now