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
559f9154
Commit
559f9154
authored
Jan 26, 2022
by
David Coy
Committed by
Achilleas Pipinellis
Jan 26, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: Include code to change Elasticsearch password
parent
f251f699
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md
...dministration/troubleshooting/gitlab_rails_cheat_sheet.md
+15
-0
No files found.
doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md
View file @
559f9154
...
@@ -1377,3 +1377,18 @@ Gitlab::CurrentSettings.elasticsearch_url
...
@@ -1377,3 +1377,18 @@ Gitlab::CurrentSettings.elasticsearch_url
Gitlab
::
CurrentSettings
.
elasticsearch_indexing
Gitlab
::
CurrentSettings
.
elasticsearch_indexing
```
```
#### Changing the Elasticsearch password
```
ruby
es_url
=
Gitlab
::
CurrentSettings
.
current_application_settings
# Confirm the current ElasticSearch URL
es_url
.
elasticsearch_url
# Set the ElasticSearch URL
es_url
.
elasticsearch_url
=
"http://<username>:<password>@your.es.host:<port>"
# Save the change
es_url
.
save!
```
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