Hi!

Does anyone host SearXNG on a Proxmox container? I can get it to install and run fine. However all search engines return HTTP connection errors. I’m guessing it’s an Apache misconfig perhaps. Could be something else.

This is using the manual install method. Followed it from their instructions. I’m a docker newb so chose the manual method with Apache and UWSGI instead.

The LXC config itself seems fine. Gave it 2GB RAM and swap. It can reach/ping google/bing etc. Having done a general search, I’ve not found something useful. :(

  • plateee@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 days ago

    Got a few commands to try from a terminal:

    curl https://google.com/
    curl https://<your searxng fqdn>
    

    Try from the SearXNG terminal too.

    Lastly, in the container with Apache, there should be some log directory, maybe /var/log/apache2/? Try doing a tail -f /path/to/error.log. You could also do something like docker compose logs -f and (while tailing/looking at logs), try your search again.

    If all else fails, sudo journalctl -xef and/or sudo dmesg -wT may offer something interesting.

    • cetshwayo@thelemmy.clubOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      Curl works for google and also with bing. Just as pinging and wget. This instance is not public facing so it does not have an assigned domain. I’m trying to run it locally at the moment.

      Apache logs (/var/log/apache2/error.log) does show up something interesting. Thought it might be Apache or UWSGI. UWSGI has issues with connecting to a socket it seems. x.x.x.x is my desktop IP.

      [Mon May 11 19:44:53.702774 2026] [core:notice] [pid 1644:tid 1644] AH00094: Command line: '/usr/sbin/apache2'

      [Mon May 11 19:45:55.440224 2026] [proxy:error] [pid 1957:tid 1961] (2)No such file or directory: AH02454: uwsgi: attempt to connect to Unix domain socket /usr/local/searxng/run/socket (uwsgi-uds-searxng:0) failed

      [Mon May 11 19:45:55.440252 2026] [:error] [pid 1957:tid 1961] [client x.x.x.x:56586] AH10101: failed to make connection to backend: uwsgi-uds-searxng:0

      [Mon May 11 19:46:20.548413 2026] [mpm_event:notice] [pid 1644:tid 1644] AH00493: SIGUSR1 received. Doing graceful restart

      According to systemd, apache2 and uwsgi both run without error.

      None of this runs in a docker so can’t look there. This is all on a LXC.