Skip to content

[bug]: context_chat_backend never finishes heartbeat check (CPU/AVX2) #516

Description

@kds69

context_chat_backend never finishes heartbeat check, but app seems to have started up.

Steps to reproduce the behavior:
One Click deployment against default docker install

Context Chat Backend logs (if applicable, from the docker container)

Starting PostgreSQL...
sudo: unable to resolve host context_chat_backend: Name or service not known
pg_ctl: another server might be running; trying to start server anyway
waiting for server to start.... done
server started
Waiting for PostgreSQL to start...
PostgreSQL is up and running.
sudo: unable to resolve host context_chat_backend: Name or service not known
sudo: unable to resolve host context_chat_backend: Name or service not known
ALTER ROLE
sudo: unable to resolve host context_chat_backend: Name or service not known
sudo: unable to resolve host context_chat_backend: Name or service not known
NOTICE:  extension "vector" already exists, skipping
CREATE EXTENSION
Running repairs...
No repairs are required.
Config file already exists in the persistent storage ("/nc_app_context_chat_backend_data/config.yaml").
App config:
{
  "debug": true,
  "uvicorn_log_level": "info",
  "disable_aaa": false,
  "httpx_verify_ssl": true,
  "use_colors": true,
  "uvicorn_workers": 1,
  "embedding_chunk_size": 2000,
  "doc_parser_worker_limit": 10,
  "vectordb": [
    "pgvector",
    {}
  ],
  "embedding": {
    "protocol": "http",
    "host": "localhost",
    "port": 5000,
    "workers": 1,
    "offload_after_mins": 15,
    "request_timeout": 1800,
    "llama": {
      "model": "multilingual-e5-large-instruct-q6_k.gguf",
      "n_batch": 16,
      "n_ctx": 8192
    }
  },
  "llm": [
    "nc_texttotext",
    {}
  ]
}
INFO:     Started server process [45]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://127.0.0.1:23000 (Press CTRL+C to quit)

Screenshots

Image

Setup Details (please complete the following information):

  • Nextcloud Version: 30.0.5
  • AppAPI Version: 4.0.5
  • Context Chat PHP Version N/A (not installed yet)
  • Context Chat Backend Version 4.0.7
  • Nextcloud deployment method: Apache VM (proxmox)
  • Context Chat Backend deployment method: one-click

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions