mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-07-20 12:37:04 -04:00
[GH-ISSUE #62] [Bug]: initdb: error: program "postgres" is needed by initdb but was not found in the same directory as "/usr/lib/postgresql/16/bin/initdb" #32
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TianT1209 on GitHub (Oct 10, 2025).
Original GitHub issue: https://github.com/vxcontrol/pentagi/issues/62
Originally assigned to: @asdek on GitHub.
Affected Component
Core Services (Frontend UI/Backend API)
Describe the bug
When use docker-compose up -d, the container of the pgvector seems hava some mistakes.
Steps to Reproduce
System Configuration
no special setup
Logs and Artifacts
No response
Screenshots or Recordings
No response
Verification
@asdek commented on GitHub (Oct 18, 2025):
hello @TianT1209
thank you for reporting this issue. Based on the logs you provided, this appears to be a PostgreSQL/pgvector initialization problem rather than just a resource issue.
the errors show:
postgres is needed by initdb but was not foundCannot allocate memorypopen failurethis could be caused by several factors and steps to fix:
clean restart the database:
check system resources:
please verify system requirements from README.
check Docker resources:
ensure Docker has sufficient memory allocated (at least 4GB recommended).
please provide additional information:
docker --versiondocker-compose --versiondocker logs pgvectorlet me know the results of the clean restart and your system information
@asdek commented on GitHub (Oct 23, 2025):
@TianT1209
I haven't received a response from you, issue was closed