After reboot, Netdata is unable to find a chart and returns a "Chart not found" error.

Issue:
After reboot, Netdata is unable to find a chart and returns a “Chart not found” error.

Description:
After the system is rebooted, Netdata returns an error indicating that a chart cannot be found. When an HTTP request is sent to retrieve the data of a chart, Netdata returns a JSONDecoderError due to the chart not being found. The problem persists even after the system is restarted multiple times.

Additional information:
Operating System: Debian GNU/Linux 10 (buster)
Netdata version: v1.31.0-68-g2e88104dd
Hardware specification: x86_64, CPU op-mode(s): 32-bit, 64-bit, RAM: 7.6 GiB

Expected outcome:
I would like to resolve the issue so that Netdata can retrieve chart data after the system reboots.

Output details of journalctl -u netdata

: Started Real time performance monitoring.
: CONFIG: cannot load cloud config '/lib/netdata/cloud.d/cloud.conf'. Running with internal defaults.
: 2023-04-18 14:00:06: netdata INFO  : MAIN : CONFIG: cannot load cloud config '/lib/netdata/cloud.d/cloud.conf'. Running with internal defaults
: TIMEZONE: using the contents of /etc/timezone: 'Asia/Tokyo
                                                        '
: TIMEZONE: fixed as 'Asia/Tokyo'
: 2023-04-18 14:00:06: netdata INFO  : MAIN : TIMEZONE: using the contents of /etc/timezone: 'Asia/Tokyo
: '
: 2023-04-18 14:00:06: netdata INFO  : MAIN : TIMEZONE: fixed as 'Asia/Tokyo'
: SIGNAL: Not enabling reaper
: 2023-04-18 14:00:06: netdata INFO  : MAIN : SIGNAL: Not enabling reaper
:Stopping Real time performance monitoring...
:netdata.service: Succeeded.
:Stopped Real time performance monitoring.

Output details of netdata -W buildinfo

Version: netdata v1.31.0-68-g2e88104dd
Configure options:  '--prefix=/opt/scorer' '--disable-cloud' '--with-user=netdata' '--sysconfdir=/opt/scorer/etc' '--localstatedir=/opt/scorer' '--with-zlib' '--with-math' '--with-jemalloc=/opt/scorer' '--enable-https' '--enable-plugin-nfacct' 'CFLAGS=-I/opt/scorer/include -ftree-vectorize'
Features:
    dbengine:                NO
    Native HTTPS:            YES
    Netdata Cloud:           NO (by user request)
    ACLK Next Generation:    NO
    ACLK Legacy:             NO
    TLS Host Verification:   YES
Libraries:
    jemalloc:                YES
    JSON-C:                  NO
    libcap:                  NO
    libcrypto:               YES
    libm:                    YES
    LWS:                     YES shared-lib
    mosquitto:               YES
    tcalloc:                 NO
    zlib:                    YES
Plugins:
    apps:                    YES
    cgroup Network Tracking: YES
    CUPS:                    NO
    EBPF:                    NO
    IPMI:                    NO
    NFACCT:                  YES
    perf:                    YES
    slabinfo:                YES
    Xen:                     NO
    Xen VBD Error Tracking:  NO
Exporters:
    AWS Kinesis:             NO
    GCP PubSub:              NO
    MongoDB:                 NO
    Prometheus Remote Write: NO

I would appreciate any suggestions or solutions to this issue. Thank you in advance for your help!

2 Likes

Hi there,

We don’t support older versions of Netdata. Please upgrade to at least the latest stable version first (1.38.1) and see if the issue persists.

If the issue persists, we’lll need some more info, like which chart seems to be problematic and where exactly you see that JSONDecoderError, so we can attempt to replicate.

when Netdata is unable to find a chart and returns a “Chart not found” error after reboot, it could be due to various reasons such as deletion, renaming, permission issues or service failure. Troubleshooting steps include checking for service status, permission settings, and log files.