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
7e2cdea5
Commit
7e2cdea5
authored
Sep 06, 2021
by
Emily Chang
Committed by
Evan Read
Sep 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add warning message about metadata
parent
a5135144
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
doc/administration/gitaly/configure_gitaly.md
doc/administration/gitaly/configure_gitaly.md
+6
-0
doc/administration/gitaly/index.md
doc/administration/gitaly/index.md
+0
-6
No files found.
doc/administration/gitaly/configure_gitaly.md
View file @
7e2cdea5
...
@@ -340,6 +340,12 @@ disable enforcement. For more information, see the documentation on configuring
...
@@ -340,6 +340,12 @@ disable enforcement. For more information, see the documentation on configuring
1.
Run
`sudo -u git /home/git/gitaly/gitaly-hooks check /home/git/gitaly/config.toml`
1.
Run
`sudo -u git /home/git/gitaly/gitaly-hooks check /home/git/gitaly/config.toml`
to confirm that Gitaly can perform callbacks to the GitLab internal API.
to confirm that Gitaly can perform callbacks to the GitLab internal API.
WARNING:
If directly copying repository data from a GitLab server to Gitaly, ensure that the metadata file,
default path
`/var/opt/gitlab/git-data/repositories/.gitaly-metadata`
, is not included in the transfer.
Copying this file causes GitLab to use the
[
Rugged patches
](
index.md#direct-access-to-git-in-gitlab
)
for repositories hosted on the Gitaly server,
leading to
`Error creating pipeline`
and
`Commit not found`
errors, or stale data.
### Configure Gitaly clients
### Configure Gitaly clients
As the final step, you must update Gitaly clients to switch from using local Gitaly service to use
As the final step, you must update Gitaly clients to switch from using local Gitaly service to use
...
...
doc/administration/gitaly/index.md
View file @
7e2cdea5
...
@@ -539,12 +539,6 @@ To see if GitLab can access the repository file system directly, we use the foll
...
@@ -539,12 +539,6 @@ To see if GitLab can access the repository file system directly, we use the foll
Direct Git access is enable by default in Omnibus GitLab because it fills in the correct repository
Direct Git access is enable by default in Omnibus GitLab because it fills in the correct repository
paths in the GitLab configuration file
`config/gitlab.yml`
. This satisfies the UUID check.
paths in the GitLab configuration file
`config/gitlab.yml`
. This satisfies the UUID check.
WARNING:
If directly copying repository data from a GitLab server to Gitaly, ensure that the metadata file,
default path
`/var/opt/gitlab/git-data/repositories/.gitaly-metadata`
, is not included in the transfer.
Copying this file causes GitLab to use the Rugged patches for repositories hosted on the Gitaly server,
leading to
`Error creating pipeline`
and
`Commit not found`
errors, or stale data.
### Transition to Gitaly Cluster
### Transition to Gitaly Cluster
For the sake of removing complexity, we must remove direct Git access in GitLab. However, we can't
For the sake of removing complexity, we must remove direct Git access in GitLab. However, we can't
...
...
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