Can't access dashboards unless I'm logged in (anonymous is enabled)

I am running Grafana v12.4.2 installed in docker like this

grafana:
image: grafana/grafana
container_name: grafana
hostname: grafana
restart: unless-stopped
user: “${USER}”
environment:
TZ: ${TZ}
GF_DATABASE_TYPE: mysql
GF_DATABASE_NAME: grafana
GF_DATABASE_HOST: mariadb:3306
GF_AUTH_ANONYMOUS_ENABLED: true
GF_DATABASE_USER: ${GF_DATABASE_USER}
GF_DATABASE_PASSWORD: ${GF_DATABASE_PASSWORD}
ports:
- 3000:3000
depends_on:
mariadb:
condition: service_healthy

I used to be able to access the dashboards anonymously, but now I can’t access them unless I log in to Grafana. This is the error I get when I try to access the dashboards without logging in.

I suspect I messed something up with the authentication, I’m not sure. Any assistance is appreciated.

hello @aristosv which os you are using ??
and docker version ??
and requirement is you are try to access all the grafana dashboard without login ??

Hi,

I am using Debian 13, and Docker 29.3.1.

Yes, I want to access the dashboards without login.

currently i have windows os and simply auth.anonymous → true
image


and restart the grafana service
it work for me
without login all the dashboard i can view , you can give user base access admin, viewer, editor also.

That doesn’t really help me. I also have GF_AUTH_ANONYMOUS_ENABLED: true on docker.