Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
11cbcd55
Commit
11cbcd55
authored
Feb 24, 2020
by
Anton Smith
Committed by
Evan Read
Feb 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add pre 12.9 background migration commands
parent
9f961813
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
doc/update/README.md
doc/update/README.md
+19
-1
No files found.
doc/update/README.md
View file @
11cbcd55
...
...
@@ -115,17 +115,35 @@ following command:
**For Omnibus installations**
If using GitLab 12.9 and newer, run:
```
shell
sudo
gitlab-rails runner
-e
production
'puts Gitlab::BackgroundMigration.remaining'
```
**For installations from source**
If using GitLab 12.8 and older, run the following using a Rails console:
```
ruby
puts
Sidekiq
::
Queue
.
new
(
"background_migration"
).
size
Sidekiq
::
ScheduledSet
.
new
.
select
{
|
r
|
r
.
klass
==
'BackgroundMigrationWorker'
}.
size
```
**For installations from source**
If using GitLab 12.9 and newer, run:
```
shell
cd
/home/git/gitlab
sudo
-u
git
-H
bundle
exec
rails runner
-e
production
'puts Gitlab::BackgroundMigration.remaining'
```
If using GitLab 12.8 and older, run the following using a Rails console:
```
ruby
puts
Sidekiq
::
Queue
.
new
(
"background_migration"
).
size
Sidekiq
::
ScheduledSet
.
new
.
select
{
|
r
|
r
.
klass
==
'BackgroundMigrationWorker'
}.
size
```
## Upgrading to a new major version
Major versions are reserved for backwards incompatible changes. We recommend that
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment