-
Notifications
You must be signed in to change notification settings - Fork 35
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
Problem when launching the tool with Docker-compose up #40
Comments
I have the same issue. |
I added these lines to my install.sh file and it got things up and running. |
Thank you for reporting; will start to work on a fix asap |
Hi, I have the same issue too. |
Hi all, I also encounter the same issue, I tried to apply your fix under Note : I'm using podman I also tried to make sure the entire path exists :
The result :
If anyone comes up with a fix, I'll really appreciate it ! I tried building it a week or two ago and and it was working back then. |
Just taken a look at this issue; but I could build it from scratch without a problem.... |
That's interesting. Here's my technical environment on which I have the issue:
|
I tried the whole day to make it work, I just erased everything then started over :
SPECS :
|
@jukedom @Cloud-Kid @timothygwright @ehboudjema I've just updated the requirements from cve-search; could you check if that solves your problem? |
Hi @P-T-I , So it should be OK, but unfortunately I can't reach the web UI even if :
I can't reach the interface using a browser or cURL, even inside the cve_search container : |
My bad, |
Hello, I just tried with the latest version but I confirm I have the same issue. Tried to re build from scratch, but without success. Unless I'm missing something I don't see any update in the requirements from cve_search folder. Any thoughts @P-T-I ? Thanks |
Hi @jukedom, Can you try :
Let me knows how it went for you |
No sorry; there is not; it might be a nice requirement to actually do that; would you say it's only suitable for SSL or would there be other settings as well? |
Thanks @Cloud-Kid I confirm it works now. I was pretty sure I rebuilt the image but apparently it was not enough. Anyway that's ok now |
@P-T-I Thanks for your quick answer !
|
I'd successfully launched container by adding version to the yaml file, also change the name to all lowercase without spaces |
Describe the bug
I am having the error :
[Errno 2] No such file or directory: '/usr/local/lib/python3.10/site-packages/CveXplore/.env_example'
To Reproduce
Steps to reproduce the behavior:
I cloned the Repo and launched :
docker-compose up
Mongo is filling the database correctly but the web interface is crashing with this error :
cve-search-docker_cve_search_1 exited with code 1 cve_search_1 | Traceback (most recent call last): cve_search_1 | File "/app/web/index.py", line 13, in <module> cve_search_1 | from web.run import create_app cve_search_1 | File "/app/web/../web/run.py", line 6, in <module> cve_search_1 | from CveXplore import CveXplore cve_search_1 | File "/usr/local/lib/python3.10/site-packages/CveXplore/__init__.py", line 1, in <module> cve_search_1 | from CveXplore.main import CveXplore cve_search_1 | File "/usr/local/lib/python3.10/site-packages/CveXplore/main.py", line 16, in <module> cve_search_1 | shutil.copyfile( cve_search_1 | File "/usr/local/lib/python3.10/shutil.py", line 254, in copyfile cve_search_1 | with open(src, 'rb') as fsrc: cve_search_1 | FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.10/site-packages/CveXplore/.env_example'
The text was updated successfully, but these errors were encountered: