forward3d/cap-ec2

run db:migrations on several nodes

alde opened this issue · 1 comments

alde commented

Hi
I'm running an app in which each node has it's own session DB in an sqlite3 database (the ELB has sticky sessions). This is a legacy from previous setup that I can't really fix right now, but plan to later...

currently, the after :publishing, 'deploy:migrate' only runs on one node
Is it possible to force it to run on all nodes, or should I write some sort of own solution using sshkti?

alde commented

I decided to patch the capistrano-rails
And even if not, this issue would be more related to that code.