How to upgrade Chef-Manage?

Hi,

As I am trying to upgrade chef manage from 2.2 to 2.4.3. So after I upgraded the chef-server successfully from 2.4. to 2.8, I ran below commands

chef-server-ctl install chef-manage

Installing Cookbook Gems:
Compiling Cookbooks…
Converging 4 resources
Recipe: private-chef::add_ons_wrapper

  • ruby_block[addon_install_notification_chef-manage] action nothing (skipped

due to action :nothing)

  • remote_file[/var/opt/opscode/local-mode-cache/chef-manage_2.4.3-1_amd64.deb]

action create
- create new file /var/opt/opscode/local-mode-cache/chef-manage_2.4.3-

1_amd64.deb
- update content in file /var/opt/opscode/local-mode-cache/chef-

manage_2.4.3-1_amd64.deb from none to 0af176
(file sizes exceed 10000000 bytes, diff output suppressed)

  • ruby_block[locate_addon_package_chef-manage] action run
    • execute the ruby block locate_addon_package_chef-manage
  • apt_package[chef-manage] action install (up to date)

Running handlers:

  • #Class:0x00000006473780::AddonInstallHandler
    Running handlers complete
    Chef Client finished, 2/4 resources updated in 12 minutes 10 seconds
    chef-server-ctl reconfigure
    chef-manage-ctl reconfigure

Even though no direct error I can see 2.2 only when I click on changelog in UI mode or in /opt/chef-manage/version-manifest.txt files.

I even tried downloading the chef manage and executed the below command
root@administrator-virtual-machine:~# chef-server-ctl install chef-manage --path /root/chef-manage_2.4.3-1_amd64.deb

Starting Chef Client, version 12.12.19
resolving cookbooks for run list: [“private-chef::add_ons_wrapper”]
Synchronizing Cookbooks:

  • private-chef (0.1.0)
  • enterprise (0.10.1)
  • apt (2.9.2)
  • yum (3.11.0)
  • openssl (4.4.0)
  • runit (1.6.0)
  • chef-sugar (3.3.0)
  • packagecloud (0.2.4)
    Installing Cookbook Gems:
    Compiling Cookbooks…
    Converging 3 resources
    Recipe: private-chef::add_ons_wrapper
  • ruby_block[addon_install_notification_chef-manage] action nothing (skipped

due to action :nothing)

  • ruby_block[locate_addon_package_chef-manage] action run
    • execute the ruby block locate_addon_package_chef-manage
  • apt_package[chef-manage] action install (up to date)

Running handlers:

  • #Class:0x00000006089688::AddonInstallHandler
    Running handlers complete
    Chef Client finished, 1/3 resources updated in 16 seconds

Still the version seems to be the same. Am I doing it correct?

I read in another post that I need to install the package and use reconfigure. Then will the below commands work?

dpkg -D10 -i /root/chef-manage_2.4.3-1_amd64.deb
chef-manage-ctl reconfigure

Hi,

Could you try uninstall the existing manage and then reconfigure the chef-manage?

Im pretty sure the upgrade process is the same as the install process. I have never installed the chef server add-ons using the OS Package Managers. https://docs.chef.io/install_server.html

Install the package using Chef Server Control
chef-server-ctl install chef-manage
or
chef-server-ctl install chef-manage --path </path/to/directory/containing/install>

Reconfigure Chef Server
chef-server-ctl reconfigure

Reconfigure Chef Manage
chef-manage-ctl reconfigure

Hi,

Yes, I did exactly the below, the chef manage 2.4.3 is suppose to fix the change-log, but even running the below I still see 2.2 and If I try to upgrade again I am getting its up-to date.

chef-server-ctl install chef-manage --path /root/chef-manage_2.4.3-1_amd64.deb
chef-server-ctl reconfigure
chef-manage-ctl reconfigure