Advertisement
t-readyroc

gitlab upgrade

Nov 10th, 2015
677
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 60.59 KB | None | 0 0
  1. The following packages will be upgraded:
  2.   gitlab-ce
  3. 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  4. Need to get 369 MB of archives.
  5. After this operation, 80.2 MB of additional disk space will be used.
  6. Do you want to continue? [Y/n] y
  7. Fetched 369 MB in 20s (17.8 MB/s)
  8. (Reading database ... 127469 files and directories currently installed.)
  9. Preparing to unpack .../gitlab-ce_8.1.3-ce.0_amd64.deb ...
  10. gitlab preinstall: Backing up GitLab SQL database (excluding Git repositories, uploads)
  11. Dumping database ...
  12. Dumping PostgreSQL database gitlabhq_production ... [DONE]
  13. Compressing database ... [DONE]
  14. done
  15. Dumping repositories ...
  16. [SKIPPED]
  17. Dumping uploads ...
  18. [SKIPPED]
  19. Creating backup archive: 1447162841_gitlab_backup.tar ... done
  20. Uploading backup archive to remote storage  ... skipped
  21. Deleting tmp directories ... done
  22. done
  23. Deleting old backups ... skipping
  24. Unpacking gitlab-ce (8.1.3-ce.0) over (7.13.5-ce.0) ...
  25. Setting up gitlab-ce (8.1.3-ce.0) ...
  26. gitlab: Thank you for installing GitLab!
  27. gitlab: To configure and start GitLab, RUN THE FOLLOWING COMMAND:
  28.  
  29. sudo gitlab-ctl reconfigure
  30.  
  31. gitlab: GitLab should be reachable at http://gitlab03.sesync.org
  32. gitlab: Otherwise configure GitLab for your system by editing /etc/gitlab/gitlab.rb file
  33. gitlab: And running reconfigure again.
  34. gitlab:
  35. gitlab: For a comprehensive list of configuration options please see the Omnibus GitLab readme
  36. gitlab: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
  37. gitlab:
  38. Shutting down all GitLab services except those needed for migrations
  39. ok: down: logrotate: 0s, normally up
  40. ok: down: nginx: 0s, normally up
  41. ok: down: postgresql: 1s, normally up
  42. ok: down: redis: 0s, normally up
  43. ok: down: sidekiq: 0s, normally up
  44. ok: down: unicorn: 0s, normally up
  45. ok: run: postgresql: (pid 1847) 0s
  46. ok: run: redis: (pid 1855) 0s
  47. run: postgresql: (pid 1847) 1s; run: log: (pid 25703) 68452s
  48. run: redis: (pid 1855) 0s; run: log: (pid 25616) 68458s
  49. Reconfiguring GitLab to apply migrations
  50. Starting Chef Client, version 12.4.1
  51. resolving cookbooks for run list: ["gitlab"]
  52. Synchronizing Cookbooks:
  53.   - package
  54.   - gitlab
  55.   - runit
  56. Compiling Cookbooks...
  57. Recipe: gitlab::default
  58.   * directory[/etc/gitlab] action create (up to date)
  59. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for directory[/var/opt/gitlab] from prior resource (CHEF-3694)
  60. [2015-11-10T08:42:14-05:00] WARN: Previous directory[/var/opt/gitlab]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:43:in `from_file'
  61. [2015-11-10T08:42:14-05:00] WARN: Current  directory[/var/opt/gitlab]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/users.rb:24:in `from_file'
  62. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for directory[/var/opt/gitlab/backups] from prior resource (CHEF-3694)
  63. [2015-11-10T08:42:14-05:00] WARN: Previous directory[/var/opt/gitlab/backups]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/gitlab-rails.rb:49:in `block in from_file'
  64. [2015-11-10T08:42:14-05:00] WARN: Current  directory[/var/opt/gitlab/backups]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/gitlab-rails.rb:56:in `from_file'
  65. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for cron[gitlab-ci schedule builds] from prior resource (CHEF-3694)
  66. [2015-11-10T08:42:14-05:00] WARN: Previous cron[gitlab-ci schedule builds]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/cron.rb:20:in `from_file'
  67. [2015-11-10T08:42:14-05:00] WARN: Current  cron[gitlab-ci schedule builds]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/cron.rb:25:in `from_file'
  68. init (upstart 1.12.1)
  69. [2015-11-10T08:42:14-05:00] WARN: Selected upstart because /sbin/init --version is showing upstart.
  70. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for directory[/etc/sysctl.d] from prior resource (CHEF-3694)
  71. [2015-11-10T08:42:14-05:00] WARN: Previous directory[/etc/sysctl.d]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:22:in `block in from_file'
  72. [2015-11-10T08:42:14-05:00] WARN: Current  directory[/etc/sysctl.d]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:22:in `block in from_file'
  73. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-postgresql.conf] from prior resource (CHEF-3694)
  74. [2015-11-10T08:42:14-05:00] WARN: Previous file[/etc/sysctl.d/90-postgresql.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  75. [2015-11-10T08:42:14-05:00] WARN: Current  file[/etc/sysctl.d/90-postgresql.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  76. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-unicorn.conf] from prior resource (CHEF-3694)
  77. [2015-11-10T08:42:14-05:00] WARN: Previous file[/etc/sysctl.d/90-unicorn.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  78. [2015-11-10T08:42:14-05:00] WARN: Current  file[/etc/sysctl.d/90-unicorn.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  79. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf] from prior resource (CHEF-3694)
  80. [2015-11-10T08:42:14-05:00] WARN: Previous file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  81. [2015-11-10T08:42:14-05:00] WARN: Current  file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  82. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-omnibus-gitlab.conf] from prior resource (CHEF-3694)
  83. [2015-11-10T08:42:14-05:00] WARN: Previous file[/etc/sysctl.d/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  84. [2015-11-10T08:42:14-05:00] WARN: Current  file[/etc/sysctl.d/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  85. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for execute[load sysctl conf] from prior resource (CHEF-3694)
  86. [2015-11-10T08:42:14-05:00] WARN: Previous execute[load sysctl conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:52:in `block in from_file'
  87. [2015-11-10T08:42:14-05:00] WARN: Current  execute[load sysctl conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:52:in `block in from_file'
  88. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for directory[/etc/sysctl.d] from prior resource (CHEF-3694)
  89. [2015-11-10T08:42:14-05:00] WARN: Previous directory[/etc/sysctl.d]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:22:in `block in from_file'
  90. [2015-11-10T08:42:14-05:00] WARN: Current  directory[/etc/sysctl.d]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:22:in `block in from_file'
  91. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-postgresql.conf] from prior resource (CHEF-3694)
  92. [2015-11-10T08:42:14-05:00] WARN: Previous file[/etc/sysctl.d/90-postgresql.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  93. [2015-11-10T08:42:14-05:00] WARN: Current  file[/etc/sysctl.d/90-postgresql.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  94. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-unicorn.conf] from prior resource (CHEF-3694)
  95. [2015-11-10T08:42:14-05:00] WARN: Previous file[/etc/sysctl.d/90-unicorn.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  96. [2015-11-10T08:42:14-05:00] WARN: Current  file[/etc/sysctl.d/90-unicorn.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  97. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf] from prior resource (CHEF-3694)
  98. [2015-11-10T08:42:14-05:00] WARN: Previous file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  99. [2015-11-10T08:42:14-05:00] WARN: Current  file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  100. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-omnibus-gitlab.conf] from prior resource (CHEF-3694)
  101. [2015-11-10T08:42:14-05:00] WARN: Previous file[/etc/sysctl.d/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  102. [2015-11-10T08:42:14-05:00] WARN: Current  file[/etc/sysctl.d/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  103. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for execute[load sysctl conf] from prior resource (CHEF-3694)
  104. [2015-11-10T08:42:14-05:00] WARN: Previous execute[load sysctl conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:52:in `block in from_file'
  105. [2015-11-10T08:42:14-05:00] WARN: Current  execute[load sysctl conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:52:in `block in from_file'
  106. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for directory[/var/opt/gitlab/gitlab-rails/etc] from prior resource (CHEF-3694)
  107. [2015-11-10T08:42:14-05:00] WARN: Previous directory[/var/opt/gitlab/gitlab-rails/etc]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/gitlab-rails.rb:49:in `block in from_file'
  108. [2015-11-10T08:42:14-05:00] WARN: Current  directory[/var/opt/gitlab/gitlab-rails/etc]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/unicorn_config.rb:21:in `block in from_file'
  109. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for service[unicorn] from prior resource (CHEF-3694)
  110. [2015-11-10T08:42:14-05:00] WARN: Previous service[unicorn]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:86:in `block in from_file'
  111. [2015-11-10T08:42:14-05:00] WARN: Current  service[unicorn]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/runit/definitions/runit_service.rb:191:in `block in from_file'
  112. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for directory[/etc/sysctl.d] from prior resource (CHEF-3694)
  113. [2015-11-10T08:42:14-05:00] WARN: Previous directory[/etc/sysctl.d]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:22:in `block in from_file'
  114. [2015-11-10T08:42:14-05:00] WARN: Current  directory[/etc/sysctl.d]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:22:in `block in from_file'
  115. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-postgresql.conf] from prior resource (CHEF-3694)
  116. [2015-11-10T08:42:14-05:00] WARN: Previous file[/etc/sysctl.d/90-postgresql.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  117. [2015-11-10T08:42:14-05:00] WARN: Current  file[/etc/sysctl.d/90-postgresql.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  118. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-unicorn.conf] from prior resource (CHEF-3694)
  119. [2015-11-10T08:42:14-05:00] WARN: Previous file[/etc/sysctl.d/90-unicorn.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  120. [2015-11-10T08:42:14-05:00] WARN: Current  file[/etc/sysctl.d/90-unicorn.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  121. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf] from prior resource (CHEF-3694)
  122. [2015-11-10T08:42:14-05:00] WARN: Previous file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  123. [2015-11-10T08:42:14-05:00] WARN: Current  file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  124. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-omnibus-gitlab.conf] from prior resource (CHEF-3694)
  125. [2015-11-10T08:42:14-05:00] WARN: Previous file[/etc/sysctl.d/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  126. [2015-11-10T08:42:14-05:00] WARN: Current  file[/etc/sysctl.d/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in `block (2 levels) in from_file'
  127. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for execute[load sysctl conf] from prior resource (CHEF-3694)
  128. [2015-11-10T08:42:14-05:00] WARN: Previous execute[load sysctl conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:52:in `block in from_file'
  129. [2015-11-10T08:42:14-05:00] WARN: Current  execute[load sysctl conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:52:in `block in from_file'
  130. [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for service[sidekiq] from prior resource (CHEF-3694)
  131. [2015-11-10T08:42:14-05:00] WARN: Previous service[sidekiq]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:86:in `block in from_file'
  132. [2015-11-10T08:42:14-05:00] WARN: Current  service[sidekiq]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/runit/definitions/runit_service.rb:191:in `block in from_file'
  133.   Converging 251 resources
  134.   * directory[/etc/gitlab] action nothing (skipped due to action :nothing)
  135.   * directory[/var/opt/gitlab] action create (up to date)
  136.   * directory[/opt/gitlab/embedded/etc] action create (up to date)
  137.   * template[/opt/gitlab/embedded/etc/gitconfig] action create
  138.     - update content in file /opt/gitlab/embedded/etc/gitconfig from a27f1a to 15d29f
  139.     --- /opt/gitlab/embedded/etc/gitconfig  2015-11-09 13:41:03.392548465 -0500
  140.     +++ /tmp/chef-rendered-template20151110-1868-13teq6s    2015-11-10 08:42:15.043532238 -0500
  141.     @@ -1,3 +1,5 @@
  142.     +[pack]
  143.     +  threads = 1
  144.      [receive]
  145.        fsckObjects = true
  146. Recipe: gitlab::web-server
  147.   * group[gitlab-www] action create (up to date)
  148.   * user[gitlab-www] action create (up to date)
  149. Recipe: gitlab::users
  150.   * directory[/var/opt/gitlab] action create (up to date)
  151.   * group[git] action create (up to date)
  152.   * user[git] action create (up to date)
  153.   * template[/var/opt/gitlab/.gitconfig] action create (up to date)
  154. Recipe: gitlab::gitlab-shell
  155.   * directory[/var/opt/gitlab/git-data/repositories] action create
  156.     - change mode from '0755' to '02770'
  157.   * directory[/var/opt/gitlab/.ssh] action create (up to date)
  158.   * file[/var/opt/gitlab/.ssh/authorized_keys] action create (up to date)
  159.   * directory[/opt/gitlab/embedded/service/gitlab-shell/hooks/] action create
  160.     - change mode from '0775' to '0755'
  161.     - change owner from 'root' to 'git'
  162.     - change group from 'root' to 'git'
  163.   * file[/opt/gitlab/embedded/service/gitlab-shell/authorized_keys.lock] action create (up to date)
  164.   * execute[chcon --recursive --type ssh_home_t /var/opt/gitlab/.ssh] action run (skipped due to only_if)
  165.   * directory[/var/log/gitlab/gitlab-shell/] action create (up to date)
  166.   * directory[/var/opt/gitlab/gitlab-shell] action create (up to date)
  167.   * directory[/var/opt/gitlab/git-data] action create (up to date)
  168.   * template[/var/opt/gitlab/gitlab-shell/config.yml] action create (up to date)
  169.   * link[/opt/gitlab/embedded/service/gitlab-shell/config.yml] action create (up to date)
  170.   * template[/var/opt/gitlab/gitlab-shell/gitlab_shell_secret] action create (up to date)
  171.   * link[/opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret] action create (up to date)
  172. Recipe: gitlab::gitlab-rails
  173.   * directory[/var/opt/gitlab/gitlab-rails/etc] action create (up to date)
  174.   * directory[/opt/gitlab/etc/gitlab-rails] action create (up to date)
  175.   * directory[/var/opt/gitlab/gitlab-rails/working] action create (up to date)
  176.   * directory[/var/opt/gitlab/gitlab-rails/tmp] action create (up to date)
  177.   * directory[/var/opt/gitlab/gitlab-ci/builds] action create
  178.     - create new directory /var/opt/gitlab/gitlab-ci/builds
  179.     - change mode from '' to '0700'
  180.     - change owner from '' to 'git'
  181.   * directory[/var/opt/gitlab/backups] action create (up to date)
  182.   * directory[/var/log/gitlab/gitlab-rails] action create (up to date)
  183.   * directory[/var/opt/gitlab/backups] action create (up to date)
  184.   * directory[/var/opt/gitlab/gitlab-rails] action create (up to date)
  185.   * directory[/var/opt/gitlab/gitlab-ci] action create
  186.     - change owner from 'root' to 'git'
  187.   * directory[/var/opt/gitlab/gitlab-rails/uploads] action create
  188.     - change mode from '0755' to '0750'
  189.     - change group from 'git' to 'gitlab-www'
  190.   * template[/opt/gitlab/etc/gitlab-rails/gitlab-rails-rc] action create (up to date)
  191.   * template[/var/opt/gitlab/gitlab-rails/config.ru] action create (up to date)
  192.   * link[/opt/gitlab/embedded/service/gitlab-rails/config.ru] action create (up to date)
  193.   * template[/var/opt/gitlab/gitlab-rails/etc/secret] action create (up to date)
  194.   * link[/opt/gitlab/embedded/service/gitlab-rails/.secret] action create (up to date)
  195.   * template[/var/opt/gitlab/gitlab-rails/etc/database.yml] action create (up to date)
  196.   * link[/opt/gitlab/embedded/service/gitlab-rails/config/database.yml] action create (up to date)
  197.   * template[/var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create
  198.     - create new file /var/opt/gitlab/gitlab-rails/etc/secrets.yml
  199.     - update content in file /var/opt/gitlab/gitlab-rails/etc/secrets.yml from none to 4303ca
  200.     --- /var/opt/gitlab/gitlab-rails/etc/secrets.yml    2015-11-10 08:42:15.291532230 -0500
  201.     +++ /tmp/chef-rendered-template20151110-1868-5jq9sw 2015-11-10 08:42:15.291532230 -0500
  202.     @@ -1 +1,8 @@
  203.     +# This file is managed by gitlab-ctl. Manual changes will be
  204.     +# erased! To change the contents below, edit /etc/gitlab/gitlab.rb
  205.     +# and run `sudo gitlab-ctl reconfigure`.
  206.     +
  207.     +production:
  208.     +  db_key_base: ccfc46f062c0d1d1ff60196b03294fb45d751119cc43cbe411ef8c38c563e7d93e7224d14a7ca812a8b1227fbbc4d765d3b1f0368f389342969c03a7326a3cc9
  209.     +  secret_key_base: ccfc46f062c0d1d1ff60196b03294fb45d751119cc43cbe411ef8c38c563e7d93e7224d14a7ca812a8b1227fbbc4d765d3b1f0368f389342969c03a7326a3cc9
  210.     - change mode from '' to '0644'
  211.     - change owner from '' to 'root'
  212.     - change group from '' to 'root'
  213.   * link[/opt/gitlab/embedded/service/gitlab-rails/config/secrets.yml] action create
  214.     - create symlink at /opt/gitlab/embedded/service/gitlab-rails/config/secrets.yml to /var/opt/gitlab/gitlab-rails/etc/secrets.yml
  215.   * template[/var/opt/gitlab/gitlab-rails/etc/resque.yml] action create (up to date)
  216.   * link[/opt/gitlab/embedded/service/gitlab-rails/config/resque.yml] action create (up to date)
  217.   * template[/var/opt/gitlab/gitlab-rails/etc/aws.yml] action delete (up to date)
  218.   * link[/opt/gitlab/embedded/service/gitlab-rails/config/aws.yml] action delete (up to date)
  219.   * template[/var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action delete (up to date)
  220.   * link[/opt/gitlab/embedded/service/gitlab-rails/config/initializers/smtp_settings.rb] action delete (up to date)
  221.   * template[/var/opt/gitlab/gitlab-rails/etc/gitlab.yml] action create
  222.     - update content in file /var/opt/gitlab/gitlab-rails/etc/gitlab.yml from 356802 to 202629
  223.     --- /var/opt/gitlab/gitlab-rails/etc/gitlab.yml 2015-11-09 14:42:16.844426070 -0500
  224.     +++ /tmp/chef-rendered-template20151110-1868-1y9newn    2015-11-10 08:42:15.315532229 -0500
  225.     @@ -78,6 +78,35 @@
  226.          # The default is 'tmp/repositories' relative to the root of the Rails app.
  227.          repository_downloads_path:
  228.      
  229.     +  ## Reply by email
  230.     +  # Allow users to comment on issues and merge requests by replying to notification emails.
  231.     +  # For documentation on how to set this up, see http://doc.gitlab.com/ce/incoming_email/README.html
  232.     +  incoming_email:
  233.     +    enabled: false
  234.     +
  235.     +    # The email address including the `%{key}` placeholder that will be replaced to reference the item being replied to.
  236.     +    # The `%{key}` placeholder is added after the user part, after a `+` character, before the `@`.
  237.     +    address:
  238.     +
  239.     +    # Email account username
  240.     +    # With third party providers, this is usually the full email address.
  241.     +    # With self-hosted email servers, this is usually the user part of the email address.
  242.     +    user:
  243.     +    # Email account password
  244.     +    password:
  245.     +
  246.     +    # IMAP server host
  247.     +    host:
  248.     +    # IMAP server port
  249.     +    port:
  250.     +    # Whether the IMAP server uses SSL
  251.     +    ssl:
  252.     +    # Whether the IMAP server uses StartTLS
  253.     +    start_tls:
  254.     +
  255.     +    # The mailbox where incoming mail will end up. Usually "inbox".
  256.     +    mailbox:
  257.     +
  258.        ## Gravatar
  259.        ## For Libravatar see: http://doc.gitlab.com/ce/customization/libravatar.html
  260.        gravatar:
  261.     @@ -86,9 +115,25 @@
  262.          ssl_url:       # default: https://secure.gravatar.com/avatar/%{hash}?s=%{size}&d=identicon
  263.      
  264.        #
  265.     -  # 2. Auth settings
  266.     +  # 2. GitLab CI settings
  267.        # ==========================
  268.      
  269.     +  gitlab_ci:
  270.     +    # Default project notifications settings:
  271.     +    #
  272.     +    # Send emails only on broken builds (default: true)
  273.     +    all_broken_builds:
  274.     +    #
  275.     +    # Add pusher to recipients list (default: false)
  276.     +    add_pusher:
  277.     +
  278.     +    # The location where build traces are stored (default: builds/). Relative paths are relative to Rails.root
  279.     +    builds_path: /var/opt/gitlab/gitlab-ci/builds
  280.     +
  281.     +  #
  282.     +  # 3. Auth settings
  283.     +  # ==========================
  284.     +
  285.        ## LDAP settings
  286.        # You can inspect a sample of the LDAP users with login access by running:
  287.        #   bundle exec rake gitlab:ldap:check RAILS_ENV=production
  288.     @@ -97,6 +142,29 @@
  289.          servers:
  290.            main: {"label":"SESYNC","host":"ldap-ad.sesync.org","port":3268,"uid":"sAMAccountName","method":"plain","bind_dn":"CN=Ldap Bind,OU=Staff,OU=SESYNC,DC=sesync,DC=org","password":"","active_directory":true,"allow_username_or_email_login":true,"block_auto_created_users":false,"base":"","user_filter":""}
  291.      
  292.     +  ## Kerberos settings
  293.     +  kerberos:
  294.     +    # Allow the HTTP Negotiate authentication method for Git clients
  295.     +    enabled:
  296.     +
  297.     +    # Kerberos 5 keytab file. The keytab file must be readable by the GitLab user,
  298.     +    # and should be different from other keytabs in the system.
  299.     +    # (default: use default keytab from Krb5 config)
  300.     +    keytab:
  301.     +
  302.     +    # The Kerberos service name to be used by GitLab.
  303.     +    # (default: accept any service name in keytab file)
  304.     +    service_principal_name:
  305.     +
  306.     +    # Dedicated port: Git before 2.4 does not fall back to Basic authentication if Negotiate fails.
  307.     +    # To support both Basic and Negotiate methods with older versions of Git, configure
  308.     +    # nginx to proxy GitLab on an extra port (e.g. 8443) and uncomment the following lines
  309.     +    # to dedicate this port to Kerberos authentication. (default: false)
  310.     +    use_dedicated_port:
  311.     +    port:
  312.     +    https:
  313.     +
  314.     +
  315.        ## OmniAuth settings
  316.        omniauth:
  317.          # Allow login via Twitter, Google, etc. using OmniAuth providers
  318.     @@ -137,10 +205,13 @@
  319.      
  320.      
  321.        #
  322.     -  # 3. Advanced settings
  323.     +  # 4. Advanced settings
  324.        # ==========================
  325.      
  326.        # GitLab Satellites
  327.     +  # Important: keep the satellites.path setting until GitLab 9.0 at
  328.     +  # least. This setting is fed to 'rm -rf' in
  329.     +  # db/migrate/20151023144219_remove_satellites.rb
  330.        satellites:
  331.          # Relative paths are relative to Rails.root (default: tmp/repo_satellites/)
  332.          path: /var/opt/gitlab/git-data/gitlab-satellites
  333.     @@ -149,13 +220,16 @@
  334.        ## Backup settings
  335.        backup:
  336.          path: "/var/opt/gitlab/backups"   # Relative paths are relative to Rails.root (default: tmp/backups/)
  337.     +    archive_permissions:  # Permissions for the resulting backup.tar file (default: 0600)
  338.          keep_time:    # default: 0 (forever) (in seconds)
  339.     +    pg_schema:    # default: nil, it means that all schemas will be backed up
  340.          upload:
  341.            # Fog storage connection settings, see http://fog.io/storage/ .
  342.            connection:
  343.            # The remote 'directory' to store your backups. For S3, this would be the bucket name.
  344.            remote_directory:
  345.            multipart_chunk_size:
  346.     +      encryption:
  347.      
  348.        ## GitLab Shell settings
  349.        gitlab_shell:
  350.     @@ -185,11 +259,10 @@
  351.          timeout:
  352.      
  353.        #
  354.     -  # 4. Extra customization
  355.     +  # 5. Extra customization
  356.        # ==========================
  357.      
  358.        extra:
  359.     -
  360.      
  361.      
  362.          rack_attack:
  363.   * link[/opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml] action create (up to date)
  364.   * template[/var/opt/gitlab/gitlab-rails/etc/rack_attack.rb] action create (up to date)
  365.   * link[/opt/gitlab/embedded/service/gitlab-rails/config/initializers/rack_attack.rb] action create (up to date)
  366.   * link[/opt/gitlab/embedded/service/gitlab-rails/.gitlab_shell_secret] action create (up to date)
  367.   * directory[/opt/gitlab/etc/gitlab-rails/env] action create (up to date)
  368.   * file[/opt/gitlab/etc/gitlab-rails/env/HOME] action create (up to date)
  369.   * file[/opt/gitlab/etc/gitlab-rails/env/RAILS_ENV] action create (up to date)
  370.   * file[/opt/gitlab/etc/gitlab-rails/env/SIDEKIQ_MEMORY_KILLER_MAX_RSS] action create (up to date)
  371.   * file[/opt/gitlab/etc/gitlab-rails/env/BUNDLE_GEMFILE] action create (up to date)
  372.   * file[/opt/gitlab/etc/gitlab-rails/env/PATH] action create (up to date)
  373.   * link[/opt/gitlab/embedded/service/gitlab-rails/tmp] action create (up to date)
  374.   * link[/opt/gitlab/embedded/service/gitlab-rails/public/uploads] action create (up to date)
  375.   * link[/opt/gitlab/embedded/service/gitlab-rails/log] action create (up to date)
  376.   * link[/var/log/gitlab/gitlab-rails/sidekiq.log] action create (skipped due to not_if)
  377.   * file[/opt/gitlab/embedded/service/gitlab-rails/db/schema.rb] action create
  378.     - change owner from 'root' to 'git'
  379.   * remote_file[/var/opt/gitlab/gitlab-rails/VERSION] action create
  380.     - update content in file /var/opt/gitlab/gitlab-rails/VERSION from 663ac2 to f4784d
  381.     --- /var/opt/gitlab/gitlab-rails/VERSION    2015-11-09 13:41:04.340548434 -0500
  382.     +++ /var/opt/gitlab/gitlab-rails/.VERSION20151110-1868-ymjxdt   2015-11-10 08:42:15.399532226 -0500
  383.     @@ -1,2 +1,2 @@
  384.     -7.13.5
  385.     +8.1.3
  386.   * execute[chown -R root:root /opt/gitlab/embedded/service/gitlab-rails/public] action run
  387.     - execute chown -R root:root /opt/gitlab/embedded/service/gitlab-rails/public
  388.   * execute[clear the gitlab-rails cache] action nothing (skipped due to action :nothing)
  389. Recipe: gitlab::gitlab-ci_disable
  390.   * template[/var/opt/gitlab/nginx/conf/gitlab-ci-http.conf] action delete (up to date)
  391. Recipe: gitlab::cron
  392.   * cron[gitlab-ci schedule builds] action delete (up to date)
  393.   * cron[gitlab-ci schedule builds] action delete (up to date)
  394. Recipe: gitlab::default
  395.   * service[unicorn] action nothing (skipped due to action :nothing)
  396.   * service[ci-unicorn] action nothing (skipped due to action :nothing)
  397.   * service[sidekiq] action nothing (skipped due to action :nothing)
  398.   * service[ci-sidekiq] action nothing (skipped due to action :nothing)
  399. Recipe: runit::upstart
  400.   * cookbook_file[/etc/init/gitlab-runsvdir.conf] action create (up to date)
  401.   * execute[initctl reload-configuration] action run
  402.     - execute initctl reload-configuration
  403.   * execute[initctl status gitlab-runsvdir] action run
  404.     - execute initctl status gitlab-runsvdir
  405.   * execute[initctl start gitlab-runsvdir] action run (skipped due to only_if)
  406. Recipe: gitlab::redis
  407.   * group[gitlab-redis] action create (up to date)
  408.   * user[gitlab-redis] action create (up to date)
  409.   * directory[/var/opt/gitlab/redis] action create (up to date)
  410.   * directory[/var/log/gitlab/redis] action create (up to date)
  411.   * template[/var/opt/gitlab/redis/redis.conf] action create (up to date)
  412.   * directory[/opt/gitlab/sv/redis] action create (up to date)
  413.   * directory[/opt/gitlab/sv/redis/log] action create (up to date)
  414.   * directory[/opt/gitlab/sv/redis/log/main] action create (up to date)
  415.   * template[/opt/gitlab/sv/redis/run] action create (up to date)
  416.   * template[/opt/gitlab/sv/redis/log/run] action create (up to date)
  417.   * template[/var/log/gitlab/redis/config] action create (up to date)
  418.   * ruby_block[reload redis svlogd configuration] action nothing (skipped due to action :nothing)
  419.   * file[/opt/gitlab/sv/redis/down] action delete (up to date)
  420.   * link[/opt/gitlab/init/redis] action create (up to date)
  421.   * link[/opt/gitlab/service/redis] action create (up to date)
  422.   * ruby_block[supervise_redis_sleep] action run (skipped due to not_if)
  423.   * service[redis] action nothing (skipped due to action :nothing)
  424. Recipe: gitlab::postgresql
  425.   * group[gitlab-psql] action create (up to date)
  426.   * user[gitlab-psql] action create (up to date)
  427.   * directory[/var/opt/gitlab/postgresql] action create (up to date)
  428.   * directory[/var/opt/gitlab/postgresql/data] action create (up to date)
  429.   * directory[/var/log/gitlab/postgresql] action create (up to date)
  430.   * link[/var/opt/gitlab/postgresql/data] action create (skipped due to not_if)
  431.   * file[/var/opt/gitlab/postgresql/.profile] action create (up to date)
  432.   * directory[/etc/sysctl.d] action create (up to date)
  433.   * file[/opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf] action create
  434.     - create new file /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf
  435.     - update content in file /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf from none to 75a195
  436.     --- /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf   2015-11-10 08:42:15.827532212 -0500
  437.     +++ /opt/gitlab/embedded/etc/.90-omnibus-gitlab-kernel.shmmax.conf20151110-1868-1ss3zql 2015-11-10 08:42:15.827532212 -0500
  438.     @@ -1 +1,2 @@
  439.     +kernel.shmmax = 17179869184
  440. Recipe: gitlab::unicorn
  441.   * execute[load sysctl conf] action run
  442.     - execute cat /etc/sysctl.conf /etc/sysctl.d/*.conf  | sysctl -e -p -
  443. Recipe: gitlab::postgresql
  444.   * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf] action create
  445.     - create symlink at /etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf to /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf
  446.   * file[/etc/sysctl.d/90-postgresql.conf] action delete
  447.     - delete file /etc/sysctl.d/90-postgresql.conf
  448.   * file[/etc/sysctl.d/90-unicorn.conf] action delete
  449.     - delete file /etc/sysctl.d/90-unicorn.conf
  450.   * file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf] action delete (skipped due to only_if)
  451.   * file[/etc/sysctl.d/90-omnibus-gitlab.conf] action delete (skipped due to only_if)
  452.   * execute[load sysctl conf] action nothing (skipped due to action :nothing)
  453.   * directory[/etc/sysctl.d] action create (up to date)
  454.   * file[/opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmall.conf] action create
  455.     - create new file /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmall.conf
  456.     - update content in file /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmall.conf from none to 6d765d
  457.     --- /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmall.conf   2015-11-10 08:42:15.883532210 -0500
  458.     +++ /opt/gitlab/embedded/etc/.90-omnibus-gitlab-kernel.shmall.conf20151110-1868-1sa5h93 2015-11-10 08:42:15.883532210 -0500
  459.     @@ -1 +1,2 @@
  460.     +kernel.shmall = 4194304
  461. Recipe: gitlab::unicorn
  462.   * execute[load sysctl conf] action run
  463.     - execute cat /etc/sysctl.conf /etc/sysctl.d/*.conf  | sysctl -e -p -
  464. Recipe: gitlab::postgresql
  465.   * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmall.conf] action create
  466.     - create symlink at /etc/sysctl.d/90-omnibus-gitlab-kernel.shmall.conf to /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmall.conf
  467.   * file[/etc/sysctl.d/90-postgresql.conf] action delete (skipped due to only_if)
  468.   * file[/etc/sysctl.d/90-unicorn.conf] action delete (skipped due to only_if)
  469.   * file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf] action delete (skipped due to only_if)
  470.   * file[/etc/sysctl.d/90-omnibus-gitlab.conf] action delete (skipped due to only_if)
  471.   * execute[load sysctl conf] action nothing (skipped due to action :nothing)
  472.   * directory[/etc/sysctl.d] action create (up to date)
  473.   * file[/opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.sem.conf] action create
  474.     - create new file /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.sem.conf
  475.     - update content in file /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.sem.conf from none to 09a346
  476.     --- /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.sem.conf  2015-11-10 08:42:15.923532209 -0500
  477.     +++ /opt/gitlab/embedded/etc/.90-omnibus-gitlab-kernel.sem.conf20151110-1868-1o0vdy3    2015-11-10 08:42:15.923532209 -0500
  478.     @@ -1 +1,2 @@
  479.     +kernel.sem = 250 32000 32 262
  480. Recipe: gitlab::unicorn
  481.   * execute[load sysctl conf] action run
  482.     - execute cat /etc/sysctl.conf /etc/sysctl.d/*.conf  | sysctl -e -p -
  483. Recipe: gitlab::postgresql
  484.   * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.sem.conf] action create
  485.     - create symlink at /etc/sysctl.d/90-omnibus-gitlab-kernel.sem.conf to /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.sem.conf
  486.   * file[/etc/sysctl.d/90-postgresql.conf] action delete (skipped due to only_if)
  487.   * file[/etc/sysctl.d/90-unicorn.conf] action delete (skipped due to only_if)
  488.   * file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf] action delete (skipped due to only_if)
  489.   * file[/etc/sysctl.d/90-omnibus-gitlab.conf] action delete (skipped due to only_if)
  490.   * execute[load sysctl conf] action nothing (skipped due to action :nothing)
  491.   * execute[/opt/gitlab/embedded/bin/initdb -D /var/opt/gitlab/postgresql/data -E UTF8] action run (skipped due to not_if)
  492.   * template[/var/opt/gitlab/postgresql/data/postgresql.conf] action create
  493.     - update content in file /var/opt/gitlab/postgresql/data/postgresql.conf from 4ae1dd to 595607
  494.     --- /var/opt/gitlab/postgresql/data/postgresql.conf 2015-11-09 13:41:12.616548158 -0500
  495.     +++ /tmp/chef-rendered-template20151110-1868-52hnnp 2015-11-10 08:42:15.955532208 -0500
  496.     @@ -154,7 +154,7 @@
  497.      
  498.      # - Settings -
  499.      
  500.     -#wal_level = minimal      # minimal, archive, or hot_standby
  501.     +wal_level = minimal
  502.                # (change requires restart)
  503.      #fsync = on       # turns forced synchronization on or off
  504.      #synchronous_commit = on    # synchronization level; on, off, or local
  505.     @@ -175,7 +175,7 @@
  506.      
  507.      # - Checkpoints -
  508.      
  509.     -checkpoint_segments =  10      # in logfile segments, min 1, 16MB each, default 3
  510.     +checkpoint_segments = 10       # in logfile segments, min 1, 16MB each, default 3
  511.      checkpoint_timeout = 5min      # range 30s-1h, default 5min
  512.      checkpoint_completion_target = 0.9 # checkpoint target duration, 0.0 - 1.0, default 0.5
  513.      checkpoint_warning = 30s       # 0 disables, default 30s
  514.     @@ -197,10 +197,10 @@
  515.      
  516.      # These settings are ignored on a standby server
  517.      
  518.     -#max_wal_senders = 0    # max number of walsender processes
  519.     +max_wal_senders = 0
  520.              # (change requires restart)
  521.      #wal_sender_delay = 1s    # walsender cycle time, 1-10000 milliseconds
  522.     -#wal_keep_segments = 0    # in logfile segments, 16MB each; 0 disables
  523.     +wal_keep_segments = 10
  524.      #vacuum_defer_cleanup_age = 0 # number of xacts by which cleanup is delayed
  525.      #replication_timeout = 60s  # in milliseconds; 0 disables
  526.      #synchronous_standby_names = '' # standby servers that provide sync rep
  527.     @@ -211,7 +211,7 @@
  528.      
  529.      # These settings are ignored on a master server
  530.      
  531.     -#hot_standby = off      # "on" allows queries during recovery
  532.     +hot_standby = off
  533.                # (change requires restart)
  534.      #max_standby_archive_delay = 30s  # max delay before canceling queries
  535.                # when reading WAL from archive;
  536.     @@ -360,7 +360,7 @@
  537.                #   fatal
  538.                #   panic (effectively off)
  539.      
  540.     -#log_min_duration_statement = -1  # -1 is disabled, 0 logs all statements
  541.     +log_min_duration_statement = -1  # -1 is disabled, 0 logs all statements
  542.                # and their durations, > 0 logs only
  543.                # statements running at least this number
  544.                # of milliseconds
  545.   * service[postgresql] action restart
  546.     - restart service service[postgresql]
  547.   * template[/var/opt/gitlab/postgresql/data/pg_hba.conf] action create (up to date)
  548.   * template[/var/opt/gitlab/postgresql/data/pg_ident.conf] action create
  549.     - update content in file /var/opt/gitlab/postgresql/data/pg_ident.conf from 5b3bd4 to da3268
  550.     --- /var/opt/gitlab/postgresql/data/pg_ident.conf   2015-11-09 13:41:12.816548151 -0500
  551.     +++ /tmp/chef-rendered-template20151110-1868-px38hr 2015-11-10 08:42:16.459532191 -0500
  552.     @@ -42,6 +42,7 @@
  553.      # MAPNAME       SYSTEM-USERNAME         PG-USERNAME
  554.      gitlab  git  gitlab
  555.      gitlab  gitlab-ci  gitlab_ci
  556.     +gitlab  mattermost  gitlab_mattermost
  557.      # Default to a 1-1 mapping between system usernames and Postgres usernames
  558.      gitlab  /^(.*)$  \1
  559.   * directory[/opt/gitlab/sv/postgresql] action create (up to date)
  560.   * directory[/opt/gitlab/sv/postgresql/log] action create (up to date)
  561.   * directory[/opt/gitlab/sv/postgresql/log/main] action create (up to date)
  562.   * template[/opt/gitlab/sv/postgresql/run] action create (up to date)
  563.   * template[/opt/gitlab/sv/postgresql/log/run] action create (up to date)
  564.   * template[/var/log/gitlab/postgresql/config] action create (up to date)
  565.   * ruby_block[reload postgresql svlogd configuration] action nothing (skipped due to action :nothing)
  566.   * file[/opt/gitlab/sv/postgresql/down] action delete (up to date)
  567.   * directory[/opt/gitlab/sv/postgresql/control] action create (up to date)
  568.   * template[/opt/gitlab/sv/postgresql/control/t] action create (up to date)
  569.   * link[/opt/gitlab/init/postgresql] action create (up to date)
  570.   * link[/opt/gitlab/service/postgresql] action create (up to date)
  571.   * ruby_block[supervise_postgresql_sleep] action run (skipped due to not_if)
  572.   * service[postgresql] action nothing (skipped due to action :nothing)
  573.   * execute[create gitlab database user] action run (skipped due to not_if)
  574.   * execute[create gitlabhq_production database] action run (skipped due to not_if)
  575.   * execute[create gitlab_replicator replication user] action run
  576.     - execute /opt/gitlab/embedded/bin/psql --port 5432 -h /var/opt/gitlab/postgresql -d template1 -c "CREATE USER gitlab_replicator REPLICATION"
  577. Recipe: gitlab::unicorn
  578.   * directory[/var/log/gitlab/unicorn] action create (up to date)
  579.   * directory[/opt/gitlab/var/unicorn] action create (up to date)
  580.   * directory[/var/opt/gitlab/gitlab-rails/sockets] action create (up to date)
  581.   * directory[/var/opt/gitlab/gitlab-rails/etc] action create (up to date)
  582.   * template[/var/opt/gitlab/gitlab-rails/etc/unicorn.rb] action create (up to date)
  583.   * directory[/opt/gitlab/sv/unicorn] action create (up to date)
  584.   * directory[/opt/gitlab/sv/unicorn/log] action create (up to date)
  585.   * directory[/opt/gitlab/sv/unicorn/log/main] action create (up to date)
  586.   * template[/opt/gitlab/sv/unicorn/run] action create (up to date)
  587.   * template[/opt/gitlab/sv/unicorn/log/run] action create (up to date)
  588.   * template[/var/log/gitlab/unicorn/config] action create (up to date)
  589.   * ruby_block[reload unicorn svlogd configuration] action nothing (skipped due to action :nothing)
  590.   * file[/opt/gitlab/sv/unicorn/down] action delete (up to date)
  591.   * directory[/opt/gitlab/sv/unicorn/control] action create
  592.     - create new directory /opt/gitlab/sv/unicorn/control
  593.     - change mode from '' to '0755'
  594.     - change owner from '' to 'root'
  595.     - change group from '' to 'root'
  596.   * template[/opt/gitlab/sv/unicorn/control/t] action create
  597.     - create new file /opt/gitlab/sv/unicorn/control/t
  598.     - update content in file /opt/gitlab/sv/unicorn/control/t from none to 84b233
  599.     --- /opt/gitlab/sv/unicorn/control/t    2015-11-10 08:42:16.915532176 -0500
  600.     +++ /tmp/chef-rendered-template20151110-1868-3aq3wb 2015-11-10 08:42:16.915532176 -0500
  601.     @@ -1 +1,4 @@
  602.     +#!/bin/sh
  603.     +echo "Received TERM from runit, sending to process group (-PID)"
  604.     +kill -- -$(cat /opt/gitlab/service/unicorn/supervise/pid)
  605.     - change mode from '' to '0755'
  606.     - change owner from '' to 'root'
  607.     - change group from '' to 'root'
  608.   * link[/opt/gitlab/init/unicorn] action create (up to date)
  609.   * link[/opt/gitlab/service/unicorn] action create (up to date)
  610.   * ruby_block[supervise_unicorn_sleep] action run (skipped due to not_if)
  611.   * service[unicorn] action nothing (skipped due to action :nothing)
  612.   * directory[/etc/sysctl.d] action create (up to date)
  613.   * file[/opt/gitlab/embedded/etc/90-omnibus-gitlab-net.core.somaxconn.conf] action create
  614.     - create new file /opt/gitlab/embedded/etc/90-omnibus-gitlab-net.core.somaxconn.conf
  615.     - update content in file /opt/gitlab/embedded/etc/90-omnibus-gitlab-net.core.somaxconn.conf from none to 353a75
  616.     --- /opt/gitlab/embedded/etc/90-omnibus-gitlab-net.core.somaxconn.conf  2015-11-10 08:42:16.927532175 -0500
  617.     +++ /opt/gitlab/embedded/etc/.90-omnibus-gitlab-net.core.somaxconn.conf20151110-1868-7t4sg5 2015-11-10 08:42:16.927532175 -0500
  618.     @@ -1 +1,2 @@
  619.     +net.core.somaxconn = 1024
  620.   * execute[load sysctl conf] action run
  621.     - execute cat /etc/sysctl.conf /etc/sysctl.d/*.conf  | sysctl -e -p -
  622.   * link[/etc/sysctl.d/90-omnibus-gitlab-net.core.somaxconn.conf] action create
  623.     - create symlink at /etc/sysctl.d/90-omnibus-gitlab-net.core.somaxconn.conf to /opt/gitlab/embedded/etc/90-omnibus-gitlab-net.core.somaxconn.conf
  624.   * file[/etc/sysctl.d/90-postgresql.conf] action delete (skipped due to only_if)
  625.   * file[/etc/sysctl.d/90-unicorn.conf] action delete (skipped due to only_if)
  626.   * file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf] action delete (skipped due to only_if)
  627.   * file[/etc/sysctl.d/90-omnibus-gitlab.conf] action delete (skipped due to only_if)
  628.   * execute[load sysctl conf] action nothing (skipped due to action :nothing)
  629. Recipe: gitlab::sidekiq
  630.   * directory[/var/log/gitlab/sidekiq] action create (up to date)
  631.   * directory[/opt/gitlab/sv/sidekiq] action create (up to date)
  632.   * directory[/opt/gitlab/sv/sidekiq/log] action create (up to date)
  633.   * directory[/opt/gitlab/sv/sidekiq/log/main] action create (up to date)
  634.   * template[/opt/gitlab/sv/sidekiq/run] action create
  635.     - update content in file /opt/gitlab/sv/sidekiq/run from 7ddbb3 to af08d9
  636.     --- /opt/gitlab/sv/sidekiq/run  2015-11-09 13:41:28.908547615 -0500
  637.     +++ /tmp/chef-rendered-template20151110-1868-bedo7s 2015-11-10 08:42:16.983532173 -0500
  638.     @@ -13,6 +13,7 @@
  639.          -q system_hook \
  640.          -q project_web_hook \
  641.          -q gitlab_shell \
  642.     +    -q incoming_email \
  643.          -q common \
  644.          -q default \
  645.          -e production \
  646.   * template[/opt/gitlab/sv/sidekiq/log/run] action create (up to date)
  647.   * template[/var/log/gitlab/sidekiq/config] action create (up to date)
  648.   * ruby_block[reload sidekiq svlogd configuration] action nothing (skipped due to action :nothing)
  649.   * file[/opt/gitlab/sv/sidekiq/down] action delete (up to date)
  650.   * link[/opt/gitlab/init/sidekiq] action create (up to date)
  651.   * link[/opt/gitlab/service/sidekiq] action create (up to date)
  652.   * ruby_block[supervise_sidekiq_sleep] action run (skipped due to not_if)
  653.   * service[sidekiq] action nothing (skipped due to action :nothing)
  654. Recipe: gitlab::gitlab-git-http-server
  655.   * directory[/var/opt/gitlab/gitlab-git-http-server] action create
  656.     - create new directory /var/opt/gitlab/gitlab-git-http-server
  657.     - change mode from '' to '0750'
  658.     - change owner from '' to 'git'
  659.     - change group from '' to 'gitlab-www'
  660.   * directory[/var/log/gitlab/gitlab-git-http-server] action create
  661.     - create new directory /var/log/gitlab/gitlab-git-http-server
  662.     - change mode from '' to '0700'
  663.     - change owner from '' to 'git'
  664.   * directory[/opt/gitlab/sv/gitlab-git-http-server] action create
  665.     - create new directory /opt/gitlab/sv/gitlab-git-http-server
  666.     - change mode from '' to '0755'
  667.     - change owner from '' to 'root'
  668.     - change group from '' to 'root'
  669.   * directory[/opt/gitlab/sv/gitlab-git-http-server/log] action create
  670.     - create new directory /opt/gitlab/sv/gitlab-git-http-server/log
  671.     - change mode from '' to '0755'
  672.     - change owner from '' to 'root'
  673.     - change group from '' to 'root'
  674.   * directory[/opt/gitlab/sv/gitlab-git-http-server/log/main] action create
  675.     - create new directory /opt/gitlab/sv/gitlab-git-http-server/log/main
  676.     - change mode from '' to '0755'
  677.     - change owner from '' to 'root'
  678.     - change group from '' to 'root'
  679.   * template[/opt/gitlab/sv/gitlab-git-http-server/run] action create
  680.     - create new file /opt/gitlab/sv/gitlab-git-http-server/run
  681.     - update content in file /opt/gitlab/sv/gitlab-git-http-server/run from none to 4630cc
  682.     --- /opt/gitlab/sv/gitlab-git-http-server/run   2015-11-10 08:42:17.063532171 -0500
  683.     +++ /tmp/chef-rendered-template20151110-1868-qgny9p 2015-11-10 08:42:17.063532171 -0500
  684.     @@ -1 +1,22 @@
  685.     +#!/bin/sh
  686.     +set -e # fail on errors
  687.     +
  688.     +# Redirect stderr -> stdout
  689.     +exec 2>&1
  690.     +
  691.     +
  692.     +
  693.     +cd /var/opt/gitlab/gitlab-git-http-server
  694.     +
  695.     +exec chpst -P \
  696.     +  -U git \
  697.     +  -u git \
  698.     +  /usr/bin/env \
  699.     +    PATH=/opt/gitlab/bin:/opt/gitlab/embedded/bin:/usr/local/bin:/usr/bin:/bin \
  700.     +    /opt/gitlab/embedded/bin/gitlab-git-http-server \
  701.     +      -listenNetwork unix \
  702.     +      -listenUmask 0 \
  703.     +      -listenAddr /var/opt/gitlab/gitlab-git-http-server/socket \
  704.     +      -authBackend http://127.0.0.1:8080 \
  705.     +      -pprofListenAddr ''
  706.     - change mode from '' to '0755'
  707.     - change owner from '' to 'root'
  708.     - change group from '' to 'root'
  709.   * template[/opt/gitlab/sv/gitlab-git-http-server/log/run] action create
  710.     - create new file /opt/gitlab/sv/gitlab-git-http-server/log/run
  711.     - update content in file /opt/gitlab/sv/gitlab-git-http-server/log/run from none to 7a2945
  712.     --- /opt/gitlab/sv/gitlab-git-http-server/log/run   2015-11-10 08:42:17.091532170 -0500
  713.     +++ /tmp/chef-rendered-template20151110-1868-drndi5 2015-11-10 08:42:17.087532170 -0500
  714.     @@ -1 +1,3 @@
  715.     +#!/bin/sh
  716.     +exec svlogd -tt /var/log/gitlab/gitlab-git-http-server
  717.     - change mode from '' to '0755'
  718.     - change owner from '' to 'root'
  719.     - change group from '' to 'root'
  720.   * template[/var/log/gitlab/gitlab-git-http-server/config] action create
  721.     - create new file /var/log/gitlab/gitlab-git-http-server/config
  722.     - update content in file /var/log/gitlab/gitlab-git-http-server/config from none to 623c00
  723.     --- /var/log/gitlab/gitlab-git-http-server/config   2015-11-10 08:42:17.103532169 -0500
  724.     +++ /tmp/chef-rendered-template20151110-1868-lxmpiz 2015-11-10 08:42:17.103532169 -0500
  725.     @@ -1 +1,7 @@
  726.     +s209715200
  727.     +n30
  728.     +t86400
  729.     +!gzip
  730.     +
  731.     +
  732.     - change owner from '' to 'root'
  733.     - change group from '' to 'root'
  734.   * ruby_block[reload gitlab-git-http-server svlogd configuration] action nothing (skipped due to action :nothing)
  735.   * file[/opt/gitlab/sv/gitlab-git-http-server/down] action delete (up to date)
  736.   * link[/opt/gitlab/init/gitlab-git-http-server] action create
  737.     - create symlink at /opt/gitlab/init/gitlab-git-http-server to /opt/gitlab/embedded/bin/sv
  738.   * link[/opt/gitlab/service/gitlab-git-http-server] action create
  739.     - create symlink at /opt/gitlab/service/gitlab-git-http-server to /opt/gitlab/sv/gitlab-git-http-server
  740.   * ruby_block[supervise_gitlab-git-http-server_sleep] action run
  741.     - execute the ruby block supervise_gitlab-git-http-server_sleep
  742.   * service[gitlab-git-http-server] action nothing (skipped due to action :nothing)
  743.   * file[/var/opt/gitlab/gitlab-git-http-server/VERSION] action create
  744.     - create new file /var/opt/gitlab/gitlab-git-http-server/VERSION
  745.     - update content in file /var/opt/gitlab/gitlab-git-http-server/VERSION from none to 2a8d75
  746.     --- /var/opt/gitlab/gitlab-git-http-server/VERSION  2015-11-10 08:42:19.123532102 -0500
  747.     +++ /var/opt/gitlab/gitlab-git-http-server/.VERSION20151110-1868-1xs7fab    2015-11-10 08:42:19.123532102 -0500
  748.     @@ -1 +1,2 @@
  749.     +gitlab-git-http-server 0.3.0-20151106.111650
  750. Recipe: gitlab::nginx
  751.   * directory[/var/opt/gitlab/nginx] action create (up to date)
  752.   * directory[/var/opt/gitlab/nginx/conf] action create (up to date)
  753.   * directory[/var/log/gitlab/nginx] action create (up to date)
  754.   * link[/var/opt/gitlab/nginx/logs] action create (up to date)
  755.   * template[/var/opt/gitlab/nginx/conf/gitlab-http.conf] action create
  756.     - update content in file /var/opt/gitlab/nginx/conf/gitlab-http.conf from 1ebcb3 to 23992d
  757.     --- /var/opt/gitlab/nginx/conf/gitlab-http.conf 2015-11-09 13:41:34.276547436 -0500
  758.     +++ /tmp/chef-rendered-template20151110-1868-17fzfev    2015-11-10 08:42:19.151532101 -0500
  759.     @@ -34,9 +34,15 @@
  760.        server unix:/var/opt/gitlab/gitlab-rails/sockets/gitlab.socket fail_timeout=0;
  761.      }
  762.      
  763.     +upstream gitlab-git-http-server {
  764.     +  server unix:/var/opt/gitlab/gitlab-git-http-server/socket;
  765.     +}
  766.      
  767.     +
  768.      server {
  769.        listen *:80;
  770.     +
  771.     +
  772.        server_name gitlab03.sesync.org;
  773.        server_tokens off; ## Don't show the nginx version number, a security best practice
  774.        root /opt/gitlab/embedded/service/gitlab-rails/public;
  775.     @@ -47,7 +53,7 @@
  776.      
  777.      
  778.        ## Individual nginx logs for this GitLab vhost
  779.     -  access_log  /var/log/gitlab/nginx/gitlab_access.log;
  780.     +  access_log  /var/log/gitlab/nginx/gitlab_access.log gitlab_access;
  781.        error_log   /var/log/gitlab/nginx/gitlab_error.log;
  782.      
  783.        location / {
  784.     @@ -70,7 +76,7 @@
  785.          proxy_set_header    Host                $http_host;
  786.          proxy_set_header    X-Real-IP           $remote_addr;
  787.          proxy_set_header    X-Forwarded-For     $proxy_add_x_forwarded_for;
  788.     -    proxy_set_header    X-Forwarded-Proto   $scheme;
  789.     +    proxy_set_header    X-Forwarded-Proto   http;
  790.          proxy_set_header    X-Frame-Options     SAMEORIGIN;
  791.      
  792.          proxy_pass http://gitlab;
  793.     @@ -92,10 +98,47 @@
  794.          proxy_set_header    Host                $http_host;
  795.          proxy_set_header    X-Real-IP           $remote_addr;
  796.          proxy_set_header    X-Forwarded-For     $proxy_add_x_forwarded_for;
  797.     -    proxy_set_header    X-Forwarded-Proto   $scheme;
  798.     +    proxy_set_header    X-Forwarded-Proto   http;
  799.          proxy_set_header    X-Frame-Options     SAMEORIGIN;
  800.      
  801.          proxy_pass http://gitlab;
  802.     +  }
  803.     +
  804.     +  location ~ ^/[\w\.-]+/[\w\.-]+/(info/refs|git-upload-pack|git-receive-pack)$ {
  805.     +    # 'Error' 418 is a hack to re-use the @gitlab-git-http-server block
  806.     +    error_page 418 = @gitlab-git-http-server;
  807.     +    return 418;
  808.     +  }
  809.     +
  810.     +  location ~ ^/[\w\.-]+/[\w\.-]+/repository/archive {
  811.     +    # 'Error' 418 is a hack to re-use the @gitlab-git-http-server block
  812.     +    error_page 418 = @gitlab-git-http-server;
  813.     +    return 418;
  814.     +  }
  815.     +
  816.     +  location ~ ^/api/v3/projects/.*/repository/archive {
  817.     +    # 'Error' 418 is a hack to re-use the @gitlab-git-http-server block
  818.     +    error_page 418 = @gitlab-git-http-server;
  819.     +    return 418;
  820.     +  }
  821.     +
  822.     +  location @gitlab-git-http-server {
  823.     +    ## If you use HTTPS make sure you disable gzip compression
  824.     +    ## to be safe against BREACH attack.
  825.     +    
  826.     +
  827.     +    ## https://github.com/gitlabhq/gitlabhq/issues/694
  828.     +    ## Some requests take more than 30 seconds.
  829.     +    proxy_read_timeout      300;
  830.     +    proxy_connect_timeout   300;
  831.     +    proxy_redirect          off;
  832.     +
  833.     +    proxy_set_header    Host                $http_host;
  834.     +    proxy_set_header    X-Real-IP           $remote_addr;
  835.     +    proxy_set_header    X-Forwarded-For     $proxy_add_x_forwarded_for;
  836.     +    proxy_set_header    X-Forwarded-Proto   http;
  837.     +
  838.     +    proxy_pass http://gitlab-git-http-server;
  839.        }
  840.      
  841.        ## Enable gzip compression as per rails guide:
  842.   * template[/var/opt/gitlab/nginx/conf/gitlab-mattermost-http.conf] action delete (up to date)
  843.   * template[/var/opt/gitlab/nginx/conf/nginx.conf] action create
  844.     - update content in file /var/opt/gitlab/nginx/conf/nginx.conf from 83a1a5 to 70b9b5
  845.     --- /var/opt/gitlab/nginx/conf/nginx.conf   2015-11-09 13:41:34.336547434 -0500
  846.     +++ /tmp/chef-rendered-template20151110-1868-14pio9o    2015-11-10 08:42:19.187532100 -0500
  847.     @@ -14,6 +14,10 @@
  848.      }
  849.      
  850.      http {
  851.     +  log_format gitlab_access '$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"';
  852.     +  log_format gitlab_ci_access '$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"';
  853.     +  log_format gitlab_mattermost_access '$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"';
  854.     +
  855.        sendfile on;
  856.        tcp_nopush on;
  857.        tcp_nodelay on;
  858.     @@ -29,6 +33,7 @@
  859.        include /opt/gitlab/embedded/conf/mime.types;
  860.      
  861.        include /var/opt/gitlab/nginx/conf/gitlab-http.conf;
  862.     +
  863.      
  864.      
  865.        
  866.   * directory[/opt/gitlab/sv/nginx] action create (up to date)
  867.   * directory[/opt/gitlab/sv/nginx/log] action create (up to date)
  868.   * directory[/opt/gitlab/sv/nginx/log/main] action create (up to date)
  869.   * template[/opt/gitlab/sv/nginx/run] action create (up to date)
  870.   * template[/opt/gitlab/sv/nginx/log/run] action create (up to date)
  871.   * template[/var/log/gitlab/nginx/config] action create (up to date)
  872.   * ruby_block[reload nginx svlogd configuration] action nothing (skipped due to action :nothing)
  873.   * file[/opt/gitlab/sv/nginx/down] action delete (up to date)
  874.   * link[/opt/gitlab/init/nginx] action create (up to date)
  875.   * link[/opt/gitlab/service/nginx] action create (up to date)
  876.   * ruby_block[supervise_nginx_sleep] action run (skipped due to not_if)
  877.   * service[nginx] action nothing (skipped due to action :nothing)
  878. Recipe: gitlab::remote-syslog_disable
  879.   * link[/opt/gitlab/service/remote-syslog] action delete (up to date)
  880. Recipe: gitlab::logrotate
  881.   * directory[/var/opt/gitlab/logrotate] action create (up to date)
  882.   * directory[/var/opt/gitlab/logrotate/logrotate.d] action create (up to date)
  883.   * directory[/var/log/gitlab/logrotate] action create (up to date)
  884.   * template[/var/opt/gitlab/logrotate/logrotate.conf] action create (up to date)
  885.   * template[/var/opt/gitlab/logrotate/logrotate.d/nginx] action create (up to date)
  886.   * template[/var/opt/gitlab/logrotate/logrotate.d/unicorn] action create (up to date)
  887.   * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-rails] action create (up to date)
  888.   * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-shell] action create (up to date)
  889.   * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-ci] action create (up to date)
  890.   * directory[/opt/gitlab/sv/logrotate] action create (up to date)
  891.   * directory[/opt/gitlab/sv/logrotate/log] action create (up to date)
  892.   * directory[/opt/gitlab/sv/logrotate/log/main] action create (up to date)
  893.   * template[/opt/gitlab/sv/logrotate/run] action create
  894.     - update content in file /opt/gitlab/sv/logrotate/run from 999ee0 to 07f1b6
  895.     --- /opt/gitlab/sv/logrotate/run    2015-11-09 13:41:37.008547345 -0500
  896.     +++ /tmp/chef-rendered-template20151110-1868-1mzy59 2015-11-10 08:42:19.259532098 -0500
  897.     @@ -3,11 +3,9 @@
  898.      
  899.      cd /var/opt/gitlab/logrotate
  900.      
  901.     -# Sleep a bit to avoid going nuts after gitlab just started.
  902.     -sleep 600
  903.     -
  904.     -nice /opt/gitlab/embedded/sbin/logrotate -s /var/log/gitlab/logrotate/logrotate.status logrotate.conf
  905.     -
  906.     -# Sleep some more. After this, the script exits to be restarted by Runit.
  907.     -sleep 3000
  908.     +exec /opt/gitlab/embedded/bin/chpst -P /usr/bin/env \
  909.     +  dir=/var/opt/gitlab/logrotate \
  910.     +  pre_sleep=600 \
  911.     +  post_sleep=3000 \
  912.     +  /opt/gitlab/embedded/bin/gitlab-logrotate-wrapper
  913.   * template[/opt/gitlab/sv/logrotate/log/run] action create (up to date)
  914.   * template[/var/log/gitlab/logrotate/config] action create (up to date)
  915.   * ruby_block[reload logrotate svlogd configuration] action nothing (skipped due to action :nothing)
  916.   * file[/opt/gitlab/sv/logrotate/down] action delete (up to date)
  917.   * directory[/opt/gitlab/sv/logrotate/control] action create
  918.     - create new directory /opt/gitlab/sv/logrotate/control
  919.     - change mode from '' to '0755'
  920.     - change owner from '' to 'root'
  921.     - change group from '' to 'root'
  922.   * template[/opt/gitlab/sv/logrotate/control/t] action create
  923.     - create new file /opt/gitlab/sv/logrotate/control/t
  924.     - update content in file /opt/gitlab/sv/logrotate/control/t from none to 8fa3fa
  925.     --- /opt/gitlab/sv/logrotate/control/2015-11-10 08:42:19.287532097 -0500
  926.     +++ /tmp/chef-rendered-template20151110-1868-o9di55 2015-11-10 08:42:19.287532097 -0500
  927.     @@ -1 +1,4 @@
  928.     +#!/bin/sh
  929.     +echo "Received TERM from runit, sending to process group (-PID)"
  930.     +kill -- -$(cat /opt/gitlab/service/logrotate/supervise/pid)
  931.     - change mode from '' to '0755'
  932.     - change owner from '' to 'root'
  933.     - change group from '' to 'root'
  934.   * link[/opt/gitlab/init/logrotate] action create (up to date)
  935.   * link[/opt/gitlab/service/logrotate] action create (up to date)
  936.   * ruby_block[supervise_logrotate_sleep] action run (skipped due to not_if)
  937.   * service[logrotate] action nothing (skipped due to action :nothing)
  938. Recipe: gitlab::mattermost_disable
  939.   * link[/opt/gitlab/service/mattermost] action delete (up to date)
  940. Recipe: gitlab::database_migrations
  941.   * execute[initialize gitlab-rails database] action nothing (skipped due to action :nothing)
  942.   * execute[initialize gitlab-ci database] action nothing (skipped due to action :nothing)
  943.   * bash[migrate gitlab-rails database] action nothing (skipped due to action :nothing)
  944.   * bash[migrate gitlab-ci database] action nothing (skipped due to action :nothing)
  945. Recipe: gitlab::unicorn
  946.   * service[unicorn] action restart
  947.     - restart service service[unicorn]
  948. Recipe: gitlab::sidekiq
  949.   * service[sidekiq] action restart
  950.     - restart service service[sidekiq]
  951. Recipe: gitlab::gitlab-rails
  952.   * execute[clear the gitlab-rails cache] action run
  953.     - execute /opt/gitlab/bin/gitlab-rake cache:clear
  954. Recipe: gitlab::database_migrations
  955.   * bash[migrate gitlab-rails database] action run
  956.     - execute "bash"  "/tmp/chef-script20151110-1868-k8ji3d"
  957. Recipe: gitlab::unicorn
  958.   * service[unicorn] action restart
  959.     - restart service service[unicorn]
  960. Recipe: gitlab::sidekiq
  961.   * service[sidekiq] action restart
  962.     - restart service service[sidekiq]
  963. Recipe: gitlab::postgresql
  964.   * service[postgresql] action restart
  965.     - restart service service[postgresql]
  966. Recipe: gitlab::gitlab-git-http-server
  967.   * ruby_block[reload gitlab-git-http-server svlogd configuration] action create
  968.     - execute the ruby block reload gitlab-git-http-server svlogd configuration
  969.   * service[gitlab-git-http-server] action restart
  970.     - restart service service[gitlab-git-http-server]
  971. Recipe: gitlab::nginx
  972.   * service[nginx] action restart
  973.     - restart service service[nginx]
  974. Recipe: gitlab::logrotate
  975.   * service[logrotate] action restart
  976.     - restart service service[logrotate]
  977.  
  978. Running handlers:
  979. Running handlers complete
  980. Chef Client finished, 63/213 resources updated in 47.898726289 seconds
  981. gitlab Reconfigured!
  982. Restarting previously running GitLab services
  983. ok: run: logrotate: (pid 2326) 3s
  984. ok: run: nginx: (pid 2318) 3s
  985. ok: run: postgresql: (pid 2296) 4s
  986. ok: run: redis: (pid 1855) 51s
  987. ok: run: sidekiq: (pid 2285) 4s
  988. ok: run: unicorn: (pid 2341) 0s
  989.  
  990. Upgrade complete! If your GitLab server is misbehaving try running
  991.  
  992.    sudo gitlab-ctl restart
  993.  
  994. before anything else. If you need to roll back to the previous version you can
  995. use the database backup made during the upgrade (scroll up for the filename).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement