Hi, I'm setting up a script to execute migrations for my production server. here what I'd like to do:
ssh prodServer 'symfony project:disable prod' #start deploying symfony project:deploy prod --go #update DB ssh prodServer 'symfony doctrine:generate-migrations-diff --env=prod' ssh prodServer 'symfony doctrine:build --all-classes --and-migrate -- env=prod' #make shure only production controllers are there ssh prodServer 'symfony project:clear-controllers' #fix permissions ssh prodServer 'symfony project:permissions' #lock application (also clears cache) ssh prodServer 'symfony project:enable prod' Now it all works correctly if I DON'T do the disable/enable steps (which I'd really like to have). if I do disable the site, when the generate-migrations-diff and the build tasks run I get the Site Unavailable page and the tasks are not executed... do you have any Idea how i could do this? is it possible to lock a site only for the web access? or any other strategies to automatically deploy a site when I create a Tag on the SVN repository? thanks a lot -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.