|
|
@ -4,20 +4,56 @@
|
|
|
|
How to update
|
|
|
|
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
|
|
|
|
.. code:: sh
|
|
|
|
|
|
|
|
|
|
|
|
sudo -H -u searx -i
|
|
|
|
sudo -H ./utils/filtron.sh update filtron
|
|
|
|
(searx)$ git stash
|
|
|
|
|
|
|
|
(searx)$ git pull origin master
|
|
|
|
**Update** :ref:`result proxy <morty.sh>`
|
|
|
|
(searx)$ git stash apply
|
|
|
|
|
|
|
|
(searx)$ ./manage.sh update_packages
|
|
|
|
.. 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
|
|
|
|
|
|
|
|