faint-energy-48611
10/26/2021, 11:17 AMERROR: null value in column "internal_context" violates not-null constraint (SQLSTATE 23502)
Errors from postgresd container:
DETAIL: Failing row contains (50779730-3761-401a-9379-8981d05c1b36, <http://localhost:4433/self-service/registration/browser>, 2021-10-26 11:56:51.50795, 2021-10-26 12:27:51.50795, , Kg+iGddKODZ0wXiifNdECxFyHzg5S/yjclf+cydMFMBsuFhiL+VwJm/keTzqd9u0..., 2021-10-26 11:56:51.509476, 2021-10-26 11:56:51.509476, browser, {"nodes": [{"meta": {}, "type": "input", "group": "default", "me..., e39800dd-dc2f-4cfe-ab3f-bd9708556ac6, null).
STATEMENT: INSERT INTO "selfservice_registration_flows" ("active_method", "created_at", "csrf_token", "expires_at", "id", "issued_at", "nid", "request_url", "type", "ui", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11)
Both Kratos (0.7.6-alpha-1) and postgresd (9.6) are running in docker, any ideas what's causing the issue?
I've tried re-creating all containers and images, trying different PG & kratos versions but nothing has changed.
I've tried searching for this error on google and here in slack, but found nothing related.
Also, when I try to use the latest Kratos (v0.8.0-alpha.1.pre.3), migrations fail and kratos exits:
warning msg=Migrator: unable to dump schema audience=application error=map[message:open schema.sql: permission denied]
enough-bear-53057
10/28/2021, 2:25 PMpermission denied
migration issue?faint-energy-48611
12/09/2021, 1:20 PMenough-bear-53057
12/09/2021, 2:11 PMfaint-energy-48611
12/09/2021, 2:12 PMenough-bear-53057
12/09/2021, 2:13 PMfaint-energy-48611
12/09/2021, 2:14 PMfaint-energy-48611
12/09/2021, 2:14 PMenough-bear-53057
12/09/2021, 2:16 PMfaint-energy-48611
12/09/2021, 2:16 PMenough-bear-53057
12/09/2021, 2:17 PMfaint-energy-48611
12/09/2021, 2:18 PMenough-bear-53057
12/09/2021, 2:24 PMwarning msg=Migrator: unable to dump schema audience=application error=map[message:open schema.sql: permission denied]
faint-energy-48611
12/09/2021, 2:27 PMfaint-energy-48611
12/09/2021, 2:27 PMenough-bear-53057
12/09/2021, 2:33 PM