EDR: Upgrade to cb-enterprise 7.3 or higher fails
search cancel

EDR: Upgrade to cb-enterprise 7.3 or higher fails

book

Article ID: 292236

calendar_today

Updated On:

Products

Carbon Black EDR (formerly Cb Response)

Issue/Introduction

When upgrading from a previous version of cb-enterprise to version 7.3.0 or higher, the following error (or similar) occurs:
Reason: b'Starting cb-supervisord: \x1b[60G[\x1b[0;32m OK \x1b[0;39m]\r\nUsage: cb-solr-reindexer [OPTIONS] SOLR-CORE INDEX-DIR\n\nError: Invalid value for "INDEX-DIR": Directory "/var/cb/data/solr_migration_artifacts/old_cores/cbalerts/data/index" does not exist.\nStopping cb-supervisord: \x1b[60G[\x1b[0;32m OK \x1b[0;39m]\r\n\nUnexpected error while upgrading solr cores.\n\'/usr/share/cb/cb-solr-reindexer --solr-port=8080 --solr-address=127.0.0.1 --num-days-keep-alerts=90 cbalerts /var/cb/data/solr_migration_artifacts/old_cores/cbalerts/data/index\' failed(1)\n'

Environment

  • EDR Server (formerly CB Response): 7.3.0 or Higher

Cause

This is due to an issue in the product currently being investigated.

Resolution

1. Create a support ticket.
2. Provide the output of:
ls -la /var/cb/data/
ls -la /var/cb/data/solr_migration_artifacts
ls -la /var/cb/data/solr_migration_artifacts/old_cores/
3. If the ownership of /var/cb/data/solr_migration_artifacts/old_cores is root:root, update it to cb:cb:
chown cb:cb -R /var/cb/data/solr_migration_artifacts/old_cores
4. Attempt to proceed with the normal upgrade process and start services.
5. Provide the output of all the above commands in your support ticket, regardless if the issue was resolved or not.