# Discourse Docker 重建失败，错误为未知迁移版本

**URL:** https://meta.discourse.org/t/discourse-docker-rebuild-failed-with-unknown-migration-version/134109
**Category:** Self-hosting
**Created:** [2019年十一月22日 05:02 UTC](https://meta.discourse.org/t/discourse-docker-rebuild-failed-with-unknown-migration-version/134109 "2019-11-22T05:02:41Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [2019年十一月22日 07:08 UTC](https://meta.discourse.org/t/discourse-docker-rebuild-failed-with-unknown-migration-version/134109/4 "2019-11-22T07:08:10Z")

</div>

看起来 @gerhard 在 10 天前已经修复了这个问题。当时有一些 6.0 的迁移操作导致 **stable** 分支出现了问题。

> [@Stable release v2.3.6 upgrade bumpiness due to plugin](https://meta.discourse.org/t/stable-release-v2-3-6-upgrade-bumpiness-due-to-plugin/133008/4?u=stephen):
>
> I fixed the migrations in [FIX: Make migrations work with Discourse stable · discourse/discourse-policy@94635bf · GitHub](https://github.com/discourse/discourse-policy/commit/94635bf21761eefa4bbe0f33e18e9b9af6a9dcd4). I hope there was nothing else in the last couple of commits that breaks on the stable branch.

请运行以下命令：

`git pull`  
`./launcher rebuild app`

如果您将 app.yml 重命名为 myapp.yml，则运行：`./launcher rebuild myapp`

然后重试。如果问题仍未解决，请反馈。

---

_[View the full topic](https://meta.discourse.org/t/discourse-docker-rebuild-failed-with-unknown-migration-version/134109)._
