System hook activity "user_create"
Summary
The event is not triggered when a new user registers or logs in for the first time via LDAP. The event is triggered when I manually create a user in GitLab.
Steps to reproduce
Register as a new user or log in for the first time via LDAP
What is the current bug behavior?
No system hook activity
What is the expected correct behavior?
system hook activity, event user_create
Results of GitLab environment info
# gitlab-rake gitlab:env:infoSystem information System: Current User: git Using RVM: no Ruby Version: 2.3.3p222 Gem Version: 2.6.6 Bundler Version:1.13.7 Rake Version: 10.5.0 Redis Version: 3.2.5 Git Version: 2.11.1 Sidekiq Version:4.2.7
GitLab information Version: 9.1.1 Revision: d3123f6 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: https://collaborating.tuhh.de HTTP Clone URL: https://collaborating.tuhh.de/some-group/some-project.git SSH Clone URL: git@collaborating.tuhh.de:some-group/some-project.git Using LDAP: yes Using Omniauth: yes Omniauth Providers: google_oauth2, github, gitlab
GitLab Shell Version: 5.0.2 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
gitlab-rake gitlab:check SANITIZE=true
Checking GitLab Shell ...
GitLab Shell version >= 5.0.2 ? ... OK (5.0.2) Repo base directory exists? default... yes Repo storage directories are symlinks? default... no Repo paths owned by git:git? default... yes Repo paths access is drwxrws---? default... yes hooks directories in repos are links: ... 10/7 ... ok 7/12 ... ok 10/13 ... ok 7/17 ... ok 10/18 ... ok 8/21 ... ok 15/25 ... ok 7/26 ... ok 7/29 ... ok 7/32 ... ok 58/33 ... ok 15/34 ... ok 15/35 ... ok 58/36 ... ok 58/37 ... ok 15/39 ... ok 216/41 ... ok 15/43 ... ok 216/47 ... ok 15/48 ... ok 15/50 ... ok 10/54 ... ok 10/55 ... ok 10/56 ... ok 15/57 ... ok 15/60 ... ok 216/64 ... ok 10/66 ... ok 77/80 ... ok 77/81 ... ok 15/82 ... ok 15/83 ... ok 15/84 ... ok 79/85 ... ok 77/92 ... repository is empty 7/93 ... ok 15/94 ... ok 8/95 ... ok 15/97 ... ok 7/99 ... ok 84/102 ... ok 15/103 ... ok 15/104 ... ok 58/105 ... ok 84/106 ... ok 27/107 ... ok 27/108 ... ok 27/109 ... ok 7/110 ... ok 7/111 ... ok 25/114 ... ok 7/115 ... ok 7/116 ... ok 216/118 ... ok 15/119 ... ok 8/123 ... ok 217/127 ... ok 96/128 ... ok 98/129 ... ok 8/130 ... repository is empty 99/131 ... ok 58/134 ... ok 7/135 ... ok 102/137 ... ok 103/138 ... ok 58/140 ... repository is empty 107/141 ... repository is empty 104/144 ... ok 8/145 ... ok 116/146 ... ok 9/148 ... ok 116/150 ... ok 10/152 ... ok 10/153 ... ok 58/154 ... ok 102/155 ... ok 10/156 ... ok 102/158 ... ok 102/159 ... ok 111/160 ... ok 138/162 ... repository is empty 8/163 ... ok 111/164 ... ok 7/165 ... ok 10/166 ... ok 15/167 ... ok 58/168 ... ok 111/169 ... repository is empty 15/172 ... ok 116/173 ... ok 31/174 ... ok 167/176 ... ok 130/177 ... ok 153/180 ... ok 7/181 ... repository is empty 153/182 ... ok 77/183 ... ok 94/186 ... ok 8/187 ... ok 15/188 ... ok 77/189 ... ok 77/190 ... ok 58/193 ... ok 58/194 ... ok 25/195 ... ok 58/197 ... ok 8/198 ... ok 155/200 ... ok 100/203 ... ok 27/204 ... ok 7/206 ... ok 7/207 ... ok 171/208 ... ok 171/209 ... ok 58/210 ... ok 175/211 ... ok 58/212 ... ok 58/213 ... ok 155/214 ... ok 58/215 ... ok 198/216 ... ok 10/217 ... ok 198/218 ... repository is empty 233/220 ... ok 203/223 ... ok 15/224 ... ok 15/225 ... ok 7/226 ... repository is empty 58/227 ... ok 24/228 ... ok 24/230 ... ok 94/231 ... ok 15/233 ... ok 15/237 ... ok 159/238 ... ok 56/239 ... ok 220/241 ... ok 233/242 ... ok 204/243 ... ok 58/245 ... ok 7/248 ... ok 217/249 ... ok 248/251 ... ok 15/252 ... ok 7/254 ... ok 222/255 ... ok 222/256 ... ok 222/257 ... ok 222/258 ... ok 222/259 ... ok 222/260 ... ok 15/261 ... ok 15/262 ... ok 222/263 ... ok 248/264 ... ok 248/265 ... ok 248/266 ... ok 7/267 ... ok 222/268 ... ok 294/269 ... ok 298/271 ... ok 305/272 ... ok 294/273 ... repository is empty 298/277 ... ok 58/278 ... ok 100/279 ... ok 308/282 ... ok 313/283 ... ok 27/284 ... ok 309/285 ... ok 170/293 ... repository is empty 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 LDAP authentication... Anonymous. No
bind_dn
orpassword
configured LDAP users with access to your GitLab server (only showing the first 100 results) That does not interest you. Checking LDAP ... FinishedChecking GitLab ...
Git configured with autocrlf=input? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config outdated? ... no Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory setup correctly? ... yes 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: ... 10/7 ... yes 7/12 ... yes 10/13 ... yes 7/17 ... yes 10/18 ... yes 8/21 ... yes 15/25 ... yes 7/26 ... yes 7/29 ... yes 7/32 ... yes 58/33 ... yes 15/34 ... yes 15/35 ... yes 58/36 ... yes 58/37 ... yes 15/39 ... yes 216/41 ... yes 15/43 ... yes 216/47 ... yes 15/48 ... yes 15/50 ... yes 10/54 ... yes 10/55 ... yes 10/56 ... yes 15/57 ... yes 15/60 ... yes 216/64 ... yes 10/66 ... yes 77/80 ... yes 77/81 ... yes 15/82 ... yes 15/83 ... yes 15/84 ... yes 79/85 ... yes 77/92 ... yes 7/93 ... yes 15/94 ... yes 8/95 ... yes 15/97 ... yes 7/99 ... yes 84/102 ... yes 15/103 ... yes 15/104 ... yes 58/105 ... yes 84/106 ... yes 27/107 ... yes 27/108 ... yes 27/109 ... yes 7/110 ... yes 7/111 ... yes 25/114 ... yes 7/115 ... yes 7/116 ... yes 216/118 ... yes 15/119 ... yes 8/123 ... yes 217/127 ... yes 96/128 ... yes 98/129 ... yes 8/130 ... yes 99/131 ... yes 58/134 ... yes 7/135 ... yes 102/137 ... yes 103/138 ... yes 58/140 ... yes 107/141 ... yes 104/144 ... yes 8/145 ... yes 116/146 ... yes 9/148 ... yes 116/150 ... yes 10/152 ... yes 10/153 ... yes 58/154 ... yes 102/155 ... yes 10/156 ... yes 102/158 ... yes 102/159 ... yes 111/160 ... yes 138/162 ... yes 8/163 ... yes 111/164 ... yes 7/165 ... yes 10/166 ... yes 15/167 ... yes 58/168 ... yes 111/169 ... yes 15/172 ... yes 116/173 ... yes 31/174 ... yes 167/176 ... yes 130/177 ... yes 153/180 ... yes 7/181 ... yes 153/182 ... yes 77/183 ... yes 94/186 ... yes 8/187 ... yes 15/188 ... yes 77/189 ... yes 77/190 ... yes 58/193 ... yes 58/194 ... yes 25/195 ... yes 58/197 ... yes 8/198 ... yes 155/200 ... yes 100/203 ... yes 27/204 ... yes 7/206 ... yes 7/207 ... yes 171/208 ... yes 171/209 ... yes 58/210 ... yes 175/211 ... yes 58/212 ... yes 58/213 ... yes 155/214 ... yes 58/215 ... yes 198/216 ... yes 10/217 ... yes 198/218 ... yes 233/220 ... yes 203/223 ... yes 15/224 ... yes 15/225 ... yes 7/226 ... yes 58/227 ... yes 24/228 ... yes 24/230 ... yes 94/231 ... yes 15/233 ... yes 15/237 ... yes 159/238 ... yes 56/239 ... yes 220/241 ... yes 233/242 ... yes 204/243 ... yes 58/245 ... yes 7/248 ... yes 217/249 ... yes 248/251 ... yes 15/252 ... yes 7/254 ... yes 222/255 ... yes 222/256 ... yes 222/257 ... yes 222/258 ... yes 222/259 ... yes 222/260 ... yes 15/261 ... yes 15/262 ... yes 222/263 ... yes 248/264 ... yes 248/265 ... yes 248/266 ... yes 7/267 ... yes 222/268 ... yes 294/269 ... yes 298/271 ... yes 305/272 ... yes 294/273 ... yes 298/277 ... yes 58/278 ... yes 100/279 ... yes 308/282 ... yes 313/283 ... yes 27/284 ... yes 309/285 ... yes 170/293 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.1.0 ? ... yes (2.3.3) Your git bin path is "/opt/gitlab/embedded/bin/git" Git version >= 2.7.3 ? ... yes (2.11.1) Active users: 199
Checking GitLab ... Finished
Used receiver: https://collaborating.tuhh.de/open-source/gitlab-systemhooks-receiver/