forked from zaclys/searxng
[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>
This commit is contained in:
parent
0603b043ce
commit
3aa153f08e
|
@ -39,13 +39,18 @@ install from ``root``, take into account that the scripts are creating a
|
||||||
these new created users do need read access to the clone of searx, which is not
|
these new created users do need read access to the clone of searx, which is not
|
||||||
the case if you clone into a folder below ``/root``.
|
the case if you clone into a folder below ``/root``.
|
||||||
|
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
$ cd ~/Downloads
|
$ cd ~/Downloads
|
||||||
$ git clone https://github.com/searx/searx searx
|
$ git clone https://github.com/searx/searx searx
|
||||||
$ cd searx
|
$ cd searx
|
||||||
|
|
||||||
|
.. sidebar:: further read
|
||||||
|
|
||||||
|
- :ref:`toolboxing`
|
||||||
|
- :ref:`update searx`
|
||||||
|
- :ref:`inspect searx`
|
||||||
|
|
||||||
**Install** :ref:`searx service <searx.sh>`
|
**Install** :ref:`searx service <searx.sh>`
|
||||||
|
|
||||||
This installs searx as described in :ref:`installation basic`.
|
This installs searx as described in :ref:`installation basic`.
|
||||||
|
|
|
@ -4,20 +4,56 @@
|
||||||
How to update
|
How to update
|
||||||
=============
|
=============
|
||||||
|
|
||||||
.. code:: sh
|
How to update depends on the :ref:`installation` method. If you have used the
|
||||||
|
:ref:`installation scripts`, use ``update`` command from the scripts.
|
||||||
|
|
||||||
sudo -H -u searx -i
|
**Update** :ref:`searx service <searx.sh>`
|
||||||
(searx)$ git stash
|
|
||||||
(searx)$ git pull origin master
|
|
||||||
(searx)$ git stash apply
|
|
||||||
(searx)$ ./manage.sh update_packages
|
|
||||||
|
|
||||||
Restart uwsgi:
|
|
||||||
|
|
||||||
.. tabs::
|
|
||||||
|
|
||||||
.. group-tab:: Ubuntu / debian
|
|
||||||
|
|
||||||
.. code:: sh
|
.. code:: sh
|
||||||
|
|
||||||
sudo -H systemctl restart uwsgi
|
sudo -H ./utils/searx.sh update searx
|
||||||
|
|
||||||
|
**Update** :ref:`filtron reverse proxy <filtron.sh>`
|
||||||
|
|
||||||
|
.. code:: sh
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
sudo -H ./utils/filtron.sh inspect service
|
||||||
|
|
||||||
|
**Inspect** :ref:`result proxy <morty.sh>`
|
||||||
|
|
||||||
|
.. code:: bash
|
||||||
|
|
||||||
|
$ sudo -H ./utils/morty.sh inspect service
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
.. _searx_utils:
|
.. _searx_utils:
|
||||||
.. _toolboxing:
|
.. _toolboxing:
|
||||||
|
|
||||||
========================================
|
===================
|
||||||
Tooling box ``utils`` for administrators
|
Admin's tooling box
|
||||||
========================================
|
===================
|
||||||
|
|
||||||
In the folder :origin:`utils/` we maintain some tools useful for administrators.
|
In the folder :origin:`utils/` we maintain some tools useful for administrators.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue