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

container prometheus can not start #1

Open
ducna96 opened this issue Jun 2, 2020 · 5 comments
Open

container prometheus can not start #1

ducna96 opened this issue Jun 2, 2020 · 5 comments

Comments

@ducna96
Copy link

ducna96 commented Jun 2, 2020

logs container
level=error ts=2020-06-02T14:21:48.219Z caller=main.go:747 err="error loading config from "/etc/prometheus/prometheus.yml": couldn't load configuration (--config.file="/etc/prometheus/prometheus.yml"): open /etc/prometheus/prometheus.yml: permission denied"

please help me, thanks.

@burtsdenis
Copy link

Hi @ducna96!

Did you solve the problem?
I'm facing the same issue.

@MhamedBendenia
Copy link

Hi, I have caddy keeping restarting.

addy /sbin/tini -- caddy -agree ... Restarting

@guillermocol
Copy link

Hello community, did you sorted this issue open /etc/prometheus/prometheus.yml: permission? I am facing the same thing.

I tried chown 1000:1000 prometheus.yml but didnt' work out, any suggestions? :)

Thank you

@MhamedBendenia
Copy link

I had caddy restarting, after checking the logs, I found that the caddy configuration was written for v1, right after updating it, everything worked.

@saukrs
Copy link

saukrs commented Nov 7, 2022

I think this is the original repo: https://github.com/stefanprodan/dockprom
So it might be worth searching / reporting it there.

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

5 participants