# 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:** [17. Dezember 2016 um 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:** 21

<div class="post-metadata">

**Author:** ![zsero](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zsero/32/64016_2.png) [@zsero](https://meta.discourse.org/u/zsero)\
**Post date:** [30. Dezember 2016 um 17:00 UTC](https://meta.discourse.org/t/upgrade-failed-due-to-unclean-database-shutdown/54414/21 "2016-12-30T17:00:21Z")

</div>

The key is to have unclean shutdown, so it tries to do a recovery. For me `./launcher rebuild` worked, as it gave an unclean shutdown. A `docker kill` should definitely make an unclean shutdown.

---

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