Running 'gitlab-rake gitlab:check' error due to /opt/gitlab/embedded/service/gitlab-shell/bin/check not existing. /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-shell-check does exist. Symlink fixed the issue
I have this bit of code in an update script.
echo "Checking gitlab ${current_gitlab_verion} for errors before doing the upgrade"
echo "Part 1"
errorsPart1=$( unbuffer gitlab-rake gitlab:check | tee /dev/tty | grep -iE 'failed|error' )
if [[ -n "$errorsPart1" ]]
then
echo ""
echo ">$errorsPart1<"
echo "Check the above output for errors. Fix before running script again."
exit 1
fi
Updates have not worked due to a "gitlab-shell self-check failed" error.
Fix was to run this
sudo ln -s /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-shell-check /opt/gitlab/embedded/service/gitlab-shell/bin/check
as the check bin no longer exists after 17.4.0 it seems.