[chef] Re: Re: Re: Re: How to properly upgrade chef-server from 11.08


Chronological Thread 
  • From: Stephen Delano < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: How to properly upgrade chef-server from 11.08
  • Date: Sat, 18 Jan 2014 13:42:06 -0800

Hi Bill,

Indeed, it appears that the reconfigure needs to connect to running services (psql) to determine if it needs to create a database, and also to create one.

You're going to need to run the reconfigure with the services online, apologies for the miscommunication. Before attempting another reconfigure, can you see what the state of the chef-solr service is? If it's up and running again correctly, it should not receive a restart command on the next reconfigure (no config change) and you should be able to proceed past the point at which the run had failed the first time.

Again, what data paint are you using to determine what version of the chef server is running?


On Sat, Jan 18, 2014 at 1:36 PM, Stephen Delano < " target="_blank"> > wrote:
Apologies on the upgrade procedures. Like Seth said, stopping the running services should be a best practice for upgrading.

It appears that the restart command to Solr failed with a timeout during your reconfigure. It could very well be that the restart command eventually completed, but if search isn't working for you then it might be beneficial to tail the Solr logs to see what happened during the restart. If you have a large infrastructure, it's not uncommon for Solr to take a while to stop cleanly before attempting a restart.

As it pertains to the server version, what leads you to believe that 11.0.8 is still running?

Also, since the reconfigure failed midway through and didn't completely reconfigure all of the services, it would be a good idea to try running the reconfigure to completion with all of the services down:

chef-server-ctl stop 
chef-server-ctl reconfigure 
chef-server-ctl start

-Stephen 


On Sat, Jan 18, 2014 at 12:30 PM, Seth Falcon < " target="_blank"> > wrote:

" target="_blank"> writes:

> Hi Bill,
>
> The latest release of chef-server is 11.0.10. The upgrade path from 11.0.8
> is as simple as Steffen mentioned:
>
> dpkg -i PACKAGE.deb
>
> chef-server-ctl reconfigure

I would recommend stopping all services before upgrading:

    chef-server-ctl stop
    dpkg -i PACKAGE.deb
    chef-server-ctl reconfigure
    chef-server-ctl start

+ seth



--
Stephen Delano
Software Development Engineer
Opscode, Inc.
1008 Western Avenue
Suite 601
Seattle, WA 98104



--
Stephen Delano
Software Development Engineer
Opscode, Inc.
1008 Western Avenue
Suite 601
Seattle, WA 98104


Archive powered by MHonArc 2.6.16.

§