exadel-inc / CompreFace

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

Unable to sign up from login page #857

Open dbeckers99 opened 2 years ago

dbeckers99 commented 2 years ago

I installed the latest version of CompreFace, started the docker container and now try to sign up an accout at the login page (http://localhost:8000/login)

After fill out all fields I simply get an error message "Sorry, something went wrong"

Whe else can I sign up to get a valid account?

HishamAlshareef commented 2 years ago

Same error

johnny2565 commented 2 years ago

Experiencing the same error I have successfully set up compreFace following the instruction but I can not sign up or register

pospielov commented 2 years ago

Could you run docker-compose logs and share the result?

dbeckers99 commented 2 years ago

Yes, file is attached

Thanks

logout.txt

pospielov commented 2 years ago

It looks like CompreFace didn't run all database scripts because it was stopped. Is it a new CompreFace installation? If yes, you need to clean the DB:

  1. Stop Compreface: docker-compose down
  2. Run docker command: docker volume ls
  3. Find volume with name <folder_with_compreface_name>_postgres-data (Probably it will be compreface_101_postgres-data)
  4. run: docker volume rm compreface_101_postgres-data

If you migrated from the previous CompreFace version and get such an error, do not delete the volume, it's needed to be done more carefully.

dbeckers99 commented 2 years ago

Thanks. I tried this, mad a restart but the problem is still the same.

Attached the new log output file.

log-out-2.txt

pospielov commented 2 years ago

From the new log, it looks like it didn't start yet. You need to wait 30-60 seconds until you open CompreFace Other option - to run docker-compose logs -f and wait until new logs stop to appear and then open CompreFace

dbeckers99 commented 2 years ago

Next try, same result... log-out-3.txt

dbeckers99 commented 2 years ago

And here the tail of the log output if I wait until startup and try to sign up

log-out-4.txt

pospielov commented 2 years ago

in log3 and log4 there is the same error as in log1 So please, delete the volume again and run CompreFace, but wait 60 seconds.