On a SOAR instance that was installed as priv but migrated to non-priv, a SOAR upgrade fails with the following error:
UPGRADE: DatabaseSchema Starting upgrade task operation Updating Splunk SOAR database schema Running subprocess: /opt/phantom/bin/phenv python3 -m manage migrate Running subprocess subprocess stdout: subprocess stderr: Traceback (most recent call last):<Truncated>File "/opt/phantom/www/phantom_ui/reliability/diagnostics/diag_bundle.py", line 18, in <module> from phantom_common.install_info import is_nonroot_install, is_dev_env ImportError: cannot import name 'is_nonroot_install' from 'phantom_common.install_info' (/opt/phantom/pycommon3/phantom_common/install_info.pyc)
The issue is the file "/opt/phantom/www/phantom_ui/reliability/diagnostics/diag_bundle.py" has been deprecated and is performing a check that is invalid in SOAR 6.x.
File /opt/phantom/www/phantom_ui/reliability/diagnostics/diag_bundle.py should be moved out of the /opt/phantom/www/phantom_ui/reliability/diagnostics/folder and the upgrade re-attempted.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |