I'm trying to understand what lead to this problem, but I really don't know
where to look for...
I'm using symfony-standard on master, and capifony to deploy.
The problems shows up only when I'm using capifony, not on local machine,
with the assetic:dump command.
This is the really strange command that I got on capifony:
--> Updating code base with rsync_with_remote_cache strategy
--> Creating cache directory...........................✔
--> Creating symlinks for shared directories...........✔
--> Creating symlinks for shared files.................✔
--> Normalizing asset timestamps.......................✔
--> Downloading Composer...............................✔
--> Updating Composer dependencies.....................✔
--> Downloading Composer...............................✔
--> Dumping an optimized autoloader....................✔
--> Building bootstrap file............................✔
--> Installing bundle's assets.........................✔
--> Warming up cache...................................✔
--> Dumping all assets to the filesystem...............✘
*** [err :: preinternet]
*** [err :: preinternet]
*** [err :: preinternet]
*** [err :: preinternet] [ReflectionException]
*** [err :: preinternet] Class Vivacom\CargoBundle\Entity\string does not
exist
*** [err :: preinternet]
*** [err :: preinternet]
*** [err :: preinternet]
*** [deploy:update_code] rolling back
failed: "sh -c 'sh -c '\\''cd /var/www/cargo/releases/20121009154303 && php
app/console assetic:dump --env=prod --no-debug'\\'''" on preinternet
the same command that fails with capifony called locally works:
php app/console assetic:dump --env=prod --no-debug
Dumping all prod assets.
Debug mode is off.
17:46:20 [file+] /media/Dati/internet/cargo/app/../web/css/compiled/all.css
17:46:21 [file+]
/media/Dati/internet/cargo/app/../web/js/compiled/modernizr.js
17:46:21 [file+]
/media/Dati/internet/cargo/app/../web/images/compiled/tags/e-store.png
17:46:22 [file+]
/media/Dati/internet/cargo/app/../web/images/compiled/logo.png
17:46:22 [file+] /media/Dati/internet/cargo/app/../web/js/compiled/base.js
17:46:27 [file+]
/media/Dati/internet/cargo/app/../web/js/compiled/sottomenu.js
17:46:27 [file+]
/media/Dati/internet/cargo/app/../web/js/compiled/form_iscrizione.js
17:46:28 [file+]
/media/Dati/internet/cargo/app/../web/images/compiled/tags/collezioni.png
17:46:28 [file+] /media/Dati/internet/cargo/app/../web/js/compiled/tree.js
17:46:29 [file+]
/media/Dati/internet/cargo/app/../web/js/compiled/sonata_backend.js
17:46:33 [file+]
/media/Dati/internet/cargo/app/../web/css/compiled/cargo.css
17:46:34 [file+]
/media/Dati/internet/cargo/app/../web/js/compiled/sottomenu.js
17:46:35 [file+]
/media/Dati/internet/cargo/app/../web/js/compiled/combinazioni.js
17:46:36 [file+]
/media/Dati/internet/cargo/app/../web/css/compiled/ui-theme-lightness.css
17:46:36 [file+] /media/Dati/internet/cargo/app/../web/js/compiled/filtri.js
17:46:37 [file+]
/media/Dati/internet/cargo/app/../web/images/compiled/tags/collezioni.png
17:46:37 [file+]
/media/Dati/internet/cargo/app/../web/js/compiled/homepage.js
17:46:38 [file+]
/media/Dati/internet/cargo/app/../web/images/compiled/tags/le-voci.png
17:46:38 [file+]
/media/Dati/internet/cargo/app/../web/js/compiled/slideshow.js
tried with cap -d deploy and by viewing log files on the remote server. No
clues.
I really don't know where that "Class Vivacom\CargoBundle\Entity\string
does not exist" comes from.
The capifony recipe worked perfectly since 6 days ago, since than I didn't
make any deploy.
Today the problem shows up...
Any idea about what this could be? Or what can I do to debug this?