# فشل إعادة البناء (العمود directory\_columns.type غير موجود)

**URL:** <https://meta.discourse.org/t/failed-rebuild-column-directory-columns-type-does-not-exist/194728>\
**Category:** Self-hosting\
**Created:** [22 يونيو 2021، 10:04م 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:** 1

<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:** [22 يونيو 2021، 10:04م UTC](https://meta.discourse.org/t/failed-rebuild-column-directory-columns-type-does-not-exist/194728/1 "2021-06-22T22:04:58Z")

</div>

مرحباً،

لقد حاولت إعادة البناء الآن وفشل مع الخطأ التالي:

I, [2021-06-22T21:57:12.240614 #1] INFO – : \> cd /var/www/discourse && su discourse -c ‘bundle exec rake db:migrate’

2021-06-22 21:57:15.052 UTC [3862] discourse@discourse ERROR: column directory\_columns.type does not exist at character 66

```plaintext
2021-06-22 21:57:15.052 UTC [3862] discourse@discourse STATEMENT: SELECT "directory_columns"."name" FROM "directory_columns" WHERE "directory_columns"."type" IN (0, 2) AND "directory_columns"."enabled" = TRUE

**فشل الإضافة**

لا يمكنك بناء Discourse بسبب هذا الخطأ أثناء تهيئة الإضافة:

PG::UndefinedColumn: ERROR: column directory_columns.type does not exist

LINE 1: ...ry_columns"."name" FROM "directory_columns" WHERE "directory...

```

أعتقد أن المشكلة تتعلق بإضافة Solved في هذا الالتزام:

> <https://github.com/discourse/discourse-solved/commit/52d46560111267698f370efd1effe65f17bc8370>

لست متأكداً مما إذا كانت مشكلة توافق بين الإضافات، لأنها تعمل هنا على Meta.

أستخدم الإضافات التالية:

```
      - https://github.com/discourse/discourse-solved.git
      - https://github.com/jannolii/discourse-topic-trade-buttons.git
      - https://github.com/discourse/discourse-whos-online.git
      - https://github.com/discourse/discourse-adplugin.git
      - https://github.com/paviliondev/discourse-follow.git
      - https://github.com/discourse/discourse-cakeday.git
      - https://github.com/paviliondev/discourse-locations.git
      - https://github.com/discourse/discourse-docs.git
      - https://github.com/paviliondev/discourse-pm-topic-author.git
      - https://github.com/discourse/discourse-reactions.git

```

تحديث: حاولت تعطيل كل إضافة واحدة تلو الأخرى. وأعتقد أنني عرفت المشكلة. إذا قمت بتعطيل إضافة Discourse Locations، فإن عملية إعادة البناء تنجح.

---

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