Errors when using gitlab-ctl uninstall

5,349

Solution 1

1.gitlab-ctl stop

Stop the services.

2.gitlab-ctl cleanse

Delete all gitlab data, and start from scratch.

3. gitlab-ctl uninstall

Kill all processes and uninstall the process supervisor (data will be preserved).

4. remove package.

// Debian/Ubuntu

sudo dpkg -r gitlab-ce

// Redhat/Centos

sudo rpm -e gitlab-ce

5. Reboot

Solution 2

From the issue in the official site, you can try

  1. gitlab-ctl stop
  2. gitlab-ctl uninstall
  3. Delete all files/directories
  4. Reboot
Share:
5,349

Related videos on Youtube

bagbag
Author by

bagbag

Updated on September 18, 2022

Comments

  • bagbag
    bagbag almost 2 years

    After trying to install gitlab using the .deb package they provide, I gave it up and now I wan't to uninstall it.

    But when I run "sudo gitlab-ctl uninstall" it only get:

    gitlab uninstall errors

    I have absolutely no idea what I can do know and I hope that reinstalling linux is not the only way...

  • bagbag
    bagbag almost 10 years
    Thats true, but when installing gitlab it wants "gitlab-ctl reconfigure", which does a lot changes, and when you wan't to uninstall it, the docs says that you should run "gitlab-ctl uninstall" and then apt-get remove..
  • Doug Hou
    Doug Hou about 8 years