Created
September 22, 2015 20:00
-
-
Save datenimperator/5eacffeeb20136fdc326 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@v6:~# apt-get upgrade | |
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 0 not upgraded. | |
Need to get 355 MB of archives. | |
After this operation, 78.8 kB of additional disk space will be used. | |
Do you want to continue [Y/n]? | |
Get:1 https://packages.gitlab.com/gitlab/gitlab-ce/debian/ wheezy/main gitlab-ce amd64 8.0.1-ce.0 [355 MB] | |
Fetched 355 MB in 1min 19s (4,454 kB/s) | |
debconf: delaying package configuration, since apt-utils is not installed | |
(Reading database ... 107296 files and directories currently installed.) | |
Preparing to replace gitlab-ce 8.0.0-ce.0 (using .../gitlab-ce_8.0.1-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] | |
Dumping builds ... | |
done | |
Creating backup archive: 1442951811_gitlab_backup.tar ... done | |
Uploading backup archive to remote storage ... skipped | |
Deleting tmp directories ... done | |
done | |
done | |
Deleting old backups ... skipping | |
rake backup:create # GITLAB | Create a backup of the GitLab CI database | |
gitlab preinstall: Backing up GitLab CI SQL database | |
Applying final database migrations ... | |
done | |
Dumping database ... | |
Dumping PostgreSQL database gitlab_ci_production ... [DONE] | |
done | |
Dumping builds ... | |
tar: /var/opt/gitlab/gitlab-ci/builds: Cannot chdir: Permission denied | |
tar: Error is not recoverable: exiting now | |
done | |
Creating backup archive: 1442951816_gitlab_ci_backup.tar ... done | |
Uploading backup archive to remote storage ... skipped | |
Deleting tmp directories ... done | |
done | |
done | |
Deleting old backups ... skipping | |
Unpacking replacement gitlab-ce ... | |
Setting up gitlab-ce (8.0.1-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 https://gitlab.software-consultant.net | |
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: ci-redis: 0s, normally up | |
ok: down: ci-sidekiq: 16291s, normally up | |
ok: down: ci-unicorn: 16299s, normally up | |
ok: down: gitlab-git-http-server: 1s, normally up | |
ok: down: logrotate: 0s, normally up | |
ok: down: nginx: 1s, normally up | |
ok: down: postgresql: 0s, normally up | |
ok: down: redis: 0s, normally up | |
ok: down: sidekiq: 0s, normally up | |
ok: down: unicorn: 0s, normally up | |
ok: run: postgresql: (pid 31631) 0s | |
ok: run: redis: (pid 31633) 1s | |
run: postgresql: (pid 31631) 1s; run: log: (pid 1556) 189304s | |
run: redis: (pid 31633) 1s; run: log: (pid 1563) 189304s | |
Reconfiguring GitLab to apply migrations | |
Starting Chef Client, version 12.4.1 | |
[2015-09-22T15:57:25-04:00] WARN: [inet6] no ip address on venet0 | |
resolving cookbooks for run list: ["gitlab"] | |
Synchronizing Cookbooks: | |
- package | |
- runit | |
- gitlab | |
Compiling Cookbooks... | |
Recipe: gitlab::default | |
* directory[/etc/gitlab] action create (up to date) | |
[2015-09-22T15:57:26-04:00] WARN: Cloning resource attributes for directory[/var/opt/gitlab] from prior resource (CHEF-3694) | |
[2015-09-22T15:57:26-04:00] WARN: Previous directory[/var/opt/gitlab]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:43:in `from_file' | |
[2015-09-22T15:57:26-04:00] WARN: Current directory[/var/opt/gitlab]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/users.rb:24:in `from_file' | |
================================================================================ | |
Recipe Compile Error in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb | |
================================================================================ | |
NameError | |
--------- | |
No resource, method, or local variable named `ci_service' for `Chef::Recipe "gitlab-ci_disable"' | |
Cookbook Trace: | |
--------------- | |
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/gitlab-ci_disable.rb:69:in `from_file' | |
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:74:in `from_file' | |
Relevant File Content: | |
---------------------- | |
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/gitlab-ci_disable.rb: | |
62: service ci_service do | |
63: action :stop | |
64: end | |
65: | |
66: include_recipe "gitlab::#{ci_service}_disable" | |
67: end | |
68: | |
69>> if node["gitlab"][ci_service]["enable"] | |
70: node.override["gitlab"][ci_service]["enable"] = false | |
71: end | |
72: | |
73: end | |
74: | |
75: if node["gitlab"]['gitlab-ci']["enable"] | |
76: node.override["gitlab"]['gitlab-ci']["enable"] = false | |
77: end | |
78: | |
Running handlers: | |
[2015-09-22T15:57:26-04:00] ERROR: Running exception handlers | |
Running handlers complete | |
[2015-09-22T15:57:26-04:00] ERROR: Exception handlers complete | |
Chef Client failed. 0 resources updated in 1.504879329 seconds | |
[2015-09-22T15:57:26-04:00] FATAL: Stacktrace dumped to /opt/gitlab/embedded/cookbooks/cache/chef-stacktrace.out | |
[2015-09-22T15:57:26-04:00] ERROR: No resource, method, or local variable named `ci_service' for `Chef::Recipe "gitlab-ci_disable"' | |
[2015-09-22T15:57:27-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) | |
dpkg: error processing gitlab-ce (--configure): | |
subprocess installed post-installation script returned error exit status 1 | |
Errors were encountered while processing: | |
gitlab-ce | |
E: Sub-process /usr/bin/dpkg returned an error code (1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment