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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
826db5cf
Commit
826db5cf
authored
Aug 26, 2019
by
Ben Bodenmiller
Committed by
Achilleas Pipinellis
Aug 26, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve Gitaly path details
related to
https://gitlab.com/gitlab-org/gitlab-ce/issues/65422
parent
78db8d82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
doc/administration/gitaly/index.md
doc/administration/gitaly/index.md
+13
-9
No files found.
doc/administration/gitaly/index.md
View file @
826db5cf
...
@@ -139,7 +139,7 @@ Git operations in GitLab will result in an API error.
...
@@ -139,7 +139,7 @@ Git operations in GitLab will result in an API error.
NOTE:
**Note:**
NOTE:
**Note:**
In most or all cases, the storage paths below end in
`/repositories`
which is
In most or all cases, the storage paths below end in
`/repositories`
which is
not th
at
case with
`path`
in
`git_data_dirs`
of Omnibus GitLab installations.
not th
e
case with
`path`
in
`git_data_dirs`
of Omnibus GitLab installations.
Check the directory layout on your Gitaly server to be sure.
Check the directory layout on your Gitaly server to be sure.
**For Omnibus GitLab**
**For Omnibus GitLab**
...
@@ -283,10 +283,6 @@ can read and write to `/mnt/gitlab/storage2`.
...
@@ -283,10 +283,6 @@ can read and write to `/mnt/gitlab/storage2`.
gitlab_rails
[
'gitaly_token'
]
=
'abc123secret'
gitlab_rails
[
'gitaly_token'
]
=
'abc123secret'
```
```
NOTE:
**Note:**
In some cases, you'll have to set
`path`
for each
`git_data_dirs`
in the
format
`'path' => '/mnt/gitlab/<storage name>'`
.
1.
Save the file and
[
reconfigure GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
.
1.
Save the file and
[
reconfigure GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
.
1.
Tail the logs to see the requests:
1.
Tail the logs to see the requests:
...
@@ -304,18 +300,22 @@ can read and write to `/mnt/gitlab/storage2`.
...
@@ -304,18 +300,22 @@ can read and write to `/mnt/gitlab/storage2`.
storages
:
storages
:
default
:
default
:
gitaly_address
:
tcp://gitaly1.internal:8075
gitaly_address
:
tcp://gitaly1.internal:8075
path
:
/some/dummy/path
storage1
:
storage1
:
gitaly_address
:
tcp://gitaly1.internal:8075
gitaly_address
:
tcp://gitaly1.internal:8075
path
:
/some/dummy/path
storage2
:
storage2
:
gitaly_address
:
tcp://gitaly2.internal:8075
gitaly_address
:
tcp://gitaly2.internal:8075
path
:
/some/dummy/path
gitaly
:
gitaly
:
token
:
'
abc123secret'
token
:
'
abc123secret'
```
```
NOTE:
**Note:**
NOTE:
**Note:**
In some cases, you'll have to set
`path`
for each of the
`storages`
in the
`/some/dummy/path`
should be set to a local folder that exists, however no
format
`path: /mnt/gitlab/<storage name>/repositories`
.
data will be stored in this folder. This will no longer be necessary after
[
this issue
](
https://gitlab.com/gitlab-org/gitaly/issues/1282
)
is resolved.
1.
Save the file and
[
restart GitLab
](
../restart_gitlab.md#installations-from-source
)
.
1.
Save the file and
[
restart GitLab
](
../restart_gitlab.md#installations-from-source
)
.
1.
Tail the logs to see the requests:
1.
Tail the logs to see the requests:
...
@@ -416,18 +416,22 @@ To configure Gitaly with TLS:
...
@@ -416,18 +416,22 @@ To configure Gitaly with TLS:
storages
:
storages
:
default
:
default
:
gitaly_address
:
tls://gitaly1.internal:9999
gitaly_address
:
tls://gitaly1.internal:9999
path
:
/some/dummy/path
storage1
:
storage1
:
gitaly_address
:
tls://gitaly1.internal:9999
gitaly_address
:
tls://gitaly1.internal:9999
path
:
/some/dummy/path
storage2
:
storage2
:
gitaly_address
:
tls://gitaly2.internal:9999
gitaly_address
:
tls://gitaly2.internal:9999
path
:
/some/dummy/path
gitaly
:
gitaly
:
token
:
'
abc123secret'
token
:
'
abc123secret'
```
```
NOTE:
**Note:**
NOTE:
**Note:**
In some cases, you'll have to set
`path`
for each of the
`storages`
in the
`/some/dummy/path`
should be set to a local folder that exists, however no
format
`path: /mnt/gitlab/<storage name>/repositories`
.
data will be stored in this folder. This will no longer be necessary after
[
this issue
](
https://gitlab.com/gitlab-org/gitaly/issues/1282
)
is resolved.
1.
Save the file and
[
restart GitLab
](
../restart_gitlab.md#installations-from-source
)
.
1.
Save the file and
[
restart GitLab
](
../restart_gitlab.md#installations-from-source
)
.
1.
On the Gitaly server nodes, edit
`/home/git/gitaly/config.toml`
:
1.
On the Gitaly server nodes, edit
`/home/git/gitaly/config.toml`
:
...
...
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