netdata-web 1.42.1 is inaccessible
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netdata (Debian) |
Fix Released
|
Unknown
|
|||
netdata (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Mantic |
Fix Released
|
Undecided
|
Unassigned | ||
Noble |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
* Any attempt to load netdata's dashboard produces a white screen with the text "File does not exist, or is not accessible: ", rendering netdata unusable except for automated alerting.
* There is a patchfile which, due to upstream refactoring, is producing a no-op, always-failing code path:
```
char web_filename[
struct stat statbuf;
if (stat(web_filename, &statbuf) != 0) {
```
* Dropping this patchfile repairs netdata.
[ Test Plan ]
1. Install mantic; this can be done in a container (`docker run --rm ubuntu:mantic`), a VM, or on your usual system if you are currently running mantic.
2. apt install -y netdata
3. systemctl enable --now netdata
4. Go to the netdata dashboard at http://
5. You will see "File does not exist, or is not accessible: "
Once this update lands, loading the dashboard will instead produce netdata's usual interactive charts.
[ Where problems could occur ]
* This could continue to break the netdata dashboard but in a different way.
* Since netdata is a webserver, an error might allow remote file access to other parts of the file system that should not be available, perhaps by e.g. http://
[ Other Info ]
* This has been report in Debian here: https:/
* The same patch was imported to ubuntu/devel in https:/
My original bug report is below:
----------
If I try to access netdata's dashboard it tells me "File does not exist, or is not accessible: ". It is supposed to be telling me a path, according to
but the path it produces is empty. For some reason find_filename_
## Reproduction
I can reproduce this in a fresh Mantic container:
<details>
```
p115628@
FROM ubuntu:23.10
RUN apt-get update \
&& DEBIAN_
&& DEBIAN_
CMD ["/usr/
p115628@
STEP 1/3: FROM ubuntu:23.10
STEP 2/3: RUN apt-get update && DEBIAN_
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Fetched 22.2 MB in 2s (14.7 MB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
adduser ca-certificates dbus dbus-bin dbus-daemon dbus-session-
dbus-
libargon2-1 libcryptsetup12 libdbus-1-3 libdevmapper1.02.1 libexpat1
libfdisk1 libgirepository
libgssapi-krb5-2 libicu72 libip4tc2 libjson-c5 libk5crypto3 libkeyutils1
libkmod2 libkrb5-3 libkrb5support0 libnsl2 libpython3-stdlib
libpython3.
libsystemd-shared libtirpc-common libtirpc3 libxml2 media-types
networkd-
python3.11 python3.11-minimal readline-common shared-mime-info systemd-dev
systemd-resolved systemd-timesyncd tzdata tzdata-icu xdg-user-dirs
Suggested packages:
liblocale-
default-
krb5-user iw | wireless-tools python3-doc python3-tk python3-venv
python-dbus-doc python3.11-venv python3.11-doc binutils binfmt-support
readline-doc systemd-container systemd-homed systemd-userdbd systemd-boot
libfido2-1 libqrencode4 libtss2-
| policykit-1
The following NEW packages will be installed:
adduser ca-certificates dbus dbus-bin dbus-daemon dbus-session-
dbus-
libargon2-1 libcryptsetup12 libdbus-1-3 libdevmapper1.02.1 libexpat1
libfdisk1 libgirepository
libgssapi-krb5-2 libicu72 libip4tc2 libjson-c5 libk5crypto3 libkeyutils1
libkmod2 libkrb5-3 libkrb5support0 libnsl2 libpython3-stdlib
libpython3.
libsystemd-shared libtirpc-common libtirpc3 libxml2 media-types
networkd-
python3.11 python3.11-minimal readline-common shared-mime-info sudo systemd
systemd-dev systemd-resolved systemd-timesyncd tzdata tzdata-icu
xdg-user-dirs
0 upgraded, 59 newly installed, 0 to remove and 0 not upgraded.
Need to get 32.9 MB of archives.
After this operation, 112 MB of additional disk space will be used.
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Get:39 http://
Get:40 http://
Get:41 http://
Get:42 http://
Get:43 http://
Get:44 http://
Get:45 http://
Get:46 http://
Get:47 http://
Get:48 http://
Get:49 http://
Get:50 http://
Get:51 http://
Get:52 http://
Get:53 http://
Get:54 http://
Get:55 http://
Get:56 http://
Get:57 http://
Get:58 http://
Get:59 http://
debconf: delaying package configuration, since apt-utils is not installed
Fetched 32.9 MB in 2s (14.0 MB/s)
Selecting previously unselected package libssl3:amd64.
(Reading database ... 4327 files and directories currently installed.)
Preparing to unpack .../libssl3_
Unpacking libssl3:amd64 (3.0.10-1ubuntu2.1) ...
Selecting previously unselected package libpython3.
Preparing to unpack .../libpython3.
Unpacking libpython3.
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../libexpat1_
Unpacking libexpat1:amd64 (2.5.0-2) ...
Selecting previously unselected package python3.11-minimal.
Preparing to unpack .../python3.
Unpacking python3.11-minimal (3.11.6-3) ...
Setting up libssl3:amd64 (3.0.10-1ubuntu2.1) ...
Setting up libpython3.
Setting up libexpat1:amd64 (2.5.0-2) ...
Setting up python3.11-minimal (3.11.6-3) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 4653 files and directories currently installed.)
Preparing to unpack .../00-
Unpacking python3-minimal (3.11.4-5) ...
Selecting previously unselected package media-types.
Preparing to unpack .../01-
Unpacking media-types (10.1.0) ...
Selecting previously unselected package tzdata.
Preparing to unpack .../02-
Unpacking tzdata (2023c-9ubuntu1) ...
Selecting previously unselected package libkrb5support0
Preparing to unpack .../03-
Unpacking libkrb5support0
Selecting previously unselected package libk5crypto3:amd64.
Preparing to unpack .../04-
Unpacking libk5crypto3:amd64 (1.20.1-3ubuntu1) ...
Selecting previously unselected package libkeyutils1:amd64.
Preparing to unpack .../05-
Unpacking libkeyutils1:amd64 (1.6.3-2) ...
Selecting previously unselected package libkrb5-3:amd64.
Preparing to unpack .../06-
Unpacking libkrb5-3:amd64 (1.20.1-3ubuntu1) ...
Selecting previously unselected package libgssapi-
Preparing to unpack .../07-
Unpacking libgssapi-
Selecting previously unselected package libtirpc-common.
Preparing to unpack .../08-
Unpacking libtirpc-common (1.3.3+ds-1) ...
Selecting previously unselected package libtirpc3:amd64.
Preparing to unpack .../09-
Unpacking libtirpc3:amd64 (1.3.3+ds-1) ...
Selecting previously unselected package libnsl2:amd64.
Preparing to unpack .../10-
Unpacking libnsl2:amd64 (1.3.0-2build2) ...
Selecting previously unselected package readline-common.
Preparing to unpack .../11-
Unpacking readline-common (8.2-1.3) ...
Selecting previously unselected package libreadline8:amd64.
Preparing to unpack .../12-
Unpacking libreadline8:amd64 (8.2-1.3) ...
Selecting previously unselected package libsqlite3-0:amd64.
Preparing to unpack .../13-
Unpacking libsqlite3-0:amd64 (3.42.0-1) ...
Selecting previously unselected package libpython3.
Preparing to unpack .../14-
Unpacking libpython3.
Selecting previously unselected package python3.11.
Preparing to unpack .../15-
Unpacking python3.11 (3.11.6-3) ...
Selecting previously unselected package libpython3-
Preparing to unpack .../16-
Unpacking libpython3-
Setting up python3-minimal (3.11.4-5) ...
Selecting previously unselected package python3.
(Reading database ... 5678 files and directories currently installed.)
Preparing to unpack .../00-
Unpacking python3 (3.11.4-5) ...
Selecting previously unselected package libargon2-1:amd64.
Preparing to unpack .../01-
Unpacking libargon2-1:amd64 (0~20190702+dfsg-3) ...
Selecting previously unselected package libdevmapper1.
Preparing to unpack .../02-
Unpacking libdevmapper1.
Selecting previously unselected package libjson-c5:amd64.
Preparing to unpack .../03-
Unpacking libjson-c5:amd64 (0.17-1) ...
Selecting previously unselected package libcryptsetup12
Preparing to unpack .../04-
Unpacking libcryptsetup12
Selecting previously unselected package libfdisk1:amd64.
Preparing to unpack .../05-
Unpacking libfdisk1:amd64 (2.39.1-4ubuntu2) ...
Selecting previously unselected package libkmod2:amd64.
Preparing to unpack .../06-
Unpacking libkmod2:amd64 (30+20230519-
Selecting previously unselected package libapparmor1:amd64.
Preparing to unpack .../07-
Unpacking libapparmor1:amd64 (4.0.0~
Selecting previously unselected package libip4tc2:amd64.
Preparing to unpack .../08-
Unpacking libip4tc2:amd64 (1.8.9-2ubuntu2) ...
Selecting previously unselected package libsystemd-
Preparing to unpack .../09-
Unpacking libsystemd-
Selecting previously unselected package systemd-dev.
Preparing to unpack .../10-
Unpacking systemd-dev (253.5-1ubuntu6) ...
Selecting previously unselected package systemd.
Preparing to unpack .../11-
Unpacking systemd (253.5-1ubuntu6) ...
Selecting previously unselected package adduser.
Preparing to unpack .../12-
Unpacking adduser (3.137ubuntu1) ...
Setting up adduser (3.137ubuntu1) ...
Selecting previously unselected package openssl.
(Reading database ... 6622 files and directories currently installed.)
Preparing to unpack .../00-
Unpacking openssl (3.0.10-1ubuntu2.1) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../01-
Unpacking ca-certificates (20230311ubuntu1) ...
Selecting previously unselected package libdbus-1-3:amd64.
Preparing to unpack .../02-
Unpacking libdbus-1-3:amd64 (1.14.10-1ubuntu1) ...
Selecting previously unselected package dbus-bin.
Preparing to unpack .../03-
Unpacking dbus-bin (1.14.10-1ubuntu1) ...
Selecting previously unselected package dbus-session-
Preparing to unpack .../04-
Unpacking dbus-session-
Selecting previously unselected package dbus-daemon.
Preparing to unpack .../05-
Unpacking dbus-daemon (1.14.10-1ubuntu1) ...
Selecting previously unselected package dbus-system-
Preparing to unpack .../06-
Unpacking dbus-system-
Selecting previously unselected package dbus.
Preparing to unpack .../07-
Unpacking dbus (1.14.10-1ubuntu1) ...
Selecting previously unselected package dmsetup.
Preparing to unpack .../08-
Unpacking dmsetup (2:1.02.
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../09-
Unpacking libglib2.0-0:amd64 (2.78.0-2) ...
Selecting previously unselected package libgirepository
Preparing to unpack .../10-
Unpacking libgirepository
Selecting previously unselected package gir1.2-
Preparing to unpack .../11-
Unpacking gir1.2-
Selecting previously unselected package krb5-locales.
Preparing to unpack .../12-
Unpacking krb5-locales (1.20.1-3ubuntu1) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../13-
Unpacking libglib2.0-data (2.78.0-2) ...
Selecting previously unselected package libicu72:amd64.
Preparing to unpack .../14-
Unpacking libicu72:amd64 (72.1-3ubuntu3) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../15-
Unpacking libxml2:amd64 (2.9.14+dfsg-1.3) ...
Selecting previously unselected package python3-dbus.
Preparing to unpack .../16-
Unpacking python3-dbus (1.3.2-5) ...
Selecting previously unselected package python3-gi.
Preparing to unpack .../17-
Unpacking python3-gi (3.46.0-1) ...
Selecting previously unselected package networkd-
Preparing to unpack .../18-
Unpacking networkd-dispatcher (2.2.4-1) ...
Selecting previously unselected package shared-mime-info.
Preparing to unpack .../19-
Unpacking shared-mime-info (2.2-1) ...
Selecting previously unselected package sudo.
Preparing to unpack .../20-
Unpacking sudo (1.9.14p2-1ubuntu1) ...
Selecting previously unselected package systemd-resolved.
Preparing to unpack .../21-
Unpacking systemd-resolved (253.5-1ubuntu6) ...
Selecting previously unselected package systemd-timesyncd.
Preparing to unpack .../22-
Unpacking systemd-timesyncd (253.5-1ubuntu6) ...
Selecting previously unselected package tzdata-icu.
Preparing to unpack .../23-
Unpacking tzdata-icu (2023c-9ubuntu1) ...
Selecting previously unselected package xdg-user-dirs.
Preparing to unpack .../24-
Unpacking xdg-user-dirs (0.18-1) ...
Setting up libip4tc2:amd64 (1.8.9-2ubuntu2) ...
Setting up media-types (10.1.0) ...
Setting up libkeyutils1:amd64 (1.6.3-2) ...
Setting up libapparmor1:amd64 (4.0.0~
Setting up libicu72:amd64 (72.1-3ubuntu3) ...
Setting up xdg-user-dirs (0.18-1) ...
Setting up libglib2.0-0:amd64 (2.78.0-2) ...
No schema files found: doing nothing.
Setting up libtirpc-common (1.3.3+ds-1) ...
Setting up libargon2-1:amd64 (0~20190702+dfsg-3) ...
Setting up libsqlite3-0:amd64 (3.42.0-1) ...
Setting up systemd-dev (253.5-1ubuntu6) ...
Setting up krb5-locales (1.20.1-3ubuntu1) ...
Setting up libkrb5support0
Setting up tzdata (2023c-9ubuntu1) ...
Current default time zone: 'Etc/UTC'
Local time is now: Fri Nov 3 07:26:16 UTC 2023.
Universal Time is now: Fri Nov 3 07:26:16 UTC 2023.
Run 'dpkg-reconfigure tzdata' if you wish to change it.
Setting up libglib2.0-data (2.78.0-2) ...
Setting up libdbus-1-3:amd64 (1.14.10-1ubuntu1) ...
Setting up sudo (1.9.14p2-1ubuntu1) ...
Setting up libk5crypto3:amd64 (1.20.1-3ubuntu1) ...
Setting up libfdisk1:amd64 (2.39.1-4ubuntu2) ...
Setting up libdevmapper1.
Setting up dmsetup (2:1.02.
Setting up dbus-session-
Setting up libgirepository
Setting up libkrb5-3:amd64 (1.20.1-3ubuntu1) ...
Setting up dbus-system-
Setting up openssl (3.0.10-1ubuntu2.1) ...
Setting up libjson-c5:amd64 (0.17-1) ...
Setting up readline-common (8.2-1.3) ...
Setting up libxml2:amd64 (2.9.14+dfsg-1.3) ...
Setting up dbus-bin (1.14.10-1ubuntu1) ...
Setting up libkmod2:amd64 (30+20230519-
Setting up tzdata-icu (2023c-9ubuntu1) ...
Setting up libreadline8:amd64 (8.2-1.3) ...
Setting up dbus-daemon (1.14.10-1ubuntu1) ...
Setting up ca-certificates (20230311ubuntu1) ...
Updating certificates in /etc/ssl/certs...
137 added, 0 removed; done.
Setting up dbus (1.14.10-1ubuntu1) ...
Setting up shared-mime-info (2.2-1) ...
Setting up libgssapi-
Setting up libsystemd-
Setting up gir1.2-
Setting up libcryptsetup12
Setting up libtirpc3:amd64 (1.3.3+ds-1) ...
Setting up systemd (253.5-1ubuntu6) ...
Created symlink /<email address hidden> → /lib/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Initializing machine ID from D-Bus machine ID.
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
Creating group 'systemd-journal' with GID 999.
Creating group 'systemd-network' with GID 998.
Creating user 'systemd-network' (systemd Network Management) with UID 998 and GID 998.
Setting up systemd-timesyncd (253.5-1ubuntu6) ...
Creating group 'systemd-timesync' with GID 997.
Creating user 'systemd-timesync' (systemd Time Synchronization) with UID 997 and GID 997.
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Setting up libnsl2:amd64 (1.3.0-2build2) ...
Setting up systemd-resolved (253.5-1ubuntu6) ...
Converting /etc/resolv.conf to a symlink to /run/systemd/
mv: cannot move '/etc/resolv.conf' to '/etc/.
Cannot take a backup of /etc/resolv.conf.
ln: failed to create symbolic link '/etc/resolv.conf': Device or resource busy
Cannot install symlink from /etc/resolv.conf to ../run/
Creating group 'systemd-resolve' with GID 996.
Creating user 'systemd-resolve' (systemd Resolver) with UID 996 and GID 996.
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Setting up libpython3.
Setting up libpython3-
Setting up python3.11 (3.11.6-3) ...
Setting up python3 (3.11.4-5) ...
Setting up python3-gi (3.46.0-1) ...
Setting up python3-dbus (1.3.2-5) ...
Setting up networkd-dispatcher (2.2.4-1) ...
Created symlink /etc/systemd/
Processing triggers for libc-bin (2.38-1ubuntu6) ...
Processing triggers for ca-certificates (20230311ubuntu1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-
done.
--> 0d411b8abfa
STEP 3/3: CMD ["/usr/
COMMIT ubuntu-dev:23.10
--> 0139403ba22
Successfully tagged localhost/
0139403ba221c7b
p115628@
09e8a0c11551fed
p115628@
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
09e8a0c11551 localhost/
p115628@
root@09e8a0c115
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
fonts-
libnghttp2-14 libpam-cap libpsl5 librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libssh-4 libuv1 libyaml-0-2 netdata-core netdata-
netdata-
Suggested packages:
libsasl2-
lm-sensors nc fping python3-psycopg2 python3-pymysql python3-requests python3-brotli python3-
The following NEW packages will be installed:
curl fonts-font-awesome fonts-glyphicon
libnghttp2-14 libpam-cap libpsl5 librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libssh-4 libuv1 libyaml-0-2 netdata netdata-core
netdata-
0 upgraded, 30 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.6 MB of archives.
After this operation, 57.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Fetched 14.6 MB in 0s (39.7 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libcap2-bin.
(Reading database ... 7516 files and directories currently installed.)
Preparing to unpack .../00-
Unpacking libcap2-bin (1:2.66-4ubuntu1) ...
Selecting previously unselected package libmnl0:amd64.
Preparing to unpack .../01-
Unpacking libmnl0:amd64 (1.0.4-3ubuntu1) ...
Selecting previously unselected package libpam-cap:amd64.
Preparing to unpack .../02-
Unpacking libpam-cap:amd64 (1:2.66-4ubuntu1) ...
Selecting previously unselected package libyaml-0-2:amd64.
Preparing to unpack .../03-
Unpacking libyaml-0-2:amd64 (0.2.5-1) ...
Selecting previously unselected package python3-yaml.
Preparing to unpack .../04-
Unpacking python3-yaml (6.0.1-1) ...
Selecting previously unselected package libnghttp2-
Preparing to unpack .../05-
Unpacking libnghttp2-14:amd64 (1.55.1-1) ...
Selecting previously unselected package libpsl5:amd64.
Preparing to unpack .../06-
Unpacking libpsl5:amd64 (0.21.2-1) ...
Selecting previously unselected package libuv1:amd64.
Preparing to unpack .../07-
Unpacking libuv1:amd64 (1.44.2-1) ...
Selecting previously unselected package publicsuffix.
Preparing to unpack .../08-
Unpacking publicsuffix (20230209.2326-1) ...
Selecting previously unselected package libbrotli1:amd64.
Preparing to unpack .../09-
Unpacking libbrotli1:amd64 (1.0.9-2build8) ...
Selecting previously unselected package libsasl2-
Preparing to unpack .../10-
Unpacking libsasl2-
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../11-
Unpacking libsasl2-2:amd64 (2.1.28+dfsg1-3) ...
Selecting previously unselected package libldap2:amd64.
Preparing to unpack .../12-
Unpacking libldap2:amd64 (2.6.6+
Selecting previously unselected package librtmp1:amd64.
Preparing to unpack .../13-
Unpacking librtmp1:amd64 (2.4+20151223.
Selecting previously unselected package libssh-4:amd64.
Preparing to unpack .../14-
Unpacking libssh-4:amd64 (0.10.5-3ubuntu1) ...
Selecting previously unselected package libcurl4:amd64.
Preparing to unpack .../15-
Unpacking libcurl4:amd64 (8.2.1-1ubuntu3.1) ...
Selecting previously unselected package curl.
Preparing to unpack .../16-
Unpacking curl (8.2.1-1ubuntu3.1) ...
Selecting previously unselected package fonts-font-awesome.
Preparing to unpack .../17-
Unpacking fonts-font-awesome (5.0.10+
Selecting previously unselected package fonts-glyphicon
Preparing to unpack .../18-
Unpacking fonts-glyphicon
Selecting previously unselected package libjs-bootstrap.
Preparing to unpack .../19-
Unpacking libjs-bootstrap (3.4.1+dfsg-3) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../20-
Unpacking libldap-common (2.6.6+
Selecting previously unselected package libsasl2-
Preparing to unpack .../21-
Unpacking libsasl2-
Selecting previously unselected package libnetfilter-
Preparing to unpack .../22-
Unpacking libnetfilter-
Selecting previously unselected package netdata-core.
Preparing to unpack .../23-
Unpacking netdata-core (1.42.1-1) ...
Selecting previously unselected package netdata-
Preparing to unpack .../24-
Unpacking netdata-
Selecting previously unselected package netdata-web.
Preparing to unpack .../25-
Unpacking netdata-web (1.42.1-1) ...
Selecting previously unselected package netdata.
Preparing to unpack .../26-
Unpacking netdata (1.42.1-1) ...
Selecting previously unselected package python3-six.
Preparing to unpack .../27-
Unpacking python3-six (1.16.0-4) ...
Selecting previously unselected package python3-urllib3.
Preparing to unpack .../28-
Unpacking python3-urllib3 (1.26.16-1) ...
Selecting previously unselected package netdata-
Preparing to unpack .../29-
Unpacking netdata-
Setting up libpsl5:amd64 (0.21.2-1) ...
Setting up libyaml-0-2:amd64 (0.2.5-1) ...
Setting up fonts-glyphicon
Setting up libbrotli1:amd64 (1.0.9-2build8) ...
Setting up libsasl2-
Setting up libnghttp2-14:amd64 (1.55.1-1) ...
Setting up python3-yaml (6.0.1-1) ...
Setting up libldap-common (2.6.6+
Setting up libsasl2-
Setting up libcap2-bin (1:2.66-4ubuntu1) ...
Setting up python3-six (1.16.0-4) ...
Setting up libuv1:amd64 (1.44.2-1) ...
Setting up librtmp1:amd64 (2.4+20151223.
Setting up libmnl0:amd64 (1.0.4-3ubuntu1) ...
Setting up libsasl2-2:amd64 (2.1.28+dfsg1-3) ...
Setting up libssh-4:amd64 (0.10.5-3ubuntu1) ...
Setting up libnetfilter-
Setting up python3-urllib3 (1.26.16-1) ...
Setting up libpam-cap:amd64 (1:2.66-4ubuntu1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/
debconf: falling back to frontend: Teletype
Setting up publicsuffix (20230209.2326-1) ...
Setting up fonts-font-awesome (5.0.10+
Setting up libldap2:amd64 (2.6.6+
Setting up libjs-bootstrap (3.4.1+dfsg-3) ...
Setting up netdata-core (1.42.1-1) ...
Created symlink /etc/systemd/
/usr/sbin/
Setting up netdata-
Setting up netdata-
Setting up netdata-web (1.42.1-1) ...
Setting up libcurl4:amd64 (8.2.1-1ubuntu3.1) ...
Setting up curl (8.2.1-1ubuntu3.1) ...
Setting up netdata (1.42.1-1) ...
Processing triggers for libc-bin (2.38-1ubuntu6) ...
root@09e8a0c115
○ netdata.service - netdata - Real-time performance monitoring
Loaded: loaded (/lib/systemd/
Active: inactive (dead)
Docs: man:netdata
https:/
root@09e8a0c115
root@09e8a0c115
● netdata.service - netdata - Real-time performance monitoring
Loaded: loaded (/lib/systemd/
Active: active (running) since Fri 2023-11-03 07:30:31 UTC; 2s ago
Docs: man:netdata
https:/
Main PID: 442 (netdata)
Tasks: 59 (limit: 307)
Memory: 20.4M
CPU: 415ms
CGroup: /system.
├─442 /usr/sbin/netdata -D
├─444 /usr/sbin/netdata --special-
├─668 /usr/bin/python3 /usr/lib/
└─671 /usr/lib/
Nov 03 07:30:31 09e8a0c11551 systemd[1]: Started netdata.service - netdata - Real-time performance monitoring.
Nov 03 07:30:31 09e8a0c11551 netdata[442]: CONFIG: cannot load cloud config '/var/lib/
Nov 03 07:30:31 09e8a0c11551 netdata[442]: 2023-11-03 07:30:31: netdata INFO : MAIN : CONFIG: cannot load cloud config '/var/lib/
Nov 03 07:30:31 09e8a0c11551 netdata[442]: 2023-11-03 07:30:31: netdata INFO : MAIN : Found 0 legacy dbengines, setting multidb diskspace to 256MB
Nov 03 07:30:31 09e8a0c11551 netdata[442]: 2023-11-03 07:30:31: netdata INFO : MAIN : Created file '/var/lib/
Nov 03 07:30:31 09e8a0c11551 netdata[442]: Found 0 legacy dbengines, setting multidb diskspace to 256MB
Nov 03 07:30:31 09e8a0c11551 netdata[442]: Created file '/var/lib/
Nov 03 07:30:33 09e8a0c11551 perf.plugin[672]: no charts enabled - nothing to do.
Nov 03 07:30:33 09e8a0c11551 debugfs.
Nov 03 07:30:33 09e8a0c11551 debugfs.
```
</details>
Here is the bug:
```
root@09e8a0c115
File does not exist, or is not accessible: root@09e8a0c115
root@09e8a0c115
asset-manifest.json dashboard_info.js images netdata-
console.html dashboard_
css demo.html index.html precache-
dash-example.html demo2.html infographic.html refresh-badges.js tv-react.html
dashboard-react.js demosites.html lib registry-
dashboard.css demosites2.html main.css registry-
dashboard.html favicon.ico main.js registry-hello.html v1
dashboard.js fonts manifest.json robots.txt v2
dashboard.slate.css goto-host-
root@09e8a0c115
root@09e8a0c115
root@09e8a0c115
/usr/share/
root@09e8a0c115
File does not exist, or is not accessible: root@09e8a0c115
root@09e8a0c115
root@09e8a0c115
File does not exist, or is not accessible: root@09e8a0c115
root@09e8a0c115
root@09e8a0c115
File does not exist, or is not accessible: root@09e8a0c115
```
Unfortunately, this makes netdata unusable.
## Versions
```
root@09e8a0c115
PRETTY_NAME="Ubuntu 23.10"
NAME="Ubuntu"
VERSION_ID="23.10"
VERSION="23.10 (Mantic Minotaur)"
VERSION_
ID=ubuntu
ID_LIKE=debian
HOME_URL="https:/
SUPPORT_URL="https:/
BUG_REPORT_URL="https:/
PRIVACY_
UBUNTU_
LOGO=ubuntu-logo
root@09e8a0c115
E: Invalid operation policy
root@09e8a0c115
netdata:
Installed: 1.42.1-1
Candidate: 1.42.1-1
Version table:
*** 1.42.1-1 500
500 http://
100 /var/lib/
netdata-web:
Installed: 1.42.1-1
Candidate: 1.42.1-1
Version table:
*** 1.42.1-1 500
500 http://
100 /var/lib/
```
Related branches
- Lukas Märdian (community): Approve
- Bryce Harrington (community): Needs Fixing
- git-ubuntu import: Pending requested
-
Diff: 45 lines (+6/-16)3 files modifieddebian/changelog (+6/-0)
debian/patches/series (+0/-1)
dev/null (+0/-15)
description: | updated |
Changed in netdata (Ubuntu Noble): | |
status: | New → Fix Released |
Changed in netdata (Ubuntu Mantic): | |
status: | New → In Progress |
Changed in netdata (Debian): | |
status: | Unknown → Fix Released |
I am allowed to look at the special path /netdata.conf, and it tells me that netdata-web is supposed to be loaded from /usr/share/ netdata/ web like I expect:
``` 51:/# curl http:// localhost: 19999/netdata. conf netdata. conf http:// localhost: 19999/netdata. conf netdata. conf http:// localhost: 19999/netdata. conf
root@09e8a0c115
# netdata configuration
#
# You can download the latest version of this file, using:
#
# wget -O /etc/netdata/
# or
# curl -o /etc/netdata/
#
# You can uncomment and change any of the options below.
# The value shown in the commented settings, is the default value.
#
# global netdata configuration
[global]
run as user = netdata
# option 'web files owner' is not used.
web files owner = root
# option 'web files group' is not used.
web files group = root
# glibc malloc arena max for plugins = 1
# glibc malloc arena max for netdata = 1
# cpu cores = 4
# libuv worker threads = 24
# hostname = 09e8a0c11551
# host access prefix =
# enable metric correlations = yes
# metric correlations method = ks2
# timezone = Etc/UTC
# OOM score = 0
# process scheduling policy = batch
# process nice level = 19
# pthread stack size = 8388608
[db]
# update every = 1
# mode = dbengine
# dbengine page cache size MB = 32
# dbengine extent cache size MB = 0
# dbengine enable journal integrity check = no
# dbengine disk space MB = 256
# dbengine multihost disk space MB = 256
# memory deduplication (ksm) = yes
# cleanup obsolete charts after secs = 3600
# gap when lost iterations above = 1
# enable replication = yes
# seconds to replicate = 86400
# seconds per replication step = 600
# cleanup orphan hosts after secs = 3600
# dbengine use direct io = yes
# dbengine pages per extent = 64
# storage tiers = 3
# dbengine parallel initialization = yes
# dbengine tier 1 multihost disk space MB = 128
# dbengine tier 1 update every iterations = 60
# dbengine tier 1 backfill = new
# dbengine tier 2 multihost disk space MB = 64
# dbengine tier 2 update every iterations = 60
# dbengine tier 2 backfill = new
# delete obsolete charts files = yes
# delete orphan hosts files = yes
# enable zero metrics = no
# replication threads = 1
[directories] netdata/ conf.d netdata/ web netdata/ lock netdata/ plugins. d" "/etc/netdata/ custom- plugins. d" netdata/ registry netdata/ conf.d/ health. d health. d
# config = /etc/netdata
# stock config = /usr/lib/
# log = /var/log/netdata
# web = /usr/share/
# cache = /var/cache/netdata
# lib = /var/lib/netdata
# home = /var/lib/netdata
# lock = /var/lib/
# plugins = "/usr/lib/
# registry = /var/lib/
# stock health config = /usr/lib/
# health config = /etc/netdata/
[logs] netdata/ debug.log
# debug flags = 0x0000000000000000
# debug = /var/log/
# error = /var/log...