# Langgraph deployment failing with recent langgraph-api upgrade (0.2.96)

**URL:** <https://forum.langchain.com/t/langgraph-deployment-failing-with-recent-langgraph-api-upgrade-0-2-96/552>\
**Category:** Agent Server\
**Tags:** self-hosted\
**Created:** [July 18, 2025, 3:05pm UTC](https://forum.langchain.com/t/langgraph-deployment-failing-with-recent-langgraph-api-upgrade-0-2-96/552 "2025-07-18T15:05:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![akbindal](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/akbindal/32/257_2.png) [@akbindal](https://forum.langchain.com/u/akbindal)\
**Post date:** [July 18, 2025, 3:05pm UTC](https://forum.langchain.com/t/langgraph-deployment-failing-with-recent-langgraph-api-upgrade-0-2-96/552/1 "2025-07-18T15:05:00Z")

</div>

With the recent update to `langgraph-api=0.2.96` , has anything broken in the underlying assistant, run, or thread tables? we started to receive following errors in our deployment →

```auto
File "/usr/local/lib/python3.11/site-packages/langgraph_runtime_postgres/lifespan.py", line 100, in lifespan
  File "/api/langgraph_api/graph.py", line 405, in collect_graphs_from_env
  File "/api/langgraph_api/graph.py", line 86, in register_graph
  File "/usr/local/lib/python3.11/site-packages/langgraph_runtime_postgres/retry.py", line 39, in wrapper
  File "/api/langgraph_api/graph.py", line 75, in register_graph_db
  File "/usr/local/lib/python3.11/site-packages/langgraph_runtime_postgres/ops.py", line 347, in put
  File "/usr/local/lib/python3.11/site-packages/psycopg/connection_async.py", line 276, in execute
    raise ex.with_traceback(None)
psycopg.errors.UndefinedTable: relation "assistant" does not exist
LINE 2: INSERT INTO assistant (assistant_id, graph_id, c...
                                ^
 [uvicorn.error] api_revision=f524839 api_variant=licensed langgraph_api_version=0.2.96 thread_name=MainThread
2025-07-18T14:02:46.924761Z [error] Application startup failed. Exiting. [uvicorn.error] api_revision=f524839 api_variant=licensed langgraph_api_version=0.2.96 thread_name=MainThread
2025-07-18T14:03:01.725159Z [info] Using langgraph_runtime_postgres [langgraph_runtime] api_revision=f524839 api_variant=licensed langgraph_api_version=0.2.96 thread_name=MainThread
2025-07-18T14:03:01.735621Z [info] Using auth of type=noop [langgraph_api.auth.middleware] api_revision=f524839 api_variant=licensed langgraph_api_version=0.2.96 thread_name=MainThread

```

---

<div class="post-metadata">

**Author:** ![akbindal](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/akbindal/32/257_2.png) [@akbindal](https://forum.langchain.com/u/akbindal)\
**Post date:** [July 18, 2025, 3:05pm UTC](https://forum.langchain.com/t/langgraph-deployment-failing-with-recent-langgraph-api-upgrade-0-2-96/552/2 "2025-07-18T15:05:50Z")

</div>

shouldn’t langgraph-api be setting up or migrating these underlying tables itself?

---

<div class="post-metadata">

**Author:** ![wfh](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/wfh/32/33_2.png) [@wfh](https://forum.langchain.com/u/wfh)\
**Post date:** [July 18, 2025, 5:04pm UTC](https://forum.langchain.com/t/langgraph-deployment-failing-with-recent-langgraph-api-upgrade-0-2-96/552/3 "2025-07-18T17:04:31Z")

</div>

Does the issue persist if you re-deploy?

We’ll make an update to avoid race conditions here.

---

<div class="post-metadata">

**Author:** ![akbindal](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/akbindal/32/257_2.png) [@akbindal](https://forum.langchain.com/u/akbindal)\
**Post date:** [July 18, 2025, 7:08pm UTC](https://forum.langchain.com/t/langgraph-deployment-failing-with-recent-langgraph-api-upgrade-0-2-96/552/4 "2025-07-18T19:08:45Z")

</div>

Not sure if race condition is the only root cause here as the issue persist across many redeployment attempts.

---

<div class="post-metadata">

**Author:** ![akbindal](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/akbindal/32/257_2.png) [@akbindal](https://forum.langchain.com/u/akbindal)\
**Post date:** [July 22, 2025, 11:53am UTC](https://forum.langchain.com/t/langgraph-deployment-failing-with-recent-langgraph-api-upgrade-0-2-96/552/5 "2025-07-22T11:53:15Z")

</div>

wondering if there is any update? This is blocking us to push updates on prod. Thanks

---

<div class="post-metadata">

**Author:** ![akbindal](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/akbindal/32/257_2.png) [@akbindal](https://forum.langchain.com/u/akbindal)\
**Post date:** [July 22, 2025, 8:50pm UTC](https://forum.langchain.com/t/langgraph-deployment-failing-with-recent-langgraph-api-upgrade-0-2-96/552/6 "2025-07-22T20:50:24Z")

</div>

Migration of the table wasn’t happening, so manually adding description column in older assistant\_version table I was able to make it work.

Error log from deployment of latest langgraph api

```auto
2025-07-22T20:43:58.898810295Z File "/usr/local/lib/python3.11/site-packages/langgraph_runtime_postgres/ops.py", line 347, in put
2025-07-22T20:43:58.898812178Z File "/usr/local/lib/python3.11/site-packages/psycopg/connection_async.py", line 276, in execute
2025-07-22T20:43:58.898815445Z raise ex.with_traceback(None)
2025-07-22T20:43:58.898817879Z psycopg.errors.UndefinedColumn: column "description" of relation "assistant_versions" does not exist
2025-07-22T20:43:58.898832356Z LINE 8: ...nt_id, graph_id, config, metadata, version, name, descriptio...

```

---

<div class="post-metadata">

**Author:** ![scrowder](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/scrowder/32/305_2.png) [@scrowder](https://forum.langchain.com/u/scrowder)\
**Post date:** [August 6, 2025, 6:49pm UTC](https://forum.langchain.com/t/langgraph-deployment-failing-with-recent-langgraph-api-upgrade-0-2-96/552/7 "2025-08-06T18:49:36Z")

</div>

Are you still experiencing this issue? Since your last post, we have pushed many new versions of the LangGraph Server image, and I’m wondering if this issue may have resolved itself. Please let us know if you continue to experience it.

---

<div class="post-metadata">

**Author:** ![sumukha](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@sumukha](https://forum.langchain.com/u/sumukha)\
**Post date:** [October 8, 2025, 7:49pm UTC](https://forum.langchain.com/t/langgraph-deployment-failing-with-recent-langgraph-api-upgrade-0-2-96/552/8 "2025-10-08T19:49:24Z")

</div>

Did you find a solution? @wfh @akbindal

I am getting the same error!

I am running it through self hosted langgraph api,

here’s my docker-compose

```  
langgraph-server:

```auto
build:

```

context: .

dockerfile: Dockerfile.langgraph

profiles: [“langgraph”]

env\_file:

```auto
  - .env.local

```

environment:

# Point server to our graph code when supported; adjust as needed.

```auto
  - PYTHONPATH=/workspace

  - GRAPH_REGISTRY=app.graph.server_registry:GRAPH_REGISTRY

  - ASSISTANTS_REGISTRY=app.graph.server_registry:GRAPH_REGISTRY

  - LANGGRAPH_GRAPH_REGISTRY=app.graph.server_registry:GRAPH_REGISTRY

  - LANGGRAPH_ASSISTANTS_REGISTRY=app.graph.server_registry:GRAPH_REGISTRY

  - LANGGRAPH_JSON=/workspace/langgraph.json

  - LANGSERVE_GRAPHS={"creative_strategist_core":"app.graph.server_registry:CREATIVE_STRATEGIST_CORE_GRAPH"}

  - LANGSMITH_API_KEY=${LANGCHAIN_API_KEY}

  - LANGSMITH_TRACING_V2=${LANGCHAIN_TRACING_V2}

  - DATABASE_URI=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:${POSTGRES_PORT:-5432}/${POSTGRES_DB}

  - REDIS_URI=${REDIS_URL}

  - LANGGRAPH_GATEWAY_TOKEN=${LANGGRAPH_GATEWAY_TOKEN}

```

ports:

```auto
  - "8123:8000"

```

volumes:

```auto
  - .:/workspace

```

depends\_on:

```auto
  - db

  - redis

```

``

`When i looked into db tables related to langgraph-checkpoint-postgres (checkpoints, checkpoint_write, checkpoint_blob) getting created. But other tables like threads, assistant, run e.t.c is missing!`  
`In the container i am seeing errors saying those tables doesn’t exists!`

`i am using `langchain/langgraph-api:3.12` image.
