Public bug reported:

This refers to prometheus-pushgateway 1.4.0+ds-1 and seems to be an
issue specifically with dpkg package and not an upstream issue.

After installation accessing http://localhost:9091 renders a garbled
page. Using web developer it's obvious that some resources don't exist
in `/usr/share/prometheus/pushgateway/static`, see screenshot attached.

Specifically 2 things are wrong:

1) `/usr/share/prometheus/pushgateway/static/bootstrap4` is there, but
it's referred as `bootstrap-4` (note the dash). I've worked around this
by:

```
cd /usr/share/prometheus/pushgateway/static
ln -s ../../../javascript/bootstrap4 bootstrap-4
```

2) `/usr/share/prometheus/pushgateway/static/jquery.min.js` is missing.
Workaround:

```
cd /usr/share/prometheus/pushgateway/static
ln -s jquery/jquery.min.js jquery.min.js
```

With these changes everything works fine. Maybe the better approach
would be to change the references in
`/usr/share/prometheus/pushgateway/template.html` to the existing
locations.

** Affects: prometheus-pushgateway (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1933714

Title:
  webfrontend does not render correctly due to wrong paths

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/prometheus-pushgateway/+bug/1933714/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to