Category : caching

My website is down since composer update. The issue seems not on the updated packages themselves (I run them in dev environment without problems, too). It seems that ‘only’ the cache cannot clean itself correctly. Loading composer repositories with package information Updating dependencies (including require-dev) Restricting packages listed in "symfony/symfony" to "5.1.*" Prefetching 9 packages ..

Read more

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 ! ..

Read more

My Dockerized Symfony4 app was up since 2 months, suddenly it stoped working this morning, with no hints in log 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 ..

Read more

My Dockerized Symfony4 app was up since 2 months, suddenly it stopped working this morning, with no hints in log 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 ..

Read more

I am using Symfony 5 and I have a weird issue with @Groups annotations. I have my Entity with a @Groups named public:article class Article { /** * @ORMId * @ORMGeneratedValue * @ORMColumn(type="integer") * @Groups({"public:article"}) */ private $id; /** * @ORMColumn(type="text", nullable=true) * @Groups({"public:article"}) */ private $title; … } In my controller, I use the ..

Read more