Fatal error: Uncaught InvalidArgumentException: The directory "/app/var/cache/prod/annotations" is not writable. in /app/vendor/doctrine/cache/lib/Doctrine/Common/Cache/FileCache.php:86 Stack trace: #0 /app/vendor/doctrine/cache/lib/Doctrine/Common/Cache/FilesystemCache.php(26): Doctrine\Common\Cache\FileCache->__construct('/app/var/cache/...', '.doctrinecache....', 2) #1 /app/var/cache/prod/appProdProjectContainer.php(456): Doctrine\Common\Cache\FilesystemCache->__construct('/app/var/cache/...') #2 /app/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(274): appProdProjectContainer->getAnnotationReaderService() #3 /app/var/cache/prod/appProdProjectContainer.php(938): Symfony\Component\DependencyInjection\Container->get('annotation_read...') #4 /app/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(274): appProdProjectContainer->getDoctrine_Orm_DefaultEntityManagerService() #5 /app/vendor/symfony/symfony/src/Symfony/Bridge/Doctrine/ManagerRegistry.php(32): Symfony\ in /app/vendor/doctrine/cache/lib/Doctrine/Common/Cache/FileCache.php on line 86