Skip to main content

Use Case 8 - AnythingLLM Websuche mit SearXNG

Use Case 8 - AnythingLLM Websuche mit SearXNG

Beschreibung

Integration von SearXNG als lokale Suchmaschine in AnythingLLM fur Echtzeit-Websuche - vollstandig self-hosted.

Stack

    AnythingLLM v1.10.0 - Port 100 SearXNG - Port 1000 Ollama - Port 8000 Synology NAS DS923+

    Problem 1: SearXNG keine Ergebnisse

    Alle Suchmaschinen in settings.yml waren deaktiviert.

    docker restart librechat-searxng
    curl -s http://192.168.0.82:1000/search?q=bitcoin+price&format=json | python3 -c "import sys,json; d=json.load(sys.stdin); print(d[number_of_results])"

    Problem 2: web-browsing Plugin Bug

    AnythingLLM 1.10.0 Bug: web-browsing gibt [object Object] zuruck. Fix via SQLite:

    DB=/volume1/docker/anythingllm/storage/anythingllm.db
    cp $DB ${DB}.backup
    sqlite3 $DB UPDATE plugins SET enabled=0 WHERE name=web-browsing
    docker restart anythingllm

    Problem 3: Docker Netzwerk-Isolation

    AnythingLLM und SearXNG in verschiedenen Netzen.

    docker network connect librechat_app-net anythingllm

    Problem 4: Falsches Volume Mount

    Richtig: /volume1/docker/anythingllm/storage:/app/server/storage

    Lessons Learned

      SearXNG Engines muessen explizit aktiviert werden Websuche muss an zwei Stellen konfiguriert werden web-browsing Bug in v1.10.0 via SQLite fixen Volume Mounts immer absoluter Pfad