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
06aeacf9
Commit
06aeacf9
authored
May 25, 2020
by
Alexander Tanayno
Committed by
Evan Read
May 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds section about migrate rake command
parent
2dfaf90c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
doc/administration/raketasks/maintenance.md
doc/administration/raketasks/maintenance.md
+14
-0
No files found.
doc/administration/raketasks/maintenance.md
View file @
06aeacf9
...
...
@@ -265,6 +265,20 @@ database: gitlabhq_production
up migration_id migration_name
```
## Run incomplete database migrations
Database migrations can be stuck in an incomplete state. That is, they'll have a
`down`
status in the output of the
`sudo gitlab-rake db:migrate:status`
command.
To complete these migrations, use the following Rake task:
```
shell
sudo
gitlab-rake db:migrate
```
After the command completes, run
`sudo gitlab-rake db:migrate:status`
to check if all
migrations are completed (have an
`up`
status).
## Import common metrics
Sometimes you may need to re-import the common metrics that power the Metrics dashboards.
...
...
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