Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The following packages will be upgraded:
- gitlab-ce
- 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- Need to get 369 MB of archives.
- After this operation, 80.2 MB of additional disk space will be used.
- Do you want to continue? [Y/n] y
- Fetched 369 MB in 20s (17.8 MB/s)
- (Reading database ... 127469 files and directories currently installed.)
- Preparing to unpack .../gitlab-ce_8.1.3-ce.0_amd64.deb ...
- gitlab preinstall: Backing up GitLab SQL database (excluding Git repositories, uploads)
- Dumping database ...
- Dumping PostgreSQL database gitlabhq_production ... [DONE]
- Compressing database ... [DONE]
- done
- Dumping repositories ...
- [SKIPPED]
- Dumping uploads ...
- [SKIPPED]
- Creating backup archive: 1447162841_gitlab_backup.tar ... done
- Uploading backup archive to remote storage ... skipped
- Deleting tmp directories ... done
- done
- Deleting old backups ... skipping
- Unpacking gitlab-ce (8.1.3-ce.0) over (7.13.5-ce.0) ...
- Setting up gitlab-ce (8.1.3-ce.0) ...
- gitlab: Thank you for installing GitLab!
- gitlab: To configure and start GitLab, RUN THE FOLLOWING COMMAND:
- sudo gitlab-ctl reconfigure
- gitlab: GitLab should be reachable at http://gitlab03.sesync.org
- gitlab: Otherwise configure GitLab for your system by editing /etc/gitlab/gitlab.rb file
- gitlab: And running reconfigure again.
- gitlab:
- gitlab: For a comprehensive list of configuration options please see the Omnibus GitLab readme
- gitlab: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
- gitlab:
- Shutting down all GitLab services except those needed for migrations
- ok: down: logrotate: 0s, normally up
- ok: down: nginx: 0s, normally up
- ok: down: postgresql: 1s, normally up
- ok: down: redis: 0s, normally up
- ok: down: sidekiq: 0s, normally up
- ok: down: unicorn: 0s, normally up
- ok: run: postgresql: (pid 1847) 0s
- ok: run: redis: (pid 1855) 0s
- run: postgresql: (pid 1847) 1s; run: log: (pid 25703) 68452s
- run: redis: (pid 1855) 0s; run: log: (pid 25616) 68458s
- Reconfiguring GitLab to apply migrations
- Starting Chef Client, version 12.4.1
- resolving cookbooks for run list: ["gitlab"]
- Synchronizing Cookbooks:
- - package
- - gitlab
- - runit
- Compiling Cookbooks...
- Recipe: gitlab::default
- * directory[/etc/gitlab] action create (up to date)
- [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for directory[/var/opt/gitlab] from prior resource (CHEF-3694)
- [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'
- [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'
- [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for directory[/var/opt/gitlab/backups] from prior resource (CHEF-3694)
- [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'
- [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'
- [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for cron[gitlab-ci schedule builds] from prior resource (CHEF-3694)
- [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'
- [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'
- init (upstart 1.12.1)
- [2015-11-10T08:42:14-05:00] WARN: Selected upstart because /sbin/init --version is showing upstart.
- [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for directory[/etc/sysctl.d] from prior resource (CHEF-3694)
- [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'
- [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'
- [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-postgresql.conf] from prior resource (CHEF-3694)
- [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'
- [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'
- [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-unicorn.conf] from prior resource (CHEF-3694)
- [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'
- [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'
- [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)
- [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'
- [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'
- [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)
- [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'
- [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'
- [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for execute[load sysctl conf] from prior resource (CHEF-3694)
- [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'
- [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'
- [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for directory[/etc/sysctl.d] from prior resource (CHEF-3694)
- [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'
- [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'
- [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-postgresql.conf] from prior resource (CHEF-3694)
- [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'
- [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'
- [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-unicorn.conf] from prior resource (CHEF-3694)
- [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'
- [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'
- [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)
- [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'
- [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'
- [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)
- [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'
- [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'
- [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for execute[load sysctl conf] from prior resource (CHEF-3694)
- [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'
- [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'
- [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for directory[/var/opt/gitlab/gitlab-rails/etc] from prior resource (CHEF-3694)
- [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'
- [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'
- [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for service[unicorn] from prior resource (CHEF-3694)
- [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'
- [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'
- [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for directory[/etc/sysctl.d] from prior resource (CHEF-3694)
- [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'
- [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'
- [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-postgresql.conf] from prior resource (CHEF-3694)
- [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'
- [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'
- [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-unicorn.conf] from prior resource (CHEF-3694)
- [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'
- [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'
- [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)
- [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'
- [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'
- [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)
- [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'
- [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'
- [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for execute[load sysctl conf] from prior resource (CHEF-3694)
- [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'
- [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'
- [2015-11-10T08:42:14-05:00] WARN: Cloning resource attributes for service[sidekiq] from prior resource (CHEF-3694)
- [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'
- [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'
- Converging 251 resources
- * directory[/etc/gitlab] action nothing (skipped due to action :nothing)
- * directory[/var/opt/gitlab] action create (up to date)
- * directory[/opt/gitlab/embedded/etc] action create (up to date)
- * template[/opt/gitlab/embedded/etc/gitconfig] action create
- - update content in file /opt/gitlab/embedded/etc/gitconfig from a27f1a to 15d29f
- --- /opt/gitlab/embedded/etc/gitconfig 2015-11-09 13:41:03.392548465 -0500
- +++ /tmp/chef-rendered-template20151110-1868-13teq6s 2015-11-10 08:42:15.043532238 -0500
- @@ -1,3 +1,5 @@
- +[pack]
- + threads = 1
- [receive]
- fsckObjects = true
- Recipe: gitlab::web-server
- * group[gitlab-www] action create (up to date)
- * user[gitlab-www] action create (up to date)
- Recipe: gitlab::users
- * directory[/var/opt/gitlab] action create (up to date)
- * group[git] action create (up to date)
- * user[git] action create (up to date)
- * template[/var/opt/gitlab/.gitconfig] action create (up to date)
- Recipe: gitlab::gitlab-shell
- * directory[/var/opt/gitlab/git-data/repositories] action create
- - change mode from '0755' to '02770'
- * directory[/var/opt/gitlab/.ssh] action create (up to date)
- * file[/var/opt/gitlab/.ssh/authorized_keys] action create (up to date)
- * directory[/opt/gitlab/embedded/service/gitlab-shell/hooks/] action create
- - change mode from '0775' to '0755'
- - change owner from 'root' to 'git'
- - change group from 'root' to 'git'
- * file[/opt/gitlab/embedded/service/gitlab-shell/authorized_keys.lock] action create (up to date)
- * execute[chcon --recursive --type ssh_home_t /var/opt/gitlab/.ssh] action run (skipped due to only_if)
- * directory[/var/log/gitlab/gitlab-shell/] action create (up to date)
- * directory[/var/opt/gitlab/gitlab-shell] action create (up to date)
- * directory[/var/opt/gitlab/git-data] action create (up to date)
- * template[/var/opt/gitlab/gitlab-shell/config.yml] action create (up to date)
- * link[/opt/gitlab/embedded/service/gitlab-shell/config.yml] action create (up to date)
- * template[/var/opt/gitlab/gitlab-shell/gitlab_shell_secret] action create (up to date)
- * link[/opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret] action create (up to date)
- Recipe: gitlab::gitlab-rails
- * directory[/var/opt/gitlab/gitlab-rails/etc] action create (up to date)
- * directory[/opt/gitlab/etc/gitlab-rails] action create (up to date)
- * directory[/var/opt/gitlab/gitlab-rails/working] action create (up to date)
- * directory[/var/opt/gitlab/gitlab-rails/tmp] action create (up to date)
- * directory[/var/opt/gitlab/gitlab-ci/builds] action create
- - create new directory /var/opt/gitlab/gitlab-ci/builds
- - change mode from '' to '0700'
- - change owner from '' to 'git'
- * directory[/var/opt/gitlab/backups] action create (up to date)
- * directory[/var/log/gitlab/gitlab-rails] action create (up to date)
- * directory[/var/opt/gitlab/backups] action create (up to date)
- * directory[/var/opt/gitlab/gitlab-rails] action create (up to date)
- * directory[/var/opt/gitlab/gitlab-ci] action create
- - change owner from 'root' to 'git'
- * directory[/var/opt/gitlab/gitlab-rails/uploads] action create
- - change mode from '0755' to '0750'
- - change group from 'git' to 'gitlab-www'
- * template[/opt/gitlab/etc/gitlab-rails/gitlab-rails-rc] action create (up to date)
- * template[/var/opt/gitlab/gitlab-rails/config.ru] action create (up to date)
- * link[/opt/gitlab/embedded/service/gitlab-rails/config.ru] action create (up to date)
- * template[/var/opt/gitlab/gitlab-rails/etc/secret] action create (up to date)
- * link[/opt/gitlab/embedded/service/gitlab-rails/.secret] action create (up to date)
- * template[/var/opt/gitlab/gitlab-rails/etc/database.yml] action create (up to date)
- * link[/opt/gitlab/embedded/service/gitlab-rails/config/database.yml] action create (up to date)
- * template[/var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create
- - create new file /var/opt/gitlab/gitlab-rails/etc/secrets.yml
- - update content in file /var/opt/gitlab/gitlab-rails/etc/secrets.yml from none to 4303ca
- --- /var/opt/gitlab/gitlab-rails/etc/secrets.yml 2015-11-10 08:42:15.291532230 -0500
- +++ /tmp/chef-rendered-template20151110-1868-5jq9sw 2015-11-10 08:42:15.291532230 -0500
- @@ -1 +1,8 @@
- +# This file is managed by gitlab-ctl. Manual changes will be
- +# erased! To change the contents below, edit /etc/gitlab/gitlab.rb
- +# and run `sudo gitlab-ctl reconfigure`.
- +
- +production:
- + db_key_base: ccfc46f062c0d1d1ff60196b03294fb45d751119cc43cbe411ef8c38c563e7d93e7224d14a7ca812a8b1227fbbc4d765d3b1f0368f389342969c03a7326a3cc9
- + secret_key_base: ccfc46f062c0d1d1ff60196b03294fb45d751119cc43cbe411ef8c38c563e7d93e7224d14a7ca812a8b1227fbbc4d765d3b1f0368f389342969c03a7326a3cc9
- - change mode from '' to '0644'
- - change owner from '' to 'root'
- - change group from '' to 'root'
- * link[/opt/gitlab/embedded/service/gitlab-rails/config/secrets.yml] action create
- - create symlink at /opt/gitlab/embedded/service/gitlab-rails/config/secrets.yml to /var/opt/gitlab/gitlab-rails/etc/secrets.yml
- * template[/var/opt/gitlab/gitlab-rails/etc/resque.yml] action create (up to date)
- * link[/opt/gitlab/embedded/service/gitlab-rails/config/resque.yml] action create (up to date)
- * template[/var/opt/gitlab/gitlab-rails/etc/aws.yml] action delete (up to date)
- * link[/opt/gitlab/embedded/service/gitlab-rails/config/aws.yml] action delete (up to date)
- * template[/var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action delete (up to date)
- * link[/opt/gitlab/embedded/service/gitlab-rails/config/initializers/smtp_settings.rb] action delete (up to date)
- * template[/var/opt/gitlab/gitlab-rails/etc/gitlab.yml] action create
- - update content in file /var/opt/gitlab/gitlab-rails/etc/gitlab.yml from 356802 to 202629
- --- /var/opt/gitlab/gitlab-rails/etc/gitlab.yml 2015-11-09 14:42:16.844426070 -0500
- +++ /tmp/chef-rendered-template20151110-1868-1y9newn 2015-11-10 08:42:15.315532229 -0500
- @@ -78,6 +78,35 @@
- # The default is 'tmp/repositories' relative to the root of the Rails app.
- repository_downloads_path:
- + ## Reply by email
- + # Allow users to comment on issues and merge requests by replying to notification emails.
- + # For documentation on how to set this up, see http://doc.gitlab.com/ce/incoming_email/README.html
- + incoming_email:
- + enabled: false
- +
- + # The email address including the `%{key}` placeholder that will be replaced to reference the item being replied to.
- + # The `%{key}` placeholder is added after the user part, after a `+` character, before the `@`.
- + address:
- +
- + # Email account username
- + # With third party providers, this is usually the full email address.
- + # With self-hosted email servers, this is usually the user part of the email address.
- + user:
- + # Email account password
- + password:
- +
- + # IMAP server host
- + host:
- + # IMAP server port
- + port:
- + # Whether the IMAP server uses SSL
- + ssl:
- + # Whether the IMAP server uses StartTLS
- + start_tls:
- +
- + # The mailbox where incoming mail will end up. Usually "inbox".
- + mailbox:
- +
- ## Gravatar
- ## For Libravatar see: http://doc.gitlab.com/ce/customization/libravatar.html
- gravatar:
- @@ -86,9 +115,25 @@
- ssl_url: # default: https://secure.gravatar.com/avatar/%{hash}?s=%{size}&d=identicon
- #
- - # 2. Auth settings
- + # 2. GitLab CI settings
- # ==========================
- + gitlab_ci:
- + # Default project notifications settings:
- + #
- + # Send emails only on broken builds (default: true)
- + all_broken_builds:
- + #
- + # Add pusher to recipients list (default: false)
- + add_pusher:
- +
- + # The location where build traces are stored (default: builds/). Relative paths are relative to Rails.root
- + builds_path: /var/opt/gitlab/gitlab-ci/builds
- +
- + #
- + # 3. Auth settings
- + # ==========================
- +
- ## LDAP settings
- # You can inspect a sample of the LDAP users with login access by running:
- # bundle exec rake gitlab:ldap:check RAILS_ENV=production
- @@ -97,6 +142,29 @@
- servers:
- 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":""}
- + ## Kerberos settings
- + kerberos:
- + # Allow the HTTP Negotiate authentication method for Git clients
- + enabled:
- +
- + # Kerberos 5 keytab file. The keytab file must be readable by the GitLab user,
- + # and should be different from other keytabs in the system.
- + # (default: use default keytab from Krb5 config)
- + keytab:
- +
- + # The Kerberos service name to be used by GitLab.
- + # (default: accept any service name in keytab file)
- + service_principal_name:
- +
- + # Dedicated port: Git before 2.4 does not fall back to Basic authentication if Negotiate fails.
- + # To support both Basic and Negotiate methods with older versions of Git, configure
- + # nginx to proxy GitLab on an extra port (e.g. 8443) and uncomment the following lines
- + # to dedicate this port to Kerberos authentication. (default: false)
- + use_dedicated_port:
- + port:
- + https:
- +
- +
- ## OmniAuth settings
- omniauth:
- # Allow login via Twitter, Google, etc. using OmniAuth providers
- @@ -137,10 +205,13 @@
- #
- - # 3. Advanced settings
- + # 4. Advanced settings
- # ==========================
- # GitLab Satellites
- + # Important: keep the satellites.path setting until GitLab 9.0 at
- + # least. This setting is fed to 'rm -rf' in
- + # db/migrate/20151023144219_remove_satellites.rb
- satellites:
- # Relative paths are relative to Rails.root (default: tmp/repo_satellites/)
- path: /var/opt/gitlab/git-data/gitlab-satellites
- @@ -149,13 +220,16 @@
- ## Backup settings
- backup:
- path: "/var/opt/gitlab/backups" # Relative paths are relative to Rails.root (default: tmp/backups/)
- + archive_permissions: # Permissions for the resulting backup.tar file (default: 0600)
- keep_time: # default: 0 (forever) (in seconds)
- + pg_schema: # default: nil, it means that all schemas will be backed up
- upload:
- # Fog storage connection settings, see http://fog.io/storage/ .
- connection:
- # The remote 'directory' to store your backups. For S3, this would be the bucket name.
- remote_directory:
- multipart_chunk_size:
- + encryption:
- ## GitLab Shell settings
- gitlab_shell:
- @@ -185,11 +259,10 @@
- timeout:
- #
- - # 4. Extra customization
- + # 5. Extra customization
- # ==========================
- extra:
- -
- rack_attack:
- * link[/opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml] action create (up to date)
- * template[/var/opt/gitlab/gitlab-rails/etc/rack_attack.rb] action create (up to date)
- * link[/opt/gitlab/embedded/service/gitlab-rails/config/initializers/rack_attack.rb] action create (up to date)
- * link[/opt/gitlab/embedded/service/gitlab-rails/.gitlab_shell_secret] action create (up to date)
- * directory[/opt/gitlab/etc/gitlab-rails/env] action create (up to date)
- * file[/opt/gitlab/etc/gitlab-rails/env/HOME] action create (up to date)
- * file[/opt/gitlab/etc/gitlab-rails/env/RAILS_ENV] action create (up to date)
- * file[/opt/gitlab/etc/gitlab-rails/env/SIDEKIQ_MEMORY_KILLER_MAX_RSS] action create (up to date)
- * file[/opt/gitlab/etc/gitlab-rails/env/BUNDLE_GEMFILE] action create (up to date)
- * file[/opt/gitlab/etc/gitlab-rails/env/PATH] action create (up to date)
- * link[/opt/gitlab/embedded/service/gitlab-rails/tmp] action create (up to date)
- * link[/opt/gitlab/embedded/service/gitlab-rails/public/uploads] action create (up to date)
- * link[/opt/gitlab/embedded/service/gitlab-rails/log] action create (up to date)
- * link[/var/log/gitlab/gitlab-rails/sidekiq.log] action create (skipped due to not_if)
- * file[/opt/gitlab/embedded/service/gitlab-rails/db/schema.rb] action create
- - change owner from 'root' to 'git'
- * remote_file[/var/opt/gitlab/gitlab-rails/VERSION] action create
- - update content in file /var/opt/gitlab/gitlab-rails/VERSION from 663ac2 to f4784d
- --- /var/opt/gitlab/gitlab-rails/VERSION 2015-11-09 13:41:04.340548434 -0500
- +++ /var/opt/gitlab/gitlab-rails/.VERSION20151110-1868-ymjxdt 2015-11-10 08:42:15.399532226 -0500
- @@ -1,2 +1,2 @@
- -7.13.5
- +8.1.3
- * execute[chown -R root:root /opt/gitlab/embedded/service/gitlab-rails/public] action run
- - execute chown -R root:root /opt/gitlab/embedded/service/gitlab-rails/public
- * execute[clear the gitlab-rails cache] action nothing (skipped due to action :nothing)
- Recipe: gitlab::gitlab-ci_disable
- * template[/var/opt/gitlab/nginx/conf/gitlab-ci-http.conf] action delete (up to date)
- Recipe: gitlab::cron
- * cron[gitlab-ci schedule builds] action delete (up to date)
- * cron[gitlab-ci schedule builds] action delete (up to date)
- Recipe: gitlab::default
- * service[unicorn] action nothing (skipped due to action :nothing)
- * service[ci-unicorn] action nothing (skipped due to action :nothing)
- * service[sidekiq] action nothing (skipped due to action :nothing)
- * service[ci-sidekiq] action nothing (skipped due to action :nothing)
- Recipe: runit::upstart
- * cookbook_file[/etc/init/gitlab-runsvdir.conf] action create (up to date)
- * execute[initctl reload-configuration] action run
- - execute initctl reload-configuration
- * execute[initctl status gitlab-runsvdir] action run
- - execute initctl status gitlab-runsvdir
- * execute[initctl start gitlab-runsvdir] action run (skipped due to only_if)
- Recipe: gitlab::redis
- * group[gitlab-redis] action create (up to date)
- * user[gitlab-redis] action create (up to date)
- * directory[/var/opt/gitlab/redis] action create (up to date)
- * directory[/var/log/gitlab/redis] action create (up to date)
- * template[/var/opt/gitlab/redis/redis.conf] action create (up to date)
- * directory[/opt/gitlab/sv/redis] action create (up to date)
- * directory[/opt/gitlab/sv/redis/log] action create (up to date)
- * directory[/opt/gitlab/sv/redis/log/main] action create (up to date)
- * template[/opt/gitlab/sv/redis/run] action create (up to date)
- * template[/opt/gitlab/sv/redis/log/run] action create (up to date)
- * template[/var/log/gitlab/redis/config] action create (up to date)
- * ruby_block[reload redis svlogd configuration] action nothing (skipped due to action :nothing)
- * file[/opt/gitlab/sv/redis/down] action delete (up to date)
- * link[/opt/gitlab/init/redis] action create (up to date)
- * link[/opt/gitlab/service/redis] action create (up to date)
- * ruby_block[supervise_redis_sleep] action run (skipped due to not_if)
- * service[redis] action nothing (skipped due to action :nothing)
- Recipe: gitlab::postgresql
- * group[gitlab-psql] action create (up to date)
- * user[gitlab-psql] action create (up to date)
- * directory[/var/opt/gitlab/postgresql] action create (up to date)
- * directory[/var/opt/gitlab/postgresql/data] action create (up to date)
- * directory[/var/log/gitlab/postgresql] action create (up to date)
- * link[/var/opt/gitlab/postgresql/data] action create (skipped due to not_if)
- * file[/var/opt/gitlab/postgresql/.profile] action create (up to date)
- * directory[/etc/sysctl.d] action create (up to date)
- * file[/opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf] action create
- - create new file /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf
- - update content in file /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf from none to 75a195
- --- /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf 2015-11-10 08:42:15.827532212 -0500
- +++ /opt/gitlab/embedded/etc/.90-omnibus-gitlab-kernel.shmmax.conf20151110-1868-1ss3zql 2015-11-10 08:42:15.827532212 -0500
- @@ -1 +1,2 @@
- +kernel.shmmax = 17179869184
- Recipe: gitlab::unicorn
- * execute[load sysctl conf] action run
- - execute cat /etc/sysctl.conf /etc/sysctl.d/*.conf | sysctl -e -p -
- Recipe: gitlab::postgresql
- * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf] action create
- - create symlink at /etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf to /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf
- * file[/etc/sysctl.d/90-postgresql.conf] action delete
- - delete file /etc/sysctl.d/90-postgresql.conf
- * file[/etc/sysctl.d/90-unicorn.conf] action delete
- - delete file /etc/sysctl.d/90-unicorn.conf
- * file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf] action delete (skipped due to only_if)
- * file[/etc/sysctl.d/90-omnibus-gitlab.conf] action delete (skipped due to only_if)
- * execute[load sysctl conf] action nothing (skipped due to action :nothing)
- * directory[/etc/sysctl.d] action create (up to date)
- * file[/opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmall.conf] action create
- - create new file /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmall.conf
- - update content in file /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmall.conf from none to 6d765d
- --- /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmall.conf 2015-11-10 08:42:15.883532210 -0500
- +++ /opt/gitlab/embedded/etc/.90-omnibus-gitlab-kernel.shmall.conf20151110-1868-1sa5h93 2015-11-10 08:42:15.883532210 -0500
- @@ -1 +1,2 @@
- +kernel.shmall = 4194304
- Recipe: gitlab::unicorn
- * execute[load sysctl conf] action run
- - execute cat /etc/sysctl.conf /etc/sysctl.d/*.conf | sysctl -e -p -
- Recipe: gitlab::postgresql
- * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmall.conf] action create
- - create symlink at /etc/sysctl.d/90-omnibus-gitlab-kernel.shmall.conf to /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmall.conf
- * file[/etc/sysctl.d/90-postgresql.conf] action delete (skipped due to only_if)
- * file[/etc/sysctl.d/90-unicorn.conf] action delete (skipped due to only_if)
- * file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf] action delete (skipped due to only_if)
- * file[/etc/sysctl.d/90-omnibus-gitlab.conf] action delete (skipped due to only_if)
- * execute[load sysctl conf] action nothing (skipped due to action :nothing)
- * directory[/etc/sysctl.d] action create (up to date)
- * file[/opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.sem.conf] action create
- - create new file /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.sem.conf
- - update content in file /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.sem.conf from none to 09a346
- --- /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.sem.conf 2015-11-10 08:42:15.923532209 -0500
- +++ /opt/gitlab/embedded/etc/.90-omnibus-gitlab-kernel.sem.conf20151110-1868-1o0vdy3 2015-11-10 08:42:15.923532209 -0500
- @@ -1 +1,2 @@
- +kernel.sem = 250 32000 32 262
- Recipe: gitlab::unicorn
- * execute[load sysctl conf] action run
- - execute cat /etc/sysctl.conf /etc/sysctl.d/*.conf | sysctl -e -p -
- Recipe: gitlab::postgresql
- * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.sem.conf] action create
- - create symlink at /etc/sysctl.d/90-omnibus-gitlab-kernel.sem.conf to /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.sem.conf
- * file[/etc/sysctl.d/90-postgresql.conf] action delete (skipped due to only_if)
- * file[/etc/sysctl.d/90-unicorn.conf] action delete (skipped due to only_if)
- * file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf] action delete (skipped due to only_if)
- * file[/etc/sysctl.d/90-omnibus-gitlab.conf] action delete (skipped due to only_if)
- * execute[load sysctl conf] action nothing (skipped due to action :nothing)
- * execute[/opt/gitlab/embedded/bin/initdb -D /var/opt/gitlab/postgresql/data -E UTF8] action run (skipped due to not_if)
- * template[/var/opt/gitlab/postgresql/data/postgresql.conf] action create
- - update content in file /var/opt/gitlab/postgresql/data/postgresql.conf from 4ae1dd to 595607
- --- /var/opt/gitlab/postgresql/data/postgresql.conf 2015-11-09 13:41:12.616548158 -0500
- +++ /tmp/chef-rendered-template20151110-1868-52hnnp 2015-11-10 08:42:15.955532208 -0500
- @@ -154,7 +154,7 @@
- # - Settings -
- -#wal_level = minimal # minimal, archive, or hot_standby
- +wal_level = minimal
- # (change requires restart)
- #fsync = on # turns forced synchronization on or off
- #synchronous_commit = on # synchronization level; on, off, or local
- @@ -175,7 +175,7 @@
- # - Checkpoints -
- -checkpoint_segments = 10 # in logfile segments, min 1, 16MB each, default 3
- +checkpoint_segments = 10 # in logfile segments, min 1, 16MB each, default 3
- checkpoint_timeout = 5min # range 30s-1h, default 5min
- checkpoint_completion_target = 0.9 # checkpoint target duration, 0.0 - 1.0, default 0.5
- checkpoint_warning = 30s # 0 disables, default 30s
- @@ -197,10 +197,10 @@
- # These settings are ignored on a standby server
- -#max_wal_senders = 0 # max number of walsender processes
- +max_wal_senders = 0
- # (change requires restart)
- #wal_sender_delay = 1s # walsender cycle time, 1-10000 milliseconds
- -#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
- +wal_keep_segments = 10
- #vacuum_defer_cleanup_age = 0 # number of xacts by which cleanup is delayed
- #replication_timeout = 60s # in milliseconds; 0 disables
- #synchronous_standby_names = '' # standby servers that provide sync rep
- @@ -211,7 +211,7 @@
- # These settings are ignored on a master server
- -#hot_standby = off # "on" allows queries during recovery
- +hot_standby = off
- # (change requires restart)
- #max_standby_archive_delay = 30s # max delay before canceling queries
- # when reading WAL from archive;
- @@ -360,7 +360,7 @@
- # fatal
- # panic (effectively off)
- -#log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements
- +log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements
- # and their durations, > 0 logs only
- # statements running at least this number
- # of milliseconds
- * service[postgresql] action restart
- - restart service service[postgresql]
- * template[/var/opt/gitlab/postgresql/data/pg_hba.conf] action create (up to date)
- * template[/var/opt/gitlab/postgresql/data/pg_ident.conf] action create
- - update content in file /var/opt/gitlab/postgresql/data/pg_ident.conf from 5b3bd4 to da3268
- --- /var/opt/gitlab/postgresql/data/pg_ident.conf 2015-11-09 13:41:12.816548151 -0500
- +++ /tmp/chef-rendered-template20151110-1868-px38hr 2015-11-10 08:42:16.459532191 -0500
- @@ -42,6 +42,7 @@
- # MAPNAME SYSTEM-USERNAME PG-USERNAME
- gitlab git gitlab
- gitlab gitlab-ci gitlab_ci
- +gitlab mattermost gitlab_mattermost
- # Default to a 1-1 mapping between system usernames and Postgres usernames
- gitlab /^(.*)$ \1
- * directory[/opt/gitlab/sv/postgresql] action create (up to date)
- * directory[/opt/gitlab/sv/postgresql/log] action create (up to date)
- * directory[/opt/gitlab/sv/postgresql/log/main] action create (up to date)
- * template[/opt/gitlab/sv/postgresql/run] action create (up to date)
- * template[/opt/gitlab/sv/postgresql/log/run] action create (up to date)
- * template[/var/log/gitlab/postgresql/config] action create (up to date)
- * ruby_block[reload postgresql svlogd configuration] action nothing (skipped due to action :nothing)
- * file[/opt/gitlab/sv/postgresql/down] action delete (up to date)
- * directory[/opt/gitlab/sv/postgresql/control] action create (up to date)
- * template[/opt/gitlab/sv/postgresql/control/t] action create (up to date)
- * link[/opt/gitlab/init/postgresql] action create (up to date)
- * link[/opt/gitlab/service/postgresql] action create (up to date)
- * ruby_block[supervise_postgresql_sleep] action run (skipped due to not_if)
- * service[postgresql] action nothing (skipped due to action :nothing)
- * execute[create gitlab database user] action run (skipped due to not_if)
- * execute[create gitlabhq_production database] action run (skipped due to not_if)
- * execute[create gitlab_replicator replication user] action run
- - execute /opt/gitlab/embedded/bin/psql --port 5432 -h /var/opt/gitlab/postgresql -d template1 -c "CREATE USER gitlab_replicator REPLICATION"
- Recipe: gitlab::unicorn
- * directory[/var/log/gitlab/unicorn] action create (up to date)
- * directory[/opt/gitlab/var/unicorn] action create (up to date)
- * directory[/var/opt/gitlab/gitlab-rails/sockets] action create (up to date)
- * directory[/var/opt/gitlab/gitlab-rails/etc] action create (up to date)
- * template[/var/opt/gitlab/gitlab-rails/etc/unicorn.rb] action create (up to date)
- * directory[/opt/gitlab/sv/unicorn] action create (up to date)
- * directory[/opt/gitlab/sv/unicorn/log] action create (up to date)
- * directory[/opt/gitlab/sv/unicorn/log/main] action create (up to date)
- * template[/opt/gitlab/sv/unicorn/run] action create (up to date)
- * template[/opt/gitlab/sv/unicorn/log/run] action create (up to date)
- * template[/var/log/gitlab/unicorn/config] action create (up to date)
- * ruby_block[reload unicorn svlogd configuration] action nothing (skipped due to action :nothing)
- * file[/opt/gitlab/sv/unicorn/down] action delete (up to date)
- * directory[/opt/gitlab/sv/unicorn/control] action create
- - create new directory /opt/gitlab/sv/unicorn/control
- - change mode from '' to '0755'
- - change owner from '' to 'root'
- - change group from '' to 'root'
- * template[/opt/gitlab/sv/unicorn/control/t] action create
- - create new file /opt/gitlab/sv/unicorn/control/t
- - update content in file /opt/gitlab/sv/unicorn/control/t from none to 84b233
- --- /opt/gitlab/sv/unicorn/control/t 2015-11-10 08:42:16.915532176 -0500
- +++ /tmp/chef-rendered-template20151110-1868-3aq3wb 2015-11-10 08:42:16.915532176 -0500
- @@ -1 +1,4 @@
- +#!/bin/sh
- +echo "Received TERM from runit, sending to process group (-PID)"
- +kill -- -$(cat /opt/gitlab/service/unicorn/supervise/pid)
- - change mode from '' to '0755'
- - change owner from '' to 'root'
- - change group from '' to 'root'
- * link[/opt/gitlab/init/unicorn] action create (up to date)
- * link[/opt/gitlab/service/unicorn] action create (up to date)
- * ruby_block[supervise_unicorn_sleep] action run (skipped due to not_if)
- * service[unicorn] action nothing (skipped due to action :nothing)
- * directory[/etc/sysctl.d] action create (up to date)
- * file[/opt/gitlab/embedded/etc/90-omnibus-gitlab-net.core.somaxconn.conf] action create
- - create new file /opt/gitlab/embedded/etc/90-omnibus-gitlab-net.core.somaxconn.conf
- - update content in file /opt/gitlab/embedded/etc/90-omnibus-gitlab-net.core.somaxconn.conf from none to 353a75
- --- /opt/gitlab/embedded/etc/90-omnibus-gitlab-net.core.somaxconn.conf 2015-11-10 08:42:16.927532175 -0500
- +++ /opt/gitlab/embedded/etc/.90-omnibus-gitlab-net.core.somaxconn.conf20151110-1868-7t4sg5 2015-11-10 08:42:16.927532175 -0500
- @@ -1 +1,2 @@
- +net.core.somaxconn = 1024
- * execute[load sysctl conf] action run
- - execute cat /etc/sysctl.conf /etc/sysctl.d/*.conf | sysctl -e -p -
- * link[/etc/sysctl.d/90-omnibus-gitlab-net.core.somaxconn.conf] action create
- - 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
- * file[/etc/sysctl.d/90-postgresql.conf] action delete (skipped due to only_if)
- * file[/etc/sysctl.d/90-unicorn.conf] action delete (skipped due to only_if)
- * file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf] action delete (skipped due to only_if)
- * file[/etc/sysctl.d/90-omnibus-gitlab.conf] action delete (skipped due to only_if)
- * execute[load sysctl conf] action nothing (skipped due to action :nothing)
- Recipe: gitlab::sidekiq
- * directory[/var/log/gitlab/sidekiq] action create (up to date)
- * directory[/opt/gitlab/sv/sidekiq] action create (up to date)
- * directory[/opt/gitlab/sv/sidekiq/log] action create (up to date)
- * directory[/opt/gitlab/sv/sidekiq/log/main] action create (up to date)
- * template[/opt/gitlab/sv/sidekiq/run] action create
- - update content in file /opt/gitlab/sv/sidekiq/run from 7ddbb3 to af08d9
- --- /opt/gitlab/sv/sidekiq/run 2015-11-09 13:41:28.908547615 -0500
- +++ /tmp/chef-rendered-template20151110-1868-bedo7s 2015-11-10 08:42:16.983532173 -0500
- @@ -13,6 +13,7 @@
- -q system_hook \
- -q project_web_hook \
- -q gitlab_shell \
- + -q incoming_email \
- -q common \
- -q default \
- -e production \
- * template[/opt/gitlab/sv/sidekiq/log/run] action create (up to date)
- * template[/var/log/gitlab/sidekiq/config] action create (up to date)
- * ruby_block[reload sidekiq svlogd configuration] action nothing (skipped due to action :nothing)
- * file[/opt/gitlab/sv/sidekiq/down] action delete (up to date)
- * link[/opt/gitlab/init/sidekiq] action create (up to date)
- * link[/opt/gitlab/service/sidekiq] action create (up to date)
- * ruby_block[supervise_sidekiq_sleep] action run (skipped due to not_if)
- * service[sidekiq] action nothing (skipped due to action :nothing)
- Recipe: gitlab::gitlab-git-http-server
- * directory[/var/opt/gitlab/gitlab-git-http-server] action create
- - create new directory /var/opt/gitlab/gitlab-git-http-server
- - change mode from '' to '0750'
- - change owner from '' to 'git'
- - change group from '' to 'gitlab-www'
- * directory[/var/log/gitlab/gitlab-git-http-server] action create
- - create new directory /var/log/gitlab/gitlab-git-http-server
- - change mode from '' to '0700'
- - change owner from '' to 'git'
- * directory[/opt/gitlab/sv/gitlab-git-http-server] action create
- - create new directory /opt/gitlab/sv/gitlab-git-http-server
- - change mode from '' to '0755'
- - change owner from '' to 'root'
- - change group from '' to 'root'
- * directory[/opt/gitlab/sv/gitlab-git-http-server/log] action create
- - create new directory /opt/gitlab/sv/gitlab-git-http-server/log
- - change mode from '' to '0755'
- - change owner from '' to 'root'
- - change group from '' to 'root'
- * directory[/opt/gitlab/sv/gitlab-git-http-server/log/main] action create
- - create new directory /opt/gitlab/sv/gitlab-git-http-server/log/main
- - change mode from '' to '0755'
- - change owner from '' to 'root'
- - change group from '' to 'root'
- * template[/opt/gitlab/sv/gitlab-git-http-server/run] action create
- - create new file /opt/gitlab/sv/gitlab-git-http-server/run
- - update content in file /opt/gitlab/sv/gitlab-git-http-server/run from none to 4630cc
- --- /opt/gitlab/sv/gitlab-git-http-server/run 2015-11-10 08:42:17.063532171 -0500
- +++ /tmp/chef-rendered-template20151110-1868-qgny9p 2015-11-10 08:42:17.063532171 -0500
- @@ -1 +1,22 @@
- +#!/bin/sh
- +set -e # fail on errors
- +
- +# Redirect stderr -> stdout
- +exec 2>&1
- +
- +
- +
- +cd /var/opt/gitlab/gitlab-git-http-server
- +
- +exec chpst -P \
- + -U git \
- + -u git \
- + /usr/bin/env \
- + PATH=/opt/gitlab/bin:/opt/gitlab/embedded/bin:/usr/local/bin:/usr/bin:/bin \
- + /opt/gitlab/embedded/bin/gitlab-git-http-server \
- + -listenNetwork unix \
- + -listenUmask 0 \
- + -listenAddr /var/opt/gitlab/gitlab-git-http-server/socket \
- + -authBackend http://127.0.0.1:8080 \
- + -pprofListenAddr ''
- - change mode from '' to '0755'
- - change owner from '' to 'root'
- - change group from '' to 'root'
- * template[/opt/gitlab/sv/gitlab-git-http-server/log/run] action create
- - create new file /opt/gitlab/sv/gitlab-git-http-server/log/run
- - update content in file /opt/gitlab/sv/gitlab-git-http-server/log/run from none to 7a2945
- --- /opt/gitlab/sv/gitlab-git-http-server/log/run 2015-11-10 08:42:17.091532170 -0500
- +++ /tmp/chef-rendered-template20151110-1868-drndi5 2015-11-10 08:42:17.087532170 -0500
- @@ -1 +1,3 @@
- +#!/bin/sh
- +exec svlogd -tt /var/log/gitlab/gitlab-git-http-server
- - change mode from '' to '0755'
- - change owner from '' to 'root'
- - change group from '' to 'root'
- * template[/var/log/gitlab/gitlab-git-http-server/config] action create
- - create new file /var/log/gitlab/gitlab-git-http-server/config
- - update content in file /var/log/gitlab/gitlab-git-http-server/config from none to 623c00
- --- /var/log/gitlab/gitlab-git-http-server/config 2015-11-10 08:42:17.103532169 -0500
- +++ /tmp/chef-rendered-template20151110-1868-lxmpiz 2015-11-10 08:42:17.103532169 -0500
- @@ -1 +1,7 @@
- +s209715200
- +n30
- +t86400
- +!gzip
- +
- +
- - change owner from '' to 'root'
- - change group from '' to 'root'
- * ruby_block[reload gitlab-git-http-server svlogd configuration] action nothing (skipped due to action :nothing)
- * file[/opt/gitlab/sv/gitlab-git-http-server/down] action delete (up to date)
- * link[/opt/gitlab/init/gitlab-git-http-server] action create
- - create symlink at /opt/gitlab/init/gitlab-git-http-server to /opt/gitlab/embedded/bin/sv
- * link[/opt/gitlab/service/gitlab-git-http-server] action create
- - create symlink at /opt/gitlab/service/gitlab-git-http-server to /opt/gitlab/sv/gitlab-git-http-server
- * ruby_block[supervise_gitlab-git-http-server_sleep] action run
- - execute the ruby block supervise_gitlab-git-http-server_sleep
- * service[gitlab-git-http-server] action nothing (skipped due to action :nothing)
- * file[/var/opt/gitlab/gitlab-git-http-server/VERSION] action create
- - create new file /var/opt/gitlab/gitlab-git-http-server/VERSION
- - update content in file /var/opt/gitlab/gitlab-git-http-server/VERSION from none to 2a8d75
- --- /var/opt/gitlab/gitlab-git-http-server/VERSION 2015-11-10 08:42:19.123532102 -0500
- +++ /var/opt/gitlab/gitlab-git-http-server/.VERSION20151110-1868-1xs7fab 2015-11-10 08:42:19.123532102 -0500
- @@ -1 +1,2 @@
- +gitlab-git-http-server 0.3.0-20151106.111650
- Recipe: gitlab::nginx
- * directory[/var/opt/gitlab/nginx] action create (up to date)
- * directory[/var/opt/gitlab/nginx/conf] action create (up to date)
- * directory[/var/log/gitlab/nginx] action create (up to date)
- * link[/var/opt/gitlab/nginx/logs] action create (up to date)
- * template[/var/opt/gitlab/nginx/conf/gitlab-http.conf] action create
- - update content in file /var/opt/gitlab/nginx/conf/gitlab-http.conf from 1ebcb3 to 23992d
- --- /var/opt/gitlab/nginx/conf/gitlab-http.conf 2015-11-09 13:41:34.276547436 -0500
- +++ /tmp/chef-rendered-template20151110-1868-17fzfev 2015-11-10 08:42:19.151532101 -0500
- @@ -34,9 +34,15 @@
- server unix:/var/opt/gitlab/gitlab-rails/sockets/gitlab.socket fail_timeout=0;
- }
- +upstream gitlab-git-http-server {
- + server unix:/var/opt/gitlab/gitlab-git-http-server/socket;
- +}
- +
- server {
- listen *:80;
- +
- +
- server_name gitlab03.sesync.org;
- server_tokens off; ## Don't show the nginx version number, a security best practice
- root /opt/gitlab/embedded/service/gitlab-rails/public;
- @@ -47,7 +53,7 @@
- ## Individual nginx logs for this GitLab vhost
- - access_log /var/log/gitlab/nginx/gitlab_access.log;
- + access_log /var/log/gitlab/nginx/gitlab_access.log gitlab_access;
- error_log /var/log/gitlab/nginx/gitlab_error.log;
- location / {
- @@ -70,7 +76,7 @@
- proxy_set_header Host $http_host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- - proxy_set_header X-Forwarded-Proto $scheme;
- + proxy_set_header X-Forwarded-Proto http;
- proxy_set_header X-Frame-Options SAMEORIGIN;
- proxy_pass http://gitlab;
- @@ -92,10 +98,47 @@
- proxy_set_header Host $http_host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- - proxy_set_header X-Forwarded-Proto $scheme;
- + proxy_set_header X-Forwarded-Proto http;
- proxy_set_header X-Frame-Options SAMEORIGIN;
- proxy_pass http://gitlab;
- + }
- +
- + location ~ ^/[\w\.-]+/[\w\.-]+/(info/refs|git-upload-pack|git-receive-pack)$ {
- + # 'Error' 418 is a hack to re-use the @gitlab-git-http-server block
- + error_page 418 = @gitlab-git-http-server;
- + return 418;
- + }
- +
- + location ~ ^/[\w\.-]+/[\w\.-]+/repository/archive {
- + # 'Error' 418 is a hack to re-use the @gitlab-git-http-server block
- + error_page 418 = @gitlab-git-http-server;
- + return 418;
- + }
- +
- + location ~ ^/api/v3/projects/.*/repository/archive {
- + # 'Error' 418 is a hack to re-use the @gitlab-git-http-server block
- + error_page 418 = @gitlab-git-http-server;
- + return 418;
- + }
- +
- + location @gitlab-git-http-server {
- + ## If you use HTTPS make sure you disable gzip compression
- + ## to be safe against BREACH attack.
- +
- +
- + ## https://github.com/gitlabhq/gitlabhq/issues/694
- + ## Some requests take more than 30 seconds.
- + proxy_read_timeout 300;
- + proxy_connect_timeout 300;
- + proxy_redirect off;
- +
- + proxy_set_header Host $http_host;
- + proxy_set_header X-Real-IP $remote_addr;
- + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- + proxy_set_header X-Forwarded-Proto http;
- +
- + proxy_pass http://gitlab-git-http-server;
- }
- ## Enable gzip compression as per rails guide:
- * template[/var/opt/gitlab/nginx/conf/gitlab-mattermost-http.conf] action delete (up to date)
- * template[/var/opt/gitlab/nginx/conf/nginx.conf] action create
- - update content in file /var/opt/gitlab/nginx/conf/nginx.conf from 83a1a5 to 70b9b5
- --- /var/opt/gitlab/nginx/conf/nginx.conf 2015-11-09 13:41:34.336547434 -0500
- +++ /tmp/chef-rendered-template20151110-1868-14pio9o 2015-11-10 08:42:19.187532100 -0500
- @@ -14,6 +14,10 @@
- }
- http {
- + log_format gitlab_access '$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"';
- + log_format gitlab_ci_access '$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"';
- + log_format gitlab_mattermost_access '$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"';
- +
- sendfile on;
- tcp_nopush on;
- tcp_nodelay on;
- @@ -29,6 +33,7 @@
- include /opt/gitlab/embedded/conf/mime.types;
- include /var/opt/gitlab/nginx/conf/gitlab-http.conf;
- +
- * directory[/opt/gitlab/sv/nginx] action create (up to date)
- * directory[/opt/gitlab/sv/nginx/log] action create (up to date)
- * directory[/opt/gitlab/sv/nginx/log/main] action create (up to date)
- * template[/opt/gitlab/sv/nginx/run] action create (up to date)
- * template[/opt/gitlab/sv/nginx/log/run] action create (up to date)
- * template[/var/log/gitlab/nginx/config] action create (up to date)
- * ruby_block[reload nginx svlogd configuration] action nothing (skipped due to action :nothing)
- * file[/opt/gitlab/sv/nginx/down] action delete (up to date)
- * link[/opt/gitlab/init/nginx] action create (up to date)
- * link[/opt/gitlab/service/nginx] action create (up to date)
- * ruby_block[supervise_nginx_sleep] action run (skipped due to not_if)
- * service[nginx] action nothing (skipped due to action :nothing)
- Recipe: gitlab::remote-syslog_disable
- * link[/opt/gitlab/service/remote-syslog] action delete (up to date)
- Recipe: gitlab::logrotate
- * directory[/var/opt/gitlab/logrotate] action create (up to date)
- * directory[/var/opt/gitlab/logrotate/logrotate.d] action create (up to date)
- * directory[/var/log/gitlab/logrotate] action create (up to date)
- * template[/var/opt/gitlab/logrotate/logrotate.conf] action create (up to date)
- * template[/var/opt/gitlab/logrotate/logrotate.d/nginx] action create (up to date)
- * template[/var/opt/gitlab/logrotate/logrotate.d/unicorn] action create (up to date)
- * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-rails] action create (up to date)
- * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-shell] action create (up to date)
- * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-ci] action create (up to date)
- * directory[/opt/gitlab/sv/logrotate] action create (up to date)
- * directory[/opt/gitlab/sv/logrotate/log] action create (up to date)
- * directory[/opt/gitlab/sv/logrotate/log/main] action create (up to date)
- * template[/opt/gitlab/sv/logrotate/run] action create
- - update content in file /opt/gitlab/sv/logrotate/run from 999ee0 to 07f1b6
- --- /opt/gitlab/sv/logrotate/run 2015-11-09 13:41:37.008547345 -0500
- +++ /tmp/chef-rendered-template20151110-1868-1mzy59 2015-11-10 08:42:19.259532098 -0500
- @@ -3,11 +3,9 @@
- cd /var/opt/gitlab/logrotate
- -# Sleep a bit to avoid going nuts after gitlab just started.
- -sleep 600
- -
- -nice /opt/gitlab/embedded/sbin/logrotate -s /var/log/gitlab/logrotate/logrotate.status logrotate.conf
- -
- -# Sleep some more. After this, the script exits to be restarted by Runit.
- -sleep 3000
- +exec /opt/gitlab/embedded/bin/chpst -P /usr/bin/env \
- + dir=/var/opt/gitlab/logrotate \
- + pre_sleep=600 \
- + post_sleep=3000 \
- + /opt/gitlab/embedded/bin/gitlab-logrotate-wrapper
- * template[/opt/gitlab/sv/logrotate/log/run] action create (up to date)
- * template[/var/log/gitlab/logrotate/config] action create (up to date)
- * ruby_block[reload logrotate svlogd configuration] action nothing (skipped due to action :nothing)
- * file[/opt/gitlab/sv/logrotate/down] action delete (up to date)
- * directory[/opt/gitlab/sv/logrotate/control] action create
- - create new directory /opt/gitlab/sv/logrotate/control
- - change mode from '' to '0755'
- - change owner from '' to 'root'
- - change group from '' to 'root'
- * template[/opt/gitlab/sv/logrotate/control/t] action create
- - create new file /opt/gitlab/sv/logrotate/control/t
- - update content in file /opt/gitlab/sv/logrotate/control/t from none to 8fa3fa
- --- /opt/gitlab/sv/logrotate/control/t 2015-11-10 08:42:19.287532097 -0500
- +++ /tmp/chef-rendered-template20151110-1868-o9di55 2015-11-10 08:42:19.287532097 -0500
- @@ -1 +1,4 @@
- +#!/bin/sh
- +echo "Received TERM from runit, sending to process group (-PID)"
- +kill -- -$(cat /opt/gitlab/service/logrotate/supervise/pid)
- - change mode from '' to '0755'
- - change owner from '' to 'root'
- - change group from '' to 'root'
- * link[/opt/gitlab/init/logrotate] action create (up to date)
- * link[/opt/gitlab/service/logrotate] action create (up to date)
- * ruby_block[supervise_logrotate_sleep] action run (skipped due to not_if)
- * service[logrotate] action nothing (skipped due to action :nothing)
- Recipe: gitlab::mattermost_disable
- * link[/opt/gitlab/service/mattermost] action delete (up to date)
- Recipe: gitlab::database_migrations
- * execute[initialize gitlab-rails database] action nothing (skipped due to action :nothing)
- * execute[initialize gitlab-ci database] action nothing (skipped due to action :nothing)
- * bash[migrate gitlab-rails database] action nothing (skipped due to action :nothing)
- * bash[migrate gitlab-ci database] action nothing (skipped due to action :nothing)
- Recipe: gitlab::unicorn
- * service[unicorn] action restart
- - restart service service[unicorn]
- Recipe: gitlab::sidekiq
- * service[sidekiq] action restart
- - restart service service[sidekiq]
- Recipe: gitlab::gitlab-rails
- * execute[clear the gitlab-rails cache] action run
- - execute /opt/gitlab/bin/gitlab-rake cache:clear
- Recipe: gitlab::database_migrations
- * bash[migrate gitlab-rails database] action run
- - execute "bash" "/tmp/chef-script20151110-1868-k8ji3d"
- Recipe: gitlab::unicorn
- * service[unicorn] action restart
- - restart service service[unicorn]
- Recipe: gitlab::sidekiq
- * service[sidekiq] action restart
- - restart service service[sidekiq]
- Recipe: gitlab::postgresql
- * service[postgresql] action restart
- - restart service service[postgresql]
- Recipe: gitlab::gitlab-git-http-server
- * ruby_block[reload gitlab-git-http-server svlogd configuration] action create
- - execute the ruby block reload gitlab-git-http-server svlogd configuration
- * service[gitlab-git-http-server] action restart
- - restart service service[gitlab-git-http-server]
- Recipe: gitlab::nginx
- * service[nginx] action restart
- - restart service service[nginx]
- Recipe: gitlab::logrotate
- * service[logrotate] action restart
- - restart service service[logrotate]
- Running handlers:
- Running handlers complete
- Chef Client finished, 63/213 resources updated in 47.898726289 seconds
- gitlab Reconfigured!
- Restarting previously running GitLab services
- ok: run: logrotate: (pid 2326) 3s
- ok: run: nginx: (pid 2318) 3s
- ok: run: postgresql: (pid 2296) 4s
- ok: run: redis: (pid 1855) 51s
- ok: run: sidekiq: (pid 2285) 4s
- ok: run: unicorn: (pid 2341) 0s
- Upgrade complete! If your GitLab server is misbehaving try running
- sudo gitlab-ctl restart
- before anything else. If you need to roll back to the previous version you can
- use the database backup made during the upgrade (scroll up for the filename).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement