i have installed latest version
this is docker install on ubuntu
I am the admin and have all the permissions
did you follow this documentation to install using docker?
i follow the tutorial from another site but there are also the same steps that are described here
Hi @saqiboctave,
As @yosiasz had already posted some troubleshooting steps.
Can you please also do the following;
On your browser, just before you click login press F12 and goto Console tab.
Then click login and see what error message you get.
Also, if you are running it on docker, can you please provide your docker-compose config file so that we can also see it?
Offcourse remove any secrets if there are…
version: ‘3’
services:
grafana:
image: grafana/grafana:9.0.4
ports:
- 80:3000
restart: unless-stopped
volumes:
- grafana-data:/var/lib/grafana
- ./defaults.ini:/usr/share/grafana/conf/defaults.ini
volumes:
grafana-data:
defaults.ini:
this is my config file
Thanks,
So I cannot see (or fully understand) the console output of the browser dev-tool.
Please add the following line in your docker-compose.yml file just after you define the image i.e.
image: grafana/grafana:9.0.4
container_name: grafana
Then save it.
After that, bring down the current container using the command;
docker-compose down
Once it is up run this command;
docker-compose up -d --force-recreate
Wait for the container to get up.
Try to reproduce the issue by login in. and once failed or were able to reproduce it, write this command;
docker logs grafana
Paste the log output here so that we can see further.
you might want to hide that ip.address as well
Same problem and it was this line in my grafana.ini
cookie_samesite = none
i put the semicolon to comment it and it worked fine!
How to access grafana cli and configure username and passoword
1)Find grafana service namespace
minikube service list
2)Then find grafana pod name
kubectl get pods -n monitoring
- Then access cli
kubectl exec -it “grafana pod-name” -n “namespace” – /bin/sh
- your now inside cli , so change username and password
grafana-cli “name” reset-admin-password “new password”