Symfony app suddenly dow beacause of /var/cache/prod/pools/ folder permession

My Dockerized Symfony4 app was up since 2 months, suddenly it stoped working this morning.

I’ve tried to rebuild the container and got this message :

chmod: cannot access 'var/cache/prod/pools/vxeRd2PSFn/5fbf647725b467.33862000': No such file or directory

So I’ve entered the container and ran this :

[email protected]:/app# chmod -R 777 var/cache/

Then the app worked fine !

I d’ont get it : what was the problem ? a permission issue of the var/cache folder ? how is this possible ? how can I prevent this ?

Source: Symfony4 Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *