Jurak Posted January 26, 2022 Share Posted January 26, 2022 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? Quote Link to comment
Squid Posted January 26, 2022 Share Posted January 26, 2022 Probably best to post in the relevant support thread for the container (click on it's icon and select support etc) Quote Link to comment
Jurak Posted January 26, 2022 Author Share Posted January 26, 2022 (edited) 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, 2022 by Jurak Quote Link to comment
jimmyw Posted May 29, 2022 Share Posted May 29, 2022 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 1 Quote Link to comment
ricofall Posted September 23, 2022 Share Posted September 23, 2022 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 Quote Link to comment
arashjs1993 Posted November 5, 2022 Share Posted November 5, 2022 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. Quote Link to comment
Recommended Posts
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.