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
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.
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.
Most helpful comment
Can you check the available space on the disk partition with the
/var/lib/dockerdirectory. Maybe it is running out of space. You can clean up dangling containers, images and volumes using:this should free up some space.