Body: Hi everyone, I’ve successfully integrated Nextcloud Assistant with local embeddings on TrueNAS SCALE (Docker-only). Since SCALE is moving away from K8s, I wanted to share a working setup for AppAPI and Context Chat.
1. Prerequisites in Nextcloud Install these apps: AppAPI, Context Chat, Context Chat Backend, and Context Agent.
2. Setup docker-socket-proxy Create a Custom App with image tecnativa/docker-socket-proxy:latest.
Mount: /var/run/docker.sock to /var/run/docker.sock.
Port: 2375.
ENV Variables: CONTAINERS=1, NETWORKS=1, VOLUMES=1, IMAGES=1, POST=1, PING=1, INFO=1.
3. The “Magic” Connectivity Step You must manually connect the proxy to the Nextcloud network so they can talk: docker network connect ix-nextcloud_default ix-docker-socket-proxy_default
4. Register Daemon in Nextcloud AppAPI
Host: docker-socket-proxy:2375.
Network: ix-nextcloud_default.
5. Deploy Backend Go to Nextcloud Apps and click “Deploy and Enable” on Context Chat Backend. Wait a few minutes for the model to load into RAM.
6. Force Indexing If the Vector DB stays at 0, run the worker manually in the Nextcloud container shell: docker exec -u 33 -it ix-nextcloud-nextcloud-1 sh -lc 'php -f /var/www/html/occ background-job:worker -t 900'


