Package Details: searxng-git r8494.5986629-4

Git Clone URL: https://aur.archlinux.org/searxng-git.git (read-only, click to copy)
Package Base: searxng-git
Description: A privacy-respecting, hackable metasearch engine
Upstream URL: https://searxng.github.io/searxng/
Licenses: AGPL-3.0-or-later
Conflicts: searx, searx-git
Provides: searxng
Submitter: HLFH
Maintainer: HLFH
Last Packager: HLFH
Votes: 13
Popularity: 0.96
First Submitted: 2021-09-29 10:43 (UTC)
Last Updated: 2025-03-24 13:41 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 13 Next › Last »

czardien commented on 2025-01-30 14:56 (UTC)

I did cp /etc/uwsgi/vassals/searxng.ini /etc/uwsgi/

So this package seems to be more tailored for Searxng to be managed by uWSGI in Emperor mode. Indeed, by default the uWSGI Archlinux package will look at /etc/uwsgi/ for configuration files of services, however in Emperor mode the same files will be found under /etc/uwsgi/vassals/; where this package write the searxng.ini file.

It's all laid out quite clearly in the Archwiki page: https://wiki.archlinux.org/title/UWSGI, which links back to the official uWSGI docs on the Emperor mode: https://uwsgi-docs.readthedocs.io/en/latest/Emperor.html.

So with that package you should just be able to start uWSGI in that mode without having to move the searxng.ini file around, and you should be good to go and look at localhost:8888 (unless the port's changed):

systemctl start emperor.uwsgi.socket
# Or:
systemctl start emperor.uwsgi.service

At least that's what worked for me.

JanH commented on 2025-01-24 05:43 (UTC)

@HLFH Thank you, that's been the helpful hint I needed :)

For reference, I did cp /etc/uwsgi/vassals/searxng.ini /etc/uwsgi/, changed the port number in that file to :8080, and then could start it successfully with your command.

HLFH commented on 2025-01-23 15:25 (UTC)

@zynex @JanH We do not provide any systemd service because it is started with uWSGI: systemctl start uwsgi@searxng. And it is all we need.

JanH commented on 2025-01-21 07:30 (UTC)

@zynex, would you mind sharing the systemd service file?

zynex commented on 2025-01-18 14:08 (UTC)

@HLFH Updated python-msgspec and searx-ng. It all works now. Although the systemd service pointed to /usr/bin/searxng-run, and had to change it to /var/lib/searxng/.venv/bin/searxng-run (might have created the systemd service myself?). The /var/lib/searxng/.venv/bin/searxng-run pointed to a python in my home folder though for some reason? But changed the first line to #!/var/lib/searxng/.venv/bin/python, then it worked :)

Gregoire commented on 2025-01-14 18:10 (UTC)

I know it's not a discussion here but I'll do it anyway : Thank you very much for this !!! It works great (I tested docker but it wasn't as good, specially with suspend on my computer).

HLFH commented on 2025-01-14 12:38 (UTC) (edited on 2025-01-14 12:45 (UTC) by HLFH)

@stef204 @morsmortium @liquidsky @DanSman @sen @krs @zynex @flylightning @backd00r @AlexBocken

The package has been fixed.
The requirements from requirements.txt are now perfectly matched.
searxng-git now uses a python virtual environment which is the best Arch Linux setup for python packages.

stef204 commented on 2025-01-08 12:00 (UTC) (edited on 2025-01-08 14:34 (UTC) by stef204)

@morsmortium
thanks. I ended up using this (it uses a docker network, avoids anonymous volumes, addresses restart policy) YMMV:
sudo docker network create searxng-net
sudo docker run -d -p 8888:8080 --name searxng --network searxng-net --restart=unless-stopped -v searxng_data:/etc/searxng searxng/searxng
hopefully, we can go back to local install once the requirements can be met.

morsmortium commented on 2025-01-08 05:22 (UTC)

I use the image from hub.docker.com, which I linked. After install of docker I start it with sudo dockerd. Then, I downloaded the image with sudo docker pull searxng/searxng. After that I start it with sudo docker run -d -p 8888:8080 searxng/searxng The port number is redirecting 8080 to the systems 8888 port, as something else is using 8080 for me, iirc you can write 8080:8080 to not change it. The commands are based on this article: https://docs.searxng.org/admin/installation-docker.html#searxng-searxng (where it seems that because of some weird formatting, spaces are replaced with the '_' character)

stef204 commented on 2025-01-07 21:48 (UTC) (edited on 2025-01-08 00:49 (UTC) by stef204)

@morsmortium
thanks for your feedback. are you using docker-compose for that? if so, can you share the docker-compose.yaml file you use?
if you use straight docker, can you share the command you use? i have not been able to get the docker image going.
maybe post external links, or email me, if you are OK with sharing these.