-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in perplexica-searxng-1 docker #148
Comments
Why have you created a conda environment? this project doesn't make use of python. |
Even without conda environment also having same problem. |
Seems like you've installed it incorrectly, have you followed all the steps? I would recommend you to do a fresh install. |
Done fresh install, now can start Searxng, but having error in log 2024-05-29 22:25:59 2024-05-29 14:25:59,389 ERROR:searx.engines.soundcloud: Fail to initialize |
Does the searches work? if they do then you don't need to worry about the logs. |
No, it just show circling icon |
Can you attach a screenshot, what are the logs from the backend container and the browser console. |
I have the same problem here, following the steps wind docker compose installation , Here is the logs on the backend and serrchengine SearXNG version 2024.5.31+18fb701be
Use existing /etc/searxng/uwsgi.ini
Use existing /etc/searxng/settings.yml
Listen on 0.0.0.0:8080
[uWSGI] getting INI configuration from /etc/searxng/uwsgi.ini
[uwsgi-static] added mapping for /static => /usr/local/searxng/searx/static
*** Starting uWSGI 2.0.23 (64bit) on [Mon Jun 3 15:28:40 2024] ***
compiled with version: 13.2.1 20231014 on 30 November 2023 14:34:33
os: Linux-6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03)
nodename: ff74c0337168
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 4
current working directory: /usr/local/searxng
detected binary path: /usr/sbin/uwsgi
chdir() to /usr/local/searxng/searx/
your memory page size is 4096 bytes
detected max file descriptor number: 1048576
building mime-types dictionary from file /etc/mime.types...1390 entry found
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address 0.0.0.0:8080 fd 3
Python version: 3.11.9 (main, Apr 14 2024, 13:40:00) [GCC 13.2.1 20231014]
Python main interpreter initialized at 0x7f22750a1718
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 603360 bytes (589 KB) for 16 cores
*** Operational MODE: preforking+threaded ***
added /usr/local/searxng/ to pythonpath.
spawned uWSGI master process (pid: 7)
spawned uWSGI worker 1 (pid: 10, cores: 4)
spawned uWSGI worker 2 (pid: 11, cores: 4)
spawned 4 offload threads for uWSGI worker 1
spawned uWSGI worker 3 (pid: 17, cores: 4)
spawned 4 offload threads for uWSGI worker 2
spawned uWSGI worker 4 (pid: 21, cores: 4)
spawned 4 offload threads for uWSGI worker 3
spawned 4 offload threads for uWSGI worker 4
WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7f22750a1718 pid: 21 (default app)
WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7f22750a1718 pid: 11 (default app)
WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7f22750a1718 pid: 17 (default app)
WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7f22750a1718 pid: 10 (default app)
SearXNG version 2024.5.31+18fb701be
Use existing /etc/searxng/uwsgi.ini
Use existing /etc/searxng/settings.yml
Listen on 0.0.0.0:8080
[uWSGI] getting INI configuration from /etc/searxng/uwsgi.ini
[uwsgi-static] added mapping for /static => /usr/local/searxng/searx/static
*** Starting uWSGI 2.0.23 (64bit) on [Mon Jun 3 15:28:40 2024] ***
compiled with version: 13.2.1 20231014 on 30 November 2023 14:34:33
os: Linux-6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03)
nodename: ff74c0337168
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 4
current working directory: /usr/local/searxng
detected binary path: /usr/sbin/uwsgi
chdir() to /usr/local/searxng/searx/
your memory page size is 4096 bytes
detected max file descriptor number: 1048576
building mime-types dictionary from file /etc/mime.types...1390 entry found
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address 0.0.0.0:8080 fd 3
Python version: 3.11.9 (main, Apr 14 2024, 13:40:00) [GCC 13.2.1 20231014]
Python main interpreter initialized at 0x7f22750a1718
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 603360 bytes (589 KB) for 16 cores
*** Operational MODE: preforking+threaded ***
added /usr/local/searxng/ to pythonpath.
spawned uWSGI master process (pid: 7)
spawned uWSGI worker 1 (pid: 10, cores: 4)
spawned uWSGI worker 2 (pid: 11, cores: 4)
spawned 4 offload threads for uWSGI worker 1
spawned uWSGI worker 3 (pid: 17, cores: 4)
spawned 4 offload threads for uWSGI worker 2
spawned uWSGI worker 4 (pid: 21, cores: 4)
spawned 4 offload threads for uWSGI worker 3
spawned 4 offload threads for uWSGI worker 4
WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7f22750a1718 pid: 21 (default app)
WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7f22750a1718 pid: 11 (default app)
WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7f22750a1718 pid: 17 (default app)
WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7f22750a1718 pid: 10 (default app) |
+1 - I have the same problem when starting with the docker instance. Below are the error logs from the container. Running on WSL2 Linux on windows.
|
I was able to resolve the issue by following the solution recommended here. Moreover, we can ignore some of the errors from |
Describe the bug
Cannot start perplexica-searxng-1
To Reproduce
Steps to reproduce the behavior:
Create new conda environment, activate conda
Just follow docker installation.
Expected behavior
Browse to http://localhost:3000/
Page loaded the side menu, but the center page it keep circling
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
When check docker log
Frontend and Backend started ok.
But the SearXNG docker cannot start
2024-05-28 22:35:25 SearXNG version 2024.3.29+f5bb64cca
2024-05-28 22:35:25 Create /etc/searxng/uwsgi.ini
2024-05-28 22:35:25 Create /etc/searxng/settings.yml
2024-05-28 22:35:25 Listen on 0.0.0.0:8080
2024-05-28 22:39:35 SearXNG version 2024.3.29+f5bb64cca
2024-05-28 22:39:35 Create /etc/searxng/uwsgi.ini
2024-05-28 22:39:35 Create /etc/searxng/settings.yml
2024-05-28 22:39:35 Listen on 0.0.0.0:8080
2024-05-28 22:35:25 cp: can't create '/etc/searxng/uwsgi.ini': No such file or directory
2024-05-28 22:35:25 sed: /etc/searxng/uwsgi.ini: No such file or directory
2024-05-28 22:35:25 cp: can't create '/etc/searxng/settings.yml': No such file or directory
2024-05-28 22:35:25 sed: /etc/searxng/settings.yml: No such file or directory
2024-05-28 22:35:25 realpath() of /etc/searxng/uwsgi.ini failed: No such file or directory [core/utils.c line 3662]
2024-05-28 22:39:35 cp: can't create '/etc/searxng/uwsgi.ini': No such file or directory
2024-05-28 22:39:35 sed: /etc/searxng/uwsgi.ini: No such file or directory
2024-05-28 22:39:35 cp: can't create '/etc/searxng/settings.yml': No such file or directory
2024-05-28 22:39:35 sed: /etc/searxng/settings.yml: No such file or directory
2024-05-28 22:39:35 realpath() of /etc/searxng/uwsgi.ini failed: No such file or directory [core/utils.c line 3662]
The text was updated successfully, but these errors were encountered: