Reputation: 321
I don't know why my Heroku application is in crashed state.
Log and code at https://github.com/jstar88/LibreTitan/blob/master/log.txt
Running application at http://libretitan.herokuapp.com/
Upvotes: 1
Views: 248
Reputation: 6067
The problem is that your database is in an inconsistant state, so Play wants to run DOWNS evolutions, but you have not started your server with -DapplyEvolutions.default=true
and -DapplyDownEvolutions.default=true
. If this is a production system, I would not recommend doing that until reading about and fully understanding how Play's evolutions work because DOWNS could cause destructive changes to your data. The documentation can be found here:
http://www.playframework.com/documentation/2.1.0/Evolutions
Since you are running on Heroku, be sure to also set evolutions.use.locks=true
so the evolutions will still work if you scale to more than one dyno.
Upvotes: 2