-
Notifications
You must be signed in to change notification settings - Fork 10
DevOps: Common Deployment Errors in VAEC
elisa lee edited this page Nov 3, 2021
·
8 revisions
To resolve, use the "Rails Task" project in Jenkins. The command would look something like:
ssh ec2-user@SOMEWHERE "echo \"Hello world!\""
Error | Resolution |
---|---|
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? | sudo service docker start |
Service 'app' failed to build: Error processing tar file(exit status 1): write /app/logs/production.log: no space left on device or OSError: can not read file in context: /home/ec2-user/diffusion-marketplace/logs/production.log
|
cd diffusion-marketplace; sudo rm -rf logs/production.log |
docker-compose: error while loading shared libraries: libz.so.1: failed to map segment from shared object: Operation not permitted | sudo mount /tmp -o remount,exec |
ERROR: for diffusion-marketplace_app_1 You cannot remove a running container [really long container id]. Stop the container before attempting removal or force remove | sudo service docker restart |
build timeout (this usually happens on STG when there is a gemfile update) | run the build again, making sure to do it after the gems are installed |