Comments (11)
If you’re deploying to a cloud environment or container orchestrator please use the zep-cloud container.
from zep.
Please ensure you're prefixing Zep's environment variables with ZEP_
. See here for a full set of configuration values and related environment variables: https://docs.getzep.com/deployment/config/
from zep.
Thank you for the suggestion to use the zep-cloud
container for cloud deployments. I've updated my docker-compose.yaml
file to use the zep-cloud
container and configured it to use a PostgreSQL database.
However, I'm still encountering an issue where the Zep container is unable to connect to the PostgreSQL database. The logs show the following error:
time="2024-05-09T18:15:00Z" level=error msg="error enabling pgvector extension: error creating pgvector extension: dial tcp 127.0.0.1:5432: connect: connection refused"
time="2024-05-09T18:15:00Z" level=info msg="error checking if hnsw indexes are available: error checking vector extension version: dial tcp 127.0.0.1:5432: connect: connection refused"
time="2024-05-09T18:15:00Z" level=fatal msg="Failed to connect to database: error checking vector extension version: dial tcp 127.0.0.1:5432: connect: connection refused\n"
It appears that the Zep container is trying to connect to a PostgreSQL server running on the local machine (127.0.0.1) at the default port (5432), but the connection is being refused.
Here's the relevant part of my updated docker-compose.yaml
file:
zep:
image: ghcr.io/getzep/zep-cloud:${ZEP_DOCKER_TAG-latest}
container_name: zep
volumes:
- zep:/app/backend/data
ports:
- "5555:8000"
env_file:
- ./backend/.env
environment:
- ZEP_OPENAI_API_KEY=${ZEP_OPENAI_API_KEY-}
- STORE_TYPE=postgres
restart: unless-stopped
or
zep:
image: ghcr.io/getzep/zep-cloud:${ZEP_DOCKER_TAG-latest}
container_name: zep
depends_on:
- postgres
volumes:
- zep:/app/backend/data
- ./config.yaml:/app/config.yaml
ports:
- "5555:8000"
env_file:
- ./backend/.env
environment:
- ZEP_OPENAI_API_KEY=${ZEP_OPENAI_API_KEY-}
- STORE_TYPE=postgres
- STORE_POSTGRES_HOST=postgres
- STORE_POSTGRES_PORT=5432
- STORE_POSTGRES_USER=postgres
- STORE_POSTGRES_PASSWORD=postgres
- STORE_POSTGRES_DB=zep
- CONFIG_FILE=/app/config.yaml
restart: unless-stopped
I've set the STORE_TYPE
environment variable to postgres
, but I'm not sure if there are any additional configuration steps required to properly set up the connection to the PostgreSQL database.
Could you please provide guidance on how to resolve this connection issue? Do I need to set up a separate PostgreSQL service in my docker-compose.yaml
file and configure the Zep container to connect to it? Or are there any other configuration options I need to set for the zep-cloud
container to establish a successful connection to the database?
Any help or further suggestions would be greatly appreciated. Let me know if you need any additional information or context.
Thank you!
from zep.
version: '3.8'
services:
ollama:
container_name: ollama
image: ollama/ollama:latest
volumes:
- ollama:/root/.ollama
pull_policy: always
tty: true
restart: unless-stopped
ollama-webui:
build:
context: .
args:
OLLAMA_API_BASE_URL: '/ollama/api'
dockerfile: Dockerfile
image: ghcr.io/ollama-webui/ollama-webui:main
container_name: ollama-webui
volumes:
- ollama-webui:/app/backend/data
depends_on:
- ollama
ports:
- "${OLLAMA_WEBUI_PORT-3000}:8080"
env_file:
- ./backend/.env
environment:
- OLLAMA_API_BASE_URL=http://ollama:11434/api
- ZEP_OPENAI_API_KEY=${ZEP_OPENAI_API_KEY-}
- STORE_TYPE=postgres
- ZEP_API_URL=http://zep:8000
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped
zep:
image: ghcr.io/getzep/zep-cloud:${ZEP_DOCKER_TAG-latest}
container_name: zep
depends_on:
- postgres
volumes:
- zep:/app/backend/data
- ./config.yaml:/app/config.yaml
ports:
- "5555:8000"
env_file:
- ./backend/.env
environment:
- ZEP_OPENAI_API_KEY=${ZEP_OPENAI_API_KEY-}
- STORE_TYPE=postgres
- STORE_POSTGRES_HOST=postgres
- STORE_POSTGRES_PORT=5432
- STORE_POSTGRES_USER=postgres
- STORE_POSTGRES_PASSWORD=postgres
- STORE_POSTGRES_DB=zep
- CONFIG_FILE=/app/config.yaml
restart: unless-stopped
postgres:
image: postgres:latest
container_name: postgres
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=zep
volumes:
- postgres:/var/lib/postgresql/data
restart: unless-stopped
volumes:
ollama: {}
zep: {}
ollama-webui: {}
postgres: {}
networks:
default:
driver: bridge
from zep.
Please ensure you're prefixing Zep's environment variables with
ZEP_
. See here for a full set of configuration values and related environment variables: https://docs.getzep.com/deployment/config/
services:
ollama:
container_name: ollama
image: ollama/ollama:latest
volumes:
- ollama:/root/.ollama
pull_policy: always
tty: true
restart: unless-stopped
ollama-webui:
build:
context: .
args:
OLLAMA_API_BASE_URL: '/ollama/api'
dockerfile: Dockerfile
image: ghcr.io/ollama-webui/ollama-webui:main
container_name: ollama-webui
volumes:
- ollama-webui:/app/backend/data
depends_on:
- ollama
ports:
- "${OLLAMA_WEBUI_PORT-3000}:8080"
env_file:
- ./backend/.env
environment:
- OLLAMA_API_BASE_URL=http://ollama:11434/api
- ZEP_OPENAI_API_KEY=${ZEP_OPENAI_API_KEY-}
- ZEP_API_URL=http://zep:8000
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped
zep:
image: ghcr.io/getzep/zep-cloud:${ZEP_DOCKER_TAG-latest}
container_name: zep
depends_on:
- postgres
volumes:
- zep:/app/backend/data
- ./config.yaml:/app/config.yaml
ports:
- "5555:8000"
environment:
- ZEP_OPENAI_API_KEY=${ZEP_OPENAI_API_KEY-}
- ZEP_STORE_TYPE=postgres
- ZEP_STORE_POSTGRES_HOST=postgres
- ZEP_STORE_POSTGRES_PORT=5432
- ZEP_STORE_POSTGRES_USER=postgres
- ZEP_STORE_POSTGRES_PASSWORD=postgres
- ZEP_STORE_POSTGRES_DB=zep
- ZEP_CONFIG_FILE=/app/config.yaml
- ZEP_LLM_SERVICE=openai
- ZEP_LLM_MODEL=gpt-3.5-turbo
- ZEP_EXTRACTORS_DOCUMENTS_EMBEDDINGS_SERVICE=local
- ZEP_EXTRACTORS_MESSAGES_EMBEDDINGS_SERVICE=local
- ZEP_EXTRACTORS_MESSAGES_SUMMARIZER_EMBEDDINGS_SERVICE=local
restart: unless-stopped
postgres:
image: postgres:latest
container_name: postgres
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=zep
volumes:
- postgres:/var/lib/postgresql/data
restart: unless-stopped
volumes:
ollama: {}
zep: {}
ollama-webui: {}
postgres: {}
networks:
default:
driver: bridge```
from zep.
docker logs 1943a89a9532
Environment variable ZEP_NLP_SERVER_HOSTPORT is not set. If running on Render.com, please ensure you are passing the NLP server's hostport as an environment variable.
time="2024-05-09T20:03:15Z" level=warning msg=".env file not found or unable to load. This warning can be ignored if Zep is run using docker compose with env_file defined or you are passing ENV variables."
time="2024-05-09T20:03:15Z" level=info msg="Log level set to: info"
time="2024-05-09T20:03:15Z" level=info msg="Starting Zep server version 0.25.0-03b77fd (2024-03-26T00:58:52+0000)"
time="2024-05-09T20:03:15Z" level=error msg="error enabling pgvector extension: error creating pgvector extension: dial tcp 127.0.0.1:5432: connect: connection refused"
time="2024-05-09T20:03:15Z" level=info msg="error checking if hnsw indexes are available: error checking vector extension version: dial tcp 127.0.0.1:5432: connect: connection refused"
time="2024-05-09T20:03:15Z" level=fatal msg="Failed to connect to database: error checking vector extension version: dial tcp 127.0.0.1:5432: connect: connection refused\n"
Environment variable ZEP_NLP_SERVER_HOSTPORT is not set. If running on Render.com, please ensure you are passing the NLP server's hostport as an environment variable.
time="2024-05-09T20:03:16Z" level=warning msg=".env file not found or unable to load. This warning can be ignored if Zep is run using docker compose with env_file defined or you are passing ENV variables."
time="2024-05-09T20:03:16Z" level=info msg="Starting Zep server version 0.25.0-03b77fd (2024-03-26T00:58:52+0000)"
time="2024-05-09T20:03:16Z" level=info msg="Log level set to: info"
time="2024-05-09T20:03:16Z" level=error msg="error enabling pgvector extension: error creating pgvector extension: dial tcp 127.0.0.1:5432: connect: connection refused"
time="2024-05-09T20:03:16Z" level=info msg="error checking if hnsw indexes are available: error checking vector extension version: dial tcp 127.0.0.1:5432: connect: connection refused"
time="2024-05-09T20:03:16Z" level=fatal msg="Failed to connect to database: error checking vector extension version: dial tcp 127.0.0.1:5432: connect: connection refused\n"
Environment variable ZEP_NLP_SERVER_HOSTPORT is not set. If running on Render.com, please ensure you are passing the NLP server's hostport as an environment variable.
time="2024-05-09T20:03:17Z" level=warning msg=".env file not found or unable to load. This warning can be ignored if Zep is run using docker compose with env_file defined or you are passing ENV variables."
time="2024-05-09T20:03:17Z" level=info msg="Starting Zep server version 0.25.0-03b77fd (2024-03-26T00:58:52+0000)"
time="2024-05-09T20:03:17Z" level=info msg="Log level set to: info"
time="2024-05-09T20:03:17Z" level=error msg="error enabling pgvector extension: error creating pgvector extension: dial tcp 127.0.0.1:5432: connect: connection refused"
time="2024-05-09T20:03:17Z" level=info msg="error checking if hnsw indexes are available: error checking vector extension version: dial tcp 127.0.0.1:5432: connect: connection refused"
time="2024-05-09T20:03:17Z" level=fatal msg="Failed to connect to database: error checking vector extension version: dial tcp 127.0.0.1:5432: connect: connection refused\n"
Environment variable ZEP_NLP_SERVER_HOSTPORT is not set. If running on Render.com, please ensure you are passing the NLP server's hostport as an environment variable.
time="2024-05-09T20:03:18Z" level=warning msg=".env file not found or unable to load. This warning can be ignored if Zep is run using docker compose with env_file defined or you are passing ENV variables."
time="2024-05-09T20:03:18Z" level=info msg="Starting Zep server version 0.25.0-03b77fd (2024-03-26T00:58:52+0000)"
time="2024-05-09T20:03:18Z" level=info msg="Log level set to: info"
time="2024-05-09T20:03:18Z" level=error msg="error enabling pgvector extension: error creating pgvector extension: dial tcp 127.0.0.1:5432: connect: connection refused"
time="2024-05-09T20:03:18Z" level=info msg="error checking if hnsw indexes are available: error checking vector extension version: dial tcp 127.0.0.1:5432: connect: connection refused"
time="2024-05-09T20:03:18Z" level=fatal msg="Failed to connect to database: error checking vector extension version: dial tcp 127.0.0.1:5432: connect: connection refused\n"
Environment variable ZEP_NLP_SERVER_HOSTPORT is not set. If running on Render.com, please ensure you are passing the NLP server's hostport as an environment variable.
time="2024-05-09T20:03:19Z" level=warning msg=".env file not found or unable to load. This warning can be ignored if Zep is run using docker compose with env_file defined or you are passing ENV variables."
time="2024-05-09T20:03:19Z" level=info msg="Log level set to: info"
time="2024-05-09T20:03:19Z" level=info msg="Starting Zep server version 0.25.0-03b77fd (2024-03-26T00:58:52+0000)"
time="2024-05-09T20:03:19Z" level=error msg="error enabling pgvector extension: error creating pgvector extension: dial tcp 127.0.0.1:5432: connect: connection refused"
time="2024-05-09T20:03:19Z" level=info msg="error checking if hnsw indexes are available: error checking vector extension version: dial tcp 127.0.0.1:5432: connect: connection refused"
time="2024-05-09T20:03:19Z" level=fatal msg="Failed to connect to database: error checking vector extension version: dial tcp 127.0.0.1:5432: connect: connection refused\n"
Environment variable ZEP_NLP_SERVER_HOSTPORT is not set. If running on Render.com, please ensure you are passing the NLP server's hostport as an environment variable.
time="2024-05-09T20:03:21Z" level=warning msg=".env file not found or unable to load. This warning can be ignored if Zep is run using docker compose with env_file defined or you are passing ENV variables."
time="2024-05-09T20:03:21Z" level=info msg="Starting Zep server version 0.25.0-03b77fd (2024-03-26T00:58:52+0000)"
time="2024-05-09T20:03:21Z" level=info msg="Log level set to: info"
time="2024-05-09T20:03:21Z" level=error msg="error enabling pgvector extension: error creating pgvector extension: dial tcp 127.0.0.1:5432: connect: connection refused"
time="2024-05-09T20:03:21Z" level=info msg="error checking if hnsw indexes are available: error checking vector extension version: dial tcp 127.0.0.1:5432: connect: connection refused"
time="2024-05-09T20:03:21Z" level=fatal msg="Failed to connect to database: error checking vector extension version: dial tcp 127.0.0.1:5432: connect: connection refused\n"
Environment variable ZEP_NLP_SERVER_HOSTPORT is not set. If running on Render.com, please ensure you are passing the NLP server's hostport as an environment variable.
time="2024-05-09T20:03:25Z" level=warning msg=".env file not found or unable to load. This warning can be ignored if Zep is run using docker compose with env_file defined or you are passing ENV variables."
time="2024-05-09T20:03:25Z" level=info msg="Starting Zep server version 0.25.0-03b77fd (2024-03-26T00:58:52+0000)"
time="2024-05-09T20:03:25Z" level=info msg="Log level set to: info"
time="2024-05-09T20:03:25Z" level=error msg="error enabling pgvector extension: error creating pgvector extension: dial tcp 127.0.0.1:5432: connect: connection refused"
time="2024-05-09T20:03:25Z" level=info msg="error checking if hnsw indexes are available: error checking vector extension version: dial tcp 127.0.0.1:5432: connect: connection refused"
time="2024-05-09T20:03:25Z" level=fatal msg="Failed to connect to database: error checking vector extension version: dial tcp 127.0.0.1:5432: connect: connection refused\n"
Environment variable ZEP_NLP_SERVER_HOSTPORT is not set. If running on Render.com, please ensure you are passing the NLP server's hostport as an environment variable.
time="2024-05-09T20:03:32Z" level=warning msg=".env file not found or unable to load. This warning can be ignored if Zep is run using docker compose with env_file defined or you are passing ENV variables."
time="2024-05-09T20:03:32Z" level=info msg="Starting Zep server version 0.25.0-03b77fd (2024-03-26T00:58:52+0000)"
time="2024-05-09T20:03:32Z" level=info msg="Log level set to: info"
time="2024-05-09T20:03:32Z" level=error msg="error enabling pgvector extension: error creating pgvector extension: dial tcp 127.0.0.1:5432: connect: connection refused"
time="2024-05-09T20:03:32Z" level=info msg="error checking if hnsw indexes are available: error checking vector extension version: dial tcp 127.0.0.1:5432: connect: connection refused"
time="2024-05-09T20:03:32Z" level=fatal msg="Failed to connect to database: error checking vector extension version: dial tcp 127.0.0.1:5432: connect: connection refused\n"
Environment variable ZEP_NLP_SERVER_HOSTPORT is not set. If running on Render.com, please ensure you are passing the NLP server's hostport as an environment variable.
time="2024-05-09T20:03:45Z" level=warning msg=".env file not found or unable to load. This warning can be ignored if Zep is run using docker compose with env_file defined or you are passing ENV variables."
time="2024-05-09T20:03:45Z" level=info msg="Starting Zep server version 0.25.0-03b77fd (2024-03-26T00:58:52+0000)"
time="2024-05-09T20:03:45Z" level=info msg="Log level set to: info"
time="2024-05-09T20:03:45Z" level=error msg="error enabling pgvector extension: error creating pgvector extension: dial tcp 127.0.0.1:5432: connect: connection refused"
time="2024-05-09T20:03:45Z" level=info msg="error checking if hnsw indexes are available: error checking vector extension version: dial tcp 127.0.0.1:5432: connect: connection refused"
time="2024-05-09T20:03:45Z" level=fatal msg="Failed to connect to database: error checking vector extension version: dial tcp 127.0.0.1:5432: connect: connection refused\n"
from zep.
I have made the suggested changes same error.
Please ensure you're prefixing Zep's environment variables with
ZEP_
. See here for a full set of configuration values and related environment variables: https://docs.getzep.com/deployment/config/
from zep.
Please set your Postgres DSN environment variable correctly. There's no ZEP_STORE_POSTGRES_HOST
etc variable in the Zep config. The "official" docker compose may be a helpful template:
Line 51 in 919596e
from zep.
Please set your Postgres DSN environment variable correctly. There's no
ZEP_STORE_POSTGRES_HOST
etc variable in the Zep config. The "official" docker compose may be a helpful template:Line 51 in 919596e
version: '3.8'
services:
ollama:
container_name: ollama
image: ollama/ollama:latest
volumes:
- ollama:/root/.ollama
pull_policy: always
tty: true
restart: unless-stopped
ollama-webui:
build:
context: .
args:
OLLAMA_API_BASE_URL: '/ollama/api'
dockerfile: Dockerfile
image: ghcr.io/ollama-webui/ollama-webui:main
container_name: ollama-webui
volumes:
- ollama-webui:/app/backend/data
depends_on:
- ollama
ports:
- "${OLLAMA_WEBUI_PORT-3000}:8080"
env_file:
- ./backend/.env
environment:
- OLLAMA_API_BASE_URL=http://ollama:11434/api
- ZEP_OPENAI_API_KEY=${ZEP_OPENAI_API_KEY-}
- ZEP_API_URL=http://zep:8000
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped
zep:
image: ghcr.io/getzep/zep-cloud:${ZEP_DOCKER_TAG-latest}
container_name: zep
depends_on:
- postgres
volumes:
- zep:/app/backend/data
- ./config.yaml:/app/config.yaml
ports:
- "5555:8000"
environment:
- ZEP_OPENAI_API_KEY=${ZEP_OPENAI_API_KEY-}
- ZEP_STORE_POSTGRES_DSN=postgres://postgres:postgres@postgres:5432/zep?sslmode=disable
- ZEP_NLP_SERVER_URL=http://nlp:5557
- ZEP_EXTRACTORS_DOCUMENTS_EMBEDDINGS_SERVICE=local
- ZEP_EXTRACTORS_MESSAGES_EMBEDDINGS_SERVICE=local
- ZEP_EXTRACTORS_MESSAGES_SUMMARIZER_EMBEDDINGS_SERVICE=local
- ZEP_CONFIG_FILE=/app/config.yaml
restart: unless-stopped
nlp:
image: ghcr.io/getzep/zep-nlp-server:latest
container_name: zep-nlp
restart: on-failure
networks:
- zep-network
postgres:
image: postgres:latest
container_name: postgres
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=zep
volumes:
- postgres:/var/lib/postgresql/data
restart: unless-stopped
networks:
- zep-network
volumes:
ollama: {}
zep: {}
ollama-webui: {}
postgres: {}
networks:
zep-network:
driver: bridge
from zep.
docker logs a9884c568d73
Environment variable ZEP_NLP_SERVER_HOSTPORT is not set. If running on Render.com, please ensure you are passing the NLP server's hostport as an environment variable.
time="2024-05-09T22:47:00Z" level=warning msg=".env file not found or unable to load. This warning can be ignored if Zep is run using docker compose with env_file defined or you are passing ENV variables."
time="2024-05-09T22:47:00Z" level=info msg="Starting Zep server version 0.25.0-03b77fd (2024-03-26T00:58:52+0000)"
time="2024-05-09T22:47:00Z" level=info msg="Log level set to: info"
time="2024-05-09T22:47:00Z" level=error msg="error enabling pgvector extension: error creating pgvector extension: dial tcp 192.168.1.1:5432: connect: connection refused"
time="2024-05-09T22:47:00Z" level=info msg="error checking if hnsw indexes are available: error checking vector extension version: dial tcp 192.168.1.1:5432: connect: connection refused"
time="2024-05-09T22:47:00Z" level=fatal msg="Failed to connect to database: error checking vector extension version: dial tcp 192.168.1.1:5432: connect: connection refused\n"
Environment variable ZEP_NLP_SERVER_HOSTPORT is not set. If running on Render.com, please ensure you are passing the NLP server's hostport as an environment variable.
time="2024-05-09T22:47:01Z" level=warning msg=".env file not found or unable to load. This warning can be ignored if Zep is run using docker compose with env_file defined or you are passing ENV variables."
time="2024-05-09T22:47:01Z" level=info msg="Starting Zep server version 0.25.0-03b77fd (2024-03-26T00:58:52+0000)"
time="2024-05-09T22:47:01Z" level=info msg="Log level set to: info"
time="2024-05-09T22:47:01Z" level=error msg="error enabling pgvector extension: error creating pgvector extension: dial tcp 192.168.1.1:5432: connect: connection refused"
time="2024-05-09T22:47:01Z" level=info msg="error checking if hnsw indexes are available: error checking vector extension version: dial tcp 192.168.1.1:5432: connect: connection refused"
time="2024-05-09T22:47:01Z" level=fatal msg="Failed to connect to database: error checking vector extension version: dial tcp 192.168.1.1:5432: connect: connection refused\n"
Environment variable ZEP_NLP_SERVER_HOSTPORT is not set. If running on Render.com, please ensure you are passing the NLP server's hostport as an environment variable.
time="2024-05-09T22:47:02Z" level=warning msg=".env file not found or unable to load. This warning can be ignored if Zep is run using docker compose with env_file defined or you are passing ENV variables."
time="2024-05-09T22:47:02Z" level=info msg="Starting Zep server version 0.25.0-03b77fd (2024-03-26T00:58:52+0000)"
time="2024-05-09T22:47:02Z" level=info msg="Log level set to: info"
time="2024-05-09T22:47:02Z" level=error msg="error enabling pgvector extension: error creating pgvector extension: dial tcp 192.168.1.1:5432: connect: connection refused"
time="2024-05-09T22:47:02Z" level=info msg="error checking if hnsw indexes are available: error checking vector extension version: dial tcp 192.168.1.1:5432: connect: connection refused"
time="2024-05-09T22:47:02Z" level=fatal msg="Failed to connect to database: error checking vector extension version: dial tcp 192.168.1.1:5432: connect: connection refused\n"
Environment variable ZEP_NLP_SERVER_HOSTPORT is not set. If running on Render.com, please ensure you are passing the NLP server's hostport as an environment variable.
time="2024-05-09T22:47:03Z" level=warning msg=".env file not found or unable to load. This warning can be ignored if Zep is run using docker compose with env_file defined or you are passing ENV variables."
time="2024-05-09T22:47:03Z" level=info msg="Log level set to: info"
time="2024-05-09T22:47:03Z" level=info msg="Starting Zep server version 0.25.0-03b77fd (2024-03-26T00:58:52+0000)"
time="2024-05-09T22:47:03Z" level=error msg="error enabling pgvector extension: error creating pgvector extension: dial tcp 192.168.1.1:5432: connect: connection refused"
time="2024-05-09T22:47:03Z" level=info msg="error checking if hnsw indexes are available: error checking vector extension version: dial tcp 192.168.1.1:5432: connect: connection refused"
time="2024-05-09T22:47:03Z" level=fatal msg="Failed to connect to database: error checking vector extension version: dial tcp 192.168.1.1:5432: connect: connection refused\n"
Environment variable ZEP_NLP_SERVER_HOSTPORT is not set. If running on Render.com, please ensure you are passing the NLP server's hostport as an environment variable.
time="2024-05-09T22:47:04Z" level=warning msg=".env file not found or unable to load. This warning can be ignored if Zep is run using docker compose with env_file defined or you are passing ENV variables."
time="2024-05-09T22:47:04Z" level=info msg="Starting Zep server version 0.25.0-03b77fd (2024-03-26T00:58:52+0000)"
time="2024-05-09T22:47:04Z" level=info msg="Log level set to: info"
time="2024-05-09T22:47:04Z" level=error msg="error enabling pgvector extension: error creating pgvector extension: dial tcp 192.168.1.1:5432: connect: connection refused"
time="2024-05-09T22:47:04Z" level=info msg="error checking if hnsw indexes are available: error checking vector extension version: dial tcp 192.168.1.1:5432: connect: connection refused"
time="2024-05-09T22:47:04Z" level=fatal msg="Failed to connect to database: error checking vector extension version: dial tcp 192.168.1.1:5432: connect: connection refused\n"
Environment variable ZEP_NLP_SERVER_HOSTPORT is not set. If running on Render.com, please ensure you are passing the NLP server's hostport as an environment variable.
time="2024-05-09T22:47:06Z" level=warning msg=".env file not found or unable to load. This warning can be ignored if Zep is run using docker compose with env_file defined or you are passing ENV variables."
time="2024-05-09T22:47:06Z" level=info msg="Log level set to: info"
time="2024-05-09T22:47:06Z" level=info msg="Starting Zep server version 0.25.0-03b77fd (2024-03-26T00:58:52+0000)"
time="2024-05-09T22:47:06Z" level=error msg="error enabling pgvector extension: error creating pgvector extension: dial tcp 192.168.1.1:5432: connect: connection refused"
time="2024-05-09T22:47:06Z" level=info msg="error checking if hnsw indexes are available: error checking vector extension version: dial tcp 192.168.1.1:5432: connect: connection refused"
time="2024-05-09T22:47:06Z" level=fatal msg="Failed to connect to database: error checking vector extension version: dial tcp 192.168.1.1:5432: connect: connection refused\n"
Environment variable ZEP_NLP_SERVER_HOSTPORT is not set. If running on Render.com, please ensure you are passing the NLP server's hostport as an environment variable.
time="2024-05-09T22:47:10Z" level=warning msg=".env file not found or unable to load. This warning can be ignored if Zep is run using docker compose with env_file defined or you are passing ENV variables."
time="2024-05-09T22:47:10Z" level=info msg="Starting Zep server version 0.25.0-03b77fd (2024-03-26T00:58:52+0000)"
time="2024-05-09T22:47:10Z" level=info msg="Log level set to: info"
time="2024-05-09T22:47:10Z" level=error msg="error enabling pgvector extension: error creating pgvector extension: dial tcp 192.168.1.1:5432: connect: connection refused"
time="2024-05-09T22:47:10Z" level=info msg="error checking if hnsw indexes are available: error checking vector extension version: dial tcp 192.168.1.1:5432: connect: connection refused"
time="2024-05-09T22:47:10Z" level=fatal msg="Failed to connect to database: error checking vector extension version: dial tcp 192.168.1.1:5432: connect: connection refused\n"
Environment variable ZEP_NLP_SERVER_HOSTPORT is not set. If running on Render.com, please ensure you are passing the NLP server's hostport as an environment variable.
time="2024-05-09T22:47:16Z" level=warning msg=".env file not found or unable to load. This warning can be ignored if Zep is run using docker compose with env_file defined or you are passing ENV variables."
time="2024-05-09T22:47:16Z" level=info msg="Log level set to: info"
time="2024-05-09T22:47:16Z" level=info msg="Starting Zep server version 0.25.0-03b77fd (2024-03-26T00:58:52+0000)"
time="2024-05-09T22:47:16Z" level=error msg="error enabling pgvector extension: error creating pgvector extension: dial tcp 192.168.1.1:5432: connect: connection refused"
time="2024-05-09T22:47:16Z" level=info msg="error checking if hnsw indexes are available: error checking vector extension version: dial tcp 192.168.1.1:5432: connect: connection refused"
time="2024-05-09T22:47:16Z" level=fatal msg="Failed to connect to database: error checking vector extension version: dial tcp 192.168.1.1:5432: connect: connection refused\n"
Environment variable ZEP_NLP_SERVER_HOSTPORT is not set. If running on Render.com, please ensure you are passing the NLP server's hostport as an environment variable.
time="2024-05-09T22:47:30Z" level=warning msg=".env file not found or unable to load. This warning can be ignored if Zep is run using docker compose with env_file defined or you are passing ENV variables."
time="2024-05-09T22:47:30Z" level=info msg="Starting Zep server version 0.25.0-03b77fd (2024-03-26T00:58:52+0000)"
time="2024-05-09T22:47:30Z" level=info msg="Log level set to: info"
time="2024-05-09T22:47:30Z" level=error msg="error enabling pgvector extension: error creating pgvector extension: dial tcp 192.168.1.1:5432: connect: connection refused"
time="2024-05-09T22:47:30Z" level=info msg="error checking if hnsw indexes are available: error checking vector extension version: dial tcp 192.168.1.1:5432: connect: connection refused"
time="2024-05-09T22:47:30Z" level=fatal msg="Failed to connect to database: error checking vector extension version: dial tcp 192.168.1.1:5432: connect: connection refused\n"
Environment variable ZEP_NLP_SERVER_HOSTPORT is not set. If running on Render.com, please ensure you are passing the NLP server's hostport as an environment variable.
time="2024-05-09T22:47:56Z" level=warning msg=".env file not found or unable to load. This warning can be ignored if Zep is run using docker compose with env_file defined or you are passing ENV variables."
time="2024-05-09T22:47:56Z" level=info msg="Log level set to: info"
time="2024-05-09T22:47:56Z" level=info msg="Starting Zep server version 0.25.0-03b77fd (2024-03-26T00:58:52+0000)"
time="2024-05-09T22:47:56Z" level=error msg="error enabling pgvector extension: error creating pgvector extension: dial tcp 192.168.1.1:5432: connect: connection refused"
time="2024-05-09T22:47:56Z" level=info msg="error checking if hnsw indexes are available: error checking vector extension version: dial tcp 192.168.1.1:5432: connect: connection refused"
time="2024-05-09T22:47:56Z" level=fatal msg="Failed to connect to database: error checking vector extension version: dial tcp 192.168.1.1:5432: connect: connection refused\n"
from zep.
Getting the same error
Please set your Postgres DSN environment variable correctly. There's no
ZEP_STORE_POSTGRES_HOST
etc variable in the Zep config. The "official" docker compose may be a helpful template:Line 51 in 919596e
from zep.
Related Issues (20)
- No google gemini support yet? HOT 3
- #314 Regarding this issue please see my comment on this one which you closed HOT 1
- [BUG] Zep Admin console leaks database password HOT 2
- Issue while adding ZEP Session HOT 1
- SDKs don't work OOB - assume v2 API HOT 3
- Support httpx 0.27.0 HOT 3
- [FEAT] Support concurrent updates for Zep users HOT 12
- [BUG] main page reports error 404 - Oops, something went wrong. Sorry, we couldn't find your page. HOT 1
- [QUESTION] Is the zep-nlp server required? HOT 2
- Using Zep as Document Storage? HOT 2
- [BUG] Can I use the postgresql that I already have without installing postgresql docker? HOT 2
- [FEAT] Unconventional Job Application HOT 1
- Update, delete and insert messages on Langchain SDK HOT 1
- [FEAT] LangGraph support via Zep checkpointer HOT 7
- [BUG] embeddings model needs to be provided when using Azure API HOT 6
- [BUG] Cannot change config values when deployed to Render HOT 1
- level=fatal msg="store.type must be set" HOT 9
- [BUG] ZepClient not working
- Request takes a long time for sessions with large chat history HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zep.