on master help sign in
[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>

commitaa8288a9630c10f43e5cf952763a79f00d6a369a authorMarkus Heiser <markus.heiser@darmarit.de> dateSat 24 Apr 2021, 17:03 (5 years ago) parent5cb29f6
3 files changed+55−14
docs/admin/installation.rst+6−1 docs/admin/update-searx.rst+46−10 docs/utils/index.rst+3−3
docs/admin/installation.rst+6−1
@@ -39,13 +39,18 @@ install from ``root``, take into account that the scripts are creating a
3939these new created users do need read access to the clone of searx, which is not
4040the case if you clone into a folder below ``/root``.
4141
42−
4342.. code:: bash
4443
4544 $ cd ~/Downloads
4645 $ git clone https://github.com/searx/searx searx
4746 $ cd searx
4847
48+.. sidebar:: further read
49+
50+ - :ref:`toolboxing`
51+ - :ref:`update searx`
52+ - :ref:`inspect searx`
53+
4954**Install** :ref:`searx service <searx.sh>`
5055
5156This installs searx as described in :ref:`installation basic`.
docs/admin/update-searx.rst+46−10
@@ -4,20 +4,56 @@
44How to update
55=============
66
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.
9+
10+**Update** :ref:`searx service <searx.sh>`
11+
12+.. code:: sh
13+
14+ sudo -H ./utils/searx.sh update searx
15+
16+**Update** :ref:`filtron reverse proxy <filtron.sh>`
17+
718.. code:: sh
819
9− sudo -H -u searx -i
10− (searx)$ git stash
11− (searx)$ git pull origin master
12− (searx)$ git stash apply
13− (searx)$ ./manage.sh update_packages
20+ sudo -H ./utils/filtron.sh update filtron
21+
22+**Update** :ref:`result proxy <morty.sh>`
23+
24+.. code:: bash
25+
26+ $ sudo -H ./utils/morty.sh update morty
27+
28+.. _inspect searx:
29+
30+======================
31+How to inspect & debug
32+======================
33+
34+.. sidebar:: further read
35+
36+ - :ref:`toolboxing`
37+ - :ref:`Makefile`
38+
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.
41+
42+**Inspect** :ref:`searx service <searx.sh>`
43+
44+.. code:: sh
45+
46+ sudo -H ./utils/searx.sh inspect service
47+
48+**Inspect** :ref:`filtron reverse proxy <filtron.sh>`
49+
50+.. code:: sh
1451
15−Restart uwsgi:
52+ sudo -H ./utils/filtron.sh inspect service
1653
17−.. tabs::
54+**Inspect** :ref:`result proxy <morty.sh>`
1855
19− .. group-tab:: Ubuntu / debian
56+.. code:: bash
2057
21− .. code:: sh
58+ $ sudo -H ./utils/morty.sh inspect service
2259
23− sudo -H systemctl restart uwsgi
docs/utils/index.rst+3−3
@@ -1,9 +1,9 @@
11.. _searx_utils:
22.. _toolboxing:
33
4−========================================
5−Tooling box ``utils`` for administrators
6−========================================
4+===================
5+Admin's tooling box
6+===================
77
88In the folder :origin:`utils/` we maintain some tools useful for administrators.
99