January 26, 20224 yr I am getting this below. s=2022-01-23T04:34:02.460Z 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 goroutine 1 [running]: github.com/prometheus/prometheus/promql.NewActiveQueryTracker({0x7ffc79a57eac, 0xb}, 0x14, {0x3547580, 0xc00080f540}) /app/promql/query_logger.go:116 +0x3d7 main.main() /app/cmd/prometheus/main.go:567 +0x5c93 Any ideas on how to fix this?
January 26, 20224 yr Probably best to post in the relevant support thread for the container (click on it's icon and select support etc)
January 26, 20224 yr Author 2 minutes ago, Squid said: Probably best to post in the relevant support thread for the container (click on it's icon and select support etc) Did that 4 days ago and not getting a response. But I will post in there again thanks Edited January 26, 20224 yr by Jurak
May 29, 20224 yr I just figured this out I had to change the volume mappings to: /etc/prometheus/ <-> /mnt/user/appdata/prometheus/etc/prometheus /prometheus/data <-> /mnt/user/appdata/prometheus/data
September 23, 20223 yr On 5/29/2022 at 1:52 AM, jimmyw said: I just figured this out I had to change the volume mappings to: /etc/prometheus/ <-> /mnt/user/appdata/prometheus/etc/prometheus /prometheus/data <-> /mnt/user/appdata/prometheus/data This worked for me. Thank you
November 5, 20223 yr Hi, how can I change the volume mapper? I'm using the helm chart "https://prometheus-community.github.io/helm-charts" to install the prometheus and I have the same problem explained above.
July 18, 2025Jul 18 I had this exact error, here are my volume mappings that worked! I had to also do the prometheus volume mapping itself:/etc/promethus -> /mnt/user/appdata/promethus/etc/promethus /prometheus/data -> /mnt/user/appdata/prometehus/data /prometheus -> /mnt/user/appdata/prometheus/
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.