Skip to content

History / Self Hosting

Revisions

  • T6: the wiki describes what is, not what changed Seven passages narrated the project's own development — "The list used to…", "previously ran each instance as a Colima container", "An earlier version of this page concluded… That was wrong", "`e` used to hide the engine data". A reader arriving at a page wants to know how the thing works, and every one of those sentences made them read a diff first. Each is rewritten to state the current behaviour and keep the substance. "It used to carry a loopback `this-mac` and `node1`… which made four machines report as five" becomes "**A machine is counted once**, which matters because the engine warning threshold is a fraction of the node count" — the reason the behaviour matters survives; the history does not. One of the seven was mine: the note I added to `Security.md` explaining that an earlier version had recorded the missing pin as an accepted limitation. That belongs in the tracker or the changelog, not in the middle of a reader's explanation. Swept all 14 pages afterwards; the only remaining matches for the history phrases are `cannot be used to hide depth` and the `Refused to fetch` heading, both false positives on the substring.

    @Pummelchen Pummelchen committed Sep 18, 2026
  • Self-Hosting: provisioning is native now; the tracker gains the four providers awaiting keys **Provisioning.** The page told operators the script installs Colima, the docker CLI and a container. It installs the native SearXNG the fleet actually runs — `deploy/install.sh --method native --searxng-only` — and the install has one implementation, so provisioning cannot drift from the deployment again. Rewritten, with the option list and why `--searxng-only` is what lets a node skip both the Swift toolchain and the published release. The container material is now labelled as the alternative it is: the digest pin belongs to `docker-compose.yml`, which nothing in the fleet runs. The "instance on this Mac" and Docker autostart sections described a state that no longer exists — no SearXNG container on any machine, Docker Desktop not running, the LaunchAgent not installed — so they say that instead. The traps table keeps the one that still applies (a non-login shell never applies `brew shellenv`), marks the rest as container-path knowledge, and gains the `grep -q`/`pipefail` trap found while testing. **Tracker.** Two stale entries and one new one: * Added: four providers have no credential here — Brave, Mojeek, Exa and Open Web Search report `not_configured` on all five machines. They are enabled and fail over cleanly, so searches succeed; they simply never contribute. The next step is one key at a time. * Deleted: the accepted limitation that the engines block this cluster by DNS. It was true and it is fixed at the tailnet level, and this page's rule is that closed is deleted. * Corrected: Startpage is described as staying listed and enabled, not disabled — everything is enabled by default now. The intro said credentials are not tracked here. Which providers are waiting for one is work with a known next step, so it is tracked; the credentials themselves still never appear.

    @Pummelchen Pummelchen committed Sep 16, 2026
  • Record the eight public resolvers now in the tailnet DNS configuration Cloudflare and Google are added as global nameservers alongside the Cloudflare DoH entry, all with useWithExitNode so exit-node devices honour them. Tailscale groups a provider's addresses, so 8.8.8.8 alone brings Google's four; they are listed explicitly here because that is what the configuration now holds. They are safe additions rather than a risk because Tailscale upgrades public global nameservers to DoH — queried directly over UDP/53 the same addresses return the ISP block page for duckduckgo.com. Verified on all five machines after the change: the client receives all nine resolvers and a forced provider=duckduckgo search returns results on each.

    @Pummelchen Pummelchen committed Sep 16, 2026
  • Correct the macOS per-service DNS claim, and record the resolvers now set there This page claimed per-service DNS beats MagicDNS on macOS and that clearing it was what fixed a blocked machine. Setting all eight public resolvers on every network service of all five machines shows otherwise: scutil --dns still reports 100.100.100.100 as resolver #1 with 8.8.8.8 as #2, and DuckDuckGo resolves everywhere. The machine that looked broken was on an exit node and its new DNS configuration had not been applied yet; clearing its per-service DNS coincided with the fix rather than causing it. Recording a coincidence as a mechanism is worse than recording nothing, because it sends the next person to change settings that were never the problem. Also records that those eight resolvers are now set in macOS itself as an addition, and why that is safe: Tailscale upgrades public global nameservers to DoH, while querying them directly over UDP/53 returns the ISP block page.

    @Pummelchen Pummelchen committed Sep 16, 2026
  • DuckDuckGo is fixed at the tailnet level; record how The ISP redirects UDP/53 to a resolver that answers duckduckgo.com with an RPZ block page. The tailnet's DNS configuration now carries Cloudflare over DoH as a global nameserver, with useWithExitNode and overrideLocalDNS, so MagicDNS resolves the real address on every machine. All five return real DuckDuckGo results. Records the four details that made it fiddly, because each cost time and each will recur: * POST /dns/preferences replaces the object — sending only overrideLocalDNS turned MagicDNS off. * GET /dns/preferences does not report overrideLocalDNS, so a successful write looks ignored; /dns/configuration reports everything. * /dns/nameservers rejects useWithExitNode (flat strings only); the combined /dns/configuration endpoint accepts it, and without it an exit-node device ignores the tailnet nameserver. * macOS per-service DNS beats MagicDNS even with overrideLocalDNS, including on a service named 'Tailscale'; clearing each with networksetup was the last step.

    @Pummelchen Pummelchen committed Sep 16, 2026
  • All providers on by default; the fleet is native; the CAPTCHA is transient Three corrections, all of them things this wiki stated the other way. **Nothing is opt-in.** The scrapers and Parallel were listed as opt-in. Every provider is now enabled by default, including the ones needing no credential: a provider without a credential reports not_configured and the rest still answer the query, so an install with no keys searches instead of refusing. **The fleet runs natively.** All five instances are native under launchd now, not Colima containers — same listener, no VM in the path, and no login-keychain dependency during install. The table also listed this Mac twice, once as 'this Mac' and once as 'node1', which made five machines look like six; it is one machine, and the table now says so. **The DuckDuckGo CAPTCHA is transient.** This page called it a second fault that only a different egress could clear. A burst of probing provoked the challenge on every endpoint, and a single polite request afterwards returned HTTP 200 with 12 real results. It is back-pressure to be rate limited around, not a verdict on the engine.

    @Pummelchen Pummelchen committed Sep 16, 2026
  • Correct the DNS diagnosis: UDP/53 is redirected, not every resolver poisoned This page concluded that the DuckDuckGo block 'applied to every resolver including 8.8.8.8 and 1.1.1.1', and that no resolver change could help. The observation was real and the inference was wrong: those queries never reached the resolvers they named, because the ISP redirects UDP/53. The responder's own identity settles it, and it takes two commands: dig @1.1.1.1 CH TXT id.server # UDP/53 -> noc-dev (the ISP's Unbound 1.19.2) dig @1.1.1.1 +tcp CH TXT id.server # TCP/53 -> cgk01 (Cloudflare, Jakarta) TCP/53 and DoH return the real address, so this is fixable in place. On a Tailscale network it is one setting: MagicDNS is the system resolver everywhere and forwards to the DHCP-provided ISP resolvers, so a DoH global nameserver in the admin console, with Override local DNS, lifts the block for the whole tailnet. Providers.md carried the same wrong claim and is corrected with it; the DuckDuckGo entry also now distinguishes this fault from the CAPTCHA, which a different egress is the only cure for.

    @Pummelchen Pummelchen committed Sep 16, 2026
  • Self-Hosting: the docker context can hide a running instance On a machine with both Colima and Docker Desktop, the docker CLI may default to the desktop-linux context while SearXNG runs inside Colima. `docker ps` is then empty and a perfectly healthy node looks uninstalled; `docker --context colima ps` shows the container and its real uptime. Recorded because it was hit while verifying all four nodes, and because it costs nothing to check and a lot to misread. Also notes that deploy/install.sh adopts a working instance rather than installing a second one: it probes the loopback port with a real query before touching anything, so an instance that is already serving is left alone however it was started.

    @Pummelchen Pummelchen committed Sep 16, 2026
  • Document the required SEARXNG_SECRET (ledger B01); tracker to 2f66ff1

    @Pummelchen Pummelchen committed Sep 13, 2026
  • Reconcile the wiki with the implementation Corrects every page the 17-commit correctness pass made stale: - Test count 287 -> 309 (6 opt-in live tests); Home, Testing, Project-Tracker. - Smoke test is a presence check against REQUIRED_TOOLS; exactness lives in StdioServerTests/SchemaCompatibilityTests. Testing reworded. - SSRF: embedded-IPv4 unwrapping documented in Security, 0.0.0.0/8 added to reserved, DNS-rebinding window recorded as an accepted limitation. - Jina is not a provider: Providers table row removed, section rewound, Configuration explains JINA_API_KEY only raises the reader limit. - ProviderCapabilities deleted; adding-a-provider no longer lists capabilities. - SEARCH_CONNECT_TIMEOUT_MS removed from Configuration; request timeout is what bounds a connect, and Reliability says so. - Transport flags reject an explicit --transport stdio conflict (Installation, Troubleshooting). - Reliability: deadline no longer trips breakers, last-resort local wait, fan-out refill. - Monitor: providers probed once on the first frame only; --watch and --allow-expensive-probing documented. - Self-Hosting: pinned digest, canary validation, per-node secret key, local instance loopback-only, Docker Desktop LaunchAgent and its removal. - Security/Compatibility: no built-in auth by design; human-readable text block rather than a JSON mirror of structuredContent. - Project-Tracker: CI status corrected to green-pending-the-run, resolved issues moved to the audit trail (open issues 17 -> 6), 47-task plan annotated with completions, decisions added for the connect timeout, Jina, DNS rebinding and auth. - Testing: local builds need --scratch-path outside Dropbox; .build is now com.dropbox.ignored.

    @Pummelchen Pummelchen committed Sep 12, 2026
  • Correct the DuckDuckGo diagnosis: DNS poisoning, not IP reputation Measured per node (account matches hostname) rather than inferred: node1..4 egress 182.253.9.73, no exit node, distinct public IPv6 this Mac egress 91.99.176.243 via the deltasona exit node Probing each engine directly shows the earlier 'blocked by IP' note was wrong. The Indonesian ISP poisons html.duckduckgo.com for EVERY resolver including 8.8.8.8 and 1.1.1.1, so the name is dead before a connection is made; pinning the real address returns HTTP 200 and real results from the node. Bing and Brave resolve normally there. The second fault is separate: SearXNG's DuckDuckGo engine is CAPTCHA'd even from the clean German egress, because it uses scripted form POSTs. Our own adapter does not share that fault and returned 10/10. Also: node5's account hypothesis is disproved, the stale 179/216 test counts are corrected to the measured 256, and Self-Hosting now documents the two-egress engine tables and the extra_hosts workaround.

    MCPSearch committed Sep 12, 2026
  • Document the mcps-mon dashboard New Monitor page: what it shows, why provider probing is opt-in, every flag and key, and how the two probe paths work. Two design decisions are worth recording because they are easy to get wrong: - Nodes are asked for JSON directly, not through the MCP server. An instance that is running but has JSON disabled answers 403, and reporting that as "down" would send an operator looking for a network fault. It shows as DEGRADED with the real reason instead. - Providers are probed one at a time through the same adapters the server uses, never through the orchestrator, because a fused answer deliberately hides which provider failed - which is precisely what the dashboard exists to show. Also notes that the testable parts live in the library rather than the executable, since an executable's symbols cannot be imported by a test target.

    @Pummelchen Pummelchen committed Sep 11, 2026
  • Document the SearXNG cluster deployment New Self-Hosting page: the five instances and their Tailscale addresses, how to provision a node, the four traps that cost the most time during rollout, and the measured behaviour. It records the result honestly rather than just the success. The cluster does not deliver what was hoped for: all four nodes share one egress IP behind a single NAT, so they add no network reach, and DuckDuckGo fails from both egress points tried - CAPTCHA from the German exit and a connection error from the Indonesian one. Four instances behind one address are redundancy, not diversity. Nor is this an independent index: every instance queries the same upstream engines. Also records what is still blocked: node5 rejects key authentication, and the server takes one SEARXNG_BASE_URL at a time, so the extra instances are a choice of endpoint rather than parallel fan-out.

    @Pummelchen Pummelchen committed Sep 11, 2026