You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the following error message trying to start the memory-agent template.
`Failed to start project memory-agent
info | Setting up vector index
error | Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/starlette/routing.py", line 693, in lifespan
async with self.lifespan_context(app) as maybe_state:
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/contextlib.py", line 210, in aenter
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/api/langgraph_api/lifespan.py", line 29, in lifespan
File "/usr/local/lib/python3.12/site-packages/langgraph_storage/database.py", line 149, in start_pool
await migrate_vector_index()
File "/usr/local/lib/python3.12/site-packages/langgraph_storage/database.py", line 138, in migrate_vector_index
await lg_store.setup_vector_index(store)
File "/usr/local/lib/python3.12/site-packages/langgraph_storage/store.py", line 94, in setup_vector_index
await cur.execute(sql)
File "/usr/local/lib/python3.12/site-packages/psycopg/cursor_async.py", line 97, in execute
raise ex.with_traceback(None)
psycopg.errors.FeatureNotSupported: extension "vector" is not available
DETAIL: Could not open extension control file "/usr/share/postgresql/16/extension/vector.control": No such file or directory.
HINT: The extension must first be installed on the system where PostgreSQL is running.
error | Application startup failed. Exiting.`
After figuring out how/where to install this pgvector extension in that postgre:16 docker image, the problem was solved.
Hopefully, this will be fixed. It is confusing for someone who's just getting started with LangGraph studio.
The text was updated successfully, but these errors were encountered:
I got the following error message trying to start the memory-agent template.
`Failed to start project memory-agent
info | Setting up vector index
error | Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/starlette/routing.py", line 693, in lifespan
async with self.lifespan_context(app) as maybe_state:
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/contextlib.py", line 210, in aenter
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/api/langgraph_api/lifespan.py", line 29, in lifespan
File "/usr/local/lib/python3.12/site-packages/langgraph_storage/database.py", line 149, in start_pool
await migrate_vector_index()
File "/usr/local/lib/python3.12/site-packages/langgraph_storage/database.py", line 138, in migrate_vector_index
await lg_store.setup_vector_index(store)
File "/usr/local/lib/python3.12/site-packages/langgraph_storage/store.py", line 94, in setup_vector_index
await cur.execute(sql)
File "/usr/local/lib/python3.12/site-packages/psycopg/cursor_async.py", line 97, in execute
raise ex.with_traceback(None)
psycopg.errors.FeatureNotSupported: extension "vector" is not available
DETAIL: Could not open extension control file "/usr/share/postgresql/16/extension/vector.control": No such file or directory.
HINT: The extension must first be installed on the system where PostgreSQL is running.
error | Application startup failed. Exiting.`
After figuring out how/where to install this pgvector extension in that postgre:16 docker image, the problem was solved.
Hopefully, this will be fixed. It is confusing for someone who's just getting started with LangGraph studio.
The text was updated successfully, but these errors were encountered: