Reboot loop after updating Docker image
Summary
After updating the Docker image and following the upgrade guide at https://docs.gitlab.com/omnibus/docker/ GitLab isn't responding anymore. The logs say
/opt/gitlab/embedded/bin/runsvdir-start: line 24: ulimit: pending signals: cannot modify limit: Operation not permitted
/opt/gitlab/embedded/bin/runsvdir-start: line 37: /proc/sys/fs/file-max: Read-only file system
Steps to reproduce
Upgrade the Docker image from the latest 8.12 release to 8.13.
Expected behavior
GitLab should be running
Actual behavior
GitLab isn't running. Trying to run the upgrade-permissions
script isn't working either:
rpc error: code = 13 desc = invalid header field value "oci runtime error: exec failed: container_linux.go:247: starting container process caused \"exec: \\\"update-permissions\\\": executable file not found in $PATH\"\n"
After a few seconds the Docker image is rebooting and after several times it hangs in a reboot loop which doesn't end.
Relevant logs and/or screenshots
/opt/gitlab/embedded/bin/runsvdir-start: line 24: ulimit: pending signals: cannot modify limit: Operation not permitted
/opt/gitlab/embedded/bin/runsvdir-start: line 37: /proc/sys/fs/file-max: Read-only file system
Output of checks
Results of GitLab application Check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)
rpc error: code = 13 desc = invalid header field value "oci runtime error: exec failed: container_linux.go:247: starting container process caused \"exec: \\\"sudo\\\": executable file not found in $PATH\"\n"
Results of GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:env:info
)
rpc error: code = 13 desc = invalid header field value "oci runtime error: exec failed: container_linux.go:247: starting container process caused \"exec: \\\"sudo\\\": executable file not found in $PATH\"\n"
Possible fixes
None available
Edited by 🤖 GitLab Bot 🤖