Comment 2 for bug 2042644

Revision history for this message
Nick (kousu) wrote :

```
root@09e8a0c11551:/# mkdir /tmp/netdata-web
root@09e8a0c11551:/# chown netdata:netdata /tmp/netdata-web
root@09e8a0c11551:/# echo "hello" > /tmp/netdata-web/index.html
root@09e8a0c11551:/# chown -R netdata:netdata /tmp/netdata-web
root@09e8a0c11551:/# sudo -u netdata cat /tmp/netdata-web/index.html
hello
root@09e8a0c11551:/# systemctl restart netdata
```

```
root@09e8a0c11551:/# curl http://localhost:19999/netdata.conf 2>/dev/null | grep -C 2 netdata-web

[directories]
        web = /tmp/netdata-web
        # config = /etc/netdata
        # stock config = /usr/lib/netdata/conf.d
```

But still:

```
root@09e8a0c11551:/# curl http://localhost:19999/index.html
File does not exist, or is not accessible: root@09e8a0c11551:/#
```