Hello,
I am experiencing a recurring and frustrating issue with my Grafana installation and would appreciate advice or confirmation from other users who have faced something similar.
At apparently random intervals (sometimes after hours, sometimes after days), Grafana forces a logout across all open browser windows and tabs, even though there has been no system reboot or manual logout. When this happens, all dashboards disappear and I am redirected to the login page. After logging in again, I need to manually reopen each dashboard across three monitors, which takes considerable time and disrupts our workflow.
I have already tried modifying the session-related parameters in /etc/grafana/grafana.ini under [auth] and then restarting the Grafana service. My current configuration includes the following lines:
[auth]
login_maximum_inactive_lifetime_duration = 365d
login_maximum_lifetime_duration = 365d
token_rotation_interval_minutes = 525600
Despite these settings, the forced logouts continue to occur periodically.
My goal is to achieve a stable, uninterrupted display setup where Grafana dashboards remain permanently visible on office monitors, without being disrupted by session expirations or forced logouts.
If anyone has managed to reliably disable or extend session lifetimes under local authentication, I would greatly appreciate your suggestions or examples of working configurations.
Setup details:
-
Grafana version: 10.2.6 (installed via RPM package
grafana-10.2.6-15.el9_6.x86_64
) -
Operating system: AlmaLinux 9.6 (
5.14.0-570.52.1.el9_6.x86_64
) -
Authentication: Local user/password (no LDAP, no OAuth)
-
Installation type: System package (systemd service)
-
Usage: Multiple dashboards permanently displayed across three monitors
Thank you in advance for any insights or recommendations.