on master help sign in
[fix doc] manage.sh update_packages does not exists anymore
aa8288aMarkus Heiser
docs/admin/installation.rst+6−1
@@ -39,13 +39,18 @@ install from ``root``, take into account that the scripts are creating a
39these new created users do need read access to the clone of searx, which is not
39these new created users do need read access to the clone of searx, which is not
40the case if you clone into a folder below ``/root``.
40the case if you clone into a folder below ``/root``.
41
41
42−
43.. code:: bash
42.. code:: bash
44
43
45 $ cd ~/Downloads
44 $ cd ~/Downloads
46 $ git clone https://github.com/searx/searx searx
45 $ git clone https://github.com/searx/searx searx
47 $ cd searx
46 $ cd searx
48
47
48+.. sidebar:: further read
49+
50+ - :ref:`toolboxing`
51+ - :ref:`update searx`
52+ - :ref:`inspect searx`
53+
49**Install** :ref:`searx service <searx.sh>`
54**Install** :ref:`searx service <searx.sh>`
50
55
51This installs searx as described in :ref:`installation basic`.
56This installs searx as described in :ref:`installation basic`.
docs/admin/update-searx.rst+46−10
@@ -4,20 +4,56 @@
4How to update
4How to update
5=============
5=============
6
6
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+
7.. code:: sh
18.. code:: sh
8
19
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+
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+======================
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
14
51
15−Restart uwsgi:
52+ sudo -H ./utils/filtron.sh inspect service
16
53
17−.. tabs::
54+**Inspect** :ref:`result proxy <morty.sh>`
18
55
19− .. group-tab:: Ubuntu / debian
56+.. code:: bash
20
57
21− .. code:: sh
58+ $ sudo -H ./utils/morty.sh inspect service
22
59
23− sudo -H systemctl restart uwsgi
docs/utils/index.rst+3−3
@@ -1,9 +1,9 @@
1.. _searx_utils:
1.. _searx_utils:
2.. _toolboxing:
2.. _toolboxing:
3
3
4−========================================
4+===================
5−Tooling box ``utils`` for administrators
5+Admin's tooling box
6−========================================
6+===================
7
7
8In the folder :origin:`utils/` we maintain some tools useful for administrators.
8In the folder :origin:`utils/` we maintain some tools useful for administrators.
9
9