No Graphs are showing

None of the standard graphs are showing anymore. For any device. It has been like this for a week or so. I am on the daily updates. No errors in ./validate.php. Screenshot below. It also appears that the font recently increased too at the same time

===========================================

Component Version
LibreNMS 26.8.0-dev.66+51344f722 (2026-08-04T07:28:08-07:00)
DB Schema 2026_07_29_000000_make_mpls_vpn_vrf_description_nullable_in_vrfs_table (395)
PHP 8.4.24
Python 3.13.5
Database MariaDB 11.8.6-MariaDB-0+deb13u1 from Debian
RRDTool 1.7.2
SNMP 5.9.4.pre2
===========================================

[OK] Composer Version: 2.10.2
[OK] Dependencies up-to-date.
[OK] Database Connected
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok

Hi Jarrod,

Having the same issue, by any chance do you see something like this on your librenms,log file

[2026-08-06T10:57:50][CRITICAL] Exception: Error Failed opening required ‘/opt/librenms/includes/html/graphs//auth.inc.php’ (include_path=‘.:/usr/share/php’) @ /opt/librenms/LibreNMS/Util/Graph.php:186

or if you click on the log do you get a

Just to see if we’re running on the same condition

TIA

C4ip

Yes I do same message and error. Same error message when clicking on any graph.

Thanks for the error message, it looks like graph type is missing.
Can you give me the url for the graph image? (you can exclude base domain)

As for font size changes, we need specific reports of where there are issues because we recently fixed an issue with font sizing, but some places had adjusted to the bug. It is hard to find all those places. Discord or github issues is a good place to report those.

Here are a few of the links. All graphs have the same issue

/graphs?type=device_temperature&from=-1d&device=14

/graphs?type=sensor_temperature&from=-1d&id=487

/graphs?type=device_processor&from=-6h&legend=no&device=27

/graphs/device=302/type=device_availability/duration=86400/from=1786028400/
/graphs/to=1786114800/type=device_processor/from=1786028400/legend=no/device=302/

All of the graphics are not showing at all .

Weird stuff, I wonder why. Not many reports of this, so it must be a low chance to be affected.

Any chance you could walk back git revisions to see which one caused it?

I found an issue when the device doesn’t exist it was supposed to show a graphic with a not found message instead of a broken image link. Maybe that was your issue?

This update didn’t fix or affect anything on the graphs on my site.

I am happy to do so, but I must apologize my git work is very rusty.

How do I go about walking back the revisions?

I’m on daily and is more or less 1,5 week since this happened. I’ve spinned a new machine since I thought it was an issue with the debian update. The auth error on the logs it’s a flucke to disregard ??

it is definitely interesting, but since I can’t reproduce the issue, it doesn’t end up being that helpful for me to be able to fix it unless you can figure out how I could make the same error happen on my system.

I’m running into the same problem. Reproduction steps:

  1. install fresh librenms (26.7.0 or current master, doesn’t matter, but it needs to be a fresh install as far as I can tell?)
  2. add device
  3. all graphs either trigger 403s, or cause an “Error Failed opening required ‘/opt/librenms/includes/html/graphs//auth.inc.php’ (include_path=‘.:/usr/share/php’) @ /opt/librenms/LibreNMS/Util/Graph.php:186” exception

I wish I could. If I knew what happened, I would probably be able to. I was gone for a long weekend, came back and it was broken. No one has access except me, and it was just running the daily build.

I revisited the error logs and saw this message a lot:
*10 FastCGI sent in stderr: "PHP message: PHP Error(2): Undefined array key “type” in /opt/librenms/LibreNMS/Data/Graphing/GraphParameters.php:287;

Additionally saw error the same Failed opening required message:
[CRITICAL] Exception: Error Failed opening required ‘/opt/librenms/includes/html/graphs//auth.inc.php’ (include_path=‘.:/usr/share/php’) @ /opt/librenms/LibreNMS/Util/Graph.php:188

When I follow those steps everything works, so you must be missing something in your description.

Undefined array key “type” in /opt/librenms/LibreNMS/Data/Graphing/GraphParameters.php:287; based on that error message, your graph type doesn’t match the regex ^(?P<type>[A-Za-z0-9]+)_(?P<subtype>.+) but your urls you listed earlier do.

Can you try to debug it a bit for me since I still can’t reproduce the issue?
Try adding dd($type); on the line before the regex (on line 286) and visit one of the offending graph images.

Update: that may not debug the right one instead replace the preg_match line with this:

$result = preg_match('/^(?P<type>[A-Za-z0-9]+)_(?P<subtype>.+)/', $type, $graphtype);
if (! $result) {
    dd($type, $graphtype);
}

I actually tried both ways and the error still happens. Interestingly the error_log isn’t updating I expect due to the change.

the url : /graph?to=1786474200&type=device_processor&from=1786387800&legend=no&device=302&height=300&width=1506

No more errors on the librenms.logs .. but this error pointing to line 288