# Failed rebuild (column directory\_columns.type does not exist)

**URL:** https://meta.discourse.org/t/failed-rebuild-column-directory-columns-type-does-not-exist/194728
**Category:** Self-hosting
**Created:** [June 22, 2021, 10:04pm UTC](https://meta.discourse.org/t/failed-rebuild-column-directory-columns-type-does-not-exist/194728 "2021-06-22T22:04:58Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [June 23, 2021, 11:23am UTC](https://meta.discourse.org/t/failed-rebuild-column-directory-columns-type-does-not-exist/194728/2 "2021-06-23T11:23:11Z")

</div>

Robert shared a solution in the Locations Plugin topic for this so i think this topic could be closed. Thank you! 🙂

> [@Locations Plugin earth\_africa](https://meta.discourse.org/t/locations-plugin/69742/707):
>
> Hey there, thanks for the report. Yeah, this is a weird one, and actually I’m not fully convinced it’s Locations fault (although we may be following bad practice?!). It appears during plugin Initialisation, a Discourse migration was causing the model (actually the Serializer) and the database to be in an inconsistent state. The solution is really simple: Remove Locations from app.yml Rebuild (the crucial step is the database migration. Once that’s done …) \< – suspect you are here?. Add Loc…

---

_[View the full topic](https://meta.discourse.org/t/failed-rebuild-column-directory-columns-type-does-not-exist/194728)._
