DFIRKuiper / Kuiper

Digital Forensics Investigation Platform
736 stars 110 forks source link

Bug Fix: Flask and Celery Docker Images #85

Closed Humoud closed 1 year ago

Humoud commented 1 year ago

Modified: requirements_2.7.txt

Change: Downgrade gevent to 1.2.2

I was having issues running the Flask and Celery containers. The issue was due to installing gevent version 1.4.0 which is not supported by Python 2 as it can be seen in the table at: https://pypi.org/project/gevent/#description

image

After using the supported gevent version the issue was solved.

I'm running the project on ubuntu server v22.04

Thank you.

salehmuhaysin commented 1 year ago

hi

not sure why it is working with me with the same versions (OS, docker, docker-compose) without issue even through it is not supported by gevent with the version gevent==1.4.0.

i will try to test it more, but good reference for any one face the same issue

thank you

Humoud commented 1 year ago

Hi Saleh. I'm glad you're not facing issues. Perhaps I had problems because I started with a fresh clean OS install. I tested it twice, once on a fresh VM and once on a bare metal server.

Thanks

salehmuhaysin commented 1 year ago

after changing the file https://github.com/DFIRKuiper/Kuiper/blob/master/kuiper/requirements_2.7.txt run the following commands

sudo docker-compose build --no-cache flask 
sudo docker-compose build --no-cache celery
Xboarder56 commented 1 year ago

Had the same issue on a fresh VM. I ended up editing requirements_2.7.txt and setting gevent==22.10.2, restarting the containers and it started working.

Sift Workstation Ubuntu 20.04 VM.