Share feedback, ideas and get community help

Updated 10 months ago

Database error

PrismaClientInitializationError:
typebot-viewer-1 | Invalid prisma.publicTypebot.findFirst() invocation:
typebot-viewer-1 |
typebot-viewer-1 |
typebot-viewer-1 | Can't reach database server at localhost:5432
typebot-viewer-1 |
typebot-viewer-1 | Please make sure your database server is running at localhost:5432.
typebot-viewer-1 | at zr.handleRequestError (/app/node_modules/.pnpm/@prisma+client@5.0.0_prisma@5.0.0/node_modules/@prisma/client/runtime/library.js:122:8581)
typebot-viewer-1 | at zr.handleAndLogRequestError (/app/node_modules/.pnpm/@prisma+client@5.0.0_prisma@5.0.0/node_modules/@prisma/client/runtime/library.js:122:7697)
typebot-viewer-1 | at zr.request (/app/node_modules/.pnpm/@prisma+client@5.0.0_prisma@5.0.0/node_modules/@prisma/client/runtime/library.js:122:7307)
typebot-viewer-1 | at async y (/app/apps/viewer/.next/server/pages/[[...publicId]].js:1:2949)
typebot-viewer-1 | at async h (/app/apps/viewer/.next/server/pages/[[...publicId]].js:1:2708) {
typebot-viewer-1 | clientVersion: '5.0.0',
typebot-viewer-1 | errorCode: undefined
typebot-viewer-1 | }
B
C
5 comments
Can't reach database server at localhost:5432 is self-explanatory, are you sure the database is up and running?
im connecting it with supabase but it is giving me the same error
@Baptiste can you please help me self hosting this cuz im getting trouble using docker and ive already read the guide
I don't provide support for self-hosting Typebot. What you show is not a bug from Typebot.
I urge you to either use https://app.typebot.io or get the help of a technical person to maintain the app for you
Add a reply
Sign up and join the conversation on Discord