drupal icon indicating copy to clipboard operation
drupal copied to clipboard

Drupal Pod is crashing when we enable Readonly file system as True without error

Open vikramdevops123 opened this issue 2 years ago • 3 comments

Drupal kubernates Pod is crashing when we enable Read only file system as True without error.

As part of pen test, it has been identified to enabled the flag , but no luck pod is crashing without any error.

Drupal Deployment file :

image

docker file:

image

Error:

image

image

Can you pls help us as earliest. we have added correct mount point but still it is crashing.

mount point :

image

vikramdevops123 avatar Feb 18 '24 14:02 vikramdevops123

Drupal writes to the /tmp directory as well, so you may need to mount that as a volume. There may be other directories as well, but it looks like you got most of the ones that come to mind.

Please report back with the final list of directories needed if you figure this out. I'm curious.

mstenta avatar Feb 18 '24 14:02 mstenta

I'd also recommend checking the container logs -- they probably contain clues as to why it's failing to start.

tianon avatar Feb 20 '24 19:02 tianon

no errors in logs :(

vikramdevops123 avatar Feb 21 '24 07:02 vikramdevops123