langgraph up not working #725

Closed
opened 2026-02-20 17:41:27 -05:00 by yindo · 3 comments
Owner

Originally created by @Sriketk on GitHub (Jun 17, 2025).

Originally assigned to: @hinthornw on GitHub.

Checked other resources

  • This is a bug, not a usage question. For questions, please use GitHub Discussions.
  • I added a clear and detailed title that summarizes the issue.
  • I read what a minimal reproducible example is (https://stackoverflow.com/help/minimal-reproducible-example).
  • I included a self-contained, minimal example that demonstrates the issue INCLUDING all the relevant imports. The code run AS IS to reproduce the issue.

Example Code

## THIS IS my compose.yml file
services:
  langgraph-api:
    volumes:
      - $HOME/.aws:/root/.aws
      - $HOME/.config/pip/pip.conf:/root/.config/pip/pip.conf
      - $HOME/.config/pip/pip.conf:/etc/xdg/pip/pip.conf
      - $HOME/.config/pip/pip.conf:/etc/pip.conf
      - $HOME/.certs/ca-cert.crt:/root/ssl/certs/ca-certificates.crt
    environment:
      PIP_CONFIG_FILE: /root/.config/pip/pip.conf
      CA_BUNDLE: /root/ssl/certs/ca-certificates.crt
      REQUESTS_CA_BUNDLE: /root/ssl/certs/ca-certificates.crt
      SSL_CERT_FILE: /root/ssl/certs/ca-certificates.crt
      NODE_EXTRA_CA_CERTS: /root/ssl/certs/ca-certificates.crt

Error Message and Stack Trace (if applicable)

langgraph-postgres-1  | 2025-06-17 14:29:14.600 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
langgraph-postgres-1  | 2025-06-17 14:29:14.600 UTC [1] LOG:  listening on IPv6 address "::", port 5432
langgraph-postgres-1  | 2025-06-17 14:29:14.602 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
langgraph-postgres-1  | 2025-06-17 14:29:14.604 UTC [29] LOG:  database system was shut down at 2025-06-17 14:20:54 UTC
langgraph-postgres-1  | 2025-06-17 14:29:14.606 UTC [1] LOG:  database system is ready to accept connections
langgraph-api-1       | /usr/local/lib/python3.12/site-packages/langgraph/store/postgres/base.py:573: SyntaxWarning: invalid escape sequence '\.'
langgraph-api-1       |   FROM UNNEST(REGEXP_SPLIT_TO_ARRAY(prefix, '\.')) AS part
Aborting on container exit...
 Container agents-langgraph-api-1  Stopping
 Container agents-langgraph-api-1  Stopped
 Container agents-langgraph-redis-1  Stopping
 Container agents-langgraph-postgres-1  Stopping
 Container agents-langgraph-postgres-1  Stopped
 Container agents-langgraph-redis-1  Stopped

Description

I am trying to run langgraph up -d compose.yml, and I am recieving this error.
I have docker running. It is able to pull and build images, but when its starting its runs into an error. I dont see the langraph/store/postgres directory in the modules either. I am on python 3.12

System Info

System Information

OS: Darwin
OS Version: Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:29 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6030
Python Version: 3.12.5 (v3.12.5:ff3bc82f7c9, Aug 7 2024, 05:32:06) [Clang 13.0.0 (clang-1300.0.29.30)]

Package Information

langchain_core: 0.3.65
langsmith: 0.3.45
langchain_postgres: 0.0.14
langgraph_api: 0.2.54
langgraph_cli: 0.2.12
langgraph_license: Installed. No version info available.
langgraph_runtime: Installed. No version info available.
langgraph_runtime_inmem: 0.3.0
langgraph_sdk: 0.1.70

Optional packages not installed

langserve

Other Dependencies

asyncpg: 0.30.0
blockbuster<2.0.0,>=1.5.24: Installed. No version info available.
click>=8.1.7: Installed. No version info available.
cloudpickle>=3.0.0: Installed. No version info available.
cryptography<45.0,>=42.0.0: Installed. No version info available.
httpx: 0.28.1
httpx>=0.25.0: Installed. No version info available.
httpx>=0.25.2: Installed. No version info available.
jsonpatch<2.0,>=1.33: Installed. No version info available.
jsonschema-rs<0.30,>=0.20.0: Installed. No version info available.
langchain-core>=0.3.64: Installed. No version info available.
langgraph-api>=0.1.20;: Installed. No version info available.
langgraph-checkpoint>=2.0.23: Installed. No version info available.
langgraph-checkpoint>=2.0.25: Installed. No version info available.
langgraph-runtime-inmem<0.4,>=0.3.0: Installed. No version info available.
langgraph-runtime-inmem>=0.0.8;: Installed. No version info available.
langgraph-sdk>=0.1.0;: Installed. No version info available.
langgraph-sdk>=0.1.66: Installed. No version info available.
langgraph>=0.2: Installed. No version info available.
langgraph>=0.3.27: Installed. No version info available.
langsmith-pyo3: Installed. No version info available.
langsmith<0.4,>=0.3.45: Installed. No version info available.
langsmith>=0.3.45: Installed. No version info available.
numpy: 1.26.4
openai-agents: Installed. No version info available.
opentelemetry-api: Installed. No version info available.
opentelemetry-exporter-otlp-proto-http: Installed. No version info available.
opentelemetry-sdk: Installed. No version info available.
orjson: 3.10.18
orjson>=3.10.1: Installed. No version info available.
orjson>=3.9.7: Installed. No version info available.
packaging: 24.2
packaging<25,>=23.2: Installed. No version info available.
pgvector: 0.3.6
psycopg: 3.2.9
psycopg-pool: 3.2.6
pydantic: 2.11.7
pydantic>=2.7.4: Installed. No version info available.
pyjwt>=2.9.0: Installed. No version info available.
pytest: Installed. No version info available.
python-dotenv>=0.8.0;: Installed. No version info available.
PyYAML>=5.3: Installed. No version info available.
requests: 2.32.4
requests-toolbelt: 1.0.0
rich: Installed. No version info available.
sqlalchemy: 2.0.41
sse-starlette<2.2.0,>=2.1.0: Installed. No version info available.
sse-starlette>=2: Installed. No version info available.
starlette>=0.37: Installed. No version info available.
starlette>=0.38.6: Installed. No version info available.
structlog<26,>=24.1.0: Installed. No version info available.
structlog>23: Installed. No version info available.
tenacity!=8.4.0,<10.0.0,>=8.1.0: Installed. No version info available.
tenacity>=8.0.0: Installed. No version info available.
truststore>=0.1: Installed. No version info available.
typing-extensions>=4.7: Installed. No version info available.
uvicorn>=0.26.0: Installed. No version info available.
watchfiles>=0.13: Installed. No version info available.
zstandard: 0.23.0

Originally created by @Sriketk on GitHub (Jun 17, 2025). Originally assigned to: @hinthornw on GitHub. ### Checked other resources - [x] This is a bug, not a usage question. For questions, please use GitHub Discussions. - [x] I added a clear and detailed title that summarizes the issue. - [x] I read what a minimal reproducible example is (https://stackoverflow.com/help/minimal-reproducible-example). - [x] I included a self-contained, minimal example that demonstrates the issue INCLUDING all the relevant imports. The code run AS IS to reproduce the issue. ### Example Code ```python ## THIS IS my compose.yml file services: langgraph-api: volumes: - $HOME/.aws:/root/.aws - $HOME/.config/pip/pip.conf:/root/.config/pip/pip.conf - $HOME/.config/pip/pip.conf:/etc/xdg/pip/pip.conf - $HOME/.config/pip/pip.conf:/etc/pip.conf - $HOME/.certs/ca-cert.crt:/root/ssl/certs/ca-certificates.crt environment: PIP_CONFIG_FILE: /root/.config/pip/pip.conf CA_BUNDLE: /root/ssl/certs/ca-certificates.crt REQUESTS_CA_BUNDLE: /root/ssl/certs/ca-certificates.crt SSL_CERT_FILE: /root/ssl/certs/ca-certificates.crt NODE_EXTRA_CA_CERTS: /root/ssl/certs/ca-certificates.crt ``` ### Error Message and Stack Trace (if applicable) ```shell langgraph-postgres-1 | 2025-06-17 14:29:14.600 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 langgraph-postgres-1 | 2025-06-17 14:29:14.600 UTC [1] LOG: listening on IPv6 address "::", port 5432 langgraph-postgres-1 | 2025-06-17 14:29:14.602 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" langgraph-postgres-1 | 2025-06-17 14:29:14.604 UTC [29] LOG: database system was shut down at 2025-06-17 14:20:54 UTC langgraph-postgres-1 | 2025-06-17 14:29:14.606 UTC [1] LOG: database system is ready to accept connections langgraph-api-1 | /usr/local/lib/python3.12/site-packages/langgraph/store/postgres/base.py:573: SyntaxWarning: invalid escape sequence '\.' langgraph-api-1 | FROM UNNEST(REGEXP_SPLIT_TO_ARRAY(prefix, '\.')) AS part Aborting on container exit... Container agents-langgraph-api-1 Stopping Container agents-langgraph-api-1 Stopped Container agents-langgraph-redis-1 Stopping Container agents-langgraph-postgres-1 Stopping Container agents-langgraph-postgres-1 Stopped Container agents-langgraph-redis-1 Stopped ``` ### Description I am trying to run langgraph up -d compose.yml, and I am recieving this error. I have docker running. It is able to pull and build images, but when its starting its runs into an error. I dont see the langraph/store/postgres directory in the modules either. I am on python 3.12 ### System Info System Information ------------------ > OS: Darwin > OS Version: Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:29 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6030 > Python Version: 3.12.5 (v3.12.5:ff3bc82f7c9, Aug 7 2024, 05:32:06) [Clang 13.0.0 (clang-1300.0.29.30)] Package Information ------------------- > langchain_core: 0.3.65 > langsmith: 0.3.45 > langchain_postgres: 0.0.14 > langgraph_api: 0.2.54 > langgraph_cli: 0.2.12 > langgraph_license: Installed. No version info available. > langgraph_runtime: Installed. No version info available. > langgraph_runtime_inmem: 0.3.0 > langgraph_sdk: 0.1.70 Optional packages not installed ------------------------------- > langserve Other Dependencies ------------------ > asyncpg: 0.30.0 > blockbuster<2.0.0,>=1.5.24: Installed. No version info available. > click>=8.1.7: Installed. No version info available. > cloudpickle>=3.0.0: Installed. No version info available. > cryptography<45.0,>=42.0.0: Installed. No version info available. > httpx: 0.28.1 > httpx>=0.25.0: Installed. No version info available. > httpx>=0.25.2: Installed. No version info available. > jsonpatch<2.0,>=1.33: Installed. No version info available. > jsonschema-rs<0.30,>=0.20.0: Installed. No version info available. > langchain-core>=0.3.64: Installed. No version info available. > langgraph-api>=0.1.20;: Installed. No version info available. > langgraph-checkpoint>=2.0.23: Installed. No version info available. > langgraph-checkpoint>=2.0.25: Installed. No version info available. > langgraph-runtime-inmem<0.4,>=0.3.0: Installed. No version info available. > langgraph-runtime-inmem>=0.0.8;: Installed. No version info available. > langgraph-sdk>=0.1.0;: Installed. No version info available. > langgraph-sdk>=0.1.66: Installed. No version info available. > langgraph>=0.2: Installed. No version info available. > langgraph>=0.3.27: Installed. No version info available. > langsmith-pyo3: Installed. No version info available. > langsmith<0.4,>=0.3.45: Installed. No version info available. > langsmith>=0.3.45: Installed. No version info available. > numpy: 1.26.4 > openai-agents: Installed. No version info available. > opentelemetry-api: Installed. No version info available. > opentelemetry-exporter-otlp-proto-http: Installed. No version info available. > opentelemetry-sdk: Installed. No version info available. > orjson: 3.10.18 > orjson>=3.10.1: Installed. No version info available. > orjson>=3.9.7: Installed. No version info available. > packaging: 24.2 > packaging<25,>=23.2: Installed. No version info available. > pgvector: 0.3.6 > psycopg: 3.2.9 > psycopg-pool: 3.2.6 > pydantic: 2.11.7 > pydantic>=2.7.4: Installed. No version info available. > pyjwt>=2.9.0: Installed. No version info available. > pytest: Installed. No version info available. > python-dotenv>=0.8.0;: Installed. No version info available. > PyYAML>=5.3: Installed. No version info available. > requests: 2.32.4 > requests-toolbelt: 1.0.0 > rich: Installed. No version info available. > sqlalchemy: 2.0.41 > sse-starlette<2.2.0,>=2.1.0: Installed. No version info available. > sse-starlette>=2: Installed. No version info available. > starlette>=0.37: Installed. No version info available. > starlette>=0.38.6: Installed. No version info available. > structlog<26,>=24.1.0: Installed. No version info available. > structlog>23: Installed. No version info available. > tenacity!=8.4.0,<10.0.0,>=8.1.0: Installed. No version info available. > tenacity>=8.0.0: Installed. No version info available. > truststore>=0.1: Installed. No version info available. > typing-extensions>=4.7: Installed. No version info available. > uvicorn>=0.26.0: Installed. No version info available. > watchfiles>=0.13: Installed. No version info available. > zstandard: 0.23.0
yindo added the bugpending labels 2026-02-20 17:41:27 -05:00
yindo closed this issue 2026-02-20 17:41:27 -05:00
Author
Owner

@Sriketk commented on GitHub (Jun 21, 2025):

????

@Sriketk commented on GitHub (Jun 21, 2025): ????
Author
Owner

@hinthornw commented on GitHub (Jun 23, 2025):

@Sriketk will try to reproduce this. In the meantime, if you can share any additional logs or infromation about your code, that would be helpful.

From the limited info provided, it looks like the API server doesn't start successfully due to something about your configuration or code

@hinthornw commented on GitHub (Jun 23, 2025): @Sriketk will try to reproduce this. In the meantime, if you can share any additional logs or infromation about your code, that would be helpful. From the limited info provided, it looks like the API server doesn't start successfully due to something about your configuration or code
Author
Owner

@hinthornw commented on GitHub (Jun 23, 2025):

Unable to reproduce after a few tries. Would love more info and logs if possible.

@hinthornw commented on GitHub (Jun 23, 2025): Unable to reproduce after a few tries. Would love more info and logs if possible.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#725