Share feedback, ideas and get community help

Updated 3 months ago

Database broken after update

I updated from latest stable to latest commit, and this happened.
Attachment
image.png
E
B
17 comments
Connecting to a different database solved the issue, but is updating always going to require a database wipe?
or is there a way to migrate old data to the new database?
to latest commit

You probably did something wrong here
As it's not an official procedure
i checked out to the commit id, deleted node modules using npkill, re-installed the modules using pnpm i and built the project using pnpm run build:app
after this did not work, i deleted typebot.io, re-cloned it to the latest commit and then pnpm i, pnpm run build:app
both of these resulted in the same outcome
no error in the logs
So you are deploying Typebot manually%
Did you see that notice?

Plain Text
You can setup and migrate the database with the pnpm prisma generate && pnpm db:migrate command.
That might be the issue
I also did this
But it did not change anything
Creating a brand new database was the only fix
Add a reply
Sign up and join the conversation on Discord