Uninstall Instructions does not kill background processes.
Uninstall Instructions does not kill background processes.
BUILD: Tried this on gitlab_7.8.4-omnibus-1_amd64.deb (Ubuntu14.4) and gitlab-7.8.4_omnibus-1.el6.x86_64.rpm (Centos 6.6)
Repro:
-
Install omnibus package. (curl -O https://downloads-packages.s3.amazonaws.com/centos-6.6/gitlab-7.8.4_omnibus-1.el6.x86_64.rpm)
-
sudo rpm -i gitlab-7.8.4_omnibus-1.el6.x86_64.rpm
-
sudo gitlab-ctl reconfigure
-
Run uninstall steps. Observe the processes remain, as runit pidfile cannot be found and cannot attempt SIGKILL:
$ sudo gitlab-ctl uninstall
ok: down: logrotate: 0s, normally up
ok: down: nginx: 0s, normally up
ok: down: postgresql: 0s, normally up
ok: down: redis: 0s, normally up
ok: down: sidekiq: 1s, normally up
ok: down: unicorn: 0s, normally up
could not find logrotate runit pidfile (service already stopped?), cannot attempt SIGKILL...
ok: down: logrotate: 4s, normally up
could not find nginx runit pidfile (service already stopped?), cannot attempt SIGKILL...
ok: down: nginx: 4s, normally up
could not find postgresql runit pidfile (service already stopped?), cannot attempt SIGKILL...
ok: down: postgresql: 3s, normally up
could not find redis runit pidfile (service already stopped?), cannot attempt SIGKILL...
ok: down: redis: 3s, normally up
could not find sidekiq runit pidfile (service already stopped?), cannot attempt SIGKILL...
ok: down: sidekiq: 3s, normally up
could not find unicorn runit pidfile (service already stopped?), cannot attempt SIGKILL...
ok: down: unicorn: 1s, normally up
Your config files have been backed up to /root/gitlab-cleanse-2015-03-12T11:43.
$ ps aux | grep redis
root 10969 0.0 0.0 4356 556 ? S 11:43 0:00 svlogd -tt /var/log/gitlab/redis
gitlab-+ 10974 0.0 0.3 39268 7732 ? Ssl 11:43 0:00 /opt/gitlab/embedded/bin/redis-server 127.0.0.1:0
gitlab-+ 11032 0.0 0.3 39268 7724 ? Ssl 11:43 0:00 /opt/gitlab/embedded/bin/redis-server 127.0.0.1:0
gitlab-+ 11093 0.0 0.3 39268 7724 ? Ssl 11:43 0:00 /opt/gitlab/embedded/bin/redis-server 127.0.0.1:0
root 11114 0.0 0.0 4212 436 ? Ss 11:43 0:00 runsv redis
gitlab-+ 11131 0.0 0.3 39268 7732 ? Ssl 11:43 0:00 /opt/gitlab/embedded/bin/redis-server 127.0.0.1:0
tony 11434 0.0 0.0 15944 920 pts/6 S+ 11:44 0:00 grep --color=auto redis
$ sudo dpkg -r gitlab
(Reading database ... 219154 files and directories currently installed.)
Removing gitlab (7.8.4-omnibus-1) ...
$ ps aux | grep redis
root 10969 0.0 0.0 4356 556 ? S 11:43 0:00 svlogd -tt /var/log/gitlab/redis
gitlab-+ 10974 0.0 0.3 39268 7732 ? Ssl 11:43 0:00 /opt/gitlab/embedded/bin/redis-server 127.0.0.1:0
gitlab-+ 11032 0.0 0.3 39268 7724 ? Ssl 11:43 0:00 /opt/gitlab/embedded/bin/redis-server 127.0.0.1:0
gitlab-+ 11093 0.0 0.3 39268 7724 ? Ssl 11:43 0:00 /opt/gitlab/embedded/bin/redis-server 127.0.0.1:0
root 11114 0.1 0.0 4212 436 ? Ss 11:43 0:00 runsv redis
gitlab-+ 11131 0.0 0.3 39268 7732 ? Ssl 11:43 0:00 /opt/gitlab/embedded/bin/redis-server 127.0.0.1:0
tony 12007 0.0 0.0 15944 920 pts/6 S+ 11:44 0:00 grep --color=auto redis