omnibus crashes if nginx is running
Created by: spuder
Starting in 7.3.1, the omnibus packaging will fail while trying to upgrade.
This is because users are now expected to manually run gitlab-ctl stop nginx
before upgrading to 7.3.1.
This really needs to be put in the pre_install script of the omnibus RPM, and not reqiure manual user intervention. This has the nasty side effect of causing the upgrade to fail for users who manage gitlab with resource managment systems (puppet/chef/salt/ansible).
Example
In puppet, you define a package like so:
package { 'gitlab:
ensure => latest,
}
There is no way in puppet to run an exec only before a package is upgraded. That is the RPM's job.
See https://github.com/spuder/puppet-gitlab/issues/81
https://about.gitlab.com/2014/09/24/gitlab-7-dot-3-dot-1-released/