mem0
mem0 copied to clipboard
docker version can't add memory!
openmemory-mcp-1 | INFO: 192.168.65.1:23347 - "POST /mcp/messages/?session_id=503e1ca2d43f4fc395cf8be864cfdfad HTTP/1.1" 200 OK
openmemory-mcp-1 | INFO Processing request of type server.py:556
openmemory-mcp-1 | CallToolRequest
openmemory-mcp-1 | [06/06/25 02:24:12] INFO HTTP Request: GET _client.py:1025
openmemory-mcp-1 | http://mem0_store:6333 "HTTP/1.1
openmemory-mcp-1 | 200 OK"
mem0_store-1 | 2025-06-06T02:24:12.033480Z INFO actix_web::middleware::logger: 172.19.0.4 "GET /collections HTTP/1.1" 200 82 "-" "qdrant-client/1.14.2 python/3.12.10" 0.000090
openmemory-mcp-1 | INFO HTTP Request: GET _client.py:1025
openmemory-mcp-1 | http://mem0_store:6333/collections
openmemory-mcp-1 | "HTTP/1.1 200 OK"
mem0_store-1 | 2025-06-06T02:24:12.035105Z INFO storage::content_manager::toc::collection_meta_ops: Creating collection openmemory
mem0_store-1 | 2025-06-06T02:24:12.070202Z INFO actix_web::middleware::logger: 172.19.0.4 "PUT /collections/openmemory HTTP/1.1" 200 71 "-" "qdrant-client/1.14.2 python/3.12.10" 0.035168
openmemory-mcp-1 | INFO HTTP Request: PUT _client.py:1025
openmemory-mcp-1 | http://mem0_store:6333/collections/
openmemory-mcp-1 | openmemory "HTTP/1.1 200 OK"
openmemory-mcp-1 | INFO HTTP Request: GET _client.py:1025
openmemory-mcp-1 | http://mem0_store:6333 "HTTP/1.1
openmemory-mcp-1 | 200 OK"
mem0_store-1 | 2025-06-06T02:24:12.130895Z INFO actix_web::middleware::logger: 172.19.0.4 "GET /collections HTTP/1.1" 200 94 "-" "qdrant-client/1.14.2 python/3.12.10" 0.000049
openmemory-mcp-1 | INFO HTTP Request: GET _client.py:1025
openmemory-mcp-1 | http://mem0_store:6333/collections
openmemory-mcp-1 | "HTTP/1.1 200 OK"
mem0_store-1 | 2025-06-06T02:24:12.131958Z INFO storage::content_manager::toc::collection_meta_ops: Creating collection mem0migrations
mem0_store-1 | 2025-06-06T02:24:12.163456Z INFO actix_web::middleware::logger: 172.19.0.4 "PUT /collections/mem0migrations HTTP/1.1" 200 71 "-" "qdrant-client/1.14.2 python/3.12.10" 0.031538
openmemory-mcp-1 | INFO HTTP Request: PUT _client.py:1025
openmemory-mcp-1 | http://mem0_store:6333/collections/
openmemory-mcp-1 | mem0migrations "HTTP/1.1 200 OK"
mem0_store-1 | 2025-06-06T02:24:12.165424Z INFO actix_web::middleware::logger: 172.19.0.4 "POST /collections/mem0migrations/points HTTP/1.1" 200 67 "-" "qdrant-client/1.14.2 python/3.12.10" 0.000387
openmemory-mcp-1 | INFO HTTP Request: POST _client.py:1025
openmemory-mcp-1 | http://mem0_store:6333/collections/
openmemory-mcp-1 | mem0migrations/points "HTTP/1.1 200
openmemory-mcp-1 | OK"
openmemory-mcp-1 | INFO Inserting 1 vectors into collection qdrant.py:103
openmemory-mcp-1 | mem0migrations
mem0_store-1 | 2025-06-06T02:24:12.168701Z INFO actix_web::middleware::logger: 172.19.0.4 "PUT /collections/mem0migrations/points?wait=true HTTP/1.1" 200 92 "-" "qdrant-client/1.14.2 python/3.12.10" 0.000714
openmemory-mcp-1 | INFO HTTP Request: PUT _client.py:1025
openmemory-mcp-1 | http://mem0_store:6333/collections/
openmemory-mcp-1 | mem0migrations/points?wait=true
openmemory-mcp-1 | "HTTP/1.1 200 OK"
openmemory-mcp-1 | [06/06/25 02:24:15] INFO HTTP Request: POST _client.py:1025
openmemory-mcp-1 | https://myserver/v1/ch
openmemory-mcp-1 | at/completions "HTTP/1.1 200 OK"
openmemory-mcp-1 | [06/06/25 02:24:18] INFO HTTP Request: POST _client.py:1025
openmemory-mcp-1 | https://myserver/v1/em
openmemory-mcp-1 | beddings "HTTP/1.1 200 OK"
mem0_store-1 | 2025-06-06T02:24:18.183254Z INFO actix_web::middleware::logger: 172.19.0.4 "POST /collections/openmemory/points/query HTTP/1.1" 200 80 "-" "qdrant-client/1.14.2 python/3.12.10" 0.002880
openmemory-mcp-1 | INFO HTTP Request: POST _client.py:1025
openmemory-mcp-1 | http://mem0_store:6333/collections/
openmemory-mcp-1 | openmemory/points/query "HTTP/1.1
openmemory-mcp-1 | 200 OK"
openmemory-mcp-1 | INFO Total existing memories: 0 main.py:359
openmemory-mcp-1 | [06/06/25 02:24:21] INFO HTTP Request: POST _client.py:1025
openmemory-mcp-1 | https://myserver/v1/ch
openmemory-mcp-1 | at/completions "HTTP/1.1 200 OK"
openmemory-mcp-1 | INFO {'id': '0', 'text': '2030 goto mars', main.py:390
openmemory-mcp-1 | 'event': 'ADD'}
openmemory-mcp-1 | INFO Inserting 1 vectors into collection qdrant.py:103
openmemory-mcp-1 | openmemory
mem0_store-1 | 2025-06-06T02:24:21.106602Z INFO actix_web::middleware::logger: 172.19.0.4 "PUT /collections/openmemory/points?wait=true HTTP/1.1" 200 92 "-" "qdrant-client/1.14.2 python/3.12.10" 0.002984
openmemory-mcp-1 | INFO HTTP Request: PUT _client.py:1025
openmemory-mcp-1 | http://mem0_store:6333/collections/
openmemory-mcp-1 | openmemory/points?wait=true
openmemory-mcp-1 | "HTTP/1.1 200 OK"
mem0_store-1 | 2025-06-06T02:24:21.112424Z INFO actix_web::middleware::logger: 172.19.0.4 "POST /collections/mem0migrations/points HTTP/1.1" 200 135 "-" "qdrant-client/1.14.2 python/3.12.10" 0.000762
openmemory-mcp-1 | INFO HTTP Request: POST _client.py:1025
openmemory-mcp-1 | http://mem0_store:6333/collections/
openmemory-mcp-1 | mem0migrations/points "HTTP/1.1 200
openmemory-mcp-1 | OK"
mem0_store-1 | 2025-06-06T02:24:21.114571Z INFO actix_web::middleware::logger: 172.19.0.4 "POST /collections/mem0migrations/points HTTP/1.1" 200 135 "-" "qdrant-client/1.14.2 python/3.12.10" 0.000199
openmemory-mcp-1 | INFO HTTP Request: POST _client.py:1025
openmemory-mcp-1 | http://mem0_store:6333/collections/
openmemory-mcp-1 | mem0migrations/points "HTTP/1.1 200
openmemory-mcp-1 | OK"
openmemory-mcp-1 | INFO HTTP Request: POST _client.py:1025
openmemory-mcp-1 | https://myserver/v1/re
openmemory-mcp-1 | sponses "HTTP/1.1 404 Not Found"
openmemory-mcp-1 | [06/06/25 02:24:25] INFO HTTP Request: POST _client.py:1025
openmemory-mcp-1 | https://myserver/v1/re
openmemory-mcp-1 | sponses "HTTP/1.1 404 Not Found"
openmemory-mcp-1 | [06/06/25 02:24:29] INFO HTTP Request: POST _client.py:1025
openmemory-mcp-1 | https://myserver/v1/re
openmemory-mcp-1 | sponses "HTTP/1.1 404 Not Found"
openmemory-mcp-1 | No configuration found in database, using defaults
openmemory-mcp-1 | Parsing environment variables in final config...
openmemory-mcp-1 | Loaded OPENAI_API_KEY from environment for api_key
openmemory-mcp-1 | Loaded OPENAI_API_KEY from environment for api_key
openmemory-mcp-1 | Initializing memory client with config hash: d5d3b575fc38cc8cfecc2fe3bb1dc43d
openmemory-mcp-1 | Memory client initialized successfully
openmemory-mcp-1 | Error categorizing memory: RetryError[<Future at 0xffff69f6dc70 state=finished raised NotFoundError>]
openmemory-mcp-1 | INFO: 192.168.65.1:22158 - "GET /api/v1/stats?user_id=ejy HTTP/1.1" 307 Temporary Redirect
openmemory-mcp-1 | INFO: 192.168.65.1:58851 - "OPTIONS /api/v1/memories/filter HTTP/1.1" 200 OK
openmemory-mcp-1 | INFO: 192.168.65.1:23245 - "OPTIONS /api/v1/memories/filter HTTP/1.1" 200 OK
openmemory-mcp-1 | INFO: 192.168.65.1:58199 - "GET /api/v1/memories/categories?user_id=ejy HTTP/1.1" 200 OK
openmemory-mcp-1 | INFO: 192.168.65.1:50658 - "GET /api/v1/apps/?page=1&page_size=10&sort_by=name&sort_direction=asc HTTP/1.1" 200 OK
openmemory-mcp-1 | INFO: 192.168.65.1:22158 - "GET /api/v1/stats/?user_id=ejy HTTP/1.1" 200 OK
openmemory-mcp-1 | /usr/src/openmemory/app/routers/memories.py:569: DeprecationWarning: sqlalchemy.orm.Query is deprecated, use sqlalchemy.sql.Select instead sqlalchemy.orm.Query support will be removed in the next major release (0.13.0).
openmemory-mcp-1 | return sqlalchemy_paginate(
openmemory-mcp-1 | /usr/local/lib/python3.12/site-packages/fastapi_pagination/ext/sqlalchemy.py:260: SADeprecationWarning: DISTINCT ON is currently supported only by the PostgreSQL dialect. Use of DISTINCT ON for other backends is currently silently ignored, however this usage is deprecated, and will raise CompileError in a future release for all backends that do not support this syntax.
openmemory-mcp-1 | total = yield conn.scalar(count_query)
openmemory-mcp-1 | /usr/local/lib/python3.12/site-packages/fastapi_pagination/ext/sqlalchemy.py:267: SADeprecationWarning: DISTINCT ON is currently supported only by the PostgreSQL dialect. Use of DISTINCT ON for other backends is currently silently ignored, however this usage is deprecated, and will raise CompileError in a future release for all backends that do not support this syntax.
openmemory-mcp-1 | items = yield conn.execute(query)
openmemory-mcp-1 | INFO: 192.168.65.1:58199 - "POST /api/v1/memories/filter HTTP/1.1" 200 OK
openmemory-mcp-1 | INFO: 192.168.65.1:50658 - "POST /api/v1/memories/filter HTTP/1.1" 200 OK
openmemory-mcp-1 | INFO: 192.168.65.1:35015 - "POST /mcp/messages/?session_id=503e1ca2d43f4fc395cf8be864cfdfad HTTP/1.1" 200 OK
openmemory-mcp-1 | [06/06/25 02:25:12] INFO Processing request of type server.py:556
openmemory-mcp-1 | PingRequest
openmemory-mcp-1 | INFO: 192.168.65.1:35015 - "POST /mcp/messages/?session_id=503e1ca2d43f4fc395cf8be864cfdfad HTTP/1.1" 200 OK
openmemory-mcp-1 | INFO Processing request of type server.py:556
openmemory-mcp-1 | CallToolRequest
openmemory-mcp-1 | [06/06/25 02:25:14] INFO HTTP Request: POST _client.py:1025
openmemory-mcp-1 | https://myserver/v1/ch
openmemory-mcp-1 | at/completions "HTTP/1.1 200 OK"
openmemory-mcp-1 | No configuration found in database, using defaults
openmemory-mcp-1 | Parsing environment variables in final config...
openmemory-mcp-1 | Loaded OPENAI_API_KEY from environment for api_key
openmemory-mcp-1 | Loaded OPENAI_API_KEY from environment for api_key
openmemory-mcp-1 | INFO: 192.168.65.1:52625 - "GET /api/v1/stats?user_id=ejy HTTP/1.1" 307 Temporary Redirect
openmemory-mcp-1 | INFO: 192.168.65.1:63893 - "OPTIONS /api/v1/memories/filter HTTP/1.1" 200 OK
openmemory-mcp-1 | INFO: 192.168.65.1:62762 - "OPTIONS /api/v1/memories/filter HTTP/1.1" 200 OK
openmemory-mcp-1 | INFO: 192.168.65.1:32874 - "GET /api/v1/memories/categories?user_id=ejy HTTP/1.1" 200 OK
openmemory-mcp-1 | INFO: 192.168.65.1:33490 - "GET /api/v1/apps/?page=1&page_size=10&sort_by=name&sort_direction=asc HTTP/1.1" 200 OK
openmemory-mcp-1 | INFO: 192.168.65.1:52625 - "GET /api/v1/stats/?user_id=ejy HTTP/1.1" 200 OK
openmemory-mcp-1 | /usr/src/openmemory/app/routers/memories.py:569: DeprecationWarning: sqlalchemy.orm.Query is deprecated, use sqlalchemy.sql.Select instead sqlalchemy.orm.Query support will be removed in the next major release (0.13.0).
openmemory-mcp-1 | return sqlalchemy_paginate(
openmemory-mcp-1 | INFO: 192.168.65.1:62762 - "POST /api/v1/memories/filter HTTP/1.1" 200 OK
openmemory-mcp-1 | INFO: 192.168.65.1:33490 - "POST /api/v1/memories/filter HTTP/1.1" 200 OK
openmemory-mcp-1 | INFO: 192.168.65.1:52925 - "OPTIONS /api/v1/memories/ HTTP/1.1" 200 OK
openmemory-mcp-1 | [06/06/25 02:25:39] INFO Creating memory for user_id: ejy memories.py:227
openmemory-mcp-1 | with app: openmemory
openmemory-mcp-1 | [06/06/25 02:25:40] INFO HTTP Request: POST _client.py:1025
openmemory-mcp-1 | https://myserver/v1/ch
openmemory-mcp-1 | at/completions "HTTP/1.1 200 OK"
openmemory-mcp-1 | INFO Qdrant response: {'results': []} memories.py:253
openmemory-mcp-1 | No configuration found in database, using defaults
openmemory-mcp-1 | Parsing environment variables in final config...
openmemory-mcp-1 | Loaded OPENAI_API_KEY from environment for api_key
openmemory-mcp-1 | Loaded OPENAI_API_KEY from environment for api_key
openmemory-mcp-1 | INFO: 192.168.65.1:52925 - "POST /api/v1/memories/ HTTP/1.1" 200 OK
openmemory-mcp-1 | INFO: 192.168.65.1:52925 - "OPTIONS /api/v1/memories/filter HTTP/1.1" 200 OK
openmemory-mcp-1 | INFO: 192.168.65.1:52925 - "POST /api/v1/memories/filter HTTP/1.1" 200 OK
The first SSE call to MCP for memory addition succeeded,
the second SSE call appeared successful on the client side but did not actually add the memory,
while the third was added manually via the UI interface, which returned null.
use the latest repo file to build the docker images,plz help.3X
do you resolve it?
same issue here... qdrant can store memories directly but opememory API/UI will not store them
+1, struggling
+1 😒
Looks like the documentation/example env file assume you're not using the docker-compose. If you're running it with that, the NEXT_PUBLIC_API_URL should match the name of the service in the docker-compose instead of localhost.
In ui/.env you should have NEXT_PUBLIC_API_URL=http://openmemory-mcp:8765 instead of NEXT_PUBLIC_API_URL=http://localhost:8765