I’m upgrading from chef-server 12.4 (open source on ubuntu 14.04). I can upgrade to 12.5, and then to 12.6. Upgrading to 12.7 results in a failure with the following stacktrace:
root@chef01:/var/opt/opscode/local-mode-cache# cat chef-stacktrace.out
Generated at 2016-07-14 21:11:12 +0000
URI::InvalidURIError: the scheme https does not accept registry part: :443 (or bad hostname?)
/opt/opscode/embedded/lib/ruby/2.1.0/uri/generic.rb:214:in initialize' /opt/opscode/embedded/lib/ruby/2.1.0/uri/http.rb:84:in
initialize’
/opt/opscode/embedded/lib/ruby/2.1.0/uri/common.rb:214:in new' /opt/opscode/embedded/lib/ruby/2.1.0/uri/common.rb:214:in
parse’
/opt/opscode/embedded/lib/ruby/2.1.0/uri/common.rb:747:in parse' /opt/opscode/embedded/lib/ruby/2.1.0/uri/common.rb:1232:in
URI’
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/helper.rb:73:in nginx_ssl_url' /var/opt/opscode/local-mode-cache/cookbooks/private-chef/recipes/oc-chef-pedant.rb:48:in
block in from_file’
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/resource_builder.rb:76:in instance_eval' /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/resource_builder.rb:76:in
build’
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/dsl/declare_resource.rb:277:in build_resource' /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/dsl/declare_resource.rb:234:in
declare_resource’
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/dsl/resources.rb:40:in template' /var/opt/opscode/local-mode-cache/cookbooks/private-chef/recipes/oc-chef-pedant.rb:42:in
from_file’
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/mixin/from_file.rb:30:in instance_eval' /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/mixin/from_file.rb:30:in
from_file’
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/cookbook_version.rb:233:in load_recipe' /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/run_context.rb:354:in
load_recipe’
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/run_context.rb:310:in block in include_recipe' /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/run_context.rb:309:in
each’
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/run_context.rb:309:in include_recipe' /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/dsl/include_recipe.rb:26:in
include_recipe’
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/recipes/default.rb:184:in from_file' /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/mixin/from_file.rb:30:in
instance_eval’
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/mixin/from_file.rb:30:in from_file' /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/cookbook_version.rb:233:in
load_recipe’
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/run_context.rb:354:in load_recipe' /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/run_context/cookbook_compiler.rb:140:in
block in compile_recipes’
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/run_context/cookbook_compiler.rb:138:in each' /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/run_context/cookbook_compiler.rb:138:in
compile_recipes’
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/run_context/cookbook_compiler.rb:75:in compile' /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/run_context.rb:176:in
load’
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/policy_builder/expand_node_object.rb:97:in setup_run_context' /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/client.rb:510:in
setup_run_context’
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/client.rb:280:in run' /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/application.rb:268:in
run_with_graceful_exit_option’
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/application.rb:244:in block in run_chef_client' /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/local_mode.rb:44:in
with_server_connectivity’
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/application.rb:227:in run_chef_client' /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/application/client.rb:419:in
run_application’
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/lib/chef/application.rb:59:in run' /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.3/bin/chef-client:26:in
<top (required)>’
/opt/opscode/embedded/bin/chef-client:23:in load' /opt/opscode/embedded/bin/chef-client:23:in
'root@chef01:/var/opt/opscode/local-mode-cache#