{"action":"created","issue":{"url":"https://api.github.com/repos/lexik/LexikTranslationBundle/issues/25","labels_url":"https://api.github.com/repos/lexik/LexikTranslationBundle/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/lexik/LexikTranslationBundle/issues/25/comments","events_url":"https://api.github.com/repos/lexik/LexikTranslationBundle/issues/25/events","html_url":"https://github.com/lexik/LexikTranslationBundle/issues/25","id":13199259,"number":25,"title":"cache:warmup on linux requires mongodb?","user":{"login":"dinamic","id":11616,"avatar_url":"https://avatars.githubusercontent.com/u/11616?v=3","gravatar_id":"","url":"https://api.github.com/users/dinamic","html_url":"https://github.com/dinamic","followers_url":"https://api.github.com/users/dinamic/followers","following_url":"https://api.github.com/users/dinamic/following{/other_user}","gists_url":"https://api.github.com/users/dinamic/gists{/gist_id}","starred_url":"https://api.github.com/users/dinamic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinamic/subscriptions","organizations_url":"https://api.github.com/users/dinamic/orgs","repos_url":"https://api.github.com/users/dinamic/repos","events_url":"https://api.github.com/users/dinamic/events{/privacy}","received_events_url":"https://api.github.com/users/dinamic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2013-04-15T13:24:40Z","updated_at":"2015-09-09T13:42:31Z","closed_at":null,"body":"I don't have mongodb installed, nor do I need it. Everything is stored within the mysql database.\r\nI have configured PHPCR as I'm trying out the symfony-cmf.\r\n\r\nConsider the following output:\r\n\r\nwindows 7:\r\n```\r\nD:\\vagrant\\vms\\pwn\\projects\\mysite\\tags\\2.0>php app\\console cache:warmup -e=prod --no-debug\r\nWarming up the cache for the prod environment with debug false\r\n```\r\n\r\nvagrant box running ubuntu:\r\n```\r\nvagrant@precise32:/vagrant/projects/mysite/tags/2.0$ php app/console cache:warmup -e=prod --no-debug\r\nPHP Fatal error:  Class 'Doctrine\\ODM\\MongoDB\\DocumentRepository' not found in /vagrant/projects/mysite/tags/2.0/vendor/lexik/translation-bundle/Lexik/Bundle/TranslationBundle/Document/FileRepository.php on line 13\r\n```\r\n\r\nHere's the stack generated by capifony while trying to issue deployment:\r\n```\r\nPHP Fatal error:  Class 'Doctrine\\ODM\\MongoDB\\DocumentRepository' not found in /home/mysite/v2/shared/vendor/lexik/translation-bundle/Lexik/Bundle/TranslationBundle/Document/TransUnitRepository.php on line 16\r\nPHP Stack trace:\r\nPHP   1. {main}() /home/mysite/v2/releases/20130415130816/app/console:0\r\nPHP   2. Symfony\\Component\\Console\\Application->run($input = class Symfony\\Component\\Console\\Input\\ArgvInput { private $tokens = array (0 => 'cache:warmup', 1 => '-e=prod', 2 => '--no-debug'); private $parsed = NULL; protected $definition = class Symfony\\Component\\Console\\Input\\InputDefinition { private $arguments = array (...); private $requiredCount = 0; private $hasAnArrayArgument = FALSE; private $hasOptional = FALSE; private $options = array (...); private $shortcuts = array (...) }; protected $options = array (); protected $arguments = array (); protected $interactive = TRUE }, $output = *uninitialized*) /home/mysite/v2/releases/20130415130816/app/console:22\r\nPHP   3. Symfony\\Bundle\\FrameworkBundle\\Console\\Application->doRun($input = class Symfony\\Component\\Console\\Input\\ArgvInput { private $tokens = array (0 => 'cache:warmup', 1 => '-e=prod', 2 => '--no-debug'); private $parsed = NULL; protected $definition = class Symfony\\Component\\Console\\Input\\InputDefinition { private $arguments = array (...); private $requiredCount = 0; private $hasAnArrayArgument = FALSE; private $hasOptional = FALSE; private $options = array (...); private $shortcuts = array (...) }; protected $options = array (); protected $arguments = array (); protected $interactive = TRUE }, $output = class Symfony\\Component\\Console\\Output\\ConsoleOutput { private $stderr = class Symfony\\Component\\Console\\Output\\StreamOutput { private $stream = resource(46) of type (stream); private ${Symfony\\Component\\Console\\Output\\Output}:verbosity = 1; private ${Symfony\\Component\\Console\\Output\\Output}:formatter = class Symfony\\Component\\Console\\Formatter\\OutputFormatter { ... } }; private ${Symfony\\Component\\Console\\Output\\StreamOutput}:stream = resource(40) of type (stream); private ${Symfony\\Component\\Console\\Output\\Output}:verbosity = 1; private ${Symfony\\Component\\Console\\Output\\Output}:formatter = class Symfony\\Component\\Console\\Formatter\\OutputFormatter { private $decorated = TRUE; private $styles = array (...); private $styleStack = class Symfony\\Component\\Console\\Formatter\\OutputFormatterStyleStack { ... } } }) /home/mysite/v2/shared/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:106\r\nPHP   4. Symfony\\Bundle\\FrameworkBundle\\Console\\Application->registerCommands() /home/mysite/v2/shared/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:68\r\nPHP   5. Symfony\\Component\\HttpKernel\\Kernel->boot() /home/mysite/v2/shared/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:83\r\nPHP   6. Symfony\\Component\\HttpKernel\\Kernel->initializeContainer() /home/mysite/v2/releases/20130415130816/app/bootstrap.php.cache:378\r\nPHP   7. Symfony\\Component\\HttpKernel\\CacheWarmer\\CacheWarmerAggregate->warmUp($cacheDir = '/home/mysite/v2/releases/20130415130816/app/cache/prod') /home/mysite/v2/releases/20130415130816/app/bootstrap.php.cache:601\r\nPHP   8. Symfony\\Bridge\\Doctrine\\CacheWarmer\\ProxyCacheWarmer->warmUp($cacheDir = '/home/mysite/v2/releases/20130415130816/app/cache/prod') /home/mysite/v2/shared/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/CacheWarmer/CacheWarmerAggregate.php:47\r\nPHP   9. Doctrine\\Common\\Persistence\\Mapping\\AbstractClassMetadataFactory->getAllMetadata() /home/mysite/v2/shared/vendor/symfony/symfony/src/Symfony/Bridge/Doctrine/CacheWarmer/ProxyCacheWarmer.php:69\r\nPHP  10. Doctrine\\Common\\Persistence\\Mapping\\Driver\\MappingDriverChain->getAllClassNames() /home/mysite/v2/shared/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php:111\r\nPHP  11. Doctrine\\Common\\Persistence\\Mapping\\Driver\\AnnotationDriver->getAllClassNames() /home/mysite/v2/shared/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/MappingDriverChain.php:132\r\nPHP  12. require_once() /home/mysite/v2/shared/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/AnnotationDriver.php:194\r\n    command finished in 8635ms\r\n```"},"comment":{"url":"https://api.github.com/repos/lexik/LexikTranslationBundle/issues/comments/138912370","html_url":"https://github.com/lexik/LexikTranslationBundle/issues/25#issuecomment-138912370","issue_url":"https://api.github.com/repos/lexik/LexikTranslationBundle/issues/25","id":138912370,"user":{"login":"dinamic","id":11616,"avatar_url":"https://avatars.githubusercontent.com/u/11616?v=3","gravatar_id":"","url":"https://api.github.com/users/dinamic","html_url":"https://github.com/dinamic","followers_url":"https://api.github.com/users/dinamic/followers","following_url":"https://api.github.com/users/dinamic/following{/other_user}","gists_url":"https://api.github.com/users/dinamic/gists{/gist_id}","starred_url":"https://api.github.com/users/dinamic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinamic/subscriptions","organizations_url":"https://api.github.com/users/dinamic/orgs","repos_url":"https://api.github.com/users/dinamic/repos","events_url":"https://api.github.com/users/dinamic/events{/privacy}","received_events_url":"https://api.github.com/users/dinamic/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T13:42:31Z","updated_at":"2015-09-09T13:42:31Z","body":"Has anyone cracked on why it behaviour varies between operating systems?"}}