# 升级错误 - rake db:migrate 在 theme\_field\_id 上建立索引

**URL:** https://meta.discourse.org/t/upgrade-error-rake-db-migrate-index-on-theme-field-id/278935
**Category:** Self-hosting
**Tags:** two-container, ai
**Created:** [2023年九月13日 21:05 UTC](https://meta.discourse.org/t/upgrade-error-rake-db-migrate-index-on-theme-field-id/278935 "2023-09-13T21:05:56Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2023年九月13日 22:11 UTC](https://meta.discourse.org/t/upgrade-error-rake-db-migrate-index-on-theme-field-id/278935/6 "2023-09-13T22:11:10Z")

</div>

老实说，到目前为止我在这方面是0/2，所以这可能不是我能提供最多信息的来源。🙂

之前有几个关于 `index_tags_on_name` 发生类似情况的主题，看看是否有用？例如：

> [@Error upgrading from 3.0.1 to 3.1.0](https://meta.discourse.org/t/error-upgrading-from-3-0-1-to-3-1-0/259712):
>
> Hello! Here’s are my log details: I, [2023-03-28T15:29:11.675436 #1] INFO -- : Terminating async processes I, [2023-03-28T15:29:11.675493 #1] INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main pid: 42 I, [2023-03-28T15:29:11.675526 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 103 10…

---

_[View the full topic](https://meta.discourse.org/t/upgrade-error-rake-db-migrate-index-on-theme-field-id/278935)._
