-
Notifications
You must be signed in to change notification settings - Fork 266
Error: foreign key constraint failed when running cargo shuttle delete
#561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey Ben! Yeah, this one's not very kind on the eyes. We've known about this bug but must have forgotten to open an issue for it, so thanks for that! The delete op does actually work (in that it stops the running deployment), but I believe the root of this bug is that we ignore the error in For reference, this is the deployer handler called by |
Hey @oddgrd I ran into the same error today trying to stop my deployment. I can confirm that it definitely is still running despite me getting this error. |
Ah, thanks! Yes, it does seem there is an issue with stopping deployments as well, and currently you'd need to do a An update on what we want to solve this bug (the FK error): we don't actually want to delete anything, rather we want to stop the service and change the state of the related tables to |
I'm getting the following error when trying to run
cargo shuttle delete
:I haven't managed to successfully deploy anything yet (due to #527, I think?) so this might be an invalid command, but the error message could be nicer 🙂
The text was updated successfully, but these errors were encountered: