Difference between revisions of "Upgrade GitLab"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
 
Line 25: Line 25:
 
  [[gitlab-rake db:migrate:status]] | grep -v "^  up"
 
  [[gitlab-rake db:migrate:status]] | grep -v "^  up"
  
  [[gitlab-rails runner]] 'Gitlab::Database::BackgroundMigration::BatchedMigration.where.not(status: 3).each { |m| puts "#{m.job_class_name} - #{m.status_name}" }'
+
  gitlab-rails runner 'Gitlab::Database::BackgroundMigration::BatchedMigration.where.not(status: [3, 6]).each { |m| puts "#{m.job_class_name} - #{m.status_name}" }'
 +
 
  
  

Latest revision as of 17:34, 12 June 2026

To skip auto backup:

Create manual backup


Check GitLab version:

Check status:

Upgrade:

Check Background migration process:

gitlab-rake db:migrate:status | grep -v "^   up"
gitlab-rails runner 'Gitlab::Database::BackgroundMigration::BatchedMigration.where.not(status: [3, 6]).each { |m| puts "#{m.job_class_name} - #{m.status_name}" }'


Check new version:

Related[edit]

See also[edit]

Advertising: