Discourse update doesn't wait for Postgress DB to shut down

Whenever this happens, we usually (temporarily, as otherwise Git gets confused when updating the next time) replace the sleep 5 with a few more seconds so that Postgres has more time to settle/recover.

If you’re including a different postgres.template.yml, of course, edit that one instead.

2 Likes