Replies: 1 comment 4 replies
-
It's really hard to know or tell anything without looking at any code. Maybe, you can create a small reproduction and share that with us. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
We've recently upgraded to v6 but we are unable to deploy our app as we're always getting the "Migration completed, but unable to release database lock" exception. Occasionally, we'd hit it locally as well. We used to run into the same issue in v5, but it would only happen from time to time. We were hoping that this would be resolved with v6, but on the contrary, we're always hitting this error.
We're using the latest versions of
Lucid
andpg
, we've tried using the--disable-locks
flag, and we've also squashed our files to reduce to the total number of migrations, all to no avail.We've came across this post in Discord, but the issue seems to remain unresolved.
We also found this issue, suggesting that truncating may be causing this. However, we aren't truncating anything anywhere. We use the
defer
method on several occasions (not sure if this could be related, but we do have a couple of materliazed views).Any suggestions as to how to fix or identify the issue would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions