Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrupted installation (Application error: a server-side exception has occurred (see the server logs for more information).) #264

Open
Macellatore opened this issue Nov 19, 2024 · 0 comments

Comments

@Macellatore
Copy link

I'm not sure what i was doing (maybe adding another participant to a group, or adding a expense linked to a new participant) but it seems like something went wrong.
Now when trying to access the web ui I get this error:

Application error: a server-side exception has occurred (see the server logs for more information).
Digest: 4178383556

App logs return:

app-1  | PrismaClientUnknownRequestError: 
app-1  | Invalid `prisma.expense.findMany()` invocation:
app-1  | 
app-1  | 
app-1  | Inconsistent query result: Field participant is required to return data, got `null` instead.
app-1  |     at ai.handleRequestError (/usr/app/node_modules/@prisma/client/runtime/library.js:126:6965)
app-1  |     at ai.handleAndLogRequestError (/usr/app/node_modules/@prisma/client/runtime/library.js:126:6109)
app-1  |     at ai.request (/usr/app/node_modules/@prisma/client/runtime/library.js:126:5817)
app-1  |     at async l (/usr/app/node_modules/@prisma/client/runtime/library.js:131:9709)
app-1  |     at async D (/usr/app/.next/server/app/groups/[groupId]/expenses/page.js:7:3867) {
app-1  |   clientVersion: '5.9.1',
app-1  |   digest: '3050341920'

I tried poking around in the db but i can't see anything wrong with it (i'm not a champ with dbs, i can barely move around and query stufff).

Could you help me fix this?

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant