diff options
author | Alexandre Flament <alex@al-f.net> | 2022-12-14 07:08:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-14 07:08:19 +0100 |
commit | 9e9f57e48bbc3c07d49dad57bb851f59f1c7def8 (patch) | |
tree | b38098d532b4279ad625523973a54830970bcb1b /docs | |
parent | 966e9c3c5d435c473521c332e4ed464d2ff4187e (diff) | |
parent | 3050e2b6e875ccfb0162e83075802467c527c7fe (diff) | |
download | searxng-9e9f57e48bbc3c07d49dad57bb851f59f1c7def8.tar.gz searxng-9e9f57e48bbc3c07d49dad57bb851f59f1c7def8.zip |
Merge pull request #1954 from dalf/fix.redis.init.2
[fix] follow up of PR-1856
Diffstat (limited to 'docs')
-rw-r--r-- | docs/admin/engines/settings.rst | 2 | ||||
-rw-r--r-- | docs/admin/installation-uwsgi.rst | 4 | ||||
-rw-r--r-- | docs/admin/update-searxng.rst | 4 | ||||
-rw-r--r-- | docs/src/searx.redisdb.rst (renamed from docs/src/searx.shared.redisdb.rst) | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/docs/admin/engines/settings.rst b/docs/admin/engines/settings.rst index 3ac992d3e..c747e3f43 100644 --- a/docs/admin/engines/settings.rst +++ b/docs/admin/engines/settings.rst @@ -294,7 +294,7 @@ Global Settings .. _Redis.from_url(url): https://redis-py.readthedocs.io/en/stable/connections.html#redis.client.Redis.from_url -A redis DB can be connected by an URL, in :py:obj:`searx.shared.redisdb` you +A redis DB can be connected by an URL, in :py:obj:`searx.redisdb` you will find a description to test your redis connection in SerXNG. When using sockets, don't forget to check the access rights on the socket:: diff --git a/docs/admin/installation-uwsgi.rst b/docs/admin/installation-uwsgi.rst index a6ea85608..e888d067e 100644 --- a/docs/admin/installation-uwsgi.rst +++ b/docs/admin/installation-uwsgi.rst @@ -239,8 +239,8 @@ For example on Fedora (RHEL): If you try to install a redis DB with socket communication and you want to connect to it from the SearXNG uWSGI, you will see a *Permission denied* in the log of your instance:: - ERROR:searx.shared.redis: [searxng (993)] can't connect redis DB ... - ERROR:searx.shared.redis: Error 13 connecting to unix socket: /usr/local/searxng-redis/run/redis.sock. Permission denied. + ERROR:searx.redisdb: [searxng (993)] can't connect redis DB ... + ERROR:searx.redisdb: Error 13 connecting to unix socket: /usr/local/searxng-redis/run/redis.sock. Permission denied. ERROR:searx.plugins.limiter: init limiter DB failed!!! Even if your *searxng* user of the uWSGI process is added to additional groups diff --git a/docs/admin/update-searxng.rst b/docs/admin/update-searxng.rst index 6c199638a..3ddb41b59 100644 --- a/docs/admin/update-searxng.rst +++ b/docs/admin/update-searxng.rst @@ -132,5 +132,5 @@ to see if there are some left overs. In this example there exists a *old* INFO: [OK] (old) account 'filtron' does not exists INFO: [OK] (old) account 'morty' does not exists ... - INFO searx.shared : Use shared_simple implementation - INFO searx.shared.redis : connected redis DB --> default + INFO searx.redisdb : connecting to Redis db=0 path='/usr/local/searxng-redis/run/redis.sock' + INFO searx.redisdb : connected to Redis diff --git a/docs/src/searx.shared.redisdb.rst b/docs/src/searx.redisdb.rst index 265d87617..625378c91 100644 --- a/docs/src/searx.shared.redisdb.rst +++ b/docs/src/searx.redisdb.rst @@ -4,5 +4,5 @@ Redis DB ======== -.. automodule:: searx.shared.redisdb +.. automodule:: searx.redisdb :members: |