Skip to content
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

Need help to run searx on VPS @a2Hosting #1692

Open
JOduMonT opened this issue Sep 9, 2019 · 0 comments

Comments

@JOduMonT
Copy link

commented Sep 9, 2019

Hi;

I try to install searx with python3 on a VPS which support python (a2Hosting).

image

I ran successfully via the web Execute command

pip3 install -r /home/srxglbr/searx/requirements.txt
python3 /home/srxglbr/searxsearx/webapp.py

and I'm able to access it via SSH
image

and a bunch of module were installed
image

I think I'm on the right track but...

I could see it's running

srxglbr   981530  0.0  0.0  10524   436 ?        S    16:57   0:00 /usr/sbin/proxyexec -c cagefs.sock srxglbr hdjkS9Vx7z7B2R97 /home/srxglbr CAGEFS_ENTER 981485 /bin/bash -c source /home/srxglbr/virtualenv/searx/3.5/bin/activate && python3 /home/srxglbr/searx/searx/webapp.py
srxglbr   981535  0.0  0.0 113672  1536 ?        S    16:57   0:00 /bin/bash -c source /home/srxglbr/virtualenv/searx/3.5/bin/activate && python3 /home/srxglbr/searx/searx/webapp.py
srxglbr   981536  0.2  0.0 439168 60972 ?        S    16:57   0:02 python3 /home/srxglbr/searx/searx/webapp.py

They use LiteSpeed with WGI

I know it LiteSpeed is 100% compatible with Apache syntax
but what about WGI vs USWGI ?

  • they using passenger_wsgi.py

I tried to run with a WSGI file location pointing to ~/etc/searx.ini without success

[uwsgi]
# Who will run the code
uid = srxglbr
gid = srxglbr

# disable logging for privacy
disable-logging = true

# Number of workers (usually CPU count)
workers = 4

# The right granted on the created socket
chmod-socket = 666

# Plugin to use and interpretor config
single-interpreter = true
master = true
plugin = python
lazy-apps = true
enable-threads = true

# Module to import
module = searx.webapp

# Virtualenv and python path
virtualenv = /home/srxglbr/virtualenv/searx/3.5/
pythonpath = /home/srxglbr/searx/
chdir = /home/srxglbr/searx/searx/

So I don't know
Do someone have an idea ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.