summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Ramsay <jramsay@gitlab.com>2018-06-06 01:36:41 +0000
committerJames Ramsay <jramsay@gitlab.com>2018-06-06 01:36:41 +0000
commit288ce1118c1646e66f1464b49da4524465624e49 (patch)
tree5d29a3a5c87f0dbf7e23a827e88d397d67022c35
parentf302f46c636131924a07fdaf46d8efd2740dd22d (diff)
downloadgitlab-ce-288ce1118c1646e66f1464b49da4524465624e49.tar.gz
Move section to basic troubleshooting
-rw-r--r--doc/user/project/container_registry.md36
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/user/project/container_registry.md b/doc/user/project/container_registry.md
index bc01cfc276c..7b66b39ab28 100644
--- a/doc/user/project/container_registry.md
+++ b/doc/user/project/container_registry.md
@@ -143,6 +143,24 @@ docker login registry.example.com -u <your_username> -p <your_access_token>
for errors (e.g. `/var/log/gitlab/gitlab-rails/production.log`). You may be able to find clues
there.
+#### Enable the registry debug server
+
+The optional debug server can be enabled by setting the registry debug address
+in your `gitlab.rb` configuration.
+
+```
+registry['debug_addr'] = "localhost:5001"
+```
+
+After adding the setting, [reconfigure] GitLab to apply the change.
+
+Use curl to request debug output from the debug server:
+
+```bash
+curl localhost:5001/debug/health
+curl localhost:5001/debug/vars
+```
+
### Advanced Troubleshooting
>**NOTE:** The following section is only recommended for experts.
@@ -269,24 +287,6 @@ What does this mean? This strongly suggests that the S3 user does not have the r
The solution: check the [IAM permissions again](https://docs.docker.com/registry/storage-drivers/s3/).
Once the right permissions were set, the error will go away.
-#### Enable the registry debug server
-
-The optional debug server can be enabled by setting the registry debug address
-in your `gitlab.rb` configuration.
-
-```
-registry['debug_addr'] = "localhost:5001"
-```
-
-After adding the setting, [reconfigure] GitLab to apply the change.
-
-Use curl to request debug output from the debug server:
-
-```bash
-curl localhost:5001/debug/health
-curl localhost:5001/debug/vars
-```
-
[ce-4040]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4040
[ce-11845]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11845
[ce-17894]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/17894