Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kds69 opened this issue Feb 17, 2025 · 1 comment
Open
Labels
bug Something isn't working deploy Related ExApp deployment

Comments

@kds69
Copy link

kds69 commented Feb 17, 2025

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
@kds69 kds69 added the bug Something isn't working label Feb 17, 2025
@kyteinsky
Copy link
Collaborator

kyteinsky commented Feb 17, 2025

hello, this is an issue with app_api setup. Transferring it to app_api's repo for its resolution there.

would you mind describing your setup a little? The daemon configuration, if it's a remote setup (different server for ex-apps) and most importantly, the network config.

@kyteinsky kyteinsky transferred this issue from nextcloud/context_chat_backend Feb 17, 2025
@kyteinsky kyteinsky added the deploy Related ExApp deployment label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working deploy Related ExApp deployment
Projects
None yet
Development

No branches or pull requests

2 participants