[chef] Re: Chef 11.0.11 to 12


Chronological Thread 
  • From: Mark Mzyk < >
  • To:
  • Subject: [chef] Re: Chef 11.0.11 to 12
  • Date: Fri, 20 Mar 2015 11:28:33 -0400

Hi Simon,

The built in upgrade process only works with Chef Server 11.1 or greater, so you need to upgrade from 11.0.11 to 11.1 or greater first, then make the jump to 12.

It is possible to make the jump from version less than 11.1, but it's not currently supported and takes a lot of manual work. You can see what it takes in this issue: https://github.com/chef/opscode-omnibus/issues/463

I'd recommend you upgrade first to 11.1 and then try again.

Thanks,

Mark Mzyk

" type="cite">
" photoname="Simon Hawkins" src="jpgMXxbTeGRu4.jpg" name="compose-unknown-contact.jpg" height="25px" width="25px">
March 20, 2015 at 11:15 AM

Hi there,

 

I am trying to upgrade from chef 11.0.11 to 12 and I get the following error at the end of the upgrade:

 

Open source Chef 11 server data downloaded to /tmp/chef11-server-data20150320-14095-18tbt30

Created /tmp/chef12-server-data20150320-14095-1v5vnm3 as the location to save the tranformed data

Transforming open source Chef 11 server data for upload to Chef 12 server

/opt/opscode/embedded/lib/ruby/2.1.0/fileutils.rb:1396:in `copy': unknown file type: /tmp/chef11-server-data20150320-14095-18tbt30/environments (RuntimeError)

        from /opt/opscode/embedded/lib/ruby/2.1.0/fileutils.rb:469:in `block in copy_entry'

        from /opt/opscode/embedded/lib/ruby/2.1.0/fileutils.rb:1506:in `call'

        from /opt/opscode/embedded/lib/ruby/2.1.0/fileutils.rb:1506:in `wrap_traverse'

        from /opt/opscode/embedded/lib/ruby/2.1.0/fileutils.rb:466:in `copy_entry'

        from /opt/opscode/embedded/lib/ruby/2.1.0/fileutils.rb:441:in `block in cp_r'

        from /opt/opscode/embedded/lib/ruby/2.1.0/fileutils.rb:1579:in `block in fu_each_src_dest'

        from /opt/opscode/embedded/lib/ruby/2.1.0/fileutils.rb:1595:in `fu_each_src_dest0'

        from /opt/opscode/embedded/lib/ruby/2.1.0/fileutils.rb:1577:in `fu_each_src_dest'

        from /opt/opscode/embedded/lib/ruby/2.1.0/fileutils.rb:440:in `cp_r'

        from (eval):121:in `block in transform_chef11_data'

        from (eval):120:in `each'

        from (eval):120:in `transform_chef11_data'

        from (eval):45:in `run_upgrade'

        from (eval):135:in `block (2 levels) in load_files'

        from /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/omnibus-ctl-0.3.3/lib/omnibus-ctl.rb:177:in `call'

        from /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/omnibus-ctl-0.3.3/lib/omnibus-ctl.rb:177:in `block in add_command_under_category'

        from /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/omnibus-ctl-0.3.3/lib/omnibus-ctl.rb:555:in `run'

        from /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/omnibus-ctl-0.3.3/bin/omnibus-ctl:31:in `<top (required)>'

        from /opt/opscode/embedded/bin/omnibus-ctl:23:in `load'

        from /opt/opscode/embedded/bin/omnibus-ctl:23:in `<main>'

 

Do you have any ideas how I can resolve this?

 

Cheers,

Simon.


Disclaimer

This message is intended only for the use of the person(s) ("Intended Recipient") to whom it is addressed. It may contain information which is privileged and confidential. Accordingly any dissemination, distribution, copying or other use of this message or any of its content by any person other than the Intended Recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are not the Intended Recipient, please contact the sender as soon as possible.

Totaljobs Group Limited Registered Office: Bluefin Building, 110 Southwark Street, London, SE1 0TA, UK Registered in England and Wales under company no. 4269861





Archive powered by MHonArc 2.6.16.

§