CompreFace icon indicating copy to clipboard operation
CompreFace copied to clipboard

Unable to sign up from login page

Open dbeckers99 opened this issue 3 years ago • 10 comments

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?

dbeckers99 avatar Aug 12 '22 18:08 dbeckers99

Same error

HishamAlshareef avatar Aug 13 '22 15:08 HishamAlshareef

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

johnny2565 avatar Aug 14 '22 14:08 johnny2565

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

pospielov avatar Aug 15 '22 17:08 pospielov

Yes, file is attached

Thanks

logout.txt

dbeckers99 avatar Aug 16 '22 19:08 dbeckers99

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.

pospielov avatar Aug 18 '22 12:08 pospielov

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

Attached the new log output file.

log-out-2.txt

dbeckers99 avatar Aug 18 '22 13:08 dbeckers99

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

pospielov avatar Aug 18 '22 14:08 pospielov

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

dbeckers99 avatar Aug 18 '22 14:08 dbeckers99

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

log-out-4.txt

dbeckers99 avatar Aug 18 '22 14:08 dbeckers99

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.

pospielov avatar Aug 23 '22 09:08 pospielov