If you’ve ran into a problem with GitLab and need to remove all pieces of it to install fresh this may help.
DISCLAIMER: BACKUP YOUR DATA FIRST
sudo yum -y remove gitlab-ce
sudo rm -rf /opt/gitlab/
sudo rm -rf /var/opt/gitlab
sudo rm -rf /var/log/gitlab
sudo rm -rf /etc/gitlab
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.
Related