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
6c6883da
Commit
6c6883da
authored
Nov 23, 2018
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace deprecated skip-auto-migrations occurrence
parent
7d1bc0be
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
doc/administration/high_availability/gitlab.md
doc/administration/high_availability/gitlab.md
+1
-1
doc/administration/high_availability/redis.md
doc/administration/high_availability/redis.md
+2
-2
doc/development/db_dump.md
doc/development/db_dump.md
+1
-1
No files found.
doc/administration/high_availability/gitlab.md
View file @
6c6883da
...
@@ -118,7 +118,7 @@ need some extra configuration.
...
@@ -118,7 +118,7 @@ need some extra configuration.
gitlab_rails['db_key_base'] = 'bf2e47b68d6cafaef1d767e628b619365becf27571e10f196f98dc85e7771042b9203199d39aff91fcb6837c8ed83f2a912b278da50999bb11a2fbc0fba52964'
gitlab_rails['db_key_base'] = 'bf2e47b68d6cafaef1d767e628b619365becf27571e10f196f98dc85e7771042b9203199d39aff91fcb6837c8ed83f2a912b278da50999bb11a2fbc0fba52964'
```
```
1.
Run
`touch /etc/gitlab/skip-auto-
migrations
`
to prevent database migrations
1.
Run
`touch /etc/gitlab/skip-auto-
reconfigure
`
to prevent database migrations
from running on upgrade. Only the primary GitLab application server should
from running on upgrade. Only the primary GitLab application server should
handle migrations.
handle migrations.
...
...
doc/administration/high_availability/redis.md
View file @
6c6883da
...
@@ -336,7 +336,7 @@ The prerequisites for a HA Redis setup are the following:
...
@@ -336,7 +336,7 @@ The prerequisites for a HA Redis setup are the following:
1.
To prevent database migrations from running on upgrade, run:
1.
To prevent database migrations from running on upgrade, run:
```
```
sudo touch /etc/gitlab/skip-auto-
migrations
sudo touch /etc/gitlab/skip-auto-
reconfigure
```
```
Only the primary GitLab application server should handle migrations.
Only the primary GitLab application server should handle migrations.
...
@@ -458,7 +458,7 @@ multiple machines with the Sentinel daemon.
...
@@ -458,7 +458,7 @@ multiple machines with the Sentinel daemon.
1.
To prevent database migrations from running on upgrade, run:
1.
To prevent database migrations from running on upgrade, run:
```
```
sudo touch /etc/gitlab/skip-auto-
migrations
sudo touch /etc/gitlab/skip-auto-
reconfigure
```
```
Only the primary GitLab application server should handle migrations.
Only the primary GitLab application server should handle migrations.
...
...
doc/development/db_dump.md
View file @
6c6883da
...
@@ -13,7 +13,7 @@ large database imports.
...
@@ -13,7 +13,7 @@ large database imports.
```
```
# On STAGING
# On STAGING
echo "postgresql['checkpoint_segments'] = 64" | sudo tee -a /etc/gitlab/gitlab.rb
echo "postgresql['checkpoint_segments'] = 64" | sudo tee -a /etc/gitlab/gitlab.rb
sudo touch /etc/gitlab/skip-auto-
migrations
sudo touch /etc/gitlab/skip-auto-
reconfigure
sudo gitlab-ctl reconfigure
sudo gitlab-ctl reconfigure
sudo gitlab-ctl stop unicorn
sudo gitlab-ctl stop unicorn
sudo gitlab-ctl stop sidekiq
sudo gitlab-ctl stop sidekiq
...
...
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