Troubleshooting
Problem
Administrators who try install or uninstall applications or content packs might face the error "another preview/install/uninstall task is currently in process". In this state, applications and content packs cannot be installed by using the Extension Management.
Symptom
In the Extensions Management menu, after an application or content pack file is installed, the following error is displayed:
Cause
A previous application or content pack failed to be installed or removed.
Environment
QRadar 7.4.0 and later.
Diagnosing The Problem
The issue can be verified in 2 ways (GUI and CLI).
In the GUI
- Log in to the QRadar Console GUI as the administrator user.
- Click the Admin tab.
- Click the Extensions Management menu.
- In the Extensions Management menu, click Add.
- Browse the application or content pack package.
- Select the "Install immediately" box.
- Click Add.
- The error "another preview/install/uninstall task is currently in process" shows up.
In the CLI
- Log in to the QRadar Console as the root user.
- Run the following psql command to check what is the current task blocking the installation or removal.
Note: The following command displays only the conflicting entries that might cause the issue.
psql -U qradar -c "select hub_id,content_status,id from content_package where content_status not in (3,6,9);" hub_id | content_status | id -----------------------------------------------------+----------------+----- IBMQRadar:IBMContentPackageInternalBaseMaint | 5 | 601 IBMQRadar:Cyber Adversary Framework Mapping Content | 1 | 301 IBMQRadar:Tuning | 8 | 201
Resolving The Problem
- Log in to the QRadar Console as the root user.
- Back up the content_package table.
- Create the backup directory.
mkdir -p /store/IBM_Support/
- Back up the table.
pg_dump -U qradar -t content_package --inserts -f /store/IBM_Support/content_package.sql-$(date +%F)
- Create the backup directory.
- Run the psql command in the "Diagnosing the Problem" section and make note of each ID.
- Update the content_package table and set the conflicting IDs in the content_status column to 6 (uninstalled status).
Note: When multiple entries are listed, rerun the command for each ID in the list.psql -U qradar -c "update content_package set content_status = 6 where id='<ID>';" Example: psql -U qradar -c "update content_package set content_status = 6 where id='601';"
- Rerun the psql command. No output must appear.
psql -U qradar -c "select hub_id,content_status,id from content_package where content_status not in (3,6,9);" hub_id | content_status | id --------+----------------+---- (0 rows)
- Clear the browser cache.
- Log in to the QRadar Console GUI as the administrator user.
- Install the required application or content package. See Installing extensions by using Extensions Management for more details.
- Click the Admin tab.
- Click the Extensions Management menu.
- In the Extensions Management menu, click Add.
- Browse the application or content pack package.
- Select the "Install immediately" box.
- Click Add.
Result
The required application or content pack finishes the installation or removal successfully. If the administrator continues to experience issues, contact QRadar Support for assistance.
Related Information
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB24","label":"Security Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSBQAC","label":"IBM Security QRadar SIEM"},"ARM Category":[{"code":"a8m0z000000cwt3AAA","label":"QRadar Apps"}],"ARM Case Number":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"7.4.0;and future releases"}]
Was this topic helpful?
Document Information
Modified date:
02 May 2022
UID
ibm16574849