4
heroku rake db:migrate --trace --app app-name
  !   Internal server error

This was working fine before.

How to diagnose this?

rake db:migrate works fine on my local db. There is no entry in the log. VERSION=xxx did not help either.

Using rake 0.8.7.

Brock Adams
  • 90,639
  • 22
  • 233
  • 295
B Seven
  • 44,484
  • 66
  • 240
  • 385

2 Answers2

4

Ok heroku support already helped me out!

Here the workaround

"try running the migration from a bash dyno?"

$ heroku run bash

"Then just run your migration command (something like):"

$ bundle exec rake db:migrate --trace

This was a good work around I could migrate my application.

Cheers,

Joel

zabumba
  • 12,172
  • 16
  • 72
  • 129
2

I had this problem earlier, I assume it's a server issue.

To get around the problem:

I added the heroku scheduled addon, added a scheduled job for 'rake db:migrate':

https://heroku-scheduler.herokuapp.com/dashboard#

It allows you to run the job on the web interface, as well as confirm the output was successful.

Not a solution I know, but should get around the issue for the moment.

easyjo
  • 734
  • 6
  • 16