执行迁移脚本时 Engine Yard 部署失败
我正在尝试使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论