From 319c7645bf760a877502e8c88786afc21c08dd4f Mon Sep 17 00:00:00 2001 From: Ivan Gabaldon Date: Mon, 5 May 2025 12:59:16 +0200 Subject: [PATCH] revert "remove plugin param after updating" I thought patch_uwsgi_settings would run every time the container starts (it only runs when there is a new version of uwsgi.ini), so this is no longer necessary. As uWSGI does not hard fail to start if it does not find the plugin, then the migration is not mandatory. A warn will pop up, but the user will already have been warned to update the uwsgi.ini file This reverts commit 7c9005553b70d8537f69cdf84f70320d334b707d --- dockerfiles/docker-entrypoint.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dockerfiles/docker-entrypoint.sh b/dockerfiles/docker-entrypoint.sh index 6f9554941..3668fb589 100755 --- a/dockerfiles/docker-entrypoint.sh +++ b/dockerfiles/docker-entrypoint.sh @@ -54,12 +54,6 @@ patch_uwsgi_settings() { -e "s|workers = .*|workers = ${UWSGI_WORKERS:-%k}|g" \ -e "s|threads = .*|threads = ${UWSGI_THREADS:-4}|g" \ "${CONF}" - - # migration from old monolithic container image to the new one - # https://github.com/searxng/searxng/pull/4721 - sed -i \ - -e "/plugin = python3/d" \ - "${CONF}" } patch_searxng_settings() {