1

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
  • 31
  • 1
  • 3

3 Answers3

1

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
Shawn Xie
  • 163
  • 1
  • 1
  • 6
  • There is [a section about uninstall in readme file](https://gitlab.com/gitlab-org/omnibus-gitlab/blob/6-9-stable/README.md#uninstalling-omnibus-gitlab) – Doug Hou Apr 14 '16 at 04:45
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

user380164
  • 11
  • 1
0

After installing a .deb with dpkg/apt-get/aptitude the best way to remove a packge is to use the same way. Try

apt-get autoremove --purge PKGNAME

to remove the package from your system.

deagh
  • 2,019
  • 5
  • 19
  • 19
  • 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.. – bagbag Sep 14 '14 at 10:08