#994948 searx: Can not connect to searx by nginx with searx.ini from /usr/share/doc/searx/examples/uwsgi..

Package:
searx
Source:
searx
Submitter:
Sven Wagner
Date:
2021-12-07 16:06:06 UTC
Severity:
normal
Tags:
#994948#5
Date:
2021-09-23 16:54:15 UTC
From:
To:
Dear Maintainer,

I installed searx and used for Nginx and UWSGI the examples from
/usr/share/doc/searx/examples
When trying to reach my instance with my browser, I got 502 Bad Gateway.
To solve this, I had to do two things, first I had to
apt install uwsgi-plugin-python3
I do not know, maybe this package should be installed with searx.
Than I had to add to change in /etc/uwsgi/apps-available/searx.ini
The following line:
plugin = python3
to
plugins = python3
Maybe this can be changed directely in:
/usr/share/doc/searx/examples/uwsgi/apps-available/searx.ini

Greetings

Sven Wagner

#994948#8
Date:
2021-12-07 15:57:25 UTC
From:
To:
Hi Sven,

Quoting Sven Wagner (2021-09-23 18:54:15)

not by default, no. But I'll add uwsgi-plugin-python3 to the Suggests.

I cannot reproduce your finding. Firstly, the uwsgi documentation states that
both "plugins" as well as "plugin" is supported. Please point out where it says
that "plugin" is wrong.

Secondly, the autopkgtest of searx tests the same setup you have:

https://sources.debian.org/src/searx/0.18.0+dfsg1-1/debian/tests/general/

But the job is green everywhere:

https://ci.debian.net/packages/s/searx/

So I need more information before I can do anything about this.

Thanks!

cheers, josch