Skip to content
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

Operate shows AccessDeniedException on startup #349

Closed
McAlm opened this issue Oct 16, 2023 · 4 comments
Closed

Operate shows AccessDeniedException on startup #349

McAlm opened this issue Oct 16, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@McAlm
Copy link
Contributor

McAlm commented Oct 16, 2023

With the latest release 8.3.0 Operate shows an AccessDeniedException on startup.

`2023-10-16 17:54:23 2023-10-16 15:54:23.279 WARN 7 --- [ main] i.c.o.z.PartitionHolder : Error occurred when requesting partition ids from Zeebe client: null
....

2023-10-16 17:54:23 Caused by: io.grpc.StatusRuntimeException: CANCELLED
...

2023-10-16 17:54:23 Caused by: java.nio.file.AccessDeniedException: /usr/local/operate/.camunda
...

2023-10-16 17:54:23 2023-10-16 15:54:23.289 INFO 7 --- [ main] i.c.o.z.PartitionHolder : Partition ids can't be fetched from Zeebe. Try next round (1).

`

@megglos
Copy link
Contributor

megglos commented Oct 16, 2023

It seems to me the cause of this originates from the ownership/permission setup of /usr/local/operate folder in the original docker image. The folder is owned by root, but Operate is run with a non-root user, blocking it from creating the dir. Can you confirm @jessesimpson36 ? I think you already identified that during our pairing on the helm chart last Friday?

Then we would need to fix that in the Dockerfile of Operate.

@nloding
Copy link

nloding commented Oct 19, 2023

Here is a related forum thread about this same error: https://forum.camunda.io/t/camunda-8-self-managed-multitenancy/48116/17?u=nathan.loding

@jessesimpson36
Copy link
Contributor

Just reproduced the error and yeah I think the operate Dockerfile needs to be updated. Theres a temporary fix I can do in the compose file, I think. I'll try to take a look at it tomorrow.

@aabouzaid
Copy link
Member

Fixed in #368, so I'm closing this issue.

@aabouzaid aabouzaid added the bug Something isn't working label Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants