T
Typebot14mo ago
Emmet

Database broken after update

I updated from latest stable to latest commit, and this happened.
No description
7 Replies
Emmet
EmmetOP14mo ago
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?
Baptiste
Baptiste14mo ago
to latest commit
You probably did something wrong here As it's not an official procedure
Emmet
EmmetOP14mo ago
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
Baptiste
Baptiste14mo ago
So you are deploying Typebot manually% ?
Baptiste
Baptiste14mo ago
Did you see that notice?
You can setup and migrate the database with the pnpm prisma generate && pnpm db:migrate command.
You can setup and migrate the database with the pnpm prisma generate && pnpm db:migrate command.
That might be the issue
Emmet
EmmetOP14mo ago
I did I also did this But it did not change anything Creating a brand new database was the only fix

Did you find this page helpful?