New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Perf-plugin error on systems with no setcap #16556
Comments
Hey, @KaKi87. You have installed the static version
I am not sure why you did Can you show |
What does that mean ? All I did is use the following command from the Install Netdata | Learn Netdata page : wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh --stable-channel --disable-telemetry Screenshot :
Because those are the first steps suggested when getting "Errors were encountered while processing" from APT.
Thanks |
"Netdata build info" says it is static.
Show |
Is it a problem, should I have done something differently ?
Aye aye.
|
The short story is -
1->2 can happen not only if there are no native packages for the platform, but because of some errors (or even bugs). The script doesn't give up and try the next available method (static). I don't know how you ended up with both 🤷 Also, I am not sure about "systems with no setcap". I believe that deb native package depends on libcap, so if you have it installed - setcap should work. cc @netdata/agent-sre The static build is fine and you can continue using it. But it doesn't have systemd-journal. Anyway, I'd suggest removing everything and doing a clean install:
systemctl stop netdata
# remove static build
rm -rf /opt/netdata
# remove native
apt-get purge netdata -y
apt-get purge netdata-repo -y
rm -rf /var/log/netdata
rm -rf /var/lib/netdata
rm -rf /etc/netdata
rm -rf /var/cache/netdata
rm /etc/cron.daily/netdata-updater
# remove user
userdel -r netdata After - reinstall. |
Here's the output of
You mean now, or after the linked PR is merged ? |
@KaKi87 I think that PR is wrong. I mean now. And, if possible, share installation (kickstart.sh) logs after reinstalling. |
Just in case it's relevant, the
|
Ok, thanks. We will investigate the issue. You just remove everything again and let's install static build right away.
|
Bug description
One of the dependencies throws an error during installation :
Expected behavior
No error is thrown.
Steps to reproduce
sudo dpkg --configure -a
;sudo apt install -f
;Installation method
kickstart.sh
System info
Netdata build info
Additional info
I also tried removing the dependency and disabling o
The text was updated successfully, but these errors were encountered: