charts icon indicating copy to clipboard operation
charts copied to clipboard

[NiFi Registry] Permission error for `auth-conf` on initial startup

Open jrebmann opened this issue 1 year ago • 2 comments

When deploying the NiFi Registry, a permission error may occur on the auth-conf folder.

This is due to a bug in helm chart which omits the setting of permissions on this folder.

Either the permissions on this folder have to be set manually once, or the folder has to be added to the initContainers script.

jrebmann avatar Feb 07 '24 20:02 jrebmann

I have the same issue and un try to create the folder on the initContainers, but. it's not work. Someone could provide a example?

saxcorp avatar Apr 05 '24 08:04 saxcorp

Hi @saxcorp,

it's not about the creation of the folder, but about the permissions.

Just add the folder path to the chmod statement:

          command:
            - chown
            - -R
            - 1000:1000
            - /opt/nifi-registry/nifi-registry-current/database
            - /opt/nifi-registry/nifi-registry-current/flow_storage
            - /opt/nifi-registry/nifi-registry-current/auth-conf

This worked for me. Hopefully it will for you too.

jrebmann avatar Apr 07 '24 10:04 jrebmann