# Forum è andato giù e la ricostruzione dà errore db:migrate

**URL:** <https://meta.discourse.org/t/forum-went-down-and-rebuilding-gives-db-migrate-error/193819>\
**Category:** Self-hosting\
**Created:** [14 Giugno 2021, 8:57pm UTC](https://meta.discourse.org/t/forum-went-down-and-rebuilding-gives-db-migrate-error/193819 "2021-06-14T20:57:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![justin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin/32/157614_2.png) [@justin](https://meta.discourse.org/u/justin)\
**Post date:** [14 Giugno 2021, 10:01pm UTC](https://meta.discourse.org/t/forum-went-down-and-rebuilding-gives-db-migrate-error/193819/2 "2021-06-14T22:01:51Z")

</div>

Sembra che la migrazione si sia bloccata su un record esistente nel database. Hai provato

- `./launcher enter app`
- `rails c`
- `Post.where("raw LIKE '%\u0000%'")`

per verificare se ci sono post sul tuo sito con quella sequenza di escape Unicode? Non l’ho testato personalmente, quindi i risultati possono variare.

---

_[View the full topic](https://meta.discourse.org/t/forum-went-down-and-rebuilding-gives-db-migrate-error/193819)._
