Open DineshGuptaa opened 2 years ago
Hi Dinesh! Thanks for your report. The supported installation of this application is via Docker. Check the README for the steps to install: https://github.com/redislabs-training/redis-sitesearch#installing
If you don't want to (or can't) use Docker, then you'll need to read through the different Dockerfiles to discover all the commands necessary to install each part (the "worker," web API, etc.). Here's the worker's Dockerfile: https://github.com/redislabs-training/redis-sitesearch/blob/master/docker/app/Dockerfile
The specific error you reported is usually related to missing the development headers for Python, something that a command like apt install python-dev
on Ubuntu might fix (or yum install python-devel
on RHEL/Fedora, etc. But I'm afraid I'm not familiar with Oracle Linux!
Hi Abrookins,
I tried this time docker one. When I ran the command sudo docker-compose up --build
got below error:
WARNING: The PWD variable is not set. Defaulting to a blank string.
Creating network "redis-sitesearch_default" with the default driver
Building redis
Sending build context to Docker daemon 2.718MB
Step 1/2 : FROM redislabs/redisearch:latest
latest: Pulling from redislabs/redisearch
b4d181a07f80: Pull complete
1342f34fd0fb: Pull complete
1b2f304ef33e: Pull complete
50928b3873fb: Pull complete
f9edd3ed2f5a: Pull complete
afea93ae0bf4: Pull complete
5941672f8c08: Pull complete
8d6a92b46683: Pull complete
ae0ceb5821fe: Pull complete
82b389cc9637: Pull complete
78122b413d02: Pull complete
Digest: sha256:bc8368f16162624a83e0ebf16af4f5e177102fd3c237016bfff258d32bed6f5a
Status: Downloaded newer image for redislabs/redisearch:latest
---> d1764f209e9e
Step 2/2 : CMD redis-server --requirepass $REDIS_PASSWORD --dir /data --loadmodule /usr/lib/redis/modules/redisearch.so MINPREFIX 1
---> Running in 258ad35a0936
Removing intermediate container 258ad35a0936
---> 10ba400bd87f
Successfully built 10ba400bd87f
Successfully tagged redis-sitesearch_redis:latest
Building app
Sending build context to Docker daemon 2.718MB
Step 1/21 : FROM python:3.8
3.8: Pulling from library/python
bb7d5a84853b: Pull complete
f02b617c6a8c: Pull complete
...
...
...
...
...
...
Step 18/21 : ENV NEW_RELIC_APP_NAME "sitesearch"
---> Using cache
---> 0c676602a53c
Step 19/21 : ENV NEW_RELIC_DISTRIBUTED_TRACING_ENABLED true
---> Using cache
---> b3aa6d16ba0f
Step 20/21 : ENV NEW_RELIC_LOG stdout
---> Using cache
---> 3bf0f7db955e
Step 21/21 : ENTRYPOINT ["/usr/bin/supervisord"]
---> Using cache
---> 0a7daa1d8dff
Successfully built 0a7daa1d8dff
Successfully tagged redis-sitesearch_test:latest
Creating redis-sitesearch_test_redis_1 ... done
Creating redis-sitesearch_redis_1 ... done
Creating redis-sitesearch_worker_1 ... error
Creating redis-sitesearch_app_1 ...
ERROR: for redis-sitesearch_worker_1 Cannot create container for service worker: create .: volume name is too short, names should be at least two alphanumericCreating redis-sitesearch_app_1 ... error
ERROR: for redis-sitesearch_app_1 Cannot create container for service app: create .: volume name is too short, names should be at least two alphanumeric characters
Creating redis-sitesearch_test_1 ... error
ERROR: for redis-sitesearch_test_1 Cannot create container for service test: create .: volume name is too short, names should be at least two alphanumeric characters
ERROR: for worker Cannot create container for service worker: create .: volume name is too short, names should be at least two alphanumeric characters
ERROR: for app Cannot create container for service app: create .: volume name is too short, names should be at least two alphanumeric characters
ERROR: for test Cannot create container for service test: create .: volume name is too short, names should be at least two alphanumeric characters
ERROR: Encountered errors while bringing up the project.
Please help me... Thanks,
Hi, I am on Oracle Linux 8.4. I git git clone your repo and run the setup.py as
python3 setup.py install
and getting below issue:Please help me what need to do.