osintbuddy icon indicating copy to clipboard operation
osintbuddy copied to clipboard

[BUG] - casdoor fail to start

Open ingenius opened this issue 1 year ago • 1 comments

Bug Description:

casdoor unable to login to database

How to Reproduce:

./launcher bootstrap ./launcher start ./launcher logs db

Screenshots & Logs:

ob_dev_db | 2024-05-06 06:00:36.093 UTC [1] LOG: starting PostgreSQL 15.4 (Debian 15.4-2.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit ob_dev_db | 2024-05-06 06:00:36.094 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 ob_dev_db | 2024-05-06 06:00:36.094 UTC [1] LOG: listening on IPv6 address "::", port 5432 ob_dev_db | 2024-05-06 06:00:36.107 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" ob_dev_db | 2024-05-06 06:00:36.125 UTC [65] LOG: database system was shut down at 2024-05-06 06:00:35 UTC ob_dev_db | 2024-05-06 06:00:36.135 UTC [1] LOG: database system is ready to accept connections ob_dev_db | 2024-05-06 06:00:36.166 UTC [69] FATAL: password authentication failed for user "casdoor" ob_dev_db | 2024-05-06 06:00:36.166 UTC [69] DETAIL: Role "casdoor" does not exist. ob_dev_db | Connection matched pg_hba.conf line 100: "host all all all scram-sha-256" ob_dev_db | 2024-05-06 06:00:37.847 UTC [72] FATAL: database "casdoor" does not exist

Environment:

  • OS: Linux
  • Browser: Firefox

Additional context:

...

ingenius avatar May 06 '24 06:05 ingenius

Hi @ingenius , thanks for reporting this!

More details can be found in this issue -> https://github.com/jerlendds/osintbuddy/issues/65

In short, try restarting the db and any other relevant services. I'm dedicating most of my time to the rewrite instead of addressing any short comings in this version :)

jerlendds avatar May 07 '24 13:05 jerlendds