Call to API to get Users with set sudo header will result in Internal Server Error
Summary
Call to API for the path '/api/v4/users/' with the sudo header set will trigger an internal server error, due to an Exception in Ruby: TypeError (no implicit conversion of Symbol into Integer)
Steps to reproduce
send request on path /api/v4/users
with the sudo header set.
What is the current bug behavior?
A http result status of 500 is returned.
What is the expected correct behavior?
Either the list of users or an specific error, stating that the sudo header is not allowed for this path.
Relevant logs and/or screenshots
Started GET "/api/v4/users" for 141.22.41.15 at 2017-09-05 16:45:33 +0200
TypeError (no implicit conversion of Symbol into Integer):
/opt/gitlab/embedded/service/gitlab-rails/lib/api/users.rb:15:in `[]'
/opt/gitlab/embedded/service/gitlab-rails/lib/api/users.rb:15:in `find_user'
/opt/gitlab/embedded/service/gitlab-rails/lib/api/helpers.rb:379:in `sudo!'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/metrics/instrumentation.rb:156:in `block in sudo!'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/metrics/method_call.rb:23:in `measure'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/metrics/instrumentation.rb:156:in `sudo!'
/opt/gitlab/embedded/service/gitlab-rails/lib/api/helpers.rb:21:in `current_user'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/metrics/instrumentation.rb:156:in `block in current_user'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/metrics/method_call.rb:23:in `measure'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/metrics/instrumentation.rb:156:in `current_user'
/opt/gitlab/embedded/service/gitlab-rails/lib/api/users.rb:60:in `block (2 levels) in <class:Users>'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/endpoint.rb:59:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/endpoint.rb:59:in `block (2 levels) in generate_api_method'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/activesupport-4.2.8/lib/active_support/notifications.rb:166:in `instrument'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/endpoint.rb:58:in `block in generate_api_method'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/endpoint.rb:262:in `block in run'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/activesupport-4.2.8/lib/active_support/notifications.rb:166:in `instrument'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/endpoint.rb:240:in `run'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/endpoint.rb:313:in `block in build_stack'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/middleware/base.rb:31:in `call!'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/middleware/base.rb:24:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/middleware/base.rb:31:in `call!'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/middleware/base.rb:24:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rack-oauth2-1.2.3/lib/rack/oauth2/server/resource.rb:20:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rack-oauth2-1.2.3/lib/rack/oauth2/server/resource/bearer.rb:8:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rack-oauth2-1.2.3/lib/rack/oauth2/server/resource.rb:20:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rack-oauth2-1.2.3/lib/rack/oauth2/server/resource/bearer.rb:8:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/middleware/error.rb:34:in `block in call!'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/middleware/error.rb:33:in `catch'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/middleware/error.rb:33:in `call!'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/middleware/base.rb:24:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/endpoint.rb:224:in `call!'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/endpoint.rb:218:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/router/route.rb:72:in `exec'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/router.rb:119:in `process_route'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/router.rb:74:in `block in identity'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/router.rb:93:in `transaction'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/router.rb:72:in `identity'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/router.rb:57:in `block in call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/router.rb:135:in `with_optimization'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/router.rb:56:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/api.rb:119:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/api.rb:45:in `call!'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grape-0.19.2/lib/grape/api.rb:40:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionpack-4.2.8/lib/action_dispatch/routing/mapper.rb:51:in `serve'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionpack-4.2.8/lib/action_dispatch/journey/router.rb:43:in `block in serve'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionpack-4.2.8/lib/action_dispatch/journey/router.rb:30:in `each'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionpack-4.2.8/lib/action_dispatch/journey/router.rb:30:in `serve'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionpack-4.2.8/lib/action_dispatch/routing/route_set.rb:817:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/peek-performance_bar-1.3.0/lib/peek/views/performance_bar/process_utilization.rb:120:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/omniauth-1.4.2/lib/omniauth/strategy.rb:186:in `call!'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/omniauth-1.4.2/lib/omniauth/strategy.rb:164:in `call'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/middleware/multipart.rb:93:in `call'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/request_profiler/middleware.rb:14:in `call'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/middleware/go.rb:16:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/flipper-0.10.2/lib/flipper/middleware/memoizer.rb:55:in `call'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/etag_caching/middleware.rb:11:in `call'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/middleware/rails_queue_duration.rb:20:in `call'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/metrics/rack_middleware.rb:29:in `block in call'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/metrics/transaction.rb:49:in `run'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/metrics/rack_middleware.rb:29:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/warden-1.2.6/lib/warden/manager.rb:35:in `block in call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/warden-1.2.6/lib/warden/manager.rb:34:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rack-cors-0.4.0/lib/rack/cors.rb:80:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rack-attack-4.4.1/lib/rack/attack.rb:107:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionpack-4.2.8/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionpack-4.2.8/lib/action_dispatch/middleware/flash.rb:260:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionpack-4.2.8/lib/action_dispatch/middleware/cookies.rb:560:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/activerecord-4.2.8/lib/active_record/query_cache.rb:36:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/activerecord-4.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionpack-4.2.8/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionpack-4.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionpack-4.2.8/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionpack-4.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionpack-4.2.8/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.8/lib/rails/rack/logger.rb:38:in `call_app'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.8/lib/rails/rack/logger.rb:20:in `block in call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/activesupport-4.2.8/lib/active_support/tagged_logging.rb:68:in `block in tagged'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/activesupport-4.2.8/lib/active_support/tagged_logging.rb:26:in `tagged'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/activesupport-4.2.8/lib/active_support/tagged_logging.rb:68:in `tagged'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.8/lib/rails/rack/logger.rb:20:in `call'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/request_context.rb:18:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/request_store-1.3.1/lib/request_store/middleware.rb:9:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionpack-4.2.8/lib/action_dispatch/middleware/request_id.rb:21:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/metrics/requests_rack_middleware.rb:27:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sentry-raven-2.5.3/lib/raven/integrations/rack.rb:50:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.8/lib/rails/engine.rb:518:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.8/lib/rails/application.rb:165:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.8/lib/rails/railtie.rb:194:in `public_send'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.8/lib/rails/railtie.rb:194:in `method_missing'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/urlmap.rb:66:in `block in call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/urlmap.rb:50:in `each'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/urlmap.rb:50:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:562:in `process_client'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/unicorn-worker-killer-0.4.4/lib/unicorn/worker_killer.rb:52:in `process_client'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:658:in `worker_loop'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:508:in `spawn_missing_workers'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:519:in `maintain_worker_count'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:283:in `join'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/unicorn-5.1.0/bin/unicorn:126:in `<top (required)>'
/opt/gitlab/embedded/bin/unicorn:22:in `load'
/opt/gitlab/embedded/bin/unicorn:22:in `<top (required)>'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `load'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `kernel_load'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:27:in `run'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/cli.rb:332:in `exec'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/cli.rb:20:in `dispatch'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/cli.rb:11:in `start'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/exe/bundle:34:in `block in <top (required)>'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/exe/bundle:26:in `<top (required)>'
/opt/gitlab/embedded/bin/bundle:22:in `load'
/opt/gitlab/embedded/bin/bundle:22:in `<main>'
Results of GitLab environment info
System information
System: Ubuntu 16.04
Current User: git
Using RVM: no
Ruby Version: 2.3.3p222
Gem Version: 2.6.6
Bundler Version:1.13.7
Rake Version: 12.0.0
Redis Version: 3.2.5
Git Version: 2.13.5
Sidekiq Version:5.0.4
Go Version: unknown
GitLab information
Version: 9.5.0
Revision: 77bfdac
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: https://gitlab.informatik.haw-hamburg.de
HTTP Clone URL: https://gitlab.informatik.haw-hamburg.de/some-group/some-project.git
SSH Clone URL: git@gitlab.informatik.haw-hamburg.de:some-group/some-project.git
Using LDAP: yes
Using Omniauth: no
GitLab Shell
Version: 5.8.0
Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks
Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Checking GitLab Shell ...
GitLab Shell version >= 5.8.0 ? ... OK (5.8.0)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by git:root, or git:git?
default... yes
Repo paths access is drwxrws---?
default... yes
hooks directories in repos are links: ...
8/1 ... ok
8/2 ... ok
8/4 ... ok
8/5 ... ok
8/7 ... ok
8/8 ... ok
8/9 ... ok
8/10 ... ok
8/11 ... ok
12/12 ... repository is empty
50/13 ... ok
8/17 ... ok
10/20 ... ok
13/21 ... ok
13/22 ... ok
13/23 ... ok
10/24 ... ok
12/25 ... ok
10/26 ... ok
8/28 ... ok
50/29 ... ok
50/30 ... ok
50/33 ... ok
50/34 ... ok
64/35 ... ok
50/36 ... ok
50/37 ... ok
50/38 ... ok
50/40 ... ok
50/41 ... ok
50/42 ... ok
50/43 ... ok
50/44 ... ok
50/45 ... ok
50/46 ... ok
50/47 ... ok
50/49 ... ok
50/50 ... ok
50/51 ... ok
50/52 ... ok
50/53 ... ok
50/54 ... ok
50/55 ... ok
50/56 ... ok
50/57 ... ok
50/58 ... ok
50/59 ... ok
50/60 ... ok
50/64 ... ok
50/65 ... ok
50/66 ... ok
50/67 ... ok
50/68 ... ok
50/69 ... ok
50/70 ... ok
50/71 ... ok
50/72 ... ok
50/73 ... ok
50/74 ... ok
50/75 ... ok
50/76 ... ok
50/77 ... ok
50/78 ... ok
50/79 ... ok
50/80 ... repository is empty
75/82 ... ok
7/84 ... ok
66/87 ... ok
8/88 ... ok
8/89 ... ok
50/90 ... ok
50/91 ... ok
50/92 ... ok
50/94 ... ok
50/95 ... ok
50/96 ... ok
50/97 ... ok
50/98 ... ok
33/99 ... ok
50/101 ... ok
50/103 ... ok
33/105 ... ok
33/106 ... ok
33/107 ... ok
50/109 ... ok
50/110 ... ok
37/111 ... ok
50/112 ... ok
50/113 ... ok
50/114 ... ok
75/115 ... ok
50/116 ... ok
8/117 ... ok
50/118 ... ok
73/120 ... ok
66/121 ... ok
8/122 ... ok
8/123 ... ok
8/124 ... ok
8/125 ... ok
8/126 ... ok
8/127 ... ok
7/128 ... ok
47/129 ... repository is empty
37/130 ... ok
72/131 ... ok
72/132 ... ok
89/133 ... ok
50/134 ... ok
50/135 ... ok
41/136 ... ok
89/137 ... ok
95/138 ... ok
50/139 ... ok
10/140 ... ok
50/141 ... ok
50/142 ... repository is empty
40/143 ... ok
7/144 ... ok
8/147 ... ok
8/148 ... ok
15/149 ... ok
15/150 ... ok
15/151 ... ok
15/152 ... ok
7/153 ... ok
89/155 ... ok
89/157 ... ok
89/159 ... ok
89/160 ... ok
89/161 ... ok
89/162 ... ok
89/163 ... ok
89/164 ... ok
37/165 ... ok
50/166 ... repository is empty
74/167 ... ok
89/168 ... ok
8/169 ... ok
89/170 ... ok
89/171 ... ok
89/172 ... ok
110/174 ... ok
37/182 ... ok
110/183 ... ok
110/184 ... ok
110/185 ... ok
110/186 ... ok
7/187 ... ok
117/188 ... ok
75/193 ... ok
119/194 ... ok
119/195 ... ok
37/198 ... ok
121/199 ... repository is empty
12/204 ... ok
12/205 ... ok
12/206 ... ok
116/207 ... ok
7/208 ... ok
132/209 ... ok
134/210 ... ok
140/211 ... ok
134/212 ... ok
149/213 ... ok
93/214 ... ok
145/220 ... ok
134/222 ... ok
132/223 ... ok
134/224 ... ok
159/225 ... ok
134/229 ... ok
57/230 ... ok
109/231 ... ok
109/233 ... ok
166/234 ... repository is empty
88/235 ... ok
134/236 ... ok
171/237 ... ok
79/238 ... ok
168/239 ... ok
176/242 ... ok
178/244 ... ok
178/245 ... ok
172/246 ... ok
12/247 ... ok
184/248 ... ok
50/250 ... ok
85/253 ... ok
72/254 ... repository is empty
111/255 ... repository is empty
195/256 ... ok
50/257 ... ok
77/259 ... ok
151/260 ... ok
158/261 ... repository is empty
169/262 ... ok
154/263 ... ok
74/264 ... ok
198/265 ... ok
92/267 ... ok
92/268 ... ok
92/269 ... ok
74/270 ... ok
181/271 ... ok
153/272 ... ok
63/273 ... repository is empty
12/274 ... ok
185/277 ... ok
152/278 ... ok
202/280 ... ok
158/281 ... ok
207/282 ... ok
109/283 ... ok
209/284 ... ok
212/285 ... ok
217/286 ... repository is empty
75/288 ... ok
224/289 ... ok
209/290 ... ok
105/292 ... repository is empty
239/293 ... repository is empty
50/294 ... ok
50/295 ... ok
92/296 ... ok
217/297 ... ok
186/298 ... ok
185/299 ... ok
4/302 ... ok
197/303 ... ok
494/304 ... ok
493/305 ... ok
240/307 ... repository is empty
154/308 ... ok
92/309 ... ok
172/310 ... ok
130/311 ... ok
89/318 ... ok
497/319 ... ok
244/320 ... ok
36/321 ... ok
503/322 ... ok
134/323 ... ok
246/324 ... ok
504/325 ... ok
182/326 ... ok
132/327 ... ok
245/328 ... ok
507/329 ... ok
72/330 ... ok
508/331 ... ok
183/332 ... ok
50/333 ... ok
132/336 ... ok
175/338 ... ok
185/339 ... ok
516/340 ... ok
517/341 ... ok
217/342 ... ok
130/344 ... ok
64/345 ... ok
49/346 ... ok
49/349 ... repository is empty
505/350 ... ok
75/351 ... ok
217/352 ... ok
217/353 ... ok
217/354 ... ok
62/356 ... repository is empty
525/357 ... repository is empty
505/358 ... ok
506/359 ... ok
528/360 ... ok
74/361 ... ok
217/362 ... ok
522/363 ... repository is empty
217/364 ... ok
217/365 ... ok
523/366 ... repository is empty
154/367 ... ok
244/368 ... repository is empty
217/369 ... ok
217/371 ... ok
217/372 ... ok
510/374 ... ok
533/375 ... ok
217/376 ... ok
197/377 ... ok
219/378 ... ok
523/379 ... repository is empty
217/380 ... ok
217/381 ... ok
50/382 ... ok
539/383 ... ok
497/385 ... ok
497/386 ... repository is empty
497/387 ... repository is empty
497/388 ... repository is empty
497/390 ... repository is empty
497/391 ... repository is empty
497/392 ... repository is empty
497/393 ... repository is empty
497/394 ... repository is empty
497/395 ... repository is empty
497/396 ... repository is empty
64/398 ... ok
217/399 ... ok
63/400 ... ok
50/401 ... ok
217/402 ... ok
217/403 ... ok
50/404 ... ok
50/407 ... repository is empty
50/408 ... ok
77/409 ... ok
510/410 ... ok
92/411 ... ok
132/413 ... ok
549/414 ... ok
134/415 ... ok
213/416 ... ok
549/417 ... ok
244/418 ... repository is empty
549/419 ... ok
554/420 ... ok
546/421 ... ok
7/422 ... ok
7/423 ... ok
519/424 ... ok
213/425 ... ok
213/427 ... ok
561/428 ... repository is empty
519/429 ... ok
550/430 ... ok
563/431 ... repository is empty
553/432 ... ok
550/434 ... ok
553/435 ... ok
145/436 ... ok
560/437 ... ok
213/438 ... ok
510/439 ... ok
73/440 ... ok
565/441 ... ok
73/442 ... ok
551/443 ... ok
550/444 ... ok
560/445 ... ok
8/446 ... ok
37/447 ... ok
508/448 ... ok
9/449 ... ok
560/450 ... ok
551/451 ... ok
560/452 ... ok
88/453 ... ok
70/454 ... ok
551/455 ... ok
516/456 ... ok
49/457 ... ok
516/458 ... ok
519/459 ... ok
150/460 ... ok
9/462 ... ok
9/463 ... ok
550/464 ... ok
154/465 ... repository is empty
541/471 ... ok
541/479 ... ok
517/480 ... ok
546/482 ... ok
560/483 ... ok
578/484 ... ok
66/485 ... ok
123/486 ... ok
147/487 ... ok
150/488 ... ok
148/489 ... ok
156/490 ... ok
150/491 ... ok
126/492 ... ok
581/494 ... ok
125/498 ... ok
194/499 ... ok
525/502 ... ok
205/503 ... ok
172/504 ... ok
134/505 ... ok
562/506 ... repository is empty
190/508 ... ok
77/509 ... ok
98/510 ... repository is empty
92/511 ... ok
70/512 ... ok
510/513 ... ok
143/514 ... ok
183/515 ... ok
132/516 ... ok
560/517 ... ok
560/520 ... ok
560/521 ... ok
560/522 ... ok
560/523 ... ok
560/524 ... ok
594/526 ... ok
506/527 ... repository is empty
553/528 ... ok
209/529 ... ok
560/530 ... ok
8/531 ... ok
549/532 ... ok
553/534 ... ok
553/535 ... ok
600/536 ... ok
560/537 ... ok
577/538 ... ok
587/539 ... repository is empty
245/540 ... ok
217/543 ... ok
551/544 ... ok
7/546 ... ok
12/547 ... ok
50/549 ... ok
185/550 ... ok
50/551 ... ok
148/552 ... ok
510/553 ... ok
601/554 ... ok
172/556 ... ok
172/557 ... ok
607/558 ... ok
595/559 ... repository is empty
50/560 ... ok
571/561 ... ok
116/562 ... ok
125/564 ... ok
137/565 ... ok
9/566 ... ok
134/567 ... ok
560/568 ... repository is empty
560/570 ... ok
571/571 ... ok
77/572 ... ok
172/573 ... ok
560/574 ... ok
50/575 ... ok
148/577 ... ok
148/579 ... ok
566/580 ... ok
560/581 ... ok
64/582 ... ok
75/583 ... repository is empty
50/584 ... ok
618/585 ... ok
7/586 ... ok
50/588 ... ok
98/589 ... ok
174/590 ... ok
7/591 ... ok
519/593 ... ok
50/594 ... ok
9/595 ... ok
75/596 ... ok
75/597 ... ok
50/598 ... repository is empty
565/599 ... ok
74/601 ... ok
98/602 ... ok
565/603 ... ok
565/605 ... ok
88/606 ... ok
7/607 ... ok
56/608 ... ok
154/609 ... repository is empty
49/610 ... ok
50/611 ... repository is empty
49/612 ... ok
74/613 ... ok
130/614 ... ok
116/615 ... ok
116/616 ... ok
626/617 ... ok
626/618 ... ok
7/619 ... ok
635/620 ... ok
70/621 ... ok
639/623 ... repository is empty
639/625 ... repository is empty
66/626 ... ok
37/627 ... ok
15/628 ... ok
15/629 ... ok
15/630 ... ok
15/631 ... ok
15/632 ... ok
115/635 ... ok
645/636 ... ok
9/637 ... ok
75/638 ... ok
7/639 ... ok
66/641 ... ok
644/642 ... ok
74/643 ... ok
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Check GitLab API access: OK
Access to /var/opt/gitlab/.ssh/authorized_keys: OK
Send ping to redis server: OK
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Reply by email ...
Reply by email is disabled in config/gitlab.yml
Checking Reply by email ... Finished
Checking LDAP ...
Server: ldapmain
not verifying SSL hostname of LDAPS server 'REDACTED:a-valid-ldap-server.informatik.haw-hamburg.de:389'
LDAP authentication... Success
LDAP users with access to your GitLab server (only showing the first 100 results)
DN: uid=aaa002,ou=Users,ou=dep-inf,o=haw-hamburg uid: aaa002
DN: uid=aaa011,ou=Users,ou=dep-inf,o=haw-hamburg uid: aaa011
<REDACTED: 98 more users.>
Checking LDAP ... Finished
Checking GitLab ...
Git configured correctly? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config up to date? ... yes
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory exists? ... yes
Uploads directory has correct permissions? ... yes
Uploads directory tmp has correct permissions? ... no
Try fixing it:
sudo chown -R git /var/opt/gitlab/gitlab-rails/uploads
sudo find /var/opt/gitlab/gitlab-rails/uploads -type f -exec chmod 0644 {} \;
sudo find /var/opt/gitlab/gitlab-rails/uploads -type d -not -path /var/opt/gitlab/gitlab-rails/uploads -exec chmod 0700 {} \;
For more information see:
doc/install/installation.md in section "GitLab"
Please fix the error above and rerun the checks.
Init script exists? ... skipped (omnibus-gitlab has no init script)
Init script up-to-date? ... skipped (omnibus-gitlab has no init script)
Projects have namespace: ...
8/1 ... yes
8/2 ... yes
8/4 ... yes
8/5 ... yes
8/7 ... yes
8/8 ... yes
8/9 ... yes
8/10 ... yes
8/11 ... yes
12/12 ... yes
50/13 ... yes
8/17 ... yes
10/20 ... yes
13/21 ... yes
13/22 ... yes
13/23 ... yes
10/24 ... yes
12/25 ... yes
10/26 ... yes
8/28 ... yes
50/29 ... yes
50/30 ... yes
50/33 ... yes
50/34 ... yes
64/35 ... yes
50/36 ... yes
50/37 ... yes
50/38 ... yes
50/40 ... yes
50/41 ... yes
50/42 ... yes
50/43 ... yes
50/44 ... yes
50/45 ... yes
50/46 ... yes
50/47 ... yes
50/49 ... yes
50/50 ... yes
50/51 ... yes
50/52 ... yes
50/53 ... yes
50/54 ... yes
50/55 ... yes
50/56 ... yes
50/57 ... yes
50/58 ... yes
50/59 ... yes
50/60 ... yes
50/64 ... yes
50/65 ... yes
50/66 ... yes
50/67 ... yes
50/68 ... yes
50/69 ... yes
50/70 ... yes
50/71 ... yes
50/72 ... yes
50/73 ... yes
50/74 ... yes
50/75 ... yes
50/76 ... yes
50/77 ... yes
50/78 ... yes
50/79 ... yes
50/80 ... yes
75/82 ... yes
7/84 ... yes
66/87 ... yes
8/88 ... yes
8/89 ... yes
50/90 ... yes
50/91 ... yes
50/92 ... yes
50/94 ... yes
50/95 ... yes
50/96 ... yes
50/97 ... yes
50/98 ... yes
33/99 ... yes
50/101 ... yes
50/103 ... yes
33/105 ... yes
33/106 ... yes
33/107 ... yes
50/109 ... yes
50/110 ... yes
37/111 ... yes
50/112 ... yes
50/113 ... yes
50/114 ... yes
75/115 ... yes
50/116 ... yes
8/117 ... yes
50/118 ... yes
73/120 ... yes
66/121 ... yes
8/122 ... yes
8/123 ... yes
8/124 ... yes
8/125 ... yes
8/126 ... yes
8/127 ... yes
7/128 ... yes
47/129 ... yes
37/130 ... yes
72/131 ... yes
72/132 ... yes
89/133 ... yes
50/134 ... yes
50/135 ... yes
41/136 ... yes
89/137 ... yes
95/138 ... yes
50/139 ... yes
10/140 ... yes
50/141 ... yes
50/142 ... yes
40/143 ... yes
7/144 ... yes
8/147 ... yes
8/148 ... yes
15/149 ... yes
15/150 ... yes
15/151 ... yes
15/152 ... yes
7/153 ... yes
89/155 ... yes
89/157 ... yes
89/159 ... yes
89/160 ... yes
89/161 ... yes
89/162 ... yes
89/163 ... yes
89/164 ... yes
37/165 ... yes
50/166 ... yes
74/167 ... yes
89/168 ... yes
8/169 ... yes
89/170 ... yes
89/171 ... yes
89/172 ... yes
110/174 ... yes
37/182 ... yes
110/183 ... yes
110/184 ... yes
110/185 ... yes
110/186 ... yes
7/187 ... yes
117/188 ... yes
75/193 ... yes
119/194 ... yes
119/195 ... yes
37/198 ... yes
121/199 ... yes
12/204 ... yes
12/205 ... yes
12/206 ... yes
116/207 ... yes
7/208 ... yes
132/209 ... yes
134/210 ... yes
140/211 ... yes
134/212 ... yes
149/213 ... yes
93/214 ... yes
145/220 ... yes
134/222 ... yes
132/223 ... yes
134/224 ... yes
159/225 ... yes
134/229 ... yes
57/230 ... yes
109/231 ... yes
109/233 ... yes
166/234 ... yes
88/235 ... yes
134/236 ... yes
171/237 ... yes
79/238 ... yes
168/239 ... yes
176/242 ... yes
178/244 ... yes
178/245 ... yes
172/246 ... yes
12/247 ... yes
184/248 ... yes
50/250 ... yes
85/253 ... yes
72/254 ... yes
111/255 ... yes
195/256 ... yes
50/257 ... yes
77/259 ... yes
151/260 ... yes
158/261 ... yes
169/262 ... yes
154/263 ... yes
74/264 ... yes
198/265 ... yes
92/267 ... yes
92/268 ... yes
92/269 ... yes
74/270 ... yes
181/271 ... yes
153/272 ... yes
63/273 ... yes
12/274 ... yes
185/277 ... yes
152/278 ... yes
202/280 ... yes
158/281 ... yes
207/282 ... yes
109/283 ... yes
209/284 ... yes
212/285 ... yes
217/286 ... yes
75/288 ... yes
224/289 ... yes
209/290 ... yes
105/292 ... yes
239/293 ... yes
50/294 ... yes
50/295 ... yes
92/296 ... yes
217/297 ... yes
186/298 ... yes
185/299 ... yes
4/302 ... yes
197/303 ... yes
494/304 ... yes
493/305 ... yes
240/307 ... yes
154/308 ... yes
92/309 ... yes
172/310 ... yes
130/311 ... yes
89/318 ... yes
497/319 ... yes
244/320 ... yes
36/321 ... yes
503/322 ... yes
134/323 ... yes
246/324 ... yes
504/325 ... yes
182/326 ... yes
132/327 ... yes
245/328 ... yes
507/329 ... yes
72/330 ... yes
508/331 ... yes
183/332 ... yes
50/333 ... yes
132/336 ... yes
175/338 ... yes
185/339 ... yes
516/340 ... yes
517/341 ... yes
217/342 ... yes
130/344 ... yes
64/345 ... yes
49/346 ... yes
49/349 ... yes
505/350 ... yes
75/351 ... yes
217/352 ... yes
217/353 ... yes
217/354 ... yes
62/356 ... yes
525/357 ... yes
505/358 ... yes
506/359 ... yes
528/360 ... yes
74/361 ... yes
217/362 ... yes
522/363 ... yes
217/364 ... yes
217/365 ... yes
523/366 ... yes
154/367 ... yes
244/368 ... yes
217/369 ... yes
217/371 ... yes
217/372 ... yes
510/374 ... yes
533/375 ... yes
217/376 ... yes
197/377 ... yes
219/378 ... yes
523/379 ... yes
217/380 ... yes
217/381 ... yes
50/382 ... yes
539/383 ... yes
497/385 ... yes
497/386 ... yes
497/387 ... yes
497/388 ... yes
497/390 ... yes
497/391 ... yes
497/392 ... yes
497/393 ... yes
497/394 ... yes
497/395 ... yes
497/396 ... yes
64/398 ... yes
217/399 ... yes
63/400 ... yes
50/401 ... yes
217/402 ... yes
217/403 ... yes
50/404 ... yes
50/407 ... yes
50/408 ... yes
77/409 ... yes
510/410 ... yes
92/411 ... yes
132/413 ... yes
549/414 ... yes
134/415 ... yes
213/416 ... yes
549/417 ... yes
244/418 ... yes
549/419 ... yes
554/420 ... yes
546/421 ... yes
7/422 ... yes
7/423 ... yes
519/424 ... yes
213/425 ... yes
213/427 ... yes
561/428 ... yes
519/429 ... yes
550/430 ... yes
563/431 ... yes
553/432 ... yes
550/434 ... yes
553/435 ... yes
145/436 ... yes
560/437 ... yes
213/438 ... yes
510/439 ... yes
73/440 ... yes
565/441 ... yes
73/442 ... yes
551/443 ... yes
550/444 ... yes
560/445 ... yes
8/446 ... yes
37/447 ... yes
508/448 ... yes
9/449 ... yes
560/450 ... yes
551/451 ... yes
560/452 ... yes
88/453 ... yes
70/454 ... yes
551/455 ... yes
516/456 ... yes
49/457 ... yes
516/458 ... yes
519/459 ... yes
150/460 ... yes
9/462 ... yes
9/463 ... yes
550/464 ... yes
154/465 ... yes
541/471 ... yes
541/479 ... yes
517/480 ... yes
546/482 ... yes
560/483 ... yes
578/484 ... yes
66/485 ... yes
123/486 ... yes
147/487 ... yes
150/488 ... yes
148/489 ... yes
156/490 ... yes
150/491 ... yes
126/492 ... yes
581/494 ... yes
125/498 ... yes
194/499 ... yes
525/502 ... yes
205/503 ... yes
172/504 ... yes
134/505 ... yes
562/506 ... yes
190/508 ... yes
77/509 ... yes
98/510 ... yes
92/511 ... yes
70/512 ... yes
510/513 ... yes
143/514 ... yes
183/515 ... yes
132/516 ... yes
560/517 ... yes
560/520 ... yes
560/521 ... yes
560/522 ... yes
560/523 ... yes
560/524 ... yes
594/526 ... yes
506/527 ... yes
553/528 ... yes
209/529 ... yes
560/530 ... yes
8/531 ... yes
549/532 ... yes
553/534 ... yes
553/535 ... yes
600/536 ... yes
560/537 ... yes
577/538 ... yes
587/539 ... yes
245/540 ... yes
217/543 ... yes
551/544 ... yes
7/546 ... yes
12/547 ... yes
50/549 ... yes
185/550 ... yes
50/551 ... yes
148/552 ... yes
510/553 ... yes
601/554 ... yes
172/556 ... yes
172/557 ... yes
607/558 ... yes
595/559 ... yes
50/560 ... yes
571/561 ... yes
116/562 ... yes
125/564 ... yes
137/565 ... yes
9/566 ... yes
134/567 ... yes
560/568 ... yes
560/570 ... yes
571/571 ... yes
77/572 ... yes
172/573 ... yes
560/574 ... yes
50/575 ... yes
148/577 ... yes
148/579 ... yes
566/580 ... yes
560/581 ... yes
64/582 ... yes
75/583 ... yes
50/584 ... yes
618/585 ... yes
7/586 ... yes
50/588 ... yes
98/589 ... yes
174/590 ... yes
7/591 ... yes
519/593 ... yes
50/594 ... yes
9/595 ... yes
75/596 ... yes
75/597 ... yes
50/598 ... yes
565/599 ... yes
74/601 ... yes
98/602 ... yes
565/603 ... yes
565/605 ... yes
88/606 ... yes
7/607 ... yes
56/608 ... yes
154/609 ... yes
49/610 ... yes
50/611 ... yes
49/612 ... yes
74/613 ... yes
130/614 ... yes
116/615 ... yes
116/616 ... yes
626/617 ... yes
626/618 ... yes
7/619 ... yes
635/620 ... yes
70/621 ... yes
639/623 ... yes
639/625 ... yes
66/626 ... yes
37/627 ... yes
15/628 ... yes
15/629 ... yes
15/630 ... yes
15/631 ... yes
15/632 ... yes
115/635 ... yes
645/636 ... yes
9/637 ... yes
75/638 ... yes
7/639 ... yes
66/641 ... yes
644/642 ... yes
74/643 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.3.3 ? ... yes (2.3.3)
Git version >= 2.7.3 ? ... yes (2.13.5)
Active users: ... 315
Checking GitLab ... Finished