I have not used OpenShft before but for your last part about using MySQL the workflows are always kept in the database there just happens to be a couple of other files that need to be stored on the OS.
As for the error I am not sure why you would be getting that, It looks like the error would be starting from line 9 in the docker-entrypoint.sh file though.
Have you made any changes to the image or are you using it as it comes from Dockerhub? Have you tried using an older version as well to see if that helps or maybe making your own image using the files from here: n8n/docker/images/n8n at master · n8n-io/n8n · GitHub