Question

How to uninstall GITLAB

How can I remove gitlab from my debian 7 machine. I installed in my machine, but I think I will not use it for now.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I uninstalled it in the following manner, use find to see where gitlab is hiding: <br>$ find / -iname “gitlab” <br> <br>Once you find the right folder, try to execute the gitlab-ctl binary as follows: <br> <br>$ root@centos [/home/ryan]# /opt/gitlab/bin/gitlab-ctl uninstall <br>ok: down: nginx: 29s, normally up <br>ok: down: postgresql: 28s, normally up <br>ok: down: redis: 28s, normally up <br>ok: down: sidekiq: 27s, normally up <br>ok: down: unicorn: 11s, normally up <br>could not find nginx runit pidfile (service already stopped?), cannot attempt SIGKILL… <br>ok: down: nginx: 29s, normally up <br>could not find postgresql runit pidfile (service already stopped?), cannot attempt SIGKILL… <br>ok: down: postgresql: 28s, normally up <br>could not find redis runit pidfile (service already stopped?), cannot attempt SIGKILL… <br>ok: down: redis: 28s, normally up <br>could not find sidekiq runit pidfile (service already stopped?), cannot attempt SIGKILL… <br>ok: down: sidekiq: 27s, normally up <br>could not find unicorn runit pidfile (service already stopped?), cannot attempt SIGKILL… <br>ok: down: unicorn: 11s, normally up <br>Your config files have been backed up to /root/gitlab-cleanse-2014-04-29T19:05. <br> <br> <br>The binary location may be different, if you have trouble, post your output to the find script. Good luck!

Please help. After installing and uninstalling GitLab, I can no longer use normal git commands. See error below:

$ git clone --bare git@samwise:/srv/git/myapp.git
Cloning into bare repository 'myapp.git'...
sh: 1: /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-shell: not found
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

This was working before I installed GitLab. git user has correct public key in .ssh/authorized_keys, etc. I have rebooted the server already. Server: Ubuntu 14.04.5 LTS.

Thanks in advance.

Just follow the instructions for uninstalling from the readme file of gitlab here it is in short

Stop gitlab and remove its supervision process

sudo gitlab-ctl uninstall

Debian/Ubuntu

sudo dpkg -r gitlab

Redhat/Centos

sudo rpm -e gitlab