-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
app/generateAllureReport.sh: line 56: /app/allure-docker-api/static/projects/default/results/executor.json: Permission denied #108
Comments
@godomainz Also, don't use the port 4040 anymore, it was deprecated |
HI spec: when you use PVC you will get default kube permissions as " root " Thansk |
I cant seem to fix this issue when i run this in k8s. |
I have same problem too when try to deploy allure on k8s
|
You can set the deployment to run as root (which is not very good), but this will solve this problem
|
I have fixed the perimission issue by changing locally create
For some reason if this is not set even passing current user id and group does not allow to create subdirectories or/and throws permission error when running as advised: |
Latest docker image gives below errors
allure_1 | /app/generateAllureReport.sh: line 56: /app/allure-docker-api/static/projects/default/results/executor.json: Permission denied
cp: cannot create directory '/app/allure-docker-api/static/projects/default/results/history': Permission denied
Its NOT reloading when new results generating.I have to restart the service to see new results.
I'm using Ubuntu 18.04
below is my docker-compose.yml
version: '3'
services:
allure:
image: "frankescobar/allure-docker-service"
environment:
CHECK_RESULTS_EVERY_SECONDS: 1
KEEP_HISTORY: "TRUE"
ports:
- "4040:4040"
- "5050:5050"
volumes:
- ./allure-results:/app/allure-results
The text was updated successfully, but these errors were encountered: