I want to set
allow_embedding = true
Then I restart my server with
Then i check the settings in grafana, but they did not change. Can Somebody help me ?
I want to set
Sure thing, can you reply to these three questions?
- What OS are you running? (Ubuntu? MacOS? Debian? Fedora? Red Hat? FreeBSD? Windows? [probably not since you mentioned
- How did you install Grafana? (Package? Docker? Did you follow a specific guide?)
- Which configuration file are you editing?
- Raspbian Buster Lite
Ok, that seems to be the correct configuration file and the installation instruction seems correct.
Are you sure you’re editing
allow_embedding under the
By the way, if you want to just restart Grafana, you can do so by writing
sudo systemctl restart grafana-server, you don’t have to restart the server itself
Ah, thanks for the screenshots.
You’ll want to remove the
; at the very start of the line. It tells the configuration to ignore that line. I’ve seen this happen before, we should really make that much clearer.
Thanks that worked. Now I have the problem that if I want to embed a panel. Then the login page appears on the website and not the panel.
I’m not confident in this, because I’ve never tried this, but you might have to set the
cookie-samesite option to
none for iframes to work. See the security.cookie-samesite documentation and this post on SameSite Cookie Recipes for some background.
I logged in one time. Now it runs, even if I refresh the page
But if load the website on a other device, I have to log in again…
Yes. If you connect from another device, how would Grafana know it is the
same “you” until you’ve given it your username & password?
Is it possible that i don’t have to log in and everyone can see the panel?
Yes, you can allow anonymous authentication, see
I’m not able to see the contents of grafana.ini. Using vi etc/grafana/grafana.ini command on Ubuntu. Could you pls help?
Please give more information - instead of just “I’m not able to…” tell us
what happens when you try.
It could be something as simple as missing a leading / on the pathname.
Depending on where you were when you ran that vi command, it will be looking
for ‘etc’ in the local directory, and that may not exist.
Show us what the output of “ls -l /etc/grafana” is.