-
-
Save cheald/6002dbe275a379a5f85a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@gitlab:/var/log/gitlab/gitlab-rails# apt-get install gitlab-ce | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following packages will be upgraded: | |
gitlab-ce | |
1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. | |
Need to get 0 B/264 MB of archives. | |
After this operation, 24.4 MB disk space will be freed. | |
(Reading database ... 139177 files and directories currently installed.) | |
Preparing to unpack .../gitlab-ce_8.5.0-ce.1_amd64.deb ... | |
gitlab preinstall: Backing up GitLab SQL database (excluding Git repositories, uploads) | |
/opt/gitlab/embedded/lib/ruby/site_ruby/2.1.0/rubygems/dependency.rb:318:in `to_specs': Could not find 'bundler' (>= 0.a) among 32 total gem(s) (Gem::LoadError) | |
Checked in 'GEM_PATH=/usr/local/rvm/gems/ruby-2.3.0:/usr/local/rvm/gems/ruby-2.3.0@global', execute `gem env` for more information | |
from /opt/gitlab/embedded/lib/ruby/site_ruby/2.1.0/rubygems/dependency.rb:327:in `to_spec' | |
from /opt/gitlab/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:64:in `gem' | |
from /opt/gitlab/embedded/bin/bundle:22:in `<main>' | |
gitlab preinstall: | |
gitlab preinstall: Backup failed! If you want to skip this backup, run the following command and | |
gitlab preinstall: try again: | |
gitlab preinstall: | |
gitlab preinstall: sudo touch /etc/gitlab/skip-auto-migrations | |
gitlab preinstall: | |
dpkg: error processing archive /var/cache/apt/archives/gitlab-ce_8.5.0-ce.1_amd64.deb (--unpack): | |
subprocess new pre-installation script returned error exit status 1 | |
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 xxx | |
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: | |
Errors were encountered while processing: | |
/var/cache/apt/archives/gitlab-ce_8.5.0-ce.1_amd64.deb | |
E: Sub-process /usr/bin/dpkg returned an error code (1) | |
root@gitlab:/var/log/gitlab/gitlab-rails# which ruby | |
/usr/local/rvm/rubies/ruby-2.3.0/bin/ruby | |
root@gitlab:/var/log/gitlab/gitlab-rails# rvm use system | |
Now using system ruby. | |
root@gitlab:/var/log/gitlab/gitlab-rails# which ruby | |
/usr/bin/ruby | |
root@gitlab:/var/log/gitlab/gitlab-rails# gem install bundler | |
Fetching: bundler-1.11.2.gem (100%) | |
Successfully installed bundler-1.11.2 | |
1 gem installed | |
Installing ri documentation for bundler-1.11.2... | |
Installing RDoc documentation for bundler-1.11.2... | |
root@gitlab:/var/log/gitlab/gitlab-rails# apt-get install gitlab-ce | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following packages will be upgraded: | |
gitlab-ce | |
1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. | |
Need to get 0 B/264 MB of archives. | |
After this operation, 24.4 MB disk space will be freed. | |
(Reading database ... 139177 files and directories currently installed.) | |
Preparing to unpack .../gitlab-ce_8.5.0-ce.1_amd64.deb ... | |
gitlab preinstall: Backing up GitLab SQL database (excluding Git repositories, uploads) | |
Dumping database ... | |
Dumping PostgreSQL database gitlabhq_production ... [DONE] | |
done | |
Dumping repositories ... | |
[SKIPPED] | |
Dumping uploads ... | |
[SKIPPED] | |
Dumping builds ... | |
[SKIPPED] | |
Dumping artifacts ... | |
[SKIPPED] | |
Dumping lfs objects ... | |
[SKIPPED] | |
Creating backup archive: 1456160695_gitlab_backup.tar ... done | |
Uploading backup archive to remote storage ... skipped | |
Deleting tmp directories ... done | |
done | |
Deleting old backups ... skipping | |
Unpacking gitlab-ce (8.5.0-ce.1) over (8.4.3-ce.0) ... | |
Setting up gitlab-ce (8.5.0-ce.1) ... | |
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 xxx | |
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: gitlab-workhorse: 0s, normally up | |
ok: down: logrotate: 1s, normally up | |
ok: down: postgresql: 0s, normally up | |
ok: down: redis: 1s, normally up | |
ok: down: sidekiq: 0s, normally up | |
ok: down: unicorn: 0s, normally up | |
ok: run: postgresql: (pid 29991) 1s | |
ok: run: redis: (pid 29999) 0s | |
run: postgresql: (pid 29991) 1s; run: log: (pid 27850) 1364123s | |
run: redis: (pid 29999) 0s; run: log: (pid 27763) 1364129s | |
Reconfiguring GitLab to apply migrations | |
Starting Chef Client, version 12.5.1 | |
resolving cookbooks for run list: ["gitlab"] | |
Synchronizing Cookbooks: | |
- package (0.0.0) | |
- runit (0.14.2) | |
- gitlab (0.0.1) | |
Compiling Cookbooks... | |
Recipe: gitlab::default | |
* directory[/etc/gitlab] action create (up to date) | |
init (upstart 1.12.1) | |
Converging 249 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 (up to date) | |
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[/mnt/storage/git-data/repositories] action create (up to date) | |
* 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 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 runid: --context (-Z) works only on an SELinux-enabled kernel | |
(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[/mnt/storage/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/log/gitlab] action create (up to date) | |
* directory[/var/opt/gitlab/gitlab-rails/shared] action create | |
- change mode from '0711' to '0751' | |
- change group from 'root' to 'gitlab-www' | |
* 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 (up to date) | |
* directory[/var/opt/gitlab/gitlab-rails/uploads] action create | |
- change mode from '0750' to '0700' | |
* directory[/var/opt/gitlab/gitlab-rails/shared/artifacts] action create (up to date) | |
* directory[/var/opt/gitlab/gitlab-rails/shared/lfs-objects] 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 (up to date) | |
* directory[/var/opt/gitlab/gitlab-rails/shared/pages] action create (up to date) | |
* 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 (up to date) | |
* link[/opt/gitlab/embedded/service/gitlab-rails/config/secrets.yml] action create (up to date) | |
* 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/relative_url.rb] action delete (up to date) | |
* link[/opt/gitlab/embedded/service/gitlab-rails/config/initializers/relative_url.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 9bac1a to 927d4e | |
--- /var/opt/gitlab/gitlab-rails/etc/gitlab.yml 2016-02-06 23:37:05.705049008 +0000 | |
+++ /var/opt/gitlab/gitlab-rails/etc/.gitlab.yml20160222-30012-83qdut 2016-02-22 17:05:36.681049008 +0000 | |
@@ -21,7 +21,7 @@ | |
# WARNING: See config/application.rb under "Relative url support" for the list of | |
# other files that need to be changed for relative url support | |
- # relative_url_root: /gitlab | |
+ relative_url_root: | |
# Uncomment and customize if you can't use the default user to run GitLab (default: 'git') | |
user: git | |
@@ -123,6 +123,8 @@ | |
host: | |
port: | |
https: false | |
+ external_http: | |
+ external_https: | |
## Elasticsearch (EE only) | |
# Enable it if you are going to use elasticsearch instead of | |
@@ -239,14 +241,21 @@ | |
auto_sign_in_with_provider: | |
# CAUTION! | |
- # This allows users to login without having a user account first (default: false). | |
+ # This allows users to login without having a user account first. Define the allowed | |
+ # providers using an array, e.g. ["saml", "twitter"] | |
# User accounts will be created automatically when authentication was successful. | |
- allow_single_sign_on: | |
+ allow_single_sign_on: ["saml"] | |
+ | |
# Locks down those users until they have been cleared by the admin (default: true). | |
block_auto_created_users: | |
# Look up new users in LDAP servers. If a match is found (same uid), automatically | |
# link the omniauth identity with the LDAP account. (default: false) | |
auto_link_ldap_user: | |
+ | |
+ # Allow users with existing accounts to login and auto link their account via SAML | |
+ # login, without having to do a manual login first and manually add SAML | |
+ # (default: false) | |
+ auto_link_saml_user: false | |
## Auth providers | |
* 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 ffa3fb to 9d93a2 | |
--- /var/opt/gitlab/gitlab-rails/VERSION 2016-02-06 22:10:00.077049008 +0000 | |
+++ /var/opt/gitlab/gitlab-rails/.VERSION20160222-30012-12f1ygb 2016-02-22 17:05:36.709049008 +0000 | |
@@ -1,2 +1,2 @@ | |
-8.4.3 | |
+8.5.0 | |
* 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) | |
* bash[generate assets] action nothing (skipped due to action :nothing) | |
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) | |
* service[mailroom] 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 rungitlab-runsvdir start/running, process 27740 | |
- 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 (up to date) | |
* link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf] action create (up to date) | |
* 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.shmall.conf] action create (up to date) | |
* link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmall.conf] action create (up to date) | |
* 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 (up to date) | |
* link[/etc/sysctl.d/90-omnibus-gitlab-kernel.sem.conf] action create (up to date) | |
* 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 (up to date) | |
* 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 (up to date) | |
* 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 (skipped due to not_if) | |
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 (up to date) | |
* template[/opt/gitlab/sv/unicorn/control/t] action create (up to date) | |
* 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 (up to date) | |
* link[/etc/sysctl.d/90-omnibus-gitlab-net.core.somaxconn.conf] action create (up to date) | |
* 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 (up to date) | |
* 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-workhorse | |
* directory[/var/opt/gitlab/gitlab-workhorse] action create (up to date) | |
* directory[/var/log/gitlab/gitlab-workhorse] action create (up to date) | |
* directory[/opt/gitlab/etc/gitlab-workhorse] action create (up to date) | |
* directory[/opt/gitlab/etc/gitlab-workhorse/env] action create (up to date) | |
* file[/opt/gitlab/etc/gitlab-workhorse/env/PATH] action create (up to date) | |
* directory[/opt/gitlab/sv/gitlab-workhorse] action create (up to date) | |
* directory[/opt/gitlab/sv/gitlab-workhorse/log] action create (up to date) | |
* directory[/opt/gitlab/sv/gitlab-workhorse/log/main] action create (up to date) | |
* template[/opt/gitlab/sv/gitlab-workhorse/run] action create (up to date) | |
* template[/opt/gitlab/sv/gitlab-workhorse/log/run] action create (up to date) | |
* template[/var/log/gitlab/gitlab-workhorse/config] action create (up to date) | |
* ruby_block[reload gitlab-workhorse svlogd configuration] action nothing (skipped due to action :nothing) | |
* file[/opt/gitlab/sv/gitlab-workhorse/down] action delete (up to date) | |
* link[/opt/gitlab/init/gitlab-workhorse] action create (up to date) | |
* link[/opt/gitlab/service/gitlab-workhorse] action create (up to date) | |
* ruby_block[supervise_gitlab-workhorse_sleep] action run (skipped due to not_if) | |
* service[gitlab-workhorse] action nothing (skipped due to action :nothing) | |
* file[/var/opt/gitlab/gitlab-workhorse/VERSION] action create | |
- update content in file /var/opt/gitlab/gitlab-workhorse/VERSION from 566a80 to b9f0f2 | |
--- /var/opt/gitlab/gitlab-workhorse/VERSION 2016-02-06 22:10:30.585049008 +0000 | |
+++ /var/opt/gitlab/gitlab-workhorse/.VERSION20160222-30012-15wjhlm 2016-02-22 17:05:37.069049008 +0000 | |
@@ -1,2 +1,2 @@ | |
-gitlab-workhorse 0.6.2-20160202.183112 | |
+gitlab-workhorse 0.6.4-20160222.110916 | |
Recipe: gitlab::mailroom_disable | |
* link[/opt/gitlab/service/mailroom] action delete (up to date) | |
* directory[/opt/gitlab/sv/mailroom] action delete (up to date) | |
Recipe: gitlab::nginx_disable | |
* link[/opt/gitlab/service/nginx] action delete (up to date) | |
* directory[/opt/gitlab/sv/nginx] action delete (up to date) | |
Recipe: gitlab::remote-syslog_disable | |
* link[/opt/gitlab/service/remote-syslog] action delete (up to date) | |
* directory[/opt/gitlab/sv/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 | |
- update content in file /var/opt/gitlab/logrotate/logrotate.conf from 019a22 to 378c95 | |
--- /var/opt/gitlab/logrotate/logrotate.conf 2016-02-06 22:10:32.037049008 +0000 | |
+++ /var/opt/gitlab/logrotate/.logrotate.conf20160222-30012-23w7pm 2016-02-22 17:05:37.081049008 +0000 | |
@@ -5,5 +5,6 @@ | |
include /var/opt/gitlab/logrotate/logrotate.d/unicorn | |
include /var/opt/gitlab/logrotate/logrotate.d/gitlab-rails | |
include /var/opt/gitlab/logrotate/logrotate.d/gitlab-shell | |
-include /var/opt/gitlab/logrotate/logrotate.d/gitlab-ci | |
+include /var/opt/gitlab/logrotate/logrotate.d/gitlab-workhorse | |
+include /var/opt/gitlab/logrotate/logrotate.d/gitlab-pages | |
* 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-workhorse] action create | |
- create new file /var/opt/gitlab/logrotate/logrotate.d/gitlab-workhorse | |
- update content in file /var/opt/gitlab/logrotate/logrotate.d/gitlab-workhorse from none to 359431 | |
--- /var/opt/gitlab/logrotate/logrotate.d/gitlab-workhorse 2016-02-22 17:05:37.093049008 +0000 | |
+++ /var/opt/gitlab/logrotate/logrotate.d/.gitlab-workhorse20160222-30012-1j9e7hk 2016-02-22 17:05:37.093049008 +0000 | |
@@ -1 +1,15 @@ | |
+# Generated by gitlab-ctl reconfigure | |
+# Modifications will be overwritten! | |
+ | |
+/var/log/gitlab/gitlab-workhorse/*.log { | |
+ daily | |
+ | |
+ rotate 30 | |
+ compress | |
+ copytruncate | |
+ missingok | |
+ postrotate | |
+ | |
+ endscript | |
+} | |
* template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-pages] action create | |
- create new file /var/opt/gitlab/logrotate/logrotate.d/gitlab-pages | |
- update content in file /var/opt/gitlab/logrotate/logrotate.d/gitlab-pages from none to 3a241b | |
--- /var/opt/gitlab/logrotate/logrotate.d/gitlab-pages 2016-02-22 17:05:37.097049008 +0000 | |
+++ /var/opt/gitlab/logrotate/logrotate.d/.gitlab-pages20160222-30012-fubvm7 2016-02-22 17:05:37.097049008 +0000 | |
@@ -1 +1,15 @@ | |
+# Generated by gitlab-ctl reconfigure | |
+# Modifications will be overwritten! | |
+ | |
+/var/log/gitlab/gitlab-pages/*.log { | |
+ daily | |
+ | |
+ rotate 30 | |
+ compress | |
+ copytruncate | |
+ missingok | |
+ postrotate | |
+ | |
+ endscript | |
+} | |
* 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 (up to date) | |
* 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 (up to date) | |
* template[/opt/gitlab/sv/logrotate/control/t] action create (up to date) | |
* 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) | |
* directory[/opt/gitlab/sv/mattermost] action delete (up to date) | |
Recipe: gitlab::gitlab-pages_disable | |
* link[/opt/gitlab/service/gitlab-pages] action delete (up to date) | |
* directory[/opt/gitlab/sv/gitlab-pages] action delete (up to date) | |
Recipe: gitlab::default | |
* link[/opt/gitlab/service/gitlab-git-http-server] action delete (up to date) | |
* directory[/opt/gitlab/sv/gitlab-git-http-server] action delete (up to date) | |
Recipe: gitlab::database_migrations | |
* execute[initialize gitlab-rails database] action nothing (skipped due to action :nothing) | |
* bash[migrate gitlab-rails database] action nothing (skipped due to action :nothing) | |
Recipe: gitlab::gitlab-rails | |
* execute[clear the gitlab-rails cache] action run | |
- execute /opt/gitlab/bin/gitlab-rake cache:clear | |
Recipe: gitlab::unicorn | |
* service[unicorn] action restart | |
- restart service service[unicorn] | |
Recipe: gitlab::sidekiq | |
* service[sidekiq] action restart | |
- restart service service[sidekiq] | |
Recipe: gitlab::database_migrations | |
* bash[migrate gitlab-rails database] action run== 20151201203948 RaiseHookUrlLimit: migrating ================================ | |
-- change_column(:web_hooks, :url, :string, {:limit=>2000}) | |
-> 0.0247s | |
== 20151201203948 RaiseHookUrlLimit: migrated (0.0248s) ======================= | |
== 20151231152326 AddAkismetToApplicationSettings: migrating ================== | |
-- change_table(:application_settings) | |
-> 0.0140s | |
== 20151231152326 AddAkismetToApplicationSettings: migrated (0.0141s) ========= | |
== 20160109054846 CreateSpamLogs: migrating =================================== | |
-- create_table(:spam_logs) | |
-> 0.0086s | |
== 20160109054846 CreateSpamLogs: migrated (0.0087s) ========================== | |
== 20160121030729 AddEmailAuthorInBodyToApplicationSettings: migrating ======== | |
-- add_column(:application_settings, :email_author_in_body, :boolean, {:default=>false}) | |
-> 0.0185s | |
== 20160121030729 AddEmailAuthorInBodyToApplicationSettings: migrated (0.0186s) | |
== 20160122185421 AddPendingDeleteToProject: migrating ======================== | |
-- add_column(:projects, :pending_delete, :boolean, {:default=>false}) | |
-> 0.0447s | |
== 20160122185421 AddPendingDeleteToProject: migrated (0.0448s) =============== | |
== 20160128212447 RemoveIpBlockingSettingsFromApplicationSettings: migrating == | |
-- remove_column(:application_settings, :ip_blocking_enabled, :boolean, {:default=>false}) | |
-> 0.0007s | |
-- remove_column(:application_settings, :dnsbl_servers_list, :text) | |
-> 0.0004s | |
== 20160128212447 RemoveIpBlockingSettingsFromApplicationSettings: migrated (0.0012s) | |
== 20160129135155 RemoveDotAtomPathEndingOfProjects: migrating ================ | |
-- select_all("SELECT p.id, p.path, n.path as namespace_path, n.id as namespace_id FROM projects p inner join namespaces n on n.id = p.namespace_id WHERE p.path LIKE '%.atom'") | |
-> 0.0016s | |
== 20160129135155 RemoveDotAtomPathEndingOfProjects: migrated (0.0017s) ======= | |
== 20160129155512 AddMergeCommitShaToMergeRequests: migrating ================= | |
-- add_column(:merge_requests, :merge_commit_sha, :string) | |
-> 0.0007s | |
== 20160129155512 AddMergeCommitShaToMergeRequests: migrated (0.0007s) ======== | |
== 20160202091601 AddErasableToCiBuild: migrating ============================= | |
-- add_reference(:ci_builds, :erased_by, {:references=>:users, :index=>true}) | |
-> 0.0056s | |
-- add_column(:ci_builds, :erased_at, :datetime) | |
-> 0.0004s | |
== 20160202091601 AddErasableToCiBuild: migrated (0.0060s) ==================== | |
== 20160202164642 AddAllowGuestToAccessBuildsProject: migrating =============== | |
-- add_column(:projects, :public_builds, :boolean, {:default=>true, :null=>false}) | |
-> 0.0491s | |
== 20160202164642 AddAllowGuestToAccessBuildsProject: migrated (0.0491s) ====== | |
== 20160209130428 AddIndexToSnippet: migrating ================================ | |
-- add_index(:snippets, :updated_at) | |
-> 0.0046s | |
== 20160209130428 AddIndexToSnippet: migrated (0.0047s) ======================= | |
== 20160212123307 CreateTasks: migrating ====================================== | |
-- create_table(:tasks) | |
-> 0.0270s | |
== 20160212123307 CreateTasks: migrated (0.0270s) ============================= | |
== 20160217100506 AddDescriptionToLabel: migrating ============================ | |
-- add_column(:labels, :description, :string) | |
-> 0.0006s | |
== 20160217100506 AddDescriptionToLabel: migrated (0.0007s) =================== | |
== 20160217174422 AddNoteToTasks: migrating =================================== | |
-- add_reference(:tasks, :note, {:index=>true}) | |
-> 0.0085s | |
== 20160217174422 AddNoteToTasks: migrated (0.0085s) ========================== | |
== 20160220123949 RenameTasksToTodos: migrating =============================== | |
-- rename_table(:tasks, :todos) | |
-> 0.0081s | |
== 20160220123949 RenameTasksToTodos: migrated (0.0081s) ====================== | |
- execute "bash" "/tmp/chef-script20160222-30012-34nf57" | |
Recipe: gitlab::gitlab-rails | |
* execute[clear the gitlab-rails cache] action run | |
- execute /opt/gitlab/bin/gitlab-rake cache:clear | |
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-workhorse | |
* service[gitlab-workhorse] action restart | |
- restart service service[gitlab-workhorse] | |
Running handlers: | |
Running handlers complete | |
Chef Client finished, 21/258 resources updated in 32 seconds | |
gitlab Reconfigured! | |
Restarting previously running GitLab services | |
ok: run: gitlab-workhorse: (pid 30342) 2s | |
ok: run: logrotate: (pid 30349) 0s | |
ok: run: postgresql: (pid 29991) 36s | |
ok: run: redis: (pid 29999) 35s | |
ok: run: sidekiq: (pid 30334) 2s | |
ok: run: unicorn: (pid 30358) 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). | |
root@gitlab:/var/log/gitlab/gitlab-rails# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment