Symfony 6 issue with cache clear in prod environnement

64 views Asked by At

I'm currently trying to upgrade my application from Symfony 5.4 to Symfony 6.4 but I've encountered an issue when i set my environment to "prod".

When I set the env to dev, I can clear the cache and my application can work. When I set the env to prod, the cache:clear command is instantly killed, so the cache is never warmed up and my application never accept to run.

By "instantly killed", i mean that in my terminal i see "Killed !" appear on screen. The same error seems to appear even if I pass the flag to not warming the cache.

I can't figure out where this bug comes from or how to find what is killing the script, so I'm asking for the opinion of people better than me on this type of subject.

PS : Sorry for my broken english, I'm non-english native

0

There are 0 answers