Report this

What is the reason for this report?

How to uninstall GITLAB

Posted on February 20, 2014

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.



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!

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.

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.

How did you install GitLab? Did you follow a guide on doing that?

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!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.