Docker Installation Server Error (500)

I did a clean docker installation by following the instructions on https://ralph-ng.readthedocs.io/en/stable/installation/installation/

When I visit the site and attempt to log in I receive a “Server Error (500)”.

I attempted the fix by editing the prod.py file as noted in the github issue https://github.com/allegro/ralph/issues/2193

I am still stuck with the “Server Error (500)”.

Hi - not sure if you got this sorted, but I had to do this to get it running:

docker-compose run web init
docker-compose up -d

The above instruction of “docker-compose run web init” differs from the documentation which states “docker-compose run --rm web /root/init.sh”

Also, using either after a “docker compose build” using the docker-compose-local-dev.yml results in the below error:

$ docker compose run web init
[+] Running 5/5
:heavy_check_mark: Network docker_default Created 0.1s
:heavy_check_mark: Volume “docker_ralph_dbdata” Created 0.0s
:heavy_check_mark: Container docker-redis-1 Created 0.1s
:heavy_check_mark: Container docker-db-1 Created 0.1s
:heavy_check_mark: Container docker-nginx-1 Created 0.1s
[+] Running 3/3
:heavy_check_mark: Container docker-db-1 Started 1.7s
:heavy_check_mark: Container docker-nginx-1 Started 1.5s
:heavy_check_mark: Container docker-redis-1 Started 1.6s
Obtaining file:///var/local/ralph (from -r /var/local/ralph/requirements/test.txt (line 1))
Complete output from command python setup.py egg_info:
fatal: detected dubious ownership in repository at ‘/var/local/ralph’
To add an exception for this directory, call:

	git config --global --add safe.directory /var/local/ralph
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/var/local/ralph/setup.py", line 25, in <module>
    version=get_version(),
  File "/var/local/ralph/setup.py", line 19, in get_version
    ver = subprocess.check_output([script], shell=True)
  File "/usr/lib/python3.6/subprocess.py", line 356, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/var/local/ralph/get_version.sh']' returned non-zero exit status 128.

----------------------------------------

Command “python setup.py egg_info” failed with error code 1 in /var/local/ralph/

Any advice/updates on getting this to build/run in a docker environment/container?