rromannissen / nifi-openshift

8 stars 16 forks source link

Problem to deploy ApaheNifi on Openshift v 3.11 #8

Open orpheus84 opened 2 years ago

orpheus84 commented 2 years ago

Hi rromannissen,

i executed properly the file readme to deploy nifi into openshift but when i try to deploy the nifi-flow.yaml into the pod's logs i have this error :

container_linux.go:235: starting container process caused "exec: \"../scripts/start.sh\": permission denied"

How can i resolv thsi problem? Could be that the error is due to this row into the dockerfile

USER 1001

or because i have to insert into the dockerfile the chmod command to add permission on that specific folder?

Thanks for your support

Best Regards

gandhi542 commented 2 years ago

Hi rromannissen,

i executed properly the file readme to deploy nifi into openshift but when i try to deploy the nifi-flow.yaml into the pod's logs i have this error :

container_linux.go:235: starting container process caused "exec: "../scripts/start.sh": permission denied"

How can i resolv thsi problem? Could be that the error is due to this row into the dockerfile

USER 1001

or because i have to insert into the dockerfile the chmod command to add permission on that specific folder?

Thanks for your support

Best Regards

@orpheus84 Hi, Adding RUN chmod -R g+rwX ${NIFI_BASE_DIR}/scripts/ in the dockerfile of base folder threw me out of this error, but however ended up with other issues Please let me if you are able to deploy the NiFi flows successfully on openshift