-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Running 'sudo ./install.sh', reNgine installs, however when it tries to run create username it fails with a slew of python errors. Running 'sudo make username' manually also fails with the same errors.
Expected Behavior
To be prompted to provide new username and password for the reNgine sysadmin account
Steps To Reproduce
- execute: sudo git clone https://github.com/yogeshojha/rengine && cd rengine
- sudo pico .env (or use the editor of your choice) Change POSTGRES_PASSWORD= and change MAX_CONCURRENCY=50
- execute: sudo ./install.sh
Environment
- reNgine: 2.2.0
- OS: kali 6.12.20-amd64
- Python: 3.13.2
- Docker Engine: 26.1.5
- Docker Compose: 2.5.0
- Browser: N/A
Anything else?
From the Traceback output:
File "/usr/local/lib/python3.10/dist-packages/django/db/backends/base/base.py", line 219, in ensure_connection self.connect()
File "/usr/local/lib/python3.10/dist-packages/django/utils/asyncio.py", line 33, in inner return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/django/db/backends/base/base.py", line 200, in connect self.connection =
self.get_new_connection(conn_params)
File "/usr/local/lib/python3.10/dist-packages/django/utils/asyncio.py", line 33, in inner return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/django/db/backends/postgresql/base.py", line 187, in get_new_connection connection =
Database.connect(**conn_params)
File "/usr/local/lib/python3.10/dist-packages/psycopg2/init.py", line 122, in connect conn = _connect(dsn, connection_factory=connection_factory,
**kwasync)
psycopg2.OperationalError: connection to server at "db" (172.20.0.4), port 5432 failed: FATAL: password authentication failed for user "rengine"
Prior to running install.sh I did edit .env and change the POSTGRES_PASSWORD and MAX_CONCURRENCY. Nothing else in the .env file was edited.
I am not sure why it is looking for pythong3.10, I assume that it what is running in the Docker Container. Looking in my /usr/local/lib/ directory I only have directories for python2.7 and pythong3.13
Side note: I have installed reNgine on an Ubuntu VM without issue, however I have a use case where I need to run reNgine from my local Kali VM