Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#64664 - [prometheus] web UI assets are missing
Attached to Project:
Arch Linux
Opened by Peter Marheine (tari) - Wednesday, 27 November 2019, 10:00 GMT
Last edited by Johannes Löthberg (demize) - Sunday, 15 December 2019, 16:00 GMT
Opened by Peter Marheine (tari) - Wednesday, 27 November 2019, 10:00 GMT
Last edited by Johannes Löthberg (demize) - Sunday, 15 December 2019, 16:00 GMT
|
DetailsThe built-in prometheus server's web UI fails to find any of its assets because they're haven't been built. On loading the default view (/graph), it returns an error:
> error reading base template: open web/ui/templates/_base.html: no such file or directory This should show the web UI for making queries instead of an error. Per the upstream documentation on building from source, binaries built with `go get` must be able to read the web assets from the working directory (and I assume this applies to `go build` as well, as done in the current PKGBUILD); `make build` should be used to compile the web assets into the binary for distribution. Additional info: * Package version 2.14.0-1 |
This task depends upon
Closed by Johannes Löthberg (demize)
Sunday, 15 December 2019, 16:00 GMT
Reason for closing: Fixed
Additional comments about closing: 2.14.0-2
Sunday, 15 December 2019, 16:00 GMT
Reason for closing: Fixed
Additional comments about closing: 2.14.0-2
with `make build` it will package all templates inside the prometheus artifact.