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
e8a036a4
Commit
e8a036a4
authored
Dec 14, 2018
by
Drew Blessing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Registry S3 chunksize troubleshooting section
parent
eafc8e2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
0 deletions
+46
-0
doc/administration/container_registry.md
doc/administration/container_registry.md
+46
-0
No files found.
doc/administration/container_registry.md
View file @
e8a036a4
...
...
@@ -604,6 +604,52 @@ Registry out of the box, it is possible to make it work if you follow
[
Docker's documentation
][
docker-insecure-self-signed
]
. You may find some additional
information in
[
issue 18239
][
ce-18239
]
.
## Troubleshooting
When using AWS S3 with the GitLab registry, an error may occur when pushing
large images. Look in the Registry log for the following error:
```
level=error msg="response completed with error" err.code=unknown err.detail="unexpected EOF" err.message="unknown error"
```
To resolve the error specify a
`chunksize`
value in the Registry configuration.
Start with a value between
`25000000`
(25MB) and
`50000000`
(50MB).
**For Omnibus installations**
1.
Edit
`/etc/gitlab/gitlab.rb`
:
```ruby
registry['storage'] = {
's3' => {
'accesskey' => 'AKIAKIAKI',
'secretkey' => 'secret123',
'bucket' => 'gitlab-registry-bucket-AKIAKIAKI',
'chunksize' => 25000000
}
}
```
1.
Save the file and
[
reconfigure GitLab
][]
for the changes to take effect.
---
**For installations from source**
1.
Edit
`config/gitlab.yml`
:
```yaml
storage:
s3:
accesskey: 'AKIAKIAKI'
secretkey: 'secret123'
bucket: 'gitlab-registry-bucket-AKIAKIAKI'
chunksize: 25000000
```
1.
Save the file and
[
restart GitLab
][]
for the changes to take effect.
[
ce-18239
]:
https://gitlab.com/gitlab-org/gitlab-ce/issues/18239
[
docker-insecure-self-signed
]:
https://docs.docker.com/registry/insecure/#use-self-signed-certificates
[
reconfigure gitlab
]:
restart_gitlab.md#omnibus-gitlab-reconfigure
...
...
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