Camunda 8 docker compose self managed installation - permissions issue

Hello!

I am trying to install on a VM with Ubuntu 22.04 Camunda 8 self managed using docker compose.
I have installed Portainer for an easier way to manage the containers.
I am using the latest version from the GitHub.
Operate and Tasklist containers are starting and immediately stopping due to some permissions lack (the same for both): exec /sbin/tini: permission denied

I have tried several solutions but they still don’t work so i am kind of stuck.

  • i used privileged mode in docker compose (in the yaml file and also from portainer)
  • i created custome docker files for operate and tasklist to adjust permissions
  • i tried to temporary fix manually from inside the containers.

Could you please help?

Regards,

Mihai

To simulate the same setup as you, i installed Ubuntu/Docker/Portainer. I was able to run the docker compose and able to view in the Portainer console.

Please advise are you following the same step or different step.

Hello,

I attached a print screen from my Portainer itf. When i get into the logs for both Operate and Tasklist containers the log is: exec /sbin/tini: permission denied.
For example when installing Operate: image: camunda/operate 8.5.6 i get this:

> [+] Building 1.1s (5/6)                                                                                                                                                                                               docker:default
> => [internal] load build definition from Dockerfile                                                                                                                                                                            0.0s
> => => transferring dockerfile: 431B                                                                                                                                                                                            0.0s
> => [internal] load metadata for docker.io/camunda/operate:8.5.6                                                                                                                                                                0.0s
> => [internal] load .dockerignore                                                                                                                                                                                               0.0s
> => => transferring context: 2B                                                                                                                                                                                                 0.0s
> => CACHED [1/3] FROM docker.io/camunda/operate:8.5.6                                                                                                                                                                           0.0s
> => ERROR [2/3] RUN apk add --no-cache tini                                                                                                                                                                                     1.0s
> ------                                                                                                                                                                                                                               
> > [2/3] RUN apk add --no-cache tini:
> 0.889 exec /bin/sh: permission denied
> ------
> Dockerfile:9
> --------------------
>    7 |     
>    8 |     # Install tini
>    9 | >>> RUN apk add --no-cache tini
>   10 |     
>   11 |     # Fix permissions for tini
> --------------------
> ERROR: failed to solve: process "/bin/sh -c apk add --no-cache tini" did not complete successfully: exit code: 1type or paste code here

Can you share your docker-compose.yaml file?

I see from your print screen that are some containers missing: optimize, identity and keycloak.

Regards

what version of Camunda are you using? I tested with latest version.

It is the latest version:

## Image versions ##
# renovate: datasource=docker depName=camunda/connectors-bundle
CAMUNDA_CONNECTORS_VERSION=8.5.7
# renovate: datasource=docker depName=camunda/zeebe
CAMUNDA_PLATFORM_VERSION=8.5.7
# renovate: datasource=docker depName=camunda/identity
CAMUNDA_IDENTITY_VERSION=8.5.5
# renovate: datasource=docker depName=camunda/operate
CAMUNDA_OPERATE_VERSION=8.5.6
# renovate: datasource=docker depName=camunda/tasklist
CAMUNDA_TASKLIST_VERSION=8.5.7
# renovate: datasource=docker depName=camunda/optimize
CAMUNDA_OPTIMIZE_VERSION=8.5.5
# renovate: datasource=docker depName=elasticsearch
ELASTIC_VERSION=8.15.1
KEYCLOAK_SERVER_VERSION=24.0.5

To verify your scenario, I tested couple of versions with docker-compose.yaml all are having same issue. Only docker-compose-core.yaml is working as expected. I logged in as root user and performed the activities.Created separate topic for possible defect. Let Camunda team can update the thread.

i have the same problem if i am deploying using docker-compose-core.yaml


I have tried again to modify the yaml: run with root, privileged: trusted etc…
i still get from operate and tasklist this error: exec /sbin/tini: permission denied
do you have any suggestions?