BooDoo / ebooks_example

Heroku-ready turn-key _ebooks implementation
22 stars 16 forks source link

"There was an issue while running the post deploy script" #1

Closed BooDoo closed 9 years ago

BooDoo commented 9 years ago

Cannot currently "Deploy to Heroku" through web workflow; receive following error at "Running Scripts & Scaling Dynos" step:

There was an issue while running the post deploy script: 
[empty text box]

Investigating…

First fix attempt: removing both scripts.postdeply and addons from app.json

BooDoo commented 9 years ago

Still no dice after removing those fields from app.json.

Current config deploys & works fine from heroku cli using a pre-filled secret.env:

heroku create cli-ebooks && \
heroku config:push --env=secret.env && \
git push heroku master && \
heroku ps:scale worker=1

but cryptic error through web deploy dashboard. Will follow-up with Heroku support team tmw.

grampajoe commented 9 years ago

After waiting for the "Running scripts & scaling dynos" step for a while, I saw:

screen shot 2015-01-07 at 5 59 39 pm

grampajoe commented 9 years ago

The app was present on my Heroku dashboard after seeing that error, and I scaled it up to 1 dyno. Based on the logs, it downloaded the archive and it should be online, but I haven't seen tweets yet.

BooDoo commented 9 years ago

try DMing it with "tweet" from the "source" account and see if it does?

BooDoo commented 9 years ago

Yeah. So I changed nothing and now it's magically deploying cleanly for me. Weird.

Keeping open to monitor more attempts over the next day or so.

grampajoe commented 9 years ago

I tried DMing it, and it doesn't seem to have picked it up. I'll rebuild it with the current config, although I do think removing that postdeploy script should help.

grampajoe commented 9 years ago

Deploying the new config (bb22671630782ab410da4ad8cf545a853f4a1474) worked fine. There was some delay before my bot started tweeting, but I guess that could just be how it's configured?

BooDoo commented 9 years ago

Closing as resolved by bb22671, at least unless/until this weirdness rears its head again.