Skip to content

❓ Backend error: appSettings.findUniqueOrThrow() – missing default OIDP config? #2

Description

@jackffmgs

Hi! Thanks a lot for this great project 🙌

I'm trying to run the example from examples/docker-compose, and the containers start up, but the backend immediately throws this warning:

2025-06-10 03:22:47 - warn: ConfigService getOIDPConfig: Invalid prisma.appSettings.findUniqueOrThrow() invocation: An operation failed because it depends on one or more records that were required but not found. Expected a record, found none. 2025-06-10 03:22:47 - warn: OIDPService cannot set request config: undefined

This looks like the backend expects some OIDP config stored in the database (appSettings?), but there's no mention of this in the docs.
The frontend mentions OIDP, but I couldn't find anything about backend initialization or seeding the DB.

Could you please clarify:

  1. What is the expected structure of the appSettings record?
  2. Do you have an example of .env variables for the backend for docker compose?
  3. Is there any database seed/init process we should run?

Thanks in advance for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions