ludeknovy / jtl-reporter

JtlReporter is an online application that allows users to generate beautiful, customizable and easy to understand performance reports from JMeter(Taurus), Locust, and other tools.
https://jtlreporter.site
MIT License
125 stars 32 forks source link

Deploying as Helm chart in Openshift: Permission Denied for mkdir #291

Open timothyjmtan opened 1 month ago

timothyjmtan commented 1 month ago

Describe the bug I am able to launch the jtl-reporter stack locally via Docker Desktop with no issues. I used kompose to convert the docker-compose yml file into Helm charts. The only modification I did after that was to modify the images in each file so that it correct points to the Openshift ImageStreams repository, which I have confirmed to be correct.

When I attempt to do a helm install xxx . --namespace yyy, I noticed that when resources such as fe and be deploy, they run into a permissions denied issue. The other resources such as migration are also having issues, but they also seem to be related to permissions.

be: Error: EACCES: permission denied, mkdir '/src/be/uploads fe: nginx: [emerg] mkdir() "/var/cache/nginx/client_temp" failed (13: Permission denied)

Looks like a user permissions issue. How can I fix this?

To Reproduce Steps to reproduce the behavior:

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here. You can get the logs by running: docker logs <service_name>

Did JtlReporter make you happay in any way? Answering this question is not required, but if you have anything positive to share, please do so here.

ludeknovy commented 1 month ago

Hi @timothyjmtan Sorry for a late reply.

I am not sure I can help much here. Are you sure that there's no problem on your side, the way your docker is configured/run?

This is the very first time every anyone complaining about such a thing.