Minigraphs broken on the ports page

Hello, I’m just starting with librenms and I added a switch. Everything seems to be working fine but if I go on the ports tab, the minigraphs are broken.


if I hover on the broken image the full graph shows fine.

The problem seems to be that the url of the image is /device/2/graph.php?xxxx. If I remove the /device/2 prefix I can load the image just fine.
I’m using nginx configured as per the instructions here (the only difference is that I’m using port 83).

This is the output of validate.php

Component | Version
--------- | -------
LibreNMS  | 1.63-42-gc1c95ffda
DB Schema | 2020_04_19_010532_eventlog_sensor_reference_cleanup (164)
PHP       | 7.3.14-1~deb10u1
Python    | 3.7.3
MySQL     | 10.3.22-MariaDB-0+deb10u1
RRDTool   | 1.7.1
SNMP      | NET-SNMP 5.7.3

[OK]    Composer Version: 1.10.6
[OK]    Dependencies up-to-date.
[OK]    Database connection successful
[OK]    Database schema correct

Set base_url to /

1 Like

Thank you, that solved it