update-searxng.rst.txt 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. .. _searxng maintenance:
  2. ===================
  3. SearXNG maintenance
  4. ===================
  5. .. sidebar:: further read
  6. - :ref:`toolboxing`
  7. - :ref:`uWSGI maintenance`
  8. .. contents::
  9. :depth: 2
  10. :local:
  11. :backlinks: entry
  12. .. _update searxng:
  13. How to update
  14. =============
  15. How to update depends on the :ref:`installation` method. If you have used the
  16. :ref:`installation scripts`, use the ``update`` command from the :ref:`searxng.sh`
  17. script.
  18. .. code:: sh
  19. sudo -H ./utils/searxng.sh instance update
  20. .. _inspect searxng:
  21. How to inspect & debug
  22. ======================
  23. How to debug depends on the :ref:`installation` method. If you have used the
  24. :ref:`installation scripts`, use the ``inspect`` command from the :ref:`searxng.sh`
  25. script.
  26. .. code:: sh
  27. sudo -H ./utils/searxng.sh instance inspect
  28. .. _migrate and stay tuned:
  29. Migrate and stay tuned!
  30. =======================
  31. .. sidebar:: info
  32. - :pull:`1332`
  33. - :pull:`456`
  34. - :pull:`A comment about rolling release <446#issuecomment-954730358>`
  35. SearXNG is a *rolling release*; each commit to the master branch is a release.
  36. SearXNG is growing rapidly, the services and opportunities are change every now
  37. and then, to name just a few:
  38. - Bot protection has been switched from filtron to SearXNG's :ref:`limiter
  39. <limiter>`, this requires a :ref:`Valkey <settings valkey>` database.
  40. To stay tuned and get in use of the new features, instance maintainers have to
  41. update the SearXNG code regularly (see :ref:`update searxng`). As the above
  42. examples show, this is not always enough, sometimes services have to be set up
  43. or reconfigured and sometimes services that are no longer needed should be
  44. uninstalled.
  45. Here you will find a list of changes that affect the infrastructure. Please
  46. check to what extent it is necessary to update your installations:
  47. :pull:`1595`: ``[fix] uWSGI: increase buffer-size``
  48. Re-install uWSGI (:ref:`searxng.sh`) or fix your uWSGI ``searxng.ini``
  49. file manually.
  50. Check after Installation
  51. ------------------------
  52. Once you have done your installation, you can run a SearXNG *check* procedure,
  53. to see if there are some left overs. In this example there exists a *old*
  54. ``/etc/searx/settings.yml``::
  55. $ sudo -H ./utils/searxng.sh instance check
  56. SearXNG checks
  57. --------------
  58. ERROR: settings.yml in /etc/searx/ is deprecated, move file to folder /etc/searxng/
  59. ...
  60. INFO searx.valkeydb : connecting to Valkey db=0 path='/usr/local/searxng-valkey/run/valkey.sock'
  61. INFO searx.valkeydb : connected to Valkey