What's te difference between kamal deploy and kamal redeploy? #1288
-
|
https://kamal-deploy.org/docs/commands/deploy/ Every time However if I do running But if it's the case how to normalize things? If there's no solution the only way I see is remove everything from server even the . |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
If you check out the source of Hopefully checking out the source of kamal helps you to identify why your environment is in such a weird state. What I remember from similar issues is that it might help to check the logs of the failed container and fix the root cause. Finding the container which failed can be done on the host by executing |
Beta Was this translation helpful? Give feedback.
kamal redeployonly updates the app, but does not setup the proxy.kamal deploydoes setup the proxy and update the app.kamal setupdoes what deploy does, but before doing so it also assures Docker is installed and accessories are booted.If you check out the source of
lib/kamal/cli/main.rbthen you get an idea of what is being done.Hopefully checking out the source of kamal helps you to identify why your environment is in such a weird state.
What I remember from similar issues is that it might help to check the logs of the failed container and fix the root cause. Finding the container which failed can be done on the host by executing
docker ps -a, then you can see the logs by executingd…