Docker-gitlab: Unlinking stale socket /var/run/supervisor.sock cp: error writing '/home/git/gitlab-shell/config.yml': No space left on device cp: failed to extend '/home/git/gitlab-shell/config.yml': No space left on device

Created on 22 Feb 2016  路  3Comments  路  Source: sameersbn/docker-gitlab

Gitlab server suddenly went down and throwed 504 unreachable !! i tried restarting all the three containers (redis, postgres, gitlab)
Redis and postgres containers are getting launched but gitlab does not launch. It shows this trace in the logs

Unlinking stale socket /var/run/supervisor.sock
cp: error writing '/home/git/gitlab-shell/config.yml': No space left on device
cp: failed to extend '/home/git/gitlab-shell/config.yml': No space left on device

wontfix

Most helpful comment

Can you check the available space on the disk partition with the /var/lib/docker directory. Maybe it is running out of space. You can clean up dangling containers, images and volumes using:

# removes stopped containers
docker rm -f $(docker ps -aq --filter status=exited)
# removed dangling images
docker rmi $(docker images -q --filter "dangling=true")
# removes dangling volumes
docker volume rm $(docker volume ls -q --filter "dangling=true")

this should free up some space.

All 3 comments

Can you check the available space on the disk partition with the /var/lib/docker directory. Maybe it is running out of space. You can clean up dangling containers, images and volumes using:

# removes stopped containers
docker rm -f $(docker ps -aq --filter status=exited)
# removed dangling images
docker rmi $(docker images -q --filter "dangling=true")
# removes dangling volumes
docker volume rm $(docker volume ls -q --filter "dangling=true")

this should free up some space.

necrobump

The above commands were able to resolve the issue for me.
Recommend closing this issue.

This issue has been automatically marked as stale because it has not had any activity for the last 60 days. It will be closed if no further activity occurs during the next 7 days. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lenovouser picture lenovouser  路  3Comments

STOIE picture STOIE  路  4Comments

josefglatz picture josefglatz  路  5Comments

chenjie4255 picture chenjie4255  路  3Comments

rakesh-k picture rakesh-k  路  3Comments