在单独数据库中更新数据的问题

My guess is that you’re trying to launch some image that you didn’t build with launcher? You might be able to do something like

   rake db:migrate

after the new image has launched. (There’s a more-complicated more-correct way to postpone some migrations until the new image has launched and the old one has shut down. See SKIP_POST_DEPLOYMENT_MIGRATIONS and the db:ensure_post_migrations rake task).

Oh, and you’ll need to have all of your assets on S3 as described in Configure an S3 compatible object storage provider for uploads.

1 个赞