# Failed to bootstrap, also 500 error loading any page

**URL:** <https://meta.discourse.org/t/failed-to-bootstrap-also-500-error-loading-any-page/40468>\
**Category:** Product Support\
**Created:** [Mars 2, 2016, 11:20 UTC](https://meta.discourse.org/t/failed-to-bootstrap-also-500-error-loading-any-page/40468 "2016-03-02T23:20:12Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)\
**Post date:** [Mars 3, 2016, 3:59 UTC](https://meta.discourse.org/t/failed-to-bootstrap-also-500-error-loading-any-page/40468/6 "2016-03-03T15:59:45Z")

</div>

If you have a recent backup maybe this could help :

> [@riking](#):
>
> ## Example: Delete a corrupted database
> 
> Sometimes you screw up the database and need to restore from a backup. However, if the broken database is making the site unusable, you may not be able to get to /admin/backups to upload and restore the old backup. When this happens, you will want to nuke the database.
> 
> From the host:
> 
> `root@discourse:~# cd /var/discourse`  
> `root@discourse:/var/discourse# ./launcher destroy app`  
> `root@discourse:/var/discourse# echo rm -rv shared/standalone/postgres_*`  
> `rm -rv shared/standalone/postgres_backup shared/standalone/postgres_data shared/standalone/postgres_data_old shared/standalone/postgres_run`  
> `root@discourse:/var/discourse# ./launcher bootstrap app`  
> `root@discourse:/var/discourse# ./launcher start app`

([**Source**](https://meta.discourse.org/t/advanced-troubleshooting-with-docker/15927))

---

_[View the full topic](https://meta.discourse.org/t/failed-to-bootstrap-also-500-error-loading-any-page/40468)._
