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

Local Login Fail #78

Closed
flistonfr opened this issue Jul 28, 2022 · 7 comments
Closed

Local Login Fail #78

flistonfr opened this issue Jul 28, 2022 · 7 comments

Comments

@flistonfr
Copy link

flistonfr commented Jul 28, 2022

Hello!

I get 'Playlist not found' or "Dashboard not found" error on webpage.
The main reason is that since I update grafana to version 9.0.X grafana-kiosk local login is broken.

Someone can help me with this?

Thanks!

@flistonfr flistonfr changed the title Playlist not found Local Login Fail Jul 29, 2022
@ian-zunderdorp
Copy link

We're using grafana-kiosk on grafana v9.0.6 and after updating chromium on the raspberry pi, it is working correctly with local login.

@flistonfr
Copy link
Author

We're using grafana-kiosk on grafana v9.0.6 and after updating chromium on the raspberry pi, it is working correctly with local login.

I have Chromium 104.0.5112.79 built on Debian 11.4, running on Debian 11.4 but no success.

What version of Chromium are you running?

@ian-zunderdorp
Copy link

Chromium 92.something

@ian-zunderdorp
Copy link

Just tested it on another raspberry pi I'm configuring, which is running Chromium 101 and that's working as well.

@flistonfr
Copy link
Author

Can you show me some config example?

I tried:

One line...

/usr/bin/grafana-kiosk -URL=http://xxx:3000/playlists/play/pRPQqqenk -login-method=local -username=xx -password=xxx -playlists=true -kiosk-mode=tv
Config file...

/usr/bin/grafana-kiosk -c /path/.config/grafana-kiosk/config.yml

general:
        kiosk-mode: tv
        autofit: true
        lxde: true
        lxde-home: /home/user

target:
    login-method: local
    username: xxx
    password: xxx
    playlists: true
    URL: http://xxx:3000/playlists/play/pRPQqqenk
    ignore-certificate-errors: true

Output...

IMG_4799
IMG_4800

@ian-zunderdorp
Copy link

The configuration file we're using:

general:
  kiosk-mode: full
  autofit: true
target:
  URL: https://<host>/d/ha6GGMAWz/applicatie-overview?or>
  username: <email>
  password: <password>
  login-method: local

That URL is the full URL that we get when we open a specific dashboard in the browser. We used to use a playlist link as well like you linked before, but currently prefer a single dashboard.

@flistonfr
Copy link
Author

I've fix it!

The problem was that I had Anonymous access enabled for other org, so every time it loads grafana-kiosk it doesn't show login page.

Thanks for the help.

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