Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #7902

Closed
Open
Created Sep 29, 2014 by Administrator@rootOwner

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/

Assignee
Assign to
Time tracking