Upgrade to 8.6.4-ce failed with 503 error

Hi,

I just tried to update through apt-get which normally works fine on Ubuntu 14.04. Today I got the following error:

gitlab-ce (8.6.4-ce.0) wird eingerichtet ...
hostname: Name or service not known
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://gitlab.server.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: 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 63292) 1s
ok: run: redis: (pid 63300) 0s
run: postgresql: (pid 63292) 1s; run: log: (pid 1231) 1910902s
run: redis: (pid 63300) 0s; run: log: (pid 1229) 1910902s
Reconfiguring GitLab to apply migrations
Starting Chef Client, version 12.6.0

================================================================================
Chef encountered an error attempting to load the node data for "(none)"
================================================================================

Unexpected Error:
-----------------
Chef::Exceptions::ValidationFailed: Option name's value (none) does not match regular expression /^[\-[:alnum:]_:.]+$/


Running handlers:
Running handlers complete
Chef Client failed. 0 resources updated in 00 seconds
dpkg: Fehler beim Bearbeiten des Paketes gitlab-ce (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
 gitlab-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)

How can I solve this?

Best regards,

Ralf

Hi again,

I tried again today with sudo gitlab-ctl reconfigure and got the same results:

root@(none):~# sudo gitlab-ctl reconfigure
sudo: unable to resolve host (none)
Starting Chef Client, version 12.6.0

================================================================================
Chef encountered an error attempting to load the node data for "(none)"
================================================================================

Unexpected Error:
-----------------
Chef::Exceptions::ValidationFailed: Option name's value (none) does not match regular expression /^[\-[:alnum:]_:.]+$/


Running handlers:
Running handlers complete
Chef Client failed. 0 resources updated in 00 seconds

Since two days my GitLab is down and this has just happened by updating. It worked perfectly before this update.

Any idea?

Thanks,

Ralf

Ok, I solved it myself now:

root@(none):~# hostname localhost
root@(none):~# sudo gitlab-ctl reconfigure

Thanks anyway!

Best regards,

Ralf

1 Like