Hello,
I’ve just installed upgrade my GitLab CI instance to the version 7.12 and it failed.
(I’ve downloaded the file gitlab-ce_7.12.0~omnibus.1-1_amd64.deb from packages.gitlab.com, as usually.)
I do not exactly understand the problem. I am keeping 2 GitLab instances up-to-date since more than one year (https://git.list.lu, https://ci.list.lu).
Fortunately, I’ve only updated the CI instance (less critical) than the GitLab instance.
Here is the message when running dpkg:
“”"
$ sudo dpkg -i gitlab-ce_7.12.0~omnibus.1-1_amd64.deb
(Reading database ... 276922 files and directories currently installed.)
Preparing to unpack gitlab-ce_7.12.0~omnibus.1-1_amd64.deb ...
gitlab preinstall: Backing up GitLab CI SQL database
WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.9.1
Dumping database ...
Dumping PostgreSQL database gitlab_ci_production ... [DONE]
.
.
.
(snip)
.
.
.
Reconfiguring GitLab to apply migrations
Starting Chef Client, version 12.4.0.rc.0
resolving cookbooks for run list: ["gitlab"]
Synchronizing Cookbooks:
- gitlab
- package
- runit
Compiling Cookbooks...
Recipe: gitlab::default
* directory[/etc/gitlab] action create (up to date)
================================================================================
Recipe Compile Error in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb
================================================================================
NameError
---------
uninitialized constant Module::SSLCertificateFile
Cookbook Trace:
---------------
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:35:in `from_file'
Relevant File Content:
----------------------
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:
28: group "root"
29: mode "0775"
30: action :nothing
31: end.run_action(:create)
32:
33: Gitlab[:node] = node
34: if File.exists?("/etc/gitlab/gitlab.rb")
35>> Gitlab.from_file("/etc/gitlab/gitlab.rb")
36: end
37: node.consume_attributes(Gitlab.generate_config(node['fqdn']))
38:
39: if File.exists?("/var/opt/gitlab/bootstrapped")
40: node.set['gitlab']['bootstrap']['enable'] = false
41: end
42:
43: directory "/var/opt/gitlab" do
44: owner "root"
Running handlers:
[2015-07-01T07:32:37+02:00] ERROR: Running exception handlers
Running handlers complete
[2015-07-01T07:32:37+02:00] ERROR: Exception handlers complete
[2015-07-01T07:32:37+02:00] FATAL: Stacktrace dumped to /opt/gitlab/embedded/cookbooks/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated in 2.064491504 seconds
[2015-07-01T07:32:37+02:00] ERROR: uninitialized constant Module::SSLCertificateFile
[2015-07-01T07:32:39+02:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
dpkg: error processing package gitlab-ce (--install):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
gitlab-ce
“”"
Can someone help me?
Thank you,
Cédric