Skip to content

[BUG] database fails to start with Postgres query syntax error #65

Open
@cidrmill

Description

@cidrmill

Bug Description:

The database container fails on its initial launch, which causes a chain of issues resulting in osintbuddy authentication to fail since Casdoor relies on a working database.

How to Reproduce:

  1. Launch OSB ./launch start
  2. Run ./launcher logs db
  3. Find that it's causing Casdoor and frontend authentication to also fail.

Expected behavior:

Postgres should launch and the queries should execute without error.

Screenshots & Logs:

https://paste.c-net.org/PraisesWarriors

The log output is large. A snippet of the error causing the Postgres database to fail during its launch sequence:

2024-04-16 09:14:24.538 UTC [35] FATAL:  zero-length delimited identifier at or near """" at character 12
2024-04-16 09:14:24.538 UTC [35] STATEMENT:  ALTER USER ""postgres"" WITH PASSWORD E'"password"';

Environment:

  • OS: Linux
  • Browser: irrelevant

Additional context:

...

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions