2016-09-23 18 views
1

ヒロクにレールコードをプッシュしている間にエラーが発生しました。リモートで拒否されたマスター - >マスター(受信前フックが拒否された)heroku

Counting objects: 20, done. 
Delta compression using up to 4 threads. 
Compressing objects: 100% (19/19), done. 
Writing objects: 100% (20/20), 1.75 KiB | 0 bytes/s, done. 
Total 20 (delta 15), reused 0 (delta 0) 
remote: Compressing source files... done. 
remote: Building source: 
remote: 
remote: ! Could not complete the action. Please try again later. 
remote: 
To https://git.heroku.com/dishcuss-api.git 
! [remote rejected] master -> master (pre-receive hook declined) 
error: failed to push some refs to 'https://git.heroku.com/dishcuss-api.git' 

私はロールバックherokuとgit pullを含むいくつかの方法を試しましたが、それは私のためには機能しませんでした。

答えて

0

だけHerokuの上で移行を実行します。

heroku run bundle exec rake db:migrate

0

私はあなたの問題への2つの可能な解決策を参照してください。

  1. それはあなたがHerokuのサーバー上の最新のマイグレーションを実行していない可能性があります。その場合、heroku run rake db:migrateを実行します。
  2. もう1つの選択肢は、数時間前にSSL証明書が無効になっていることです。彼らはそれに取り組んでいます。
関連する問題