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
  • #8032

Closed
Open
Created Oct 13, 2014 by Administrator@rootOwner

Make upgrade script transactional

Created by: za-creature

I tried upgrading from 7.1.1 facfec4b to 7.3.2 f092e53e without having cmake installed. The upgrade script crashed at:

An error occurred while installing rugged (0.21.0), and Bundler cannot continue.
Make sure that `gem install rugged -v '0.21.0'` succeeds before bundling.

While this is probably normal (or at the very least, not your problem), attempting to run the upgrader after installing cmake produced the following:

GitLab 7 upgrade tool
Your version is 7.3.2
Latest available version for GitLab 7 is 7.3.2
You are using the latest GitLab version

It seems that while a git stash is performed pre-update, no revert is done in the event that the installation fails. This should probably be fixed as I had to manually run the commands defined in Gitlab.Upgrader.update_commands to finish the installation.

Assignee
Assign to
Time tracking