Skip to content

docs: update the SearXNG install for the current container - #1501

Open
cloudgpuapp wants to merge 1 commit into
open-webui:mainfrom
cloudgpuapp:cursor/searxng-compose-install-7d26
Open

cloudgpuapp wants to merge 1 commit into
open-webui:mainfrom
cloudgpuapp:cursor/searxng-compose-install-7d26

Conversation

@cloudgpuapp

Copy link
Copy Markdown

Summary

The SearXNG page still clones searxng-docker and edits uwsgi.ini. SearXNG deprecated that repository in March 2026: it no longer contains a compose file, and its README points at the compose template in the SearXNG repository. The current image runs Granian, writes a short core-config/settings.yml that uses use_default_settings, and does not include a formats list, so the old sed that looks for - html never enables JSON. Open WebUI then gets 403 Forbidden.

This replaces those steps with SearXNG's current compose install, enables html and json in the generated settings file, and points the query URL at searxng-core (the container name in the official template) or the published host port. The 403 troubleshooting note matches that file path. The unquoted curl URL is quoted, because & otherwise starts a second shell command. Existing searxng-docker directories should follow SearXNG's migration, then the JSON step here.

Related issue or discussion

Fixes #1500. The dead limiter.toml link on this page goes away with the removed snippet. #1472 still covers the llama.cpp license link and is otherwise unchanged.

Checklist

  • I have reviewed the relevant documentation and matched the existing style.
  • This PR meets Open WebUI's contribution standards: it is accurate, relevant to users, narrowly scoped, maintainable, and not promotional content, advertising, lead generation, SEO placement, or a request to list a product, service, provider, integration, gateway, tool, or company primarily for visibility.
  • I understand that PRs that do not meet these standards may be closed without review and will not be merged. Repeated, low-quality, off-topic, promotional, or intentionally misleading submissions may result in the contributor being blocked from future participation in Open WebUI repositories.

Notes for reviewers

Checked against the live searxng-docker repository (LICENSE and a deprecation README only), the compose template and .env.example at searxng/searxng container/, container/settings.template.yml (no formats list; secret_key is filled in on first start), the default search.formats of html only, and container/entrypoint.sh (creates settings.yml when missing, then execs Granian). settings_loader.update_dict replaces the formats list and leaves the rest of search on the defaults. server.limiter stays off unless set.

npm run build (Node 20.17.0 from .node-version) and npm run test:docs-search passed. ESLint passed. The SearXNG container was not started here, so the install steps were not executed end to end. Prettier and stylelint already fail on src/css/custom.css and src/theme/Footer/styles.module.css; those files are not part of this change.

The searxng-docker repository was deprecated in March 2026 and no longer
contains a compose file. The guide still clones it and patches uwsgi.ini,
which the image replaced with Granian. Follow SearXNG's compose template
and enable JSON in the settings file that template generates.

Co-authored-by: CloudGPU <mrhy7176@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs feedback]: SearXNG - Outdated Installation Guide

1 participant