Error while trying to start docker-api-1. #1711

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

Originally created by @plusonego on GitHub (Apr 1, 2024).

Self Checks

  • 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.

Provide a description of the help you need

I encountered an error while trying to start docker-api-1. The error message is as follows:

sqlalchemy.exc.ProgrammingError: (psycopg2.errors.InsufficientPrivilege) permission denied for schema public
LINE 2: CREATE TABLE alembic_version (
^

[SQL:
CREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL,
CONSTRAINT alembic_version_pkc PRIMARY KEY (version_num)
)

]
(Background on this error at: https://sqlalche.me/e/14/f405)

I'm seeking help to resolve this issue. It seems to be related to insufficient privileges for the public schema in psycopg2. Any assistance would be greatly appreciated. Thank you!

Originally created by @plusonego on GitHub (Apr 1, 2024). ### Self Checks - [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. ### Provide a description of the help you need I encountered an error while trying to start docker-api-1. The error message is as follows: sqlalchemy.exc.ProgrammingError: (psycopg2.errors.InsufficientPrivilege) permission denied for schema public LINE 2: CREATE TABLE alembic_version ( ^ [SQL: CREATE TABLE alembic_version ( version_num VARCHAR(32) NOT NULL, CONSTRAINT alembic_version_pkc PRIMARY KEY (version_num) ) ] (Background on this error at: https://sqlalche.me/e/14/f405) I'm seeking help to resolve this issue. It seems to be related to insufficient privileges for the public schema in psycopg2. Any assistance would be greatly appreciated. Thank you!
yindo added the 🐞 bug label 2026-02-21 17:36:58 -05:00
yindo closed this issue 2026-02-21 17:36:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#1711