You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running kamal app exec does not push the secrets to the remote servers like deploy does. If we need to run commands on a freshly installed server or need to run migrations with updated secrets, it will fail.
$ kamal app exec --version v${BUILD_VERSION} --roles web --primary -d qa rails db:migrate
INFO [4cc8b8d6] Running docker run --rm --network kamal --env SERVICE="web" --env REDIS_HOST="app-redis" --env-file .kamal/apps/app-qa/env/roles/web.env x.dkr.ecr.eu-central-1.amazonaws.com/image:v1.2.3 rails db:migrate on x.x.x.x ERROR (SSHKit::Command::Failed): Exception while executing on host x.x.x.x docker exit status: 125
docker stdout: Nothing written
docker stderr: docker: open .kamal/apps/app-qa/env/roles/web.env: no such file or directory.
The text was updated successfully, but these errors were encountered:
kamal v2.2.2
Running
kamal app exec
does not push the secrets to the remote servers likedeploy
does. If we need to run commands on a freshly installed server or need to run migrations with updated secrets, it will fail.The text was updated successfully, but these errors were encountered: