Issue
My app crashes after deployment. I have not made any changes to the start-up scripts. My app has heroku/exec buildpack, is it related?
Resolution
If your app meets all the following conditions, it is possible that your app will crash.
- heroku/exec buildpack is set
-
HEROKU_EXEC_DEBUG
config var is not 1 - There is a bash script located in
/.profile.d/
and the script includes set -e command
To avoid the crash , you can choose one of the following:
- Remove
-e
option from set command - Remove heroku/exec buildpack
- Set
HEROKU_EXEC_DEBUG
as 1