Stephen,
I’ve upgrade 11.0.8 to 11.1 and the tried to upgrade to 12 using this
article but no success.
I got these errors:
ERROR: /environments failed to children: HTTP error retrieving children:
401 “Unauthorized”
ERROR: /clients failed to children: HTTP error retrieving children: 401
"Unauthorized"
ERROR: /users failed to children: HTTP error retrieving children: 401
"Unauthorized"
ERROR: /roles failed to children: HTTP error retrieving children: 401
"Unauthorized"
ERROR: /nodes failed to children: HTTP error retrieving children: 401
"Unauthorized"
ERROR: Failed to authenticate to https://localhost as admin with key
/etc/chef-server/admin.pem
Response: Invalid signature for user or client ‘admin’
ERROR: /data_bags failed to children: HTTP error getting children: 401
"Unauthorized"knife download failed with pid 16102 exit 100
From: Stephen Delano [mailto:stephen@opscode.com]
Sent: Tuesday, June 16, 2015 2:52 PM
To: chef@lists.opscode.com
Cc: chef@lists.opscode.com
Subject: [chef] Re: Upgrade Chef Server 11.0.8-1 to 12.0.8
Hi Mohammad,
Chef Server 12 supports upgrades from Chef Server 11.1.0 and greater. For
instructions and guidance on the upgrade process, please follow along at
http://docs.chef.io/upgrade_server.html#from-chef-server-osc
Cheers!
—
Stephen Delano - Engineering Lead, Chef
On Wed, Jun 10, 2015 at 10:37 AM, Mohammad Fattahian <
mfattahian@masterfile.com> wrote:
Hi,
I wanted to upgrade my Chef Server 11.0.8-1 to 12.0.8. I found an article
that I have to upgrade to 11.1 first and then go to 12.0.8
I upgraded to 11.1 completely but when I try to upgrade 11.1 to 12.0.8 I
got this error:
root@chef-server-test:~# chef-server-ctl upgrade
Open source Chef 11 server detected.
Would you like to upgrade? [yN]
y
Upgrading the open source Chef 11 server.
……
ERROR: /environments failed to children: HTTP error retrieving children:
401 “Unauthorized”
ERROR: /clients failed to children: HTTP error retrieving children: 401
"Unauthorized"
ERROR: /users failed to children: HTTP error retrieving children: 401
"Unauthorized"
ERROR: /roles failed to children: HTTP error retrieving children: 401
"Unauthorized"
ERROR: /nodes failed to children: HTTP error retrieving children: 401
"Unauthorized"
ERROR: Failed to authenticate to https://localhost as admin with key
/etc/chef-server/admin.pem
Response: Invalid signature for user or client ‘admin’
ERROR: /data_bags failed to children: HTTP error getting children: 401
"Unauthorized"knife download failed with pid 16102 exit 100