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
d952ddbe
Commit
d952ddbe
authored
Apr 11, 2021
by
Harsh Chouraria
Committed by
Evan Read
Apr 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: Gitaly RPC PermissionDenied error troubleshooting
parent
6a9d4a7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
4 deletions
+23
-4
doc/administration/gitaly/index.md
doc/administration/gitaly/index.md
+23
-4
No files found.
doc/administration/gitaly/index.md
View file @
d952ddbe
...
...
@@ -626,11 +626,30 @@ unset http_proxy
unset
https_proxy
```
### Permission denied errors appearing in Gitaly
logs when accessing repositories from a standalone Gitaly server
### Permission denied errors appearing in Gitaly
or Praefect logs when accessing repositories
If this error occurs even though file permissions are correct, it's likely that
the Gitaly server is experiencing
You might see the following in Gitaly and Praefect logs:
```
shell
{
...
"error"
:
"rpc error: code = PermissionDenied desc = permission denied"
,
"grpc.code"
:
"PermissionDenied"
,
"grpc.meta.client_name"
:
"gitlab-web"
,
"grpc.request.fullMethod"
:
"/gitaly.ServerService/ServerInfo"
,
"level"
:
"warning"
,
"msg"
:
"finished unary call with code PermissionDenied"
,
...
}
```
This is a GRPC call
[
error response code
](
https://grpc.github.io/grpc/core/md_doc_statuscodes.html
)
.
If this error occurs, even though
[
the Gitaly auth tokens are correctly setup
](
../gitaly/praefect.md#debugging-praefect
)
,
it's likely that the Gitaly servers are experiencing
[
clock drift
](
https://en.wikipedia.org/wiki/Clock_drift
)
.
Ensure the Gitaly clients and servers are synchronized, and use an NTP time
server to keep them synchronized
, if possible
.
server to keep them synchronized.
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