Hi,

I created a CSR for my GitLab installation using this command:

openssl req -new -sha256 -key /etc/gitlab/ssl/domain.com.key -out 
/etc/gitlab/ssl/domain.com.csr
I got a certificate as .pem and created a .crt from it:

openssl x509 -outform der -in domain.com.pem -out domain.com.crt
Then I uploaded it to my GitLab installation into the /etc/gitlab/ssl 
folder which i created using

sudo mkdir -p /etc/gitlab/ssl
sudo chmod 700 /etc/gitlab/ssl
I updated the gitlab.rb and changed external_url to https://domain.com

Then I ran sudo gitlab-ctl reconfigure.

Everything worked fine except that nginx did not restart.

The console output is this:

Running handlers:
[2015-11-25T00:22:37+01:00] ERROR: Running exception handlers
Running handlers complete
[2015-11-25T00:22:37+01:00] ERROR: Exception handlers complete
Chef Client failed. 7 resources updated in 17.875615056 seconds
[2015-11-25T00:22:37+01:00] FATAL: Stacktrace dumped to 
/opt/gitlab/embedded/cookbooks/cache/chef-stacktrace.out
[2015-11-25T00:22:37+01:00] ERROR: Found 1 errors, they are stored in the 
backtrace
[2015-11-25T00:22:37+01:00] FATAL: Chef::Exceptions::ChildConvergeError: 
Chef run process exited unsuccessfully (exit code 1)

chef-stacktrace.out contains this:

Chef::Exceptions::RunFailedWrappingError: Found 1 errors, they are stored 
in the backtrace
1) Mixlib::ShellOut::ShellCommandFailed -  service[nginx] (gitlab::nginx 
line 191) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected 
process to exit with [0], but received '1'
---- Begin output of /opt/gitlab/embedded/bin/chpst -u root 
/opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/nginx ----
STDOUT: timeout: down: /opt/gitlab/service/nginx: 0s, normally up, want up
STDERR:
---- End output of /opt/gitlab/embedded/bin/chpst -u root 
/opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/nginx ----
Ran /opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv 
restart /opt/gitlab/service/nginx returned 1
/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.1.0/lib/mixlib/shellout.rb:289:in
 
`invalid!'
/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.1.0/lib/mixlib/shellout.rb:276:in
 
`error!'

How can I get more details about the root cause of the problem?

Thanks,

Alex

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/d1dd59ad-13c4-4610-a83c-b17f9676c385%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to