Hi everyone,
I've been reading your tutorial but booting up Prometheus's docker is already a mess.
I'm getting the following message in the logs before it goes back to "stopped" status :
ts=2022-01-13T17:23:18.190Z caller=main.go:520 level=info build_context="(go=go1.17.5, user=root@54b6dbd48b97, date=20211217-22:08:06)"
ts=2022-01-13T17:23:18.191Z caller=main.go:521 level=info host_details="(Linux 5.14.15-Unraid #1 SMP Thu Oct 28 09:56:33 PDT 2021 x86_64 947eed537a1c (none))"
ts=2022-01-13T17:23:18.191Z caller=main.go:522 level=info fd_limits="(soft=40960, hard=40960)"
ts=2022-01-13T17:23:18.191Z caller=main.go:523 level=info vm_limits="(soft=unlimited, hard=unlimited)"
ts=2022-01-13T17:23:18.205Z caller=query_logger.go:86 level=error component=activeQueryTracker msg="Error opening query log file" file=/prometheus/queries.active err="open /prometheus/queries.active: permission denied"
panic: Unable to create mmap-ed active query log
Sounds like an permission problem.
http://hostip/metrics is accessible whatever but not relevant
Just in case, the docker folder has been set on a zfs dataset, but i doubt that it could lead to the source of the trouble.
I'm not fully instructed to docker so if you may have an idea on how to resolve this little problem?
Thanks.