CB Response Unified View: Cannot start services after upgrading to 6.3.0 due to postgresql93 dependencies
search cancel

CB Response Unified View: Cannot start services after upgrading to 6.3.0 due to postgresql93 dependencies

book

Article ID: 290284

calendar_today

Updated On:

Products

Carbon Black EDR (formerly Cb Response)

Issue/Introduction

service cb-unifiedview start
Detected an older version 6.1.3.170902.155 of cb-enterprise data schema
The cb-enterprise postgresql93 dependencies are required for this upgrade.
Please ensure postgresql93, postgresql93-libs, and postgresql93-server are installed, and try again.


'rpm -q postgresql93 postgresql93-libs postgresql93-server' failed(2)
cb-enterprise auto-upgrade failure (exit code 1):

Environment

  • CB Response Unified View Server: 6.3.0

Cause

clean_requirements_on_remove is enabled in /etc/yum.conf

Resolution

  1. Edit /etc/yum.repo.d/CarbonBlackUnifiedView.repo
  2. Add the baseurl for 6.2.3, comment out the stable line
    #baseurl= https://yum.distro.carbonblack.io/enterprise/stable/$releasever/$basearch/
    baseurl=https://yum.distro.carbonblack.io/enterprise/6.2.3-1/x86_64/
  3. Save and exit
  4. Run `yum clean all`
  5. Download the postgresql93 packages
    yum install postgresql93 postgresql93-server postgresql93-libs postgresql93-contrib
  6. Start unified view - `service cb-unifiedview start`
  7. After services have started successfully, remove postgresql93
    yum remove postgresql93*
  8. Remove the 6.2.3 line from /etc/yum.repos.d/CarbonBlack.repo and uncomment the stable line for next upgrade
baseurl= https://yum.distro.carbonblack.io/enterprise/stable/$releasever/$basearch/