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

Grafana port incorrect? #92

Closed
theweekendgeek opened this issue Aug 9, 2018 · 2 comments
Closed

Grafana port incorrect? #92

theweekendgeek opened this issue Aug 9, 2018 · 2 comments

Comments

@theweekendgeek
Copy link

theweekendgeek commented Aug 9, 2018

Edit: So upon further inspection I saw that the port is correct, bc. of the way caddy works. So that is not the issue, I still can not figure out how to get rid of the 502 error, or that causes it.

I am using this with the docker toolbox on windows 7.

In the readme it says to "Navigate to http://:3000" and login into grafana.

I`'ve cloned the repo and as it stands the container caddy is mapped to the host port 3000. Accessing that gives me a 502 error.

(Additionally, I've managed to set grafana another port via Kitematic and successfully log into grafana that way but that seems to also conflict with caddy and I can't find any prometheus datasource preconfigured.
I'm not sure however this might be somehow related to this issue in some way. I can, however, access prometheus and access stats and metrics for my containers)

@pazpi
Copy link

pazpi commented Oct 23, 2018

I have your same problem, when connecting to http://localhost:3000 I receive a 502 Bad Gateway error.
Inspecting the log I found that Grafana hasn't the right permission to write to the database, adding
user: "104" in docker-compose.yml after the port section solved this issue.

I found the solution here, but I don't know if it is a temporal fix.
http://docs.grafana.org/installation/docker/#migration-from-a-previous-version-of-the-docker-container-to-5-1-or-later

@nightah
Copy link
Collaborator

nightah commented Nov 8, 2018

@theweekendgeek are you still experiencing issues with this?

@nightah nightah closed this as completed Dec 3, 2018
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

3 participants