Capifony does not heat the cache

Yesterday I did a 40s or 50s deployment of a Symfony2 system on a server. So far so good. Today I get an unpleasant error. Here's what happens:

 * executing `symfony:cache:warmup'
 * executing "cd /NFS2/oa_sf2/releases/20111214182506 && php app/console cache:warmup --env=prod"
    servers: ["151.1.111.19"]
    [151.1.111.19] executing command
 ** [out :: 151.1.111.19] Warming up the cache
 ** [out :: 151.1.111.19] 
 ** [out :: 151.1.111.19] 
 ** [out :: 151.1.111.19] 
 ** [out :: 151.1.111.19] [RuntimeException]
 ** [out :: 151.1.111.19] Error creating output file.
 ** [out :: 151.1.111.19] 
 ** [out :: 151.1.111.19] 
 ** [out :: 151.1.111.19] 
 ** [out :: 151.1.111.19] cache:warmup
 ** [out :: 151.1.111.19] 
 ** [out :: 151.1.111.19] 
    command finished
*** [deploy:update_code] rolling back
  • Lack of opportunity for further study in the cache folder, because the entire code tree is deleted upon rollback
  • We know that Capistrano has some way to disable the rollback, but still we would like to try to understand without having access to the remote server - this should be something on our side, since yesterday everything was OK
  • There were no changes regarding user rights to read / write / execute.

Please any suggestion on how to conduct an investigation ahead? Many thanks.

ps not a single similar question about Stacktrace addresses this particular issue.

+5
3

, , . Symfony.

cache:warmup .

. , . , ( ls -l , ).

, , . Run cache: warmup:

cap symfony:cache:warmup

Symfony 2.0.7, YUI - , (. ). , , assetic. , java.

+3

? , , .

0

Cache warming is a symfony AFAIU task; it can be verified through XDebug or its profiler.

0
source

All Articles