yogeshojha / rengine

reNgine is an automated reconnaissance framework for web applications with a focus on highly configurable streamlined recon process via Engines, recon data correlation and organization, continuous monitoring, backed by a database, and simple yet intuitive User Interface. reNgine makes it easy for penetration testers to gather reconnaissance with minimal configuration and with the help of reNgine's correlation, it just makes recon effortless.
https://yogeshojha.github.io/rengine/
GNU General Public License v3.0
7.5k stars 1.14k forks source link

Fix ERROR: Service 'celery' failed to build : Build failed error #809

Closed BecodoExploit-mrCAT closed 1 year ago

BecodoExploit-mrCAT commented 1 year ago

Hi, if you have problems to build like this:

The command '/bin/sh -c pip3 install --upgrade setuptools pip &&     pip3 install -r /tmp/requirements.txt' returned a non-zero code: 2       
ERROR: Service 'celery' failed to build : Build failed
make: *** [Makefile:22: up] Error 1

Update the rengine/web/requirements.txt and upgrade the celery version to 5.1.2 like this:

└─$ cat requirements.txt 
argh
beautifulsoup4==4.9.3
celery==5.1.2     # <<<<<<<<<<<<<<<<<<<<<<<
degoogle==1.0.1
discord-webhook==0.14.0
Django==3.2.4
django-ace==1.0.11
django-celery-beat==2.2.1
django-login-required-middleware==0.6.1
django-mathfilters==1.0.0
django-timezone-field==4.1.2
djangorestframework==3.12.4
djangorestframework-datatables==0.6.0
dotted-dict==1.1.3
drf-yasg
emailfinder==0.2.3b0
fuzzywuzzy==0.18.0
gunicorn==20.1.0
Markdown==3.3.4
metafinder==1.1
netaddr==0.8.0
PyYAML==5.4.1
PySocks
psycopg2==2.9.1
python-Levenshtein==0.12.2
PyVirtualDisplay==2.2
redis==3.5.3
requests==2.25.1
selenium==3.141.0
tldextract==3.1.0
validators==0.18.2
watchdog
whatportis==0.8.2
weasyprint==53.3
wafw00f
asyncwhois

After this just run make build and lets go.

github-actions[bot] commented 1 year ago

👋 Hi @CATx003, Issues is only for reporting a bug/feature request. Please read documentation before raising an issue https://rengine.wiki For very limited support, questions, and discussions, please join reNgine Discord channel: https://discord.gg/azv6fzhNCE Please include all the requested and relevant information when opening a bug report. Improper reports will be closed without any response.

foozzi commented 1 year ago

@CATx003 requirements.txt has already celery 5.1.2. You need to upgrade to 5.2.7 or 5.2.2

gustavorobertux commented 1 year ago

You can momentarily fix the problems as follows:

Add these lines at the beginning of your install script or issue these commands before running your install script

sed -i 's/celery==5.1.2/celery==5.2.7/' web/requirements.txt
sed -i 's/# Download and install go 1.18/# Download and install go 1.19/' web/Dockerfile
sed -i 's/go1.18.2.linux-amd64.tar.gz/go1.19.5.linux-amd64.tar.gz/' web/Dockerfile
haphuoctinh0303 commented 1 year ago

Screenshot 2023-03-02 122037

I updated it as follows, but still the same error

gustavorobertux commented 1 year ago

Screenshot 2023-03-02 122037

I updated it as follows, but still the same error

Show the error screen, please, so it's easier to help. ;)

haphuoctinh0303 commented 1 year ago

Screenshot 2023-03-02 122037 I updated it as follows, but still the same error

Show the error screen, please, so it's easier to help. ;)

hiii, am fixed ^^

gustavorobertux commented 1 year ago

Nice !

haphuoctinh0303 commented 1 year ago

@gustavorobertux i begin see this error :D image image

haphuoctinh0303 commented 1 year ago

Nice !

help me for my question below :((

haphuoctinh0303 commented 1 year ago

Nice !

image