# Upgrade failed due to unclean database shutdown

**URL:** <https://meta.discourse.org/t/upgrade-failed-due-to-unclean-database-shutdown/54414>\
**Category:** Self-hosting\
**Created:** [2016 年12 月 17 日 09:21 UTC](https://meta.discourse.org/t/upgrade-failed-due-to-unclean-database-shutdown/54414 "2016-12-17T09:21:23Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

作者： ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
发布日期： [2016 年12 月 28 日 22:34 UTC](https://meta.discourse.org/t/upgrade-failed-due-to-unclean-database-shutdown/54414/9 "2016-12-28T22:34:26Z")

</div>

Sleep 60 means everyone waits 60 seconds EVERY time a rebuild happens, just make it a param and the 1 in 1000 that has issues can bump it up in container yaml

---

_[View the full topic](https://meta.discourse.org/t/upgrade-failed-due-to-unclean-database-shutdown/54414)._
