Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-logout of Grafana #12

Open
Gerynant24 opened this issue Aug 3, 2020 · 2 comments
Open

Auto-logout of Grafana #12

Gerynant24 opened this issue Aug 3, 2020 · 2 comments

Comments

@Gerynant24
Copy link

Hi there,
I really love this display, it gives you all you need to see and is very decorative.

But I have a problem with Auto-logout. After around 12 hours, the chromium returns to the Login page. Since this is a wall display with a Raspberry Pi3b & Grafana 6.5, it's a real problem for me and as a newbie I don't know how to solve it. I've seen references to a Grafana.ini file but there doesn't seem to be one on the Pi.
I've tried some cumbersome ways to resolve it, like programming Chromium to restart and daily reboots, but I end up crashing the Pi if I do that too often.

Is there a way to stop the auto log-out? Or a work-a-round to keep the graph showing?

Hope you can help me please.

@mihailescu2m
Copy link
Owner

You can try and connect from the raspberry pi to the grafana container:
docker exec -it grafana bash
then try to edit the grafana config file, adding something like:

login_maximum_inactive_lifetime_days = 365
token_rotation_interval_minutes = 525600

@Gerynant24
Copy link
Author

I tried the command you suggested about, but I really am a bit of a novice with this, the command returned:
groups: cannot find name for group ID 1000
I have no name!@grafana:/usr/share/grafana$

I don't know where to find the grafana config file either, any additional help with be most useful please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants