spliit
spliit copied to clipboard
Corrupted installation (Application error: a server-side exception has occurred (see the server logs for more information).)
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!