Skip to content
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

Netdata doesn't start after install #224

Open
rnd42 opened this issue Nov 14, 2021 · 1 comment
Open

Netdata doesn't start after install #224

rnd42 opened this issue Nov 14, 2021 · 1 comment

Comments

@rnd42
Copy link

rnd42 commented Nov 14, 2021

I installed the netdata bundle and found that I had to do a lot of work to get it to actually work.

  • I had to create the netdata (system) group and user

    • note for later that the user UID and GID is 999
      uid=999(netdata) gid=999(netdata) groups=999(netdata)
  • I had to create the following directories owned by netdata:netdata

    • /etc/netdata
    • /var/cache/netdata
    • /var/lib/netdata (I set this to the home directory of the netdata user.
    • /var/log/netdata
  • I had to change ownership of everything in /usr/share/netdata to netdata:netdata

    • On this one I realize that's not great security for a webserver to serve files it can write to, but I was seeing the following log entry:
      /var/log/netdata/error.log:2021-11-14 14:00:03: netdata ERROR : WEB_SERVER[static2] : 2: File '/usr/share/netdata/web/index.html' is owned by user 0 (expected user 999). Access Denied. (errno 11, Resource temporarily unavailable)
      
@bcookatpcsd
Copy link

bcookatpcsd commented Feb 14, 2022

Update complete - System already up-to-date at version 35860

Same issue..

Still couldn't get it to work after editing netdata.conf

After two hours of fighting..

systemctl stop netdata; swupd bundle-remove netdata; rm -rf /etc/netdata /var/cache/netdata /var/lib/netdata /var/log/netdata

curl https://my-netdata.io/kickstart.sh > /tmp/netdata-kickstart.sh && sh /tmp/netdata-kickstart.sh

  • now working..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants