# Chef 11.0.11 to 12

**URL:** <https://discourse.chef.io/t/chef-11-0-11-to-12/6435>\
**Category:** Chef Infra (archive)\
**Created:** [March 20, 2015, 3:15pm UTC](https://discourse.chef.io/t/chef-11-0-11-to-12/6435 "2015-03-20T15:15:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simon\_Hawkins](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@Simon\_Hawkins](https://discourse.chef.io/u/Simon_Hawkins)\
**Post date:** [March 20, 2015, 3:15pm UTC](https://discourse.chef.io/t/chef-11-0-11-to-12/6435/1 "2015-03-20T15:15:15Z")

</div>

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 `’

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

* * *

---

<div class="post-metadata">

**Author:** ![mmzyk](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/mmzyk/32/1039_2.png) [@mmzyk](https://discourse.chef.io/u/mmzyk)\
**Post date:** [March 20, 2015, 3:28pm UTC](https://discourse.chef.io/t/chef-11-0-11-to-12/6435/2 "2015-03-20T15:28:33Z")

</div>

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](https://github.com/chef/opscode-omnibus/issues/463)

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

Thanks,

Mark Mzyk

> Simon Hawkins [mailto:Simon.Hawkins@totaljobsgroup.com](mailto:Simon.Hawkins@totaljobsgroup.com)  
> 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
> 
> * * *

---

<div class="post-metadata">

**Author:** ![Simon\_Hawkins](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@Simon\_Hawkins](https://discourse.chef.io/u/Simon_Hawkins)\
**Post date:** [March 24, 2015, 2:40pm UTC](https://discourse.chef.io/t/chef-11-0-11-to-12/6435/3 "2015-03-24T14:40:40Z")

</div>

Hi Mark,

Thanks for this, is there a link anywhere on how to upgrade on the older version?

I currently have chef-server-11.0.11-1.el6.x86\_64.rpm and private-chef-11.3.0-1.el6.x86\_64.rpm - I assume installing the rpm isn’t enough and there’s a process to upgrade?

Cheers,  
Simon.  
From: Mark Mzyk [[mailto:mmzyk@chef.io](mailto:mmzyk@chef.io)]  
Sent: 20 March 2015 15:29  
To: [chef@lists.opscode.com](mailto:chef@lists.opscode.com)  
Subject: [chef] Re: Chef 11.0.11 to 12

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](https://github.com/chef/opscode-omnibus/issues/463)

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

Thanks,

Mark Mzyk

[cid:image001.jpg@01D06640.7F80C530]  
Simon Hawkins[mailto:Simon.Hawkins@totaljobsgroup.com](mailto:Simon.Hawkins@totaljobsgroup.com)  
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 `’

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

* * *

---

<div class="post-metadata">

**Author:** ![mmzyk](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/mmzyk/32/1039_2.png) [@mmzyk](https://discourse.chef.io/u/mmzyk)\
**Post date:** [March 24, 2015, 3:16pm UTC](https://discourse.chef.io/t/chef-11-0-11-to-12/6435/4 "2015-03-24T15:16:25Z")

</div>

Simon,

The two rpms that you listed that are not compatible with each other.  
chef-server-11.0.11 is the open source Chef server. private-chef-11.3.0  
is the Enterprise Chef 11 server.  
We make both available for download since we opened source all the  
server code with Chef server 12, incase anyone needs these older versions.

Based on what you wrote before, I believe you have installed and are  
running the chef-server-11.0.11 package. Just delete the  
private-chef-11.3.0 rpm, you don't need it.

To upgrade using the steps I recommended, download the latest open  
source Chef server 11 package from here:  
[https://www.chef.io/download-open-source-chef-server-11/](https://www.chef.io/download-open-source-chef-server-11/)

That appears to be 11.1.6-1 at the time I write this. You should then  
follow the upgrade steps that are here:  
[http://docs.chef.io/release/osc\_11-1/upgrade\_server\_open\_source.html](http://docs.chef.io/release/osc_11-1/upgrade_server_open_source.html)

The tl;dr is that you'll install the rpm and then run the upgrade  
command, but read over the docs to ensure you understand what is  
involved and we always recommend that you have a backup of your data  
before doing any upgrade.

Once you've upgraded to 11.1.6, you're ready to move to Chef server 12.  
To do that, download the Chef server 12 rpm, which is named  
chef-server-core-. You can download that from here:

> **[Download Chef Infra Server | Chef](https://www.chef.io/downloads/tools/infra-server)**
>
> The Chef Infra Server acts as a hub for configuration data.

Latest release as I write this is 12.0.6.

Instructions then for upgrading to Chef server 12 from Chef server 11  
can be found here:

> **[Upgrade Chef Infra Server](https://docs.chef.io/server/upgrades/)**
>
> Each new release of Chef Infra Server improves reliability and updates 3rd party components to ensure the security of the server.

And if you need it, there is more detail on the upgrade process here:  
[https://docs.chef.io/upgrade\_server\_open\_source\_notes.html](https://docs.chef.io/upgrade_server_open_source_notes.html)

And once again, I'll recommend you have a backup of your data in case  
something goes wrong during the upgrade, although we try very hard not  
to lose any data or put you in an unrecoverable state during upgrade.

Hope that helps.

Mark Mzyk

> Simon Hawkins [mailto:Simon.Hawkins@totaljobsgroup.com](mailto:Simon.Hawkins@totaljobsgroup.com)  
> March 24, 2015 at 10:40 AM
> 
> Hi Mark,
> 
> Thanks for this, is there a link anywhere on how to upgrade on the  
> older version?
> 
> I currently have chef-server-11.0.11-1.el6.x86\_64.rpm and  
> private-chef-11.3.0-1.el6.x86\_64.rpm -- I assume installing the rpm  
> isn't enough and there's a process to upgrade?
> 
> Cheers,
> 
> Simon.
> 
> \*From:\*Mark Mzyk [[mailto:mmzyk@chef.io](mailto:mmzyk@chef.io)]  
> _Sent:_ 20 March 2015 15:29  
> _To:_ [chef@lists.opscode.com](mailto:chef@lists.opscode.com)  
> _Subject:_ [chef] Re: Chef 11.0.11 to 12
> 
> 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](https://github.com/chef/opscode-omnibus/issues/463)
> 
> I'd recommend you upgrade first to 11.1 and then try again.
> 
> Thanks,
> 
> Mark Mzyk
> 
> _Simon Hawkins_ [mailto:Simon.Hawkins@totaljobsgroup.com](mailto:Simon.Hawkins@totaljobsgroup.com)
> 
> March 20, 2015 at 11:15 AM
> 
> Mark Mzyk [mailto:mmzyk@chef.io](mailto:mmzyk@chef.io)  
> March 20, 2015 at 11:28 AM  
> 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](https://github.com/chef/opscode-omnibus/issues/463)
> 
> I'd recommend you upgrade first to 11.1 and then try again.
> 
> Thanks,
> 
> Mark Mzyk
> 
> Simon Hawkins [mailto:Simon.Hawkins@totaljobsgroup.com](mailto:Simon.Hawkins@totaljobsgroup.com)  
> 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
> 
> * * *
