summaryrefslogtreecommitdiff
path: root/docs/admin/update-searx.rst
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-04-24 17:03:10 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-04-24 17:03:10 +0200
commit3aa153f08e8c0168962b4e89b4a6e12213ae53dd (patch)
tree384f975b9bfb3e035a51899eb12fad71973197c4 /docs/admin/update-searx.rst
parent0603b043ceadbc833410464bbf576fda8c11dc97 (diff)
downloadsearxng-3aa153f08e8c0168962b4e89b4a6e12213ae53dd.tar.gz
searxng-3aa153f08e8c0168962b4e89b4a6e12213ae53dd.zip
[fix doc] manage.sh update_packages does not exists anymore
Reported-by: https://github.com/searx/searx/issues/2776 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs/admin/update-searx.rst')
-rw-r--r--docs/admin/update-searx.rst56
1 files changed, 46 insertions, 10 deletions
diff --git a/docs/admin/update-searx.rst b/docs/admin/update-searx.rst
index c74c9568a..a87f27ede 100644
--- a/docs/admin/update-searx.rst
+++ b/docs/admin/update-searx.rst
@@ -4,20 +4,56 @@
How to update
=============
+How to update depends on the :ref:`installation` method. If you have used the
+:ref:`installation scripts`, use ``update`` command from the scripts.
+
+**Update** :ref:`searx service <searx.sh>`
+
+.. code:: sh
+
+ sudo -H ./utils/searx.sh update searx
+
+**Update** :ref:`filtron reverse proxy <filtron.sh>`
+
.. code:: sh
- sudo -H -u searx -i
- (searx)$ git stash
- (searx)$ git pull origin master
- (searx)$ git stash apply
- (searx)$ ./manage.sh update_packages
+ sudo -H ./utils/filtron.sh update filtron
+
+**Update** :ref:`result proxy <morty.sh>`
+
+.. code:: bash
+
+ $ sudo -H ./utils/morty.sh update morty
+
+.. _inspect searx:
+
+======================
+How to inspect & debug
+======================
+
+.. sidebar:: further read
+
+ - :ref:`toolboxing`
+ - :ref:`Makefile`
+
+How to debug depends on the :ref:`installation` method. If you have used the
+:ref:`installation scripts`, use ``inspect`` command from the scripts.
+
+**Inspect** :ref:`searx service <searx.sh>`
+
+.. code:: sh
+
+ sudo -H ./utils/searx.sh inspect service
+
+**Inspect** :ref:`filtron reverse proxy <filtron.sh>`
+
+.. code:: sh
-Restart uwsgi:
+ sudo -H ./utils/filtron.sh inspect service
-.. tabs::
+**Inspect** :ref:`result proxy <morty.sh>`
- .. group-tab:: Ubuntu / debian
+.. code:: bash
- .. code:: sh
+ $ sudo -H ./utils/morty.sh inspect service
- sudo -H systemctl restart uwsgi