@@ -4,20 +4,56 @@
4How to update
4How to update
5=============
5=============
7+How to update depends on the :ref:`installation` method. If you have used the
8+:ref:`installation scripts`, use ``update`` command from the scripts.
10+**Update** :ref:`searx service <searx.sh>`
14+ sudo -H ./utils/searx.sh update searx
16+**Update** :ref:`filtron reverse proxy <filtron.sh>`
7.. code:: sh
18.. code:: sh
20+ sudo -H ./utils/filtron.sh update filtron
22+**Update** :ref:`result proxy <morty.sh>`
26+ $ sudo -H ./utils/morty.sh update morty
9− sudo -H -u searx -i
28+.. _inspect searx:
10− (searx)$ git stash
29+
11− (searx)$ git pull origin master
30+======================
12− (searx)$ git stash apply
31+How to inspect & debug
13− (searx)$ ./manage.sh update_packages
32+======================
34+.. sidebar:: further read
39+How to debug depends on the :ref:`installation` method. If you have used the
40+:ref:`installation scripts`, use ``inspect`` command from the scripts.
42+**Inspect** :ref:`searx service <searx.sh>`
46+ sudo -H ./utils/searx.sh inspect service
48+**Inspect** :ref:`filtron reverse proxy <filtron.sh>`
15−Restart uwsgi:
52+ sudo -H ./utils/filtron.sh inspect service
17−.. tabs::
54+**Inspect** :ref:`result proxy <morty.sh>`
19− .. group-tab:: Ubuntu / debian
56+.. code:: bash
21− .. code:: sh
58+ $ sudo -H ./utils/morty.sh inspect service
23− sudo -H systemctl restart uwsgi