[SOLVED] Some Error when upgrade

I got some error when run sudo gitlab-tcl upgrade
Here is some error i found

Shutting down all GitLab services except those needed for migrations
ok: down: logrotate: 0s, normally up
ok: down: nginx: 0s, normally up
ok: down: postgresql: 0s, normally up
ok: down: redis: 0s, normally up
ok: down: sidekiq: 0s, normally up
ok: down: unicorn: 1s, normally up
ok: run: postgresql: (pid 3040) 0s
ok: run: redis: (pid 3042) 0s
run: postgresql: (pid 3040) 0s; run: log: (pid 1040) 881s
run: redis: (pid 3042) 0s; run: log: (pid 1039) 881s
Reconfiguring GitLab to apply migrations
Starting Chef Client, version 11.18.0
resolving cookbooks for run list: ["gitlab"]
Synchronizing Cookbooks:
  - runit
  - gitlab
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
  ================================================================================
  
  RuntimeError
  ------------
  GitLab external URL must include a schema and FQDN, e.g. http://gitlab.example.com/
  
  Cookbook Trace:
  ---------------
    /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/libraries/gitlab.rb:110:in `parse_external_url'
    /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/libraries/gitlab.rb:289:in `generate_config'
    /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:34:in `from_file'
  
  Relevant File Content:
  ----------------------
  /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/libraries/gitlab.rb:
  
  103:  
  104:      def parse_external_url
  105:        return unless external_url
  106:  
  107:        uri = URI(external_url.to_s)
  108:  
  109:        unless uri.host
  110>>         raise "GitLab external URL must include a schema and FQDN, e.g. http://gitlab.example.com/"
  111:        end
  112:        Gitlab['user']['git_user_email'] ||= "gitlab@#{uri.host}"
  113:        Gitlab['gitlab_rails']['gitlab_host'] = uri.host
  114:        Gitlab['gitlab_rails']['gitlab_email_from'] ||= "gitlab@#{uri.host}"
  115:  
  116:        case uri.scheme
  117:        when "http"
  118:          Gitlab['gitlab_rails']['gitlab_https'] = false
  119:        when "https"
  
  
  Running handlers:
[2015-06-05T15:21:32+07:00] ERROR: Running exception handlers
  Running handlers complete
[2015-06-05T15:21:32+07:00] ERROR: Exception handlers complete
[2015-06-05T15:21:32+07:00] FATAL: Stacktrace dumped to /opt/gitlab/embedded/cookbooks/cache/chef-stacktrace.out
  Chef Client failed. 0 resources updated in 1.695808478 seconds
[2015-06-05T15:21:32+07:00] ERROR: GitLab external URL must include a schema and FQDN, e.g. http://gitlab.example.com/
[2015-06-05T15:21:32+07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

Check that in /etc/gitlab/gitlab.rb you have set up external_url correctly like so:

external_url "http://example.com"

Dear axII,
Thanks you a lot

Br,
astrony