Hey @ all,--I searched the internet for 2 hours for a solution for this error but I don't find anything that helped.On my Mac (local machine) it runs perfect, but not on the Ubuntu 16.04 server.Any suggestions about this?This is my docker-compose.ymlprometheus:build: ./prometheusvolumes:- $PWD/data/prometheus/:/prometheus/command:- '--config.file=/etc/prometheus/prometheus.yml'- '--storage.tsdb.path=/prometheus/'ports:- 9090:9090This my dockerfile:this is my error:FROM prom/prometheus:latestCOPY ./alert.rules /etc/prometheus/alert.rulesCOPY ./prometheus.yml /etc/prometheus/prometheus.ymlprometheus_1 | level=info ts=2018-02-28T10:11:06.835293385Z caller=main.go:225 msg="Starting Prometheus" version="(version=2.1.0, branch=HEAD, revision=85f23d82a045d103ea7f3c89a91fba4a93e6367a)"prometheus_1 | level=info ts=2018-02-28T10:11:06.835373127Z caller=main.go:226 build_context="(go=go1.9.2, user=root@6e784304d3ff, date=20180119-12:01:23)"prometheus_1 | level=info ts=2018-02-28T10:11:06.835399554Z caller=main.go:227 host_details="(Linux 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64 0467824bdb7c (none))"prometheus_1 | level=info ts=2018-02-28T10:11:06.83542146Z caller=main.go:228 fd_limits="(soft=1048576, hard=1048576)"prometheus_1 | level=info ts=2018-02-28T10:11:06.869426597Z caller=main.go:499 msg="Starting TSDB ..."prometheus_1 | level=info ts=2018-02-28T10:11:06.872220317Z caller=main.go:386 msg="Stopping scrape discovery manager..."prometheus_1 | level=info ts=2018-02-28T10:11:06.872510544Z caller=main.go:400 msg="Stopping notify discovery manager..."prometheus_1 | level=info ts=2018-02-28T10:11:06.87289764Z caller=main.go:424 msg="Stopping scrape manager..."prometheus_1 | level=info ts=2018-02-28T10:11:06.873057251Z caller=manager.go:460 component="rule manager" msg="Stopping rule manager..."prometheus_1 | level=info ts=2018-02-28T10:11:06.873182185Z caller=manager.go:466 component="rule manager" msg="Rule manager stopped"prometheus_1 | level=info ts=2018-02-28T10:11:06.87332232Z caller=notifier.go:493 component=notifier msg="Stopping notification manager..."prometheus_1 | level=info ts=2018-02-28T10:11:06.876110262Z caller=web.go:383 component=web msg="Start listening for connections" address=0.0.0.0:9090prometheus_1 | level=info ts=2018-02-28T10:11:06.877812794Z caller=main.go:382 msg="Scrape discovery manager stopped"prometheus_1 | level=info ts=2018-02-28T10:11:06.878978146Z caller=main.go:396 msg="Notify discovery manager stopped"prometheus_1 | level=info ts=2018-02-28T10:11:06.879220291Z caller=manager.go:59 component="scrape manager" msg="Starting scrape manager..."prometheus_1 | level=info ts=2018-02-28T10:11:06.880479439Z caller=main.go:418 msg="Scrape manager stopped"prometheus_1 | level=info ts=2018-02-28T10:11:06.88065055Z caller=main.go:570 msg="Notifier manager stopped"prometheus_1 | level=error ts=2018-02-28T10:11:06.880962262Z caller=main.go:579 err="Opening storage failed open DB in /prometheus/data: open /prometheus/data/588274413: permission denied"prometheus_1 | level=info ts=2018-02-28T10:11:06.881120429Z caller=main.go:581 msg="See you next time!"
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/3610e630-13e0-4739-bf01-8d35c85655df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
sudo chown nobody prometheus/
ll
drwxr-xr-x 3 nobody root 4096 Feb 28 10:11 prometheus/
prometheus_1 | level=info ts=2018-02-28T10:33:00.068123426Z caller=main.go:225 msg="Starting Prometheus" version="(version=2.1.0, branch=HEAD, revision=85f23d82a045d103ea7f3c89a91fba4a93e6367a)"prometheus_1 | level=info ts=2018-02-28T10:33:00.068199921Z caller=main.go:226 build_context="(go=go1.9.2, user=root@6e784304d3ff, date=20180119-12:01:23)"prometheus_1 | level=info ts=2018-02-28T10:33:00.068226378Z caller=main.go:227 host_details="(Linux 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64 bfb6254544df (none))"prometheus_1 | level=info ts=2018-02-28T10:33:00.06824816Z caller=main.go:228 fd_limits="(soft=1048576, hard=1048576)"prometheus_1 | level=info ts=2018-02-28T10:33:00.102706371Z caller=main.go:499 msg="Starting TSDB ..."prometheus_1 | level=info ts=2018-02-28T10:33:00.102935503Z caller=main.go:386 msg="Stopping scrape discovery manager..."prometheus_1 | level=info ts=2018-02-28T10:33:00.102957771Z caller=main.go:400 msg="Stopping notify discovery manager..."prometheus_1 | level=info ts=2018-02-28T10:33:00.102968816Z caller=main.go:424 msg="Stopping scrape manager..."prometheus_1 | level=info ts=2018-02-28T10:33:00.102984778Z caller=manager.go:460 component="rule manager" msg="Stopping rule manager..."prometheus_1 | level=info ts=2018-02-28T10:33:00.102998809Z caller=manager.go:466 component="rule manager" msg="Rule manager stopped"prometheus_1 | level=info ts=2018-02-28T10:33:00.103009939Z caller=notifier.go:493 component=notifier msg="Stopping notification manager..."prometheus_1 | level=info ts=2018-02-28T10:33:00.103036676Z caller=web.go:383 component=web msg="Start listening for connections" address=0.0.0.0:9090prometheus_1 | level=info ts=2018-02-28T10:33:00.121545161Z caller=main.go:382 msg="Scrape discovery manager stopped"prometheus_1 | level=info ts=2018-02-28T10:33:00.12162406Z caller=main.go:396 msg="Notify discovery manager stopped"prometheus_1 | level=info ts=2018-02-28T10:33:00.121653742Z caller=manager.go:59 component="scrape manager" msg="Starting scrape manager..."prometheus_1 | level=info ts=2018-02-28T10:33:00.121673517Z caller=main.go:418 msg="Scrape manager stopped"prometheus_1 | level=info ts=2018-02-28T10:33:00.121692202Z caller=main.go:570 msg="Notifier manager stopped"prometheus_1 | level=error ts=2018-02-28T10:33:00.122974182Z caller=main.go:579 err="Opening storage failed open DB in /prometheus/data: open /prometheus/data/832462290: permission denied"prometheus_1 | level=info ts=2018-02-28T10:33:00.123021612Z caller=main.go:581 msg="See you next time!"mal_prometheus_1 exited with codeTo unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.