nilsherzig / LLocalSearch

LLocalSearch is a completely locally running search aggregator using LLM Agents. The user can ask a question and the system will use a chain of LLMs to find the answer. The user can see the progress of the agents and the final answer. No OpenAI or Google API keys are needed.
Apache License 2.0
5.67k stars 362 forks source link

Not seeming to work on M1 Mac? #99

Closed dilzilla closed 6 months ago

dilzilla commented 6 months ago

This was working last week but now it's not. The page loads but when I type a question nothing happens. Not sure why? Docker seems to be running fine. I even reinstalled everything and it doesn't work.

from terminal: ✔ Network llocalsearch_llm_network Created0.0s 0.0s ✔ Network llocalsearch_searxng Created0.0s 0.0s ✔ Container llocalsearch-searxng-1 Created0.1s 0.0s ✔ Container llocalsearch-backend-1 Created0.1s ✔ Container llocalsearch-chromadb-1 Created0.1s ✔ Container llocalsearch-redis-1 Created0.1s ! backend The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s ✔ Container llocalsearch-frontend-1 Created0.0s ! frontend The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s Attaching to backend-1, chromadb-1, frontend-1, redis-1, searxng-1 chromadb-1 | Starting 'uvicorn chromadb.app:app' with args: --workers 1 --host 0.0.0.0 --port 8000 --proxy-headers --log-config chromadb/log_config.yml --timeout-keep-alive 30 backend-1 | 2024/04/23 19:28:52 INFO Starting the server backend-1 | Server started at http://localhost:8080 searxng-1 | SearXNG version 2024.3.29+f5bb64cca searxng-1 | Use existing /etc/searxng/uwsgi.ini searxng-1 | Use existing /etc/searxng/settings.yml searxng-1 | Listen on 0.0.0.0:8080 searxng-1 | [uWSGI] getting INI configuration from /etc/searxng/uwsgi.ini searxng-1 | [uwsgi-static] added mapping for /static => /usr/local/searxng/searx/static searxng-1 | *** Starting uWSGI 2.0.23 (64bit) on [Tue Apr 23 19:28:53 2024] *** searxng-1 | compiled with version: 13.2.1 20231014 on 30 November 2023 14:34:33 searxng-1 | os: Linux-6.6.16-linuxkit #1 SMP Fri Feb 16 11:54:02 UTC 2024 searxng-1 | nodename: 329241d6eb8d searxng-1 | machine: aarch64 searxng-1 | clock source: unix searxng-1 | pcre jit disabled searxng-1 | detected number of CPU cores: 10 searxng-1 | current working directory: /usr/local/searxng searxng-1 | detected binary path: /usr/sbin/uwsgi searxng-1 | chdir() to /usr/local/searxng/searx/ searxng-1 | your memory page size is 4096 bytes searxng-1 | detected max file descriptor number: 1048576 searxng-1 | building mime-types dictionary from file /etc/mime.types...1390 entry found searxng-1 | lock engine: pthread robust mutexes searxng-1 | thunder lock: disabled (you can enable it with --thunder-lock) searxng-1 | uwsgi socket 0 bound to TCP address 0.0.0.0:8080 fd 3 searxng-1 | Python version: 3.11.8 (main, Feb 19 2024, 17:01:17) [GCC 13.2.1 20231014] searxng-1 | Python main interpreter initialized at 0xffff92089600 searxng-1 | python threads support enabled searxng-1 | your server socket listen backlog is limited to 100 connections searxng-1 | your mercy for graceful operations on workers is 60 seconds searxng-1 | mapped 1327392 bytes (1296 KB) for 40 cores searxng-1 | *** Operational MODE: preforking+threaded *** searxng-1 | added /usr/local/searxng/ to pythonpath. searxng-1 | spawned uWSGI master process (pid: 7) searxng-1 | spawned uWSGI worker 1 (pid: 10, cores: 4) searxng-1 | spawned uWSGI worker 2 (pid: 11, cores: 4) searxng-1 | spawned uWSGI worker 3 (pid: 13, cores: 4) searxng-1 | spawned 4 offload threads for uWSGI worker 1 searxng-1 | spawned uWSGI worker 4 (pid: 17, cores: 4) searxng-1 | spawned 4 offload threads for uWSGI worker 3 searxng-1 | spawned 4 offload threads for uWSGI worker 4 searxng-1 | spawned 4 offload threads for uWSGI worker 2 searxng-1 | spawned uWSGI worker 5 (pid: 30, cores: 4) searxng-1 | spawned uWSGI worker 6 (pid: 31, cores: 4) searxng-1 | spawned 4 offload threads for uWSGI worker 5 searxng-1 | spawned uWSGI worker 7 (pid: 36, cores: 4) searxng-1 | spawned uWSGI worker 8 (pid: 38, cores: 4) searxng-1 | spawned 4 offload threads for uWSGI worker 6 searxng-1 | spawned uWSGI worker 9 (pid: 42, cores: 4) searxng-1 | spawned uWSGI worker 10 (pid: 46, cores: 4) searxng-1 | spawned 4 offload threads for uWSGI worker 9 searxng-1 | spawned 4 offload threads for uWSGI worker 8 searxng-1 | spawned 4 offload threads for uWSGI worker 10 searxng-1 | spawned 4 offload threads for uWSGI worker 7 searxng-1 | WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0xffff92089600 pid: 10 (default app) searxng-1 | WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0xffff92089600 pid: 17 (default app) searxng-1 | WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0xffff92089600 pid: 36 (default app) searxng-1 | WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0xffff92089600 pid: 46 (default app) searxng-1 | WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0xffff92089600 pid: 42 (default app) searxng-1 | WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0xffff92089600 pid: 30 (default app) searxng-1 | WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0xffff92089600 pid: 31 (default app) searxng-1 | WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0xffff92089600 pid: 38 (default app) searxng-1 | WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0xffff92089600 pid: 13 (default app) searxng-1 | WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0xffff92089600 pid: 11 (default app) chromadb-1 | DEBUG: [23-04-2024 19:28:54] Registering provider: token_config chromadb-1 | DEBUG: [23-04-2024 19:28:54] Registering provider: user_token_config chromadb-1 | DEBUG: [23-04-2024 19:28:54] Registering provider: token chromadb-1 | DEBUG: [23-04-2024 19:28:54] Registering provider: token chromadb-1 | WARNING: [23-04-2024 19:28:55] chroma_server_nofile is set to 65535, but this is less than current soft limit of 1048576. chroma_server_nofile will not be set. chromadb-1 | INFO: [23-04-2024 19:28:55] Anonymized telemetry enabled. See https://docs.trychroma.com/telemetry for more information. chromadb-1 | DEBUG: [23-04-2024 19:28:55] Starting component System chromadb-1 | DEBUG: [23-04-2024 19:28:55] Starting component OpenTelemetryClient chromadb-1 | DEBUG: [23-04-2024 19:28:55] Starting component SimpleAssignmentPolicy chromadb-1 | DEBUG: [23-04-2024 19:28:55] Starting component SqliteDB chromadb-1 | DEBUG: [23-04-2024 19:28:55] Starting component QuotaEnforcer chromadb-1 | DEBUG: [23-04-2024 19:28:55] Starting component Posthog chromadb-1 | DEBUG: [23-04-2024 19:28:55] Starting component LocalSegmentManager chromadb-1 | DEBUG: [23-04-2024 19:28:55] Starting component SegmentAPI chromadb-1 | INFO: [23-04-2024 19:28:55] Started server process [1] chromadb-1 | INFO: [23-04-2024 19:28:55] Waiting for application startup. chromadb-1 | INFO: [23-04-2024 19:28:55] Application startup complete. chromadb-1 | INFO: [23-04-2024 19:28:55] Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit) frontend-1 | frontend-1 | > localsearchui@0.0.1 preview frontend-1 | > vite preview --host frontend-1 | frontend-1 | ➜ Local: http://localhost:4173/ frontend-1 | ➜ Network: http://172.18.0.5:4173/