执行迁移脚本时 Engine Yard 部署失败

发布于 2024-12-07 07:37:34 字数 1514 浏览 0 评论 0原文

我正在尝试使用 engineyard gem 在基于 Rails 2 的应用程序上部署 ruby​​,并收到以下错误:

ey deploy --migrate=rake db:migrate
Beginning deploy for 'test' in 'test' on server...
~> Deploying revision 11111 Test commit.
~> Pushing code to all servers
~> Starting full deploy
~> Copying to /data/test/releases/20110928152454
~> Ensuring proper ownership
~> Preparing shared resources for release
~> Set group write permissions
~> Remove revision-tracked shared directories from deployment
~> Create tmp directory
~> Symlink shared log directory
~> Create public directory if needed
~> Create config directory if needed
~> Create system directory if needed
~> Symlink shared pids directory
~> Symlink other shared config files
~> Symlink mongrel_cluster.yml
~> Symlink database.yml
~> Symlink newrelic.yml if needed
~> Setting ownership to deploy:deploy
~> Migrating: cd /data/test/releases/20110928152454 && PATH=/data/test/releases/20110928152454/ey_bundler_binstubs:$PATH RAILS_ENV=production RACK_ENV=production NODE_ENV=production MERB_ENV=production rake
Run "rake db:migrate" to update your database then try again.
~> [Attention] Maintenance page still up, consider the following before removing:
* any deploy hooks ran, be careful if they were destructive
* any migrations ran, be careful if they were destructive
* your old code is still symlinked as current
Failed deployment recorded in AppCloud
Deploy failed

以前有人遇到过同样的问题吗?

I am trying to deploy ruby on rails 2 based application using engine yard gem and get following error:

ey deploy --migrate=rake db:migrate
Beginning deploy for 'test' in 'test' on server...
~> Deploying revision 11111 Test commit.
~> Pushing code to all servers
~> Starting full deploy
~> Copying to /data/test/releases/20110928152454
~> Ensuring proper ownership
~> Preparing shared resources for release
~> Set group write permissions
~> Remove revision-tracked shared directories from deployment
~> Create tmp directory
~> Symlink shared log directory
~> Create public directory if needed
~> Create config directory if needed
~> Create system directory if needed
~> Symlink shared pids directory
~> Symlink other shared config files
~> Symlink mongrel_cluster.yml
~> Symlink database.yml
~> Symlink newrelic.yml if needed
~> Setting ownership to deploy:deploy
~> Migrating: cd /data/test/releases/20110928152454 && PATH=/data/test/releases/20110928152454/ey_bundler_binstubs:$PATH RAILS_ENV=production RACK_ENV=production NODE_ENV=production MERB_ENV=production rake
Run "rake db:migrate" to update your database then try again.
~> [Attention] Maintenance page still up, consider the following before removing:
* any deploy hooks ran, be careful if they were destructive
* any migrations ran, be careful if they were destructive
* your old code is still symlinked as current
Failed deployment recorded in AppCloud
Deploy failed

Has anyone face the same problem before?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文