Can't upload knowledge since update #2041

Closed
opened 2026-02-21 17:40:59 -05:00 by yindo · 0 comments
Owner

Originally created by @ghost on GitHub (Apr 10, 2024).

Self Checks

  • This is only for bug report, if you would like to ask a quesion, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

Dify version

0.6.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

When i try to add knowledge it says indexing then error.

✔️ Expected Behavior

it should index it.

Actual Behavior

(psycopg2.errors.UndefinedColumn) column embeddings.provider_name does not exist LINE 1: ..., embeddings.created_at AS embeddings_created_at, embeddings... ^ [SQL: SELECT embeddings.id AS embeddings_id, embeddings.model_name AS embeddings_model_name, embeddings.hash AS embeddings_hash, embeddings.embedding AS embeddings_embedding, embeddings.created_at AS embeddings_created_at, embeddings.provider_name AS embeddings_provider_name FROM embeddings WHERE embeddings.model_name = %(model_name_1)s AND embeddings.hash = %(hash_1)s AND embeddings.provider_name = %(provider_name_1)s LIMIT %(param_1)s] [parameters: {'model_name_1': 'embed-english-v3.0', 'hash_1': '1d48d0bb6dd3ef5ded437b6a6b61b729d5636789e2a26c9a844f80985a2cd5fa', 'provider_name_1': 'cohere', 'param_1': 1}] (Background on this error at: https://sqlalche.me/e/14/f405)

Originally created by @ghost on GitHub (Apr 10, 2024). ### Self Checks - [X] This is only for bug report, if you would like to ask a quesion, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Pleas do not modify this template :) and fill in all the required fields. ### Dify version 0.6.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce When i try to add knowledge it says indexing then error. ### ✔️ Expected Behavior it should index it. ### ❌ Actual Behavior (psycopg2.errors.UndefinedColumn) column embeddings.provider_name does not exist LINE 1: ..., embeddings.created_at AS embeddings_created_at, embeddings... ^ [SQL: SELECT embeddings.id AS embeddings_id, embeddings.model_name AS embeddings_model_name, embeddings.hash AS embeddings_hash, embeddings.embedding AS embeddings_embedding, embeddings.created_at AS embeddings_created_at, embeddings.provider_name AS embeddings_provider_name FROM embeddings WHERE embeddings.model_name = %(model_name_1)s AND embeddings.hash = %(hash_1)s AND embeddings.provider_name = %(provider_name_1)s LIMIT %(param_1)s] [parameters: {'model_name_1': 'embed-english-v3.0', 'hash_1': '1d48d0bb6dd3ef5ded437b6a6b61b729d5636789e2a26c9a844f80985a2cd5fa', 'provider_name_1': 'cohere', 'param_1': 1}] (Background on this error at: https://sqlalche.me/e/14/f405)
yindo added the 🐞 bug label 2026-02-21 17:40:59 -05:00
yindo closed this issue 2026-02-21 17:41:00 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#2041