Dragging/zooming graphs broken

Hello.

Something seems to have broken in regards to dragging and zooming various graphs.
When you first click on a graph everything looks fine but as soon as you try to drag it left/right it “corrupts” and if you try to zoom it just blanks out.

Quick example:

LibreNMS Graph errors

Output of ./validate.php:

Component Version
LibreNMS 26.7.0-dev.100+a35313b86 (2026-07-07T05:42:45+02:00)
DB Schema 2026_06_17_230632_migrate_status_reason_format_in_rules_and_templates (393)
PHP 8.3.11
Python 3.12.3
Database MariaDB 10.11.14-MariaDB-0ubuntu0.24.04.1
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] rrdtool version ok
[OK] Connected to rrdcached

im facing this same problem after update
graph zoom or drag option not working after drag at graph is showing empty

Hmm, can you show the graph urls it is trying? (web dev console network)

I definitely tested that before, maybe some other fixes broke it…

Sure.

/graph?type=device_processor&device=645&from=1793855765&to=10425065&height=683&width=2515
For example errors with HTTP 500

Example when trying to scroll the graph left and right:

Edit:
This only seems to happen when scrolling a graph that is set to “last x hours/weeks” etc as timespan if you understand what I mean.

If the timespan is set to YYYY-MM-DD HH:MM to YYYY-MM-DD(+1) HH:MM for example it seems to work fine.

Thanks for the extra info. Looks like a to=0 was sneaking in the url :slight_smile:

Yep, that fixed it.

Thank you. :slight_smile: