I’m getting server error (500) when adding ssh key using gitlab-ce omnibus 7.11 or 7.12.
This postgres non-null constraint error appears in /var/log/gitlab/gitlab-rails/production.log
Started POST "/profile/keys" for 92.1.112.150 at 2015-07-01 20:09:43 +0100
Processing by Profiles::KeysController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"[FILTERED]", "key"=>{"title"=>"derek@docker", "key"=>"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVTs3QdLbd11Ks0FAJ1wjnDxw8zbq6GFaFe67ezz3CqPrIcTrssEtH/5MvEb3OMHYNfjV55FyDn3nO1Jzw4SfkpJFqrgWJw640oxm3bwRMls99RaKEtx8UfTEmZDRC7/yKZJILt+TpYvi5j6FNsCaL+hVmIgRhydFvKF8+DaCCpC6wIuK4i7wjEodCIiKmanaS5VAAp0DXgi/o3wThbY6XxzpWZigzQAwdoe5n1yNuCWP8by3B7LWo/jm9OjgFQ7wdYVnmoFoi9tONBJwXqL/hTFYGQQznB010SceFf8RnDDvDLvSojNTXAhbpj6QbHuGob4V2R8+9i19ea60vLXRd derek@docker"}}
PG::Error: ERROR: null value in column "public" violates not-null constraint
DETAIL: Failing row contains (21, 21, 2015-07-01 19:09:43.923257+00, 2015-07-01 19:09:43.923257+00, ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVTs3QdLbd11Ks0FAJ1wjnDxw8..., derek@docker, null, 96:8b:3f:9f:c9:41:76:00:4e:65:ae:31:f7:d7:d2:56, null).
: INSERT INTO "keys" ("created_at", "fingerprint", "key", "title", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"
Completed 500 Internal Server Error in 279ms (ActiveRecord: 12.4ms)