Upgrade from gitlab/gitlab-ee:8.16.3-ee.0 to gitlab/gitlab-ee:8.17.0-ee.0 (using docker) fails on db migrate
Summary
Due to db migration error (column "squash" of relation "merge_requests" already exists being one), Gitlab-ee upgrade fails. Service fails to become available.
Steps to reproduce
Using docker, drop Gitlab-ee 8.16.3 version and pull version 8.17.0.
What is the current bug behavior?
Gitlab service renders unavailable.
What is the expected correct behavior?
Gitlab running at version 8.17.0.
Relevant logs and/or screenshots
Configuring GitLab package... Configuring GitLab...
run
on resource 'bash[migrate gitlab-rails database]'
================================================================================
Error executing action Mixlib::ShellOut::ShellCommandFailed
Expected process to exit with [0], but received '1' ---- Begin output of "bash" "/tmp/chef-script20170316-25-7zmhtp" ---- STDOUT: rake aborted! StandardError: An error has occurred, all later migrations canceled:
add_column' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/migration_helpers.rb:152:in
block in add_column_with_default'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/migration_helpers.rb:148:in add_column_with_default' /opt/gitlab/embedded/service/gitlab-rails/db/migrate/20161230123835_add_squash_to_merge_requests.rb:8:in
up'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:50:in block (3 levels) in <top (required)>' /opt/gitlab/embedded/bin/bundle:22:in
load'
/opt/gitlab/embedded/bin/bundle:22:in <main>' ActiveRecord::StatementInvalid: PG::DuplicateColumn: ERROR: column "squash" of relation "merge_requests" already exists : ALTER TABLE "merge_requests" ADD "squash" boolean /opt/gitlab/embedded/service/gitlab-rails/config/initializers/postgresql_limit_fix.rb:6:in
add_column'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/migration_helpers.rb:152:in block in add_column_with_default' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/migration_helpers.rb:148:in
add_column_with_default'
/opt/gitlab/embedded/service/gitlab-rails/db/migrate/20161230123835_add_squash_to_merge_requests.rb:8:in up' /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:50:in
block (3 levels) in <top (required)>'
/opt/gitlab/embedded/bin/bundle:22:in load' /opt/gitlab/embedded/bin/bundle:22:in
'
PG::DuplicateColumn: ERROR: column "squash" of relation "merge_requests" already exists
/opt/gitlab/embedded/service/gitlab-rails/config/initializers/postgresql_limit_fix.rb:6:in add_column' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/migration_helpers.rb:152:in
block in add_column_with_default'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/migration_helpers.rb:148:in add_column_with_default' /opt/gitlab/embedded/service/gitlab-rails/db/migrate/20161230123835_add_squash_to_merge_requests.rb:8:in
up'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:50:in block (3 levels) in <top (required)>' /opt/gitlab/embedded/bin/bundle:22:in
load'
/opt/gitlab/embedded/bin/bundle:22:in `'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
== 20161230123835 AddSquashToMergeRequests: migrating =========================
-- transaction_open?()
-> 0.0000s
-- transaction()
-- add_column(:merge_requests, :squash, :boolean, {:default=>nil})
STDERR:
---- End output of "bash" "/tmp/chef-script20170316-25-7zmhtp" ----
Ran "bash" "/tmp/chef-script20170316-25-7zmhtp" returned 1
Resource Declaration:
PG::DuplicateColumn: ERROR: column "squash" of relation "merge_requests" already exists
: ALTER TABLE "merge_requests" ADD "squash" boolean/opt/gitlab/embedded/service/gitlab-rails/config/initializers/postgresql_limit_fix.rb:6:in In /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/database_migrations.rb
51: bash "migrate gitlab-rails database" do 52: code <<-EOH 53: set -e 54: log_file="#{node['gitlab']['gitlab-rails']['log_directory']}/gitlab-rails-db-migrate-$(date +%Y-%m-%d-%H-%M-%S).log" 55: umask 077 56: /opt/gitlab/bin/gitlab-rake gitlab:db:configure 2>& 1 | tee ${log_file} 57: STATUS=${PIPESTATUS[0]} 58: echo $STATUS > #{db_migrate_status_file} 59: exit $STATUS 60: EOH 61: environment env_variables unless env_variables.empty? 62: notifies :run, 'execute[enable pg_trgm extension]', :before unless omnibus_helper.not_listening?("postgresql") || !node['gitlab']['postgresql']['enable'] 63: notifies :run, "execute[clear the gitlab-rails cache]", :immediately unless omnibus_helper.not_listening?("redis") || !node['gitlab']['gitlab-rails']['rake_cache_clear'] 64: dependent_services.each do |svc| 65: notifies :restart, svc, :immediately 66: end 67: not_if "(test -f #{db_migrate_status_file}) && (cat #{db_migrate_status_file} | grep -Fx 0)" 68: only_if { node['gitlab']['gitlab-rails']['auto_migrate'] } 69: end
Compiled Resource:
Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/database_migrations.rb:51:in `from_file'
bash("migrate gitlab-rails database") do
action [:run]
retries 0
retry_delay 2
default_guard_interpreter :default
command "migrate gitlab-rails database"
backup 5
returns 0
code " set -e\n log_file="/var/log/gitlab/gitlab-rails/gitlab-rails-db-migrate-$(date +%Y-%m-%d-%H-%M-%S).log"\n umask 077\n /opt/gitlab/bin/gitlab-rake gitlab:db:configure 2>& 1 | tee {log_file}\n STATUS=
{PIPESTATUS[0]}\n echo $STATUS > /var/opt/gitlab/gitlab-rails/upgrade-status/db-migrate-d1a2ea2451134b93c14f4c8fc81044fc-22400e67\n exit $STATUS\n"
interpreter "bash"
declared_type :bash
cookbook_name "gitlab"
recipe_name "database_migrations"
not_if "(test -f /var/opt/gitlab/gitlab-rails/upgrade-status/db-migrate-d1a2ea2451134b93c14f4c8fc81044fc-22400e67) && (cat /var/opt/gitlab/gitlab-rails/upgrade-status/db-migrate-d1a2ea2451134b93c14f4c8fc81044fc-22400e67 | grep -Fx 0)"
only_if { #code block }
end
Output of checks
database: gitdb
Status Migration ID Migration Name
up 20121220064453 Init schema up 20130102143055 Rename owner to creator for project up 20130110172407 Add public to project up 20130123114545 Add issues tracker to project up 20130125090214 Add user permissions up 20130131070232 Remove private flag from project up 20130206084024 Add description to namsespace up 20130207104426 Add description to teams up 20130211085435 Add issues tracker id to project up 20130214154045 Rename state to merge status in milestone up 20130218140952 Add state to issue up 20130218141038 Add state to merge request up 20130218141117 Add state to milestone up 20130218141258 Convert closed to state in issue up 20130218141327 Convert closed to state in merge request up 20130218141344 Convert closed to state in milestone up 20130218141444 Remove merged from merge request up 20130218141507 Remove closed from issue up 20130218141536 Remove closed from merge request up 20130218141554 Remove closed from milestone up 20130220124204 Add new merge status to merge request up 20130220125544 Convert merge status in merge request up 20130220125545 Remove merge status from merge request up 20130220133245 Rename new merge status to merge status in milestone up 20130304104623 Add state to user up 20130304104740 Convert blocked to state up 20130304105317 Remove blocked from user up 20130315124931 User color scheme up 20130318212250 Add snippets to features up 20130319214458 Create forked project links up 20130323174317 Add private to snippets up 20130324151736 Add type to snippets up 20130324172327 Change project id to null in snipepts up 20130324203535 Add type value for snippets up 20130325173941 Add notification level to user up 20130326142630 Add index to users authentication token up 20130403003950 Add last activity column into project up 20130404164628 Add notification level to user project up 20130410175022 Remove wiki table up 20130419190306 Allow merges for forks up 20130506085413 Add type to key up 20130506090604 Create deploy keys projects up 20130506095501 Remove project id from key up 20130522141856 Add more fields to service up 20130528184641 Add system to notes up 20130611210815 Increase snippet text column size up 20130613165816 Add password expires at to users up 20130613173246 Add created by id to user up 20130614132337 Add improted to project up 20130617095603 Create users groups up 20130621195223 Add notification level to user group up 20130622115340 Add more db index up 20130624162710 Add fingerprint to key up 20130711063759 Create project group links up 20130802124933 Add ldap settings to group up 20130804151314 Add st diff to note up 20130809090140 Add ldap access to group up 20130809124851 Add permission check to user up 20130812143708 Add import url to project up 20130819182730 Add internal ids to issues and mr up 20130820102832 Add access to project group link up 20130821090530 Remove deprecated tables up 20130821090531 Add internal ids to milestones up 20130909132950 Add description to merge request up 20130926081215 Change owner id for group up 20131005191208 Add avatar to users up 20131009115346 Add confirmable to users up 20131106151520 Remove default branch up 20131112114325 Create broadcast messages up 20131112220935 Add visibility level to projects up 20131129154016 Add archived to projects up 20131130165425 Add color and font to broadcast messages up 20131202192556 Add event fields for web hook up 20131214224427 Add hide no ssh key to users up 20131217102743 Add recipients to service up 20140116231608 Add website url to users up 20140122112253 Create merge request diffs up 20140122114406 Migrate mr diffs up 20140122122549 Remove m rdiff fields up 20140125162722 Add avatar to projects up 20140127170938 Add group avatars up 20140209025651 Create emails up 20140214102325 Add api key to services up 20140304005354 Add index merge request diffs on merge request up 20140305193308 Add tag push hooks to project hook up 20140312145357 Add import status to project up 20140313092127 Migrate already imported projects up 20140319135450 Create git hooks up 20140407135544 Fix namespaces up 20140414093351 Create appearances up 20140414131055 Change state to allow empty merge request diffs up 20140415124820 Limits to mysql up 20140416074002 Add index on iid up 20140416185734 Index on current sign in at up 20140428105831 Add notes index updated at up 20140502115131 Add repo size to db up 20140502125220 Migrate repo size up 20140508105809 Add mr template to project up 20140513095908 Add username password api version to services up 20140611135229 Add position to merge request up 20140625115202 Create users star projects up 20140729134820 Create labels up 20140729140420 Create label links up 20140729145339 Migrate project tags up 20140729152420 Migrate taggable labels up 20140730111702 Add index to labels up 20140811083829 Add unsubscribed at field to users up 20140811155127 Add jira issue transition id to services up 20140813090117 Add ldap groups table up 20140813133925 Rename ldap group to ldap group link up 20140903115954 Migrate to new shell up 20140907220153 Serialize service properties up 20140907223153 Remove columns for services up 20140914113604 Add members table up 20140914145549 Migrate to new members model up 20140914173417 Remove old member tables up 20141006143943 Move slack service to webhook up 20141007100818 Add visibility level to snippet up 20141010132608 Add provider to ldap group links up 20141027173526 Add author email regex to git hook up 20141030133853 Add member check to git hooks up 20141103160516 Add file name regex to git hooks up 20141118150935 Add audit event up 20141121133009 Add timestamps to members up 20141121161704 Add identity table up 20141126120926 Add merge request rebase enabled to projects up 20141205134006 Add locked at to merge request up 20141212124604 Add group membership lock up 20141213212220 Add header logos to appearances up 20141216155758 Create doorkeeper tables up 20141217125223 Add owner to application up 20141223135007 Add import data to project table up 20141226080412 Add developers can push to protected branches up 20141230100055 Remove old fields from namespace up 20150108073740 Create application settings up 20150116234544 Add home page url for application settings up 20150116234545 Add gitlab access token to user up 20150125163100 Add default branch protection setting up 20150125163158 Add rebase setting to projects up 20150205211843 Add timestamps to identities up 20150206181414 Add index to created at up 20150206222854 Add notification email to user up 20150209222013 Add missing index up 20150211172122 Add template to service up 20150211174341 Allow null in services project up 20150213104043 Add twitter sharing enabled to application settings up 20150213114800 Add hide no password to user up 20150213121042 Add password automatically set to user up 20150217123345 Add bitbucket access token and secret to user up 20150219004514 Add events to services up 20150223022001 Set missing last activity at up 20150225065047 Add note events to services up 20150225214822 Help text to application settings up 20150301014758 Add restricted visibility levels to application settings up 20150306023106 Fix namespace duplication up 20150306023112 Add unique index to namespace up 20150310194358 Add version check to application settings up 20150312000132 Add group id to web hooks up 20150313012111 Create subscriptions table up 20150320234437 Add location to user up 20150324155957 Set incorrect assignee id to null up 20150324223425 Add is sample to git hooks up 20150327122227 Add public to key up 20150327150017 Add import data to project up 20150327223628 Add devise two factor to users up 20150328132231 Add max attachment size to application settings up 20150331183602 Add devise two factor backupable to users up 20150406133311 Add invite data to member up 20150411000035 Fix identities up 20150411180045 Rename buildbox service up 20150413192223 Add public email to users up 20150417121913 Create project import data up 20150417122318 Remove import data from project up 20150421120000 Remove periods at ends of usernames up 20150423033240 Add default project visibililty to application settings up 20150425164646 Gitlab change collation for tag names.acts as taggable on engine up 20150425164647 Remove duplicate tags up 20150425164648 Add missing unique indices.acts as taggable on engine up 20150425164649 Add taggings counter cache to tags.acts as taggable on engine up 20150425164650 Add missing taggable index.acts as taggable on engine up 20150425164651 Change collation for tag names.acts as taggable on engine up 20150425173433 Add default snippet visibility to app settings up 20150429002313 Remove abandoned group members records up 20150501095306 Create licenses up 20150502064022 Add restricted signup domains to application settings up 20150507194350 Create historical data up 20150509180749 Convert legacy reference notes up 20150516060434 Add note events to web hooks up 20150529111607 Add user oauth applications to application settings up 20150529150354 Add after sign out path for application settings up 20150605131047 Add max file size to git hooks up 20150609113337 Create approves up 20150609125332 Add project merge approves up 20150609141121 Add session expire delay for application settings up 20150610065936 Add dashboard to users up 20150620233230 Add default otp required for login value up 20150707222220 Add approvers table up 20150709134649 Add reset approvers to project up 20150713160110 Add project view to users up 20150717130904 Add commits count to project up 20150717155058 Rename reset approvers up 20150730122406 Add updated by to issuables and notes up 20150731200022 Remove invalid approvers up 20150806104937 Create abuse reports up 20150812080800 Add settings import sources up 20150814065925 Remove oauth tokens from users up 20150817163600 Deduplicate user identities up 20150818213832 Add sent notifications up 20150824002011 Add enable ssl verification up 20150826001931 Add ci tables up 20150827121444 Add fast forward option to project up 20150827144737 Migrate rebase feature up 20150902001023 Add template to label up 20150914215247 Add ci tags up 20150915001905 Enable ssl verification by default up 20150916000405 Enable ssl verification for web hooks up 20150916114643 Add help page text to application settings up 20150916145038 Add index for committed at and up 20150918084513 Add ci enabled to application settings up 20150918161719 Remove invalid milestones from merge requests up 20150920010715 Add consumed timestep to users up 20150920161119 Add line code to sent notification up 20150924125150 Add project id to ci commit up 20150924125436 Migrate project id for ci commits up 20150929160851 Add issues template to project up 20150930001110 Merge request error field up 20150930095736 Add null to name for ci projects up 20150930110012 Add group share lock up 20151002112914 Add stage idx to builds up 20151002121400 Add index for builds up 20151002122929 Add ref and tag to builds up 20151002122943 Migrate ref and tag to build up 20151005075649 Add user id to build up 20151005150751 Add layout option for users up 20151005162154 Remove ci enabled from application settings up 20151007110107 Update group links up 20151007120511 Namespaces projects path lower indexes up 20151008110232 Add users lower username email indexes up 20151008123042 Add type and description to builds up 20151008130321 Migrate name to description for builds up 20151008143519 Add admin notification email setting up 20151012173029 Set jira service api url up 20151013092124 Add artifacts file to builds up 20151016131433 Add ci projects gl project id index up 20151016195451 Add ci builds and projects indexes up 20151016195706 Add notes line code index up 20151019111551 Fix build tags up 20151019111703 Fail build without names up 20151020145526 Add services template index up 20151020173516 Ci limits to mysql up 20151020173906 Add ci builds index for status up 20151023112551 Fail build with empty name up 20151023144219 Remove satellites up 20151026182941 Add project path index up 20151028152939 Add merge when build succeeds to merge request up 20151103001141 Add public to group up 20151103133339 Add shared runners setting up 20151103134857 Create lfs objects up 20151103134958 Create lfs objects projects up 20151104105513 Add file to lfs objects up 20151105094515 Create releases up 20151106000015 Add is award to notes up 20151109100728 Add max artifacts size to application settings up 20151109134526 Add issues state index up 20151109134916 Add projects visibility level index up 20151110125416 Add mirror to project up 20151110125604 Add import error to project up 20151113115819 Canonicalize kerberos identities up 20151114113410 Add index for lfs oid and size up 20151116144118 Add unique for lfs oid index up 20151118162244 Add projects public index up 20151201203948 Raise hook url limit up 20151203162133 Add hide project limit to users up 20151203162134 Add build events to services up 20151208110020 Add note to users up 20151209144329 Migrate ci web hooks up 20151209145909 Migrate ci emails up 20151209222208 Add weight to issue up 20151210030143 Add unlock token to user up 20151210072243 Add runners registration token to application settings up 20151210125232 Migrate ci slack service up 20151210125927 Migrate ci hip chat service up 20151210125928 Add ci to project up 20151210125929 Add project id to ci up 20151210125930 Migrate ci to project up 20151210125931 Add index to ci tables up 20151210125932 Drop null for ci tables up 20151215005729 Rename jenkins service up 20151215132013 Add pages size to application settings up 20151218154042 Add tfa to application settings up 20151221234414 Add tfa additional fields up 20151224123230 Rename emojis up 20151228111122 Remove public from namespace up 20151228150906 Influxdb settings up 20151228175719 Add recaptcha to application settings up 20151228203337 Change max file size to not null on git hooks up 20151229102248 Influxdb udp port setting up 20151229112614 Influxdb remote database setting up 20151230132518 Add artifacts metadata to ci build up 20151231152326 Add akismet to application settings up 20151231202530 Remove alert type from broadcast messages up 20160106162223 Add index milestones title up 20160106164438 Remove influxdb credentials up 20160109054846 Create spam logs up 20160112174440 Create geo nodes up 20160113111034 Add metrics sample interval up 20160118155830 Add sentry to application settings up 20160118232755 Add ip blocking settings to application settings up 20160119111158 Add services category up 20160119112418 Add services default up 20160119145451 Add ldap email to users up 20160119170055 Add mirror trigger builds to projects up 20160120172143 Add base commit sha to merge request diffs up 20160121030729 Add email author in body to application settings up 20160122185421 Add pending delete to project up 20160128212447 Remove ip blocking settings from application settings up 20160128233227 Change lfs objects size column up 20160129075828 Create index statuses up 20160129135155 Remove dot atom path ending of projects up 20160129155512 Add merge commit sha to merge requests up 20160202091601 Add erasable to ci build up 20160202164642 Add allow guest to access builds project up 20160204144558 Add real size to merge request diffs up 20160204190809 Update jenkins service category up 20160209130428 Add index to snippet up 20160210105555 Create pages domain up 20160212123307 Create tasks up 20160217100506 Add description to label up 20160217174422 Add note to tasks up 20160220123949 Rename tasks to todos up 20160221013512 Add geo node key to geo node up 20160222153918 Create appearances ce up 20160223192159 Add confidential to issues up 20160225090018 Add delete at to issues up 20160225101956 Add delete at to merge requests up 20160226114608 Add trigram indexes for searching up 20160227120001 Add event field for web hook up 20160227120047 Add event to services up 20160229034258 Add doorkeeper application to geo node up 20160229193553 Add main language to repository up 20160301124843 Add visibility level to groups up 20160301174731 Add fingerprint index up 20160302141317 Rename header field on appearrance up 20160302151724 Add import credentials to project import data up 20160302152808 Remove wrong import url from projects up 20160303210802 Add secondary extern uid to identities up 20160305220806 Remove expires at from snippets up 20160307221555 Disallow blank line code on note up 20160308212903 Add default group visibility to application settings up 20160309140734 Fix todos up 20160310124959 Add due date to issues up 20160310185910 Add external flag to users up 20160314094147 Add priority to label up 20160314114439 Add requested at to members up 20160314143402 Projects add pushes since gc up 20160315135439 Project add repository check up 20160316123110 Ci runners token index up 20160316124047 Git hooks project id index up 20160316192622 Change target id to null on todos up 20160316204731 Add commit id to todos up 20160317092222 Add moved to to issue up 20160317191509 Add last sync time to groups up 20160320204112 Index namespaces on visibility level up 20160321161032 Create remote mirrors up 20160324020319 Remove todos for deleted issues up 20160328112808 Create notification settings up 20160328115649 Migrate new notification setting up 20160328121138 Add notification setting index up 20160329144452 Add index on pending delete projects up 20160331133914 Remove todos for deleted merge requests up 20160331223143 Remove twitter sharing enabled from application settings up 20160407120251 Add images enabled for project up 20160412140240 Add repository checks enabled setting up 20160412173416 Add fields to ci commit up 20160412173417 Update ci commit up 20160412173418 Add ci commit indexes up 20160413115152 Add token to web hooks up 20160414064845 Add system hook to geo node up 20160415062917 Create personal access tokens up 20160415133440 Add shared runners text to application settings up 20160416180807 Add award emoji up 20160416182152 Convert award note to emoji award up 20160419120017 Add metrics packet size up 20160419122101 Add only allow merge if build succeeds to projects up 20160421130527 Disable repository checks up 20160425045124 Create u2f registrations up 20160504091942 Add disabled oauth sign in sources to application settings up 20160504112519 Add run untagged to ci runner up 20160508194200 Remove wall enabled from projects up 20160508202603 Add head commit id to merge request diffs up 20160508215820 Add type to notes up 20160508215920 Add positions to diff notes up 20160508221410 Set type on legacy diff notes up 20160509091049 Add locked to ci runner up 20160509201028 Add health check access token to application settings up 20160516174813 Add send user confirmation email to application settings up 20160516224534 Add start commit id to merge request diffs up 20160518200441 Add artifacts expire date to ci builds up 20160519203051 Add developers can merge to protected branches up 20160522215720 Add note type and position to sent notification up 20160525205328 Remove main language from projects up 20160527020117 Remove notification settings for deleted projects up 20160528043124 Add users state index up 20160530150109 Add container registry token expire delay to application settings up 20160530214349 Make remote mirrors disabled by default up 20160601102211 Create path locks table up 20160603075128 Add has external issue tracker to projects up 20160603180330 Remove duplicated notification settings up 20160603182247 Add index to notification settings up 20160608155312 Add after sign up text to application settings up 20160608195742 Add repository storage to projects up 20160608211215 Add user default external to application settings up 20160610140403 Remove notification setting not null constraints up 20160610194713 Remove deprecated issues tracker columns from projects up 20160610201627 Migrate users notification level up 20160610204157 Add deployments up 20160610204158 Add environments up 20160610211845 Add environment to builds up 20160610301627 Remove notification level from users up 20160611101122 Add es to application settings up 20160614182521 Add repository storage to application settings up 20160615092001 Disable mirror without import url up 20160615142710 Add index on requested at to members up 20160615142732 Add approvals before merge to merge requests up 20160615173316 Add enabled git access protocols to application settings up 20160615191922 Set missing stage on ci builds up 20160616084004 Change project of environment up 20160616102642 Remove duplicated keys up 20160616103005 Remove keys fingerprint index if exists up 20160616103948 Add unique index to keys fingerprint up 20160617301627 Add events to notification settings up 20160620115026 Add index on runners locked up 20160621123729 Add rebase commit sha to merge requests up 20160628085157 Add artifacts size to ci builds up 20160629025435 Add column in progress merge commit sha to merge requests up 20160703180340 Add index on award emoji user and name up 20160705054938 Add protected branches push access up 20160705054952 Add protected branches merge access up 20160705055254 Move from developers can merge to protected branches merge access up 20160705055308 Move from developers can push to protected branches push access up 20160705055809 Remove developers can push from protected branches up 20160705055813 Remove developers can merge from protected branches up 20160705111606 Rename git hooks to push rules up 20160705163108 Remove requesters that are owners up 20160707104333 Add lock to issuables up 20160712171823 Remove award emojis with no user up 20160713200638 Add repository read only to projects up 20160713205315 Add domain blacklist to application settings up 20160713222618 Add usage ping to application settings up 20160715132507 Add user id to pipeline up 20160715134306 Add index for pipeline user up 20160715154212 Add request access enabled to projects up 20160715204316 Add request access enabled to groups up 20160715230841 Rename application settings restricted signup domains up 20160716115710 Add when and yaml variables to ci builds up 20160716115711 Add queued at to ci builds up 20160718153603 Add has external wiki to projects up 20160718210912 Add ldap sync state to groups up 20160718210939 Add ldap sync state indices to groups up 20160718211006 Remove last ldap sync status index from groups up 20160718211059 Remove last ldap sync status from groups up 20160721042141 Add column user id to protected branches access levels up 20160721043623 Allow nulls for protected branch access levels up 20160721081015 Drop and readd has external wiki in projects up 20160722221922 Nullify blank type on notes up 20160724205507 Add resolved to notes up 20160725083350 Add external url to enviroments up 20160725104020 Merge request diff remove uniq up 20160725104452 Merge request diff add index up 20160727163552 Create user agent details up 20160727191041 Create boards up 20160727193336 Create lists up 20160728081025 Add pipeline events to web hooks up 20160728103734 Add pipeline events to services up 20160729173930 Remove project id from spam logs up 20160801163421 Add expires at to member up 20160801163709 Add submitted as ham to spam logs up 20160802010328 Remove builds enable index on projects up 20160803161903 Add unique index to lists label up 20160804150737 Add timestamps to members again up 20160805041956 Add deleted at to namespaces up 20160808085531 Add token to build up 20160808085602 Add index for build token up 20160810102349 Remove ci runner trigram indexes up 20160810142633 Remove redundant indexes up 20160810153405 Remove geo node key id index up 20160811172945 Add can push to keys up 20160812054342 Add group id columns to protected branch access levels up 20160816161312 Add column name to u2f registrations up 20160817133006 Add koding to application settings up 20160817154936 Add discussion ids to notes up 20160818205718 Add expires at to project group links up 20160819221631 Add index to note discussion up 20160819221833 Reset diff note discussion id because it was calculated wrongly up 20160819232256 Add incoming email token to users up 20160823081327 Change merge error to text up 20160823083941 Add column scopes to personal access tokens up 20160823213309 Add lfs enabled to projects up 20160824103857 Drop unused ci tables up 20160824121037 Change personal access tokens default back to empty array up 20160824124900 Add table issue metrics up 20160825052008 Add table merge request metrics up 20160827011312 Ensure lock version has no default up 20160829104026 Add repository size limit to application settings up 20160829114652 Add markdown cache columns up 20160830203109 Add confidential issues events to web hooks up 20160830211132 Add confidential issues events to services up 20160830232601 Change lock version not null up 20160831214002 Create project features up 20160831214543 Migrate project features up 20160831223750 Remove features enabled from projects up 20160831231325 Update mirror when empty import url in projects up 20160901141443 Set confidential issues events on webhooks up 20160901213340 Add lfs enabled to namespaces up 20160902122721 Drop gitorious field from application settings up 20160906143504 Add ldap attributes to member up 20160907131111 Add environment type to environments up 20160913162434 Remove projects pushes since gc up 20160913172608 Add repository size limit to projects up 20160913172737 Add repository size limit to namespaces up 20160913212128 Change artifacts size column up 20160914131004 Only allow merge if all discussions are resolved up 20160915042921 Create merge requests closing issues up 20160915201649 Add prevent secrets to push rules up 20160916101334 Add approver groups up 20160919144305 Add type to labels up 20160919145149 Add group id to labels up 20160920160832 Add index to labels title up 20160926145521 Add organization to user up 20161005144359 Add name to boards up 20161006104309 Add state to environment up 20161007073613 Create user activities up 20161007133303 Precalculate trending projects up 20161010142410 Create project authorizations up 20161011222551 Remove inactive jira service properties up 20161012180455 Add repository access level to project feature up 20161014173530 Create label priorities up 20161017091941 Add authorized projects populated to users up 20161017095000 Add properties to deployment up 20161017125927 Add unique index to labels up 20161018024215 Migrate labels priority up 20161018024550 Remove priority from labels up 20161018124658 Make project owners masters up 20161019190736 Migrate sidekiq queues from default up 20161019213545 Generate project feature for projects up 20161020075734 Default request access groups up 20161020075830 Default request access projects up 20161020083353 Add pipeline id to merge request metrics up 20161021114307 Add lock version to build and pipelines up 20161021185735 Migrate EE sidekiq queues from default up 20161024042317 Migrate mailroom queue from default up 20161025231710 Migrate jira to gem up 20161030005533 Add estimate to issuables up 20161030020610 Create timelogs up 20161031155516 Add housekeeping to application settings up 20161031171301 Add project id to subscriptions up 20161031174110 Migrate subscriptions project up 20161031181638 Add unique index to subscriptions up 20161103171205 Rename repository storage column up 20161103191444 Add sidekiq throttling to application settings up 20161106185620 Add project import data project index up 20161109150329 Fix project records with invalid visibility up 20161113184239 Create user chat names table up 20161114024742 Add coverage regex to builds up 20161115173905 Add start date to milestones up 20161117114805 Remove undeleted groups up 20161118183841 Add commit events to services up 20161124111390 Add parent id to namespace up 20161124111395 Add index to parent up 20161124111402 Add routes table up 20161124141322 Migrate process commit worker jobs up 20161128142110 Remove unnecessary indexes up 20161128161412 Add html emails enabled to application settings up 20161128170531 Drop user activities table up 20161130095245 Fill routes table up 20161130101252 Fill projects routes table up 20161201001911 Add plant uml url to application settings up 20161201155511 Create project statistics up 20161201160452 Migrate project statistics up 20161202152031 Remove duplicates from routes up 20161202152035 Add index to routes up 20161206003819 Add plant uml enabled to application settings up 20161206153749 Remove uniq path index from namespace up 20161206153751 Add path index to namespace up 20161206153753 Remove uniq name index from namespace up 20161206153754 Add name index to namespace up 20161207231620 Fixup environment name uniqueness up 20161207231621 Create environment name unique index up 20161207231626 Add environment slug up 20161209153400 Add unique index for environment slug up 20161212142807 Add lower path index to routes up 20161213172958 Change slack service to slack notification service up 20161220141214 Remove dot git from group names up 20161221140236 Remove unneeded services up 20161221152132 Add last used at to key up 20161221153951 Rename reserved project names up 20161223034433 Add estimate to issuables ce up 20161223034646 Create timelogs ce up 20161226122833 Remove dot git from usernames up 20161227192806 Rename slack and mattermost notification services down 20161230123835 Add squash to merge requests down 20170104150317 Requeue pending delete projects up 20170106142508 Fill authorized projects up 20170106172224 Remove project authorizations id column up 20170106172234 Add shared runners minutes to application settings up 20170106172235 Add shared runners minutes limit to namespace up 20170106172236 Create table namespace statistics up 20170106172237 Add shared runners seconds to project statistics up 20170118194941 Convert application settings repository size limit to bytes up 20170118200338 Convert projects repository size limit to bytes up 20170118200412 Convert namespaces repository size limit to bytes down 20170120123345 Add column auditor to users up 20170121123724 Add index to ci builds for status runner id and type up 20170121130655 Add index to ci runners for is shared down 20170124174637 Add foreign keys to timelogs down 20170126174819 Add terminal max session time to application settings down 20170127032550 Remove backlog lists from boards down 20170130113559 Add sync schedule to projects and remote projects up 20170130204620 Add index to project authorizations up 20170204181513 Add index to labels for type and project down 20170206071414 Add recaptcha verified to spam logs down 20170206101007 Remove trackable columns from timelogs down 20170206101030 Validate foreign keys on timelogs down 20170207150212 Add indexes to mirrors down 20170210062829 Add index to labels for title and project down 20170210075922 Add index to ci trigger requests for commit down 20170210103609 Add index to user agent detail down 20170210144005 Add global minimum mirror sync time to application settings down 20170211073944 Disable invalid service templates down 20170214111112 Delete deprecated gitlab ci service
Results of GitLab environment info
System information System: Proxy: no 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 Sidekiq Version:4.2.7
GitLab information Version: 8.17.0-ee Revision: 22400e67 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql DB Version: 9.4.7 URL: ********************** HTTP Clone URL: ********************** SSH Clone URL: ********************** Elasticsearch: no Geo: no Using LDAP: yes Using Omniauth: no
GitLab Shell Version: 4.1.1 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 >= 4.1.1 ? ... OK (4.1.1) 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: ... 3/2 ... ok 5/5 ... ok 3/8 ... ok 222/9 ... ok 3/10 ...
Possible fixes
N/A