Duplicate Rails Containers Cause Deployment Failure with Kamal #533
Unanswered
Mst-Takayama
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I initially set up a container on a server using kamal setup, and then performed a redeployment with kamal deploy. After doing so, I found that two instances of my Rails container were running, causing the deployment to fail.
Here is the output after running kamal deploy:
To release the lock, I executed kamal lock release:
Upon checking the details with kamal details, I found two Rails containers running:
I was able to successfully deploy after stopping the Rails containers using
kamal app stop
and then runningkamal deploy
again.Is this an expected behavior? How can I ensure that only one Rails container runs after deployment to prevent this issue?
Beta Was this translation helpful? Give feedback.
All reactions