Netdata Failed after update

Has anyone experiencing Netdata failed to work after recent update of netdata.x86_64 0:1.41.0-1.el7, netdata-conf.noarch 0:1.41.0-1.el7 , netdata-data.noarch 0:1.41.0-1.el7…

I tried flashing the /var/cache/netdata/dbengine … and then try to restart netdata, still not able to get it to start or work…
Any suggestion ?

Can you check if it’s the same error of Netdata Service failed since Update?

I got the following error when I ran " systemctl status netdata "…after trying to restart.

 Active: activating (auto-restart) (Result: exit-code) since Mon 2023-07-31 07:37:17 PDT; 2s ago
  Process: 3013 ExecStart=/usr/sbin/netdata -P /run/netdata/netdata.pid -D (code=exited, status=233/RUNTIME_DIRECTORY)
  Process: 3011 ExecStartPre=/usr/bin/find /var/cache/netdata/ -type f -empty -delete (code=exited, status=233/RUNTIME_DIRECTORY)
  Process: 3008 ExecStartPre=/bin/chown -R netdata /run/netdata (code=exited, status=0/SUCCESS)
  Process: 3005 ExecStartPre=/bin/mkdir -p /run/netdata (code=exited, status=0/SUCCESS)
  Process: 3002 ExecStartPre=/bin/chown -R netdata /var/cache/netdata (code=exited, status=0/SUCCESS)
  Process: 3000 ExecStartPre=/bin/mkdir -p /var/cache/netdata (code=exited, status=0/SUCCESS)
 Main PID: 3013 (code=exited, status=233/RUNTIME_DIRECTORY)

Here are the errors from first 2 lines 
(code=exited, status=233/RUNTIME_DIRECTORY)
(code=exited, status=233/RUNTIME_DIRECTORY)

 Looks like the same issue...

Have you updated also nethserver-netdata?

Try:

yum clean all && yum update

Hi,
the problem is still present after that. What does nethserver-netdata updated mean? I installed the existing update via the cockpit this morning.

1 Like

Tried ```
yum clean all && yum update

      Updating:
 netdata              x86_64         1.41.0-1.el7            epel         3.5 M
 netdata-conf         noarch       1.41.0-1.el7            epel         155 k
 netdata-data         noarch       1.41.0-1.el7            epel          10 M

Not seeing the   Nethserver-netdata package
1 Like

My Logwatch report showed this:

The following updates will be applied on Nethserver.BogoLinux.net:
================================================================================
 Package              Arch           Version                 Repository    Size
================================================================================
Updating:
 netdata              x86_64         1.41.0-1.el7            epel         3.5 M
 netdata-conf         noarch         1.41.0-1.el7            epel         155 k
 netdata-data         noarch         1.41.0-1.el7            epel          10 M

Transaction Summary
================================================================================
Upgrade  3 Packages
The updates were successfully applied

Did nothing:

No packages marked for update

Cheers.

Same problem here. Log:

 netdata.service - Real time performance monitoring
   Loaded: loaded (/usr/lib/systemd/system/netdata.service; enabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/netdata.service.d
           `-cleanup.conf
   Active: activating (auto-restart) (Result: exit-code) since Mon 2023-07-31 21:19:06 CEST; 27s ago
  Process: 35905 ExecStart=/usr/sbin/netdata -P /run/netdata/netdata.pid -D (code=exited, status=233/RUNTIME_DIRECTORY)
  Process: 35901 ExecStartPre=/usr/bin/find /var/cache/netdata/ -type f -empty -delete (code=exited, status=233/RUNTIME_DIRECTORY)
  Process: 35891 ExecStartPre=/bin/chown -R netdata /run/netdata (code=exited, status=0/SUCCESS)
  Process: 35884 ExecStartPre=/bin/mkdir -p /run/netdata (code=exited, status=0/SUCCESS)
  Process: 35870 ExecStartPre=/bin/chown -R netdata /var/cache/netdata (code=exited, status=0/SUCCESS)
  Process: 35861 ExecStartPre=/bin/mkdir -p /var/cache/netdata (code=exited, status=0/SUCCESS)
 Main PID: 35905 (code=exited, status=233/RUNTIME_DIRECTORY)

Jul 31 21:19:06 server.domain.es systemd[1]: netdata.service: main process exited, code=exited, status=233/RUNTIME_DIRECTORY
Jul 31 21:19:06 server.domain.es systemd[1]: Unit netdata.service entered failed state.
Jul 31 21:19:06 server.domain.es systemd[1]: netdata.service failed.
Jul 31 21:19:36 server.domain.es systemd[1]: netdata.service holdoff time over, scheduling restart.
Jul 31 21:19:36 server.domain.es systemd[1]: Stopped Real time performance monitoring.
Jul 31 21:19:36 server.domain.es systemd[1]: Starting Real time performance monitoring...
Jul 31 21:19:36 server.domain.es systemd[38180]: Failed at step RUNTIME_DIRECTORY spawning /usr/bin/find: File exists
Jul 31 21:19:36 server.domain.es systemd[1]: Started Real time performance monitoring.
Jul 31 21:19:36 server.domain.es systemd[38183]: Failed at step RUNTIME_DIRECTORY spawning /usr/sbin/netdata: File exists
Jul 31 21:19:36 server.domain.es systemd[1]: netdata.service: main process exited, code=exited, status=233/RUNTIME_DIRECTORY
Jul 31 21:19:36 server.domain.es systemd[1]: Unit netdata.service entered failed state.
Jul 31 21:19:36 server.domain.es systemd[1]: netdata.service failed.

Have you updated also nethserver-netdata?

Try:

yum clean all && yum update

I always do yum clean all && yum update to update my server, and same packages had appeared:

================================================================================
 Package              Arch           Version                 Repository    Size
================================================================================
Updating:
 netdata              x86_64         1.41.0-1.el7            epel         3.5 M
 netdata-conf         noarch         1.41.0-1.el7            epel         155 k
 netdata-data         noarch         1.41.0-1.el7            epel          10 M

Transaction Summary
================================================================================
Upgrade  3 Packages

if it’s the same problem described in the netdata bug report, it was supposedly fixed on 1.40.1, unless there’s some regression or a different cause.

Thank you all for reporting.
Indeed this is an upstream issue, we tried to fix it with a workaround: Netdata 1.41 doesn't start · Issue #6760 · NethServer/dev · GitHub

Please try it and report the results here:

yum --enablerepo=nethserver-testing update nethserver-netdata
2 Likes

@giacomo
After the update from nethserver-testing everything works fine again.
Thanks for the great support.

Best
Erwin

4 Likes

The fix has been released.

4 Likes

Thank you for the fix and update… it’s working now…
Much Appreciated !!!

1 Like