Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 777882 - >=app-metrics/prometheus-2.25 is built without its webui
Summary: >=app-metrics/prometheus-2.25 is built without its webui
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords: PATCH, PullRequest
: 779736 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-03-23 15:27 UTC by Adrien Dessemond
Modified: 2021-04-28 15:09 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app-metrics/prometheus: use builtinassets tag (0001-app-metrics-prometheus-use-builtinassets-tag.patch,851 bytes, patch)
2021-04-26 14:24 UTC, Roman Beránek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adrien Dessemond 2021-03-23 15:27:31 UTC
$ curl http://localhost:9090/graph
Error opening React index.html: open static/react/index.html: no such file or directory

Reason is given here:
https://github.com/prometheus/prometheus/issues/6421
Comment 1 Ionen Wolkens gentoo-dev 2021-04-02 21:56:45 UTC
*** Bug 779736 has been marked as a duplicate of this bug. ***
Comment 2 Hector Martin 2021-04-03 12:22:31 UTC
Can confirm, same issue here.
Comment 3 Tobias Klausmann (RETIRED) gentoo-dev 2021-04-14 09:45:09 UTC
Until this is fixed, a workaround is to use prometheus-bin instead, if available on your ARCH.
Comment 4 Adrien Dessemond 2021-04-23 12:14:48 UTC
EDIT: Renamed the title, as the issue is still present in the newest 2.26
Comment 5 Adrien Dessemond 2021-04-23 12:24:02 UTC
(In reply to Tobias Klausmann from comment #3)
> Until this is fixed, a workaround is to use prometheus-bin instead, if
> available on your ARCH.

BTW your suggested workaround is still valid with 2.26.
Comment 6 Roman Beránek 2021-04-26 14:24:44 UTC
Created attachment 702618 [details, diff]
app-metrics/prometheus: use builtinassets tag
Comment 7 Larry the Git Cow gentoo-dev 2021-04-28 15:09:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bca1b0056c1028b832b29a80db50fb046b081885

commit bca1b0056c1028b832b29a80db50fb046b081885
Author:     Jonathan Davies <jpds@protonmail.com>
AuthorDate: 2021-04-27 14:35:36 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2021-04-28 15:06:38 +0000

    app-metrics/prometheus: >=2.25: Use builtinassets tag to readd web UI.
    
    Closes: https://bugs.gentoo.org/777882
    
    Signed-off-by: Roman Beranek <roman.beranek@prusa3d.com>
    Signed-off-by: Jonathan Davies <jpds@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/20559
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 .../{prometheus-2.25.0.ebuild => prometheus-2.25.0-r1.ebuild}           | 2 +-
 .../{prometheus-2.25.2.ebuild => prometheus-2.25.2-r1.ebuild}           | 2 +-
 .../{prometheus-2.26.0.ebuild => prometheus-2.26.0-r1.ebuild}           | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)