exadel-inc / CompreFace

Leading free and open-source face recognition system
https://exadel.com/accelerator-showcase/compreface/
Apache License 2.0
5.72k stars 776 forks source link

Cannot Start Postgres DB Container on windows server 2019 #598

Closed HarisMohre closed 3 years ago

HarisMohre commented 3 years ago

Describe the bug Hi,

I recently setup a VM and i am trying to start the application on it using the build in Docker settings. So far everything is going good, but I am now facing an issue where the Postgres DB Container is not starting. I have attached the Compose Logs here too. If you can help me with this then it would be great.

logs.txt

To Reproduce Steps to reproduce the behavior:

  1. Setup Docker on Windows Server 2019
  2. Download Compreface 0.6.x
  3. Go to the folder
  4. Run docker-compose up -d.
  5. After that , run docker-compose logs

Expected behavior

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Error

It Says in the Logs that the connection attempt Failed. Maybe That might help. It does look like the Postgre DB didnt start.

pospielov commented 3 years ago

Hi, sorry for the long reply. I don't have any experience with Windows Server 2019. CompreFace uses the default image of PostgreSQL, so I recommend finding a tutorial on how to run PostgreSQL in docker on Windows Server 2019. As soon as you will manage to run clean PostgreSQL, I believe the CompreFace version also will work. Also, to check the Postgres logs, run docker logs compreface-postgres-db.

HarisMohre commented 3 years ago

Hey Bro, No issues... I can understand this might be an issue as Windows Server comes built in with Docker support but for some reason , its not working. Its okay though as I have asked My Infra team to setup a LINUX VM instead.

So yeah, all good for now.