# FATAL: the database system is starting up

**URL:** <https://meta.discourse.org/t/fatal-the-database-system-is-starting-up/52806>\
**Category:** Self-hosting\
**Created:** [November 11, 2016, 6:23pm UTC](https://meta.discourse.org/t/fatal-the-database-system-is-starting-up/52806 "2016-11-11T18:23:37Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [November 14, 2016, 5:21pm UTC](https://meta.discourse.org/t/fatal-the-database-system-is-starting-up/52806/6 "2016-11-14T17:21:41Z")

</div>

I found out what happened. The database wasn’t shut down cleanly, probably because of the previous devicemapper setup. In this case the database definitely needs much longer than 5 seconds to start up.

Since an unclean shutdown can happen to anyone, I’ve submitted this:  
[https://github.com/discourse/discourse\_docker/issues/309](https://github.com/discourse/discourse_docker/issues/309)

I’m trying out to modify the sleep value.

---

_[View the full topic](https://meta.discourse.org/t/fatal-the-database-system-is-starting-up/52806)._
