Pointing browser to /prometheus gives: error reading base template: open templates/_base.html: no such file or directory Seems something like https://github.com/NixOS/nixpkgs/issues/74844 i.e. new Prometheus requires extra action to compile it with GUI. This is a degradation comparing to Fedora 32, where everything worked liked a charm. Possibly the bug is triggered in rawhide.
FEDORA-2020-a116217589 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2020-9ea1ff01f8 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-9ea1ff01f8
(In reply to Коренберг Марк from comment #0) > Pointing browser to /prometheus gives: > > error reading base template: open templates/_base.html: no such file or > directory > > Seems something like > > https://github.com/NixOS/nixpkgs/issues/74844 > > i.e. new Prometheus requires extra action to compile it with GUI. > > This is a degradation comparing to Fedora 32, where everything worked liked > a charm. > > Possibly the bug is triggered in rawhide. Ok I can give you the "old" interfae but not the new React one as the build process requires internet access to get the react dependencies. Also please note we are now using a systemd service to launch Prometheus, ie systemctl start prometheus.
FEDORA-2020-9ea1ff01f8 has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-9ea1ff01f8` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-9ea1ff01f8 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Ok, old GUI is sufficient for me. Regarding the new one, is it OK to pull all the sources required to build the interface and put them as an archive in .srpm ? And also add a comment in .spec-file how to regenerate the archive ?
(In reply to Коренберг Марк from comment #5) > Ok, old GUI is sufficient for me. > > Regarding the new one, is it OK to pull all the sources required to build > the interface and put them as an archive in .srpm ? And also add a comment > in .spec-file how to regenerate the archive ? I can try that at a later time.
FEDORA-2020-46adfadb7c has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2020-8e8039d97c has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-8e8039d97c
Later is now. It looks like this: https://imgpile.com/images/uehoVh.png
FEDORA-2020-8e8039d97c has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-8e8039d97c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-8e8039d97c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-8e8039d97c has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.
No, bug is not fixed. It shows: Error opening React index.html: open static/react/index.html: no such file or directory strace: openat(AT_FDCWD, "static/react/index.html", O_RDONLY|O_CLOEXEC) = -1 ENOENT So, path is not absolute. Should be /var/lib/prometheus/web/ui/static/react/index.html Also, it contains SOURCES of web-interface at /var/lib/prometheus/web/ui/react-app (yes, including .eslintrc.json). It's another bug. The PKG should not contain sources on par with compiled things. Possibly many more. To summarize, the Prometheus is wrongly packaged. Please fix.
Also, web interface SHOULD NOT be placed under /var/lib. I propose /usr/share/prometheus
What version do you have? dnf repoquery -l golang-github-prometheus | grep /var/lib/prometheus/web/ui/static/react/index.html /var/lib/prometheus/web/ui/static/react/index.html The file is present. I tested the package too and did not have an issue: http://localhost:9090/graph shows me the app. How did you start Prometheus? With the service file? If not the config file will not be parsed. I will changed the default settings for this if you like. Edit: I will embed the files in the app as I've found how to do it.
FEDORA-2021-c3b9389be1 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-916e6c5d73 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-916e6c5d73
FEDORA-2021-916e6c5d73 has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-916e6c5d73` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-916e6c5d73 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-916e6c5d73 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.