P
Prisma3mo ago
ProEvilz

Migrations hang on Prisma Postgres

Hi, out of seemingly no where, I can no longer migrate the DB. When I run the command I get this
$ bunx prisma migrate dev --name updateembeds
Environment variables loaded from .env
Prisma schema loaded from prisma\schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "accelerate.prisma-data.net"
$ bunx prisma migrate dev --name updateembeds
Environment variables loaded from .env
Prisma schema loaded from prisma\schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "accelerate.prisma-data.net"
and nothing more.. it just hangs forever and never finishes. There have been no changes in regards to dependencies around prisma, or changes in my prisma schema that could have caused this. I think the database is bricked internally, as if I create a brand new DB and run the exact same commands with the same schema, it works. Prisma Studio can look in all the tables just fine, and my application can query the database successfully. Just can't migrate.
9 Replies
ProEvilz
ProEvilzOP3mo ago
The database storage usage is seemingly rocketing up too, despite nothing really changing
nikolasburk
nikolasburk3mo ago
Hey there 👋 thanks for raising this! I just shared this with our Engineering eam and will get back to you soon 🙏
Nurul
Nurul3mo ago
@ProEvilz Do you mind sharing your email id or GitHub handle with which you signed up? This would help us in debugging. @ProEvilz Just checking to see if you had a chance to look at the last message. Can you let us know your GitHub Handle or email id?
ProEvilz
ProEvilzOP3mo ago
Replied to you via DM, thank you
Nurul
Nurul3mo ago
I have shared it with our engineering team. I'll get back to you as soon as I have an update 🙏 @ProEvilz Can you try now and check if you still get the error? Also, would you be fine if we look into your database instance in case the issue still persists?
ProEvilz
ProEvilzOP3mo ago
Hey Nurul. I'll check it out when I get 5 mins and give it a shot. Yes, more than welcome for you to look in the database for monitoring purposes. Obviously, this goes without saying, but please don't share any data from it to the public. DM's always open for anything data related 😅
Nurul
Nurul3mo ago
Yes definitely! We would never share data with public. This would be strictly for monitoring purpose only and only one of our engineering team member would look for investigating. It would be great if you can try running migration once and share the outcome 🙏
André "Dezzy" Victor
I am having this same problem Any solution? @Nurul
Nurul
Nurul2mo ago
@André "Dezzy" Victor I would need your email id or GitHub handle to debug this

Did you find this page helpful?