Bug 1918443
Summary: | Web UI says, "Access to file is not permitted: /usr/share/netdata/web/index.html" | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Neil MacGregor <neil.macgregor> |
Component: | netdata | Assignee: | Didier Fabert (tartare) <didier.fabert> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | epel7 | CC: | didier.fabert, jurgen |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
URL: | http://<myserver>:19999 | ||
Whiteboard: | |||
Fixed In Version: | netdata-1.29.0-1.fc33 netdata-1.29.0-1.fc32 netdata-1.29.0-1.el7 netdata-1.30.1-2.fc34 netdata-1.30.1-2.fc33 netdata-1.30.1-2.fc32 netdata-1.30.1-2.el7 netdata-1.30.1-2.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-05-05 01:21:41 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Neil MacGregor
2021-01-20 18:01:28 UTC
Hi, You're right I only test new release in fresh install (container) and not update. I modify group in last release to be the same as upstream, aka change group to netdata for dir /usr/share/netdata/web and in settings file /etc/netdata/netdata.conf. So fresh install works because settings file and dir group are equal. In case of update, the settings file is marked as noreplace, so it will not be updated with yum update process and I forgot this point. If you restore your config, "web files group" is set to root and mismatch with current group dir. web files group = netdata As an immediate workaround, I propose you to update netdata to last release and run the following command sed -i -e '/web files group/ s/root/netdata/' /etc/netdata/netdata.conf I try to find a definitive and transparent for user solution for this problem. FEDORA-2021-37384aa413 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-37384aa413 FEDORA-2021-e37820fc64 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-e37820fc64 FEDORA-EPEL-2021-ed9867ed1e has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-ed9867ed1e FEDORA-EPEL-2021-ed9867ed1e has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-ed9867ed1e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-e37820fc64 has been pushed to the Fedora 32 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-e37820fc64 \*` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-e37820fc64 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-37384aa413 has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-37384aa413 \*` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-37384aa413 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-37384aa413 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2021-e37820fc64 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-EPEL-2021-ed9867ed1e has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report. I just did a completely fresh install on an F33 system that never had netdata before and got this error. I had also noticed that during install dnf complained about there not being a netdata group, although after dnf completed the group did exist. I resolved the problem for my case by 'chown -R netdata.netdata /usr/share/netdata/web' AND changing 'run as user = ' from 'root' to 'netdata' in the config file. But clearly something is still not right in the RPM packages. Maybe re-open this bug. Hi Jürgen The problem is different, netdata-data is installed before netdata, and then netdata user is not created yet (created by the netdata package). I fix it asap. Thanks to report this. Didier. FEDORA-2021-e1770f76fb has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-e1770f76fb FEDORA-2021-d6860adf6c has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-d6860adf6c FEDORA-2021-5e8ab27351 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-5e8ab27351 FEDORA-EPEL-2021-162c7feeb7 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-162c7feeb7 FEDORA-EPEL-2021-20689d29d7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-20689d29d7 FEDORA-2021-e1770f76fb has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-e1770f76fb \*` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-e1770f76fb See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-d6860adf6c has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-d6860adf6c \*` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-d6860adf6c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2021-162c7feeb7 has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-162c7feeb7 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2021-20689d29d7 has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-20689d29d7 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-5e8ab27351 has been pushed to the Fedora 32 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-5e8ab27351 \*` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-5e8ab27351 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-e1770f76fb has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2021-d6860adf6c has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2021-5e8ab27351 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-EPEL-2021-20689d29d7 has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-EPEL-2021-162c7feeb7 has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report. |