Package: prometheus Version: 2.24.1+ds-1 Calling the prometheus web GUI, going to "Status", choosing "Rules", the links to "alert:" and "expor:" are pointing to URLs with "/prom/prom" which are causing a "404 page not found".
Example link: https://localhost/prom/prom/classic/graph?g0.expr=ALERTS%7Balertname%3D%22HostOutOfMemory%22%7D&g0.tab=1 The error seems to come from /usr/share/prometheus/web/templates/rules.html as ----- --- rules.html.org 2024-04-08 17:05:41.037650759 +0200 +++ rules.html 2024-04-08 17:06:20.669754901 +0200 @@ -25,5 +25,5 @@ {{range .Rules}} <tr> - <td class="rule_cell">{{.HTMLSnippet (print pathPrefix (print pathPrefix "/classic"))}}</td> + <td class="rule_cell">{{.HTMLSnippet (print pathPrefix "/classic")}}</td> <td class="state"> <span class="alert alert-{{ .Health | ruleHealthToClass }} state_indicator text-uppercase"> ----- fixes the issue. Currently using 5.10.0-29-amd64 #1 SMP Debian 5.10.216-1 (2024-05-03) x86_64 GNU/Linux and libc6 Version: 2.31-13+deb11u10 but issue also extisted in a testinstallazion of Bookworm.