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
7684de4a
Commit
7684de4a
authored
May 07, 2020
by
Anton Smith
Committed by
Achilleas Pipinellis
May 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new message to Geo troubleshooting doc
parent
32158f29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
doc/administration/geo/replication/troubleshooting.md
doc/administration/geo/replication/troubleshooting.md
+21
-0
No files found.
doc/administration/geo/replication/troubleshooting.md
View file @
7684de4a
...
...
@@ -544,6 +544,27 @@ or `gitlab-ctl promote-to-primary-node`, either:
bug
](
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/22021
)
was
fixed.
### Message: ``NoMethodError: undefined method `secondary?' for nil:NilClass``
When
[
promoting a **secondary** node
](
../disaster_recovery/index.md#step-3-promoting-a-secondary-node
)
,
you might encounter the following error:
```
plaintext
sudo gitlab-rake geo:set_secondary_as_primary
rake aborted!
NoMethodError: undefined method `secondary?' for nil:NilClass
/opt/gitlab/embedded/service/gitlab-rails/ee/lib/tasks/geo.rake:232:in `block (3 levels) in <top (required)>'
/opt/gitlab/embedded/service/gitlab-rails/ee/lib/tasks/geo.rake:221:in `block (2 levels) in <top (required)>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/bin/bundle:23:in `<main>'
Tasks: TOP => geo:set_secondary_as_primary
(See full trace by running task with --trace)
```
This command is intended to be executed on a secondary node only, and this error
is displayed if you attempt to run this command on a primary node.
### Message: `sudo: gitlab-pg-ctl: command not found`
When
...
...
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