Ahmed Commando
Ahmed Commando

Reputation: 808

How to uninstall gitlab from local ubuntu 14.04 server

How do I uninstall gitlab?

I deleted the /home/gitlab directory but it still opens up when I browse to my hostname.

Upvotes: 20

Views: 78214

Answers (3)

vandersondf
vandersondf

Reputation: 899

This worked on ubuntu 16.04

sudo apt-get remove gitlab-ce

sudo rm -rf /var/opt/gitlab

--kill all process live

sudo pkill -f gitlab

-- Remove paths

sudo rm -rf /opt/gitlab

sudo rm -rf /etc/gitlab

rm -rf /var/opt/gitlab

Upvotes: 57

Fadid
Fadid

Reputation: 1298

uninstall Gitlab:

1- Stop the gitlab service

Command : sudo gitlab-ctl stop

2- Start commonde of service facility

command : sudo gitlab-ctl uninstall

3- Delete the package of gitlab

command : Locat gitlab

4- restart machine

Upvotes: 17

Aditya
Aditya

Reputation: 336

Stop the gitlab service. Try doing.

sudo apt-get remove gitlab-ce

Then remove gitlab files from the system. Some files are in /etc directory.

Have a look at the official documentation.

Upvotes: 18

Related Questions