diff --git a/docs/admin/update-searxng.rst b/docs/admin/update-searxng.rst index 15735b0ba..c2a34aeee 100644 --- a/docs/admin/update-searxng.rst +++ b/docs/admin/update-searxng.rst @@ -94,6 +94,20 @@ searx from or try:: If you are migrate from searx take into account that the ``.config.sh`` is no longer used. +If you upgrade from searx or from before :pull:`1332` has been merged and you +have filtron and/or morty installed, don't forget to remove HTTP sites. + +Apache:: + + $ sudo -H ./utils/filtron.sh apache remove + $ sudo -H ./utils/morty.sh apache remove + +nginx:: + + $ sudo -H ./utils/filtron.sh nginx remove + $ sudo -H ./utils/morty.sh nginx remove + + Check after Installation ------------------------ diff --git a/utils/filtron.sh b/utils/filtron.sh index ab207bbd8..7607bf6aa 100755 --- a/utils/filtron.sh +++ b/utils/filtron.sh @@ -4,11 +4,15 @@ # shellcheck source=utils/lib.sh source "$(dirname "${BASH_SOURCE[0]}")/lib.sh" +# shellcheck source=utils/brand.env +source "${REPO_ROOT}/utils/brand.env" # ---------------------------------------------------------------------------- # config # ---------------------------------------------------------------------------- +PUBLIC_URL="${PUBLIC_URL:-${SEARXNG_URL}}" + FILTRON_ETC="/etc/filtron" SERVICE_NAME="filtron" @@ -25,13 +29,16 @@ usage() { # shellcheck disable=SC1117 cat <