After Cisco Unity Connection Cluster is upgraded from 7.x/8.x version to 8.5(1) version, when the switch-version command is run, the process errors out after several minutes. This document provides information on how to troubleshoot this issue.
There are no specific requirements for this document.
The information in this document is based on the Cisco Unity Connection 8.5(1).
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Refer to Cisco Technical Tips Conventions for more information on document conventions.
After upgrading cluster to Cisco Unity Connection 8.5(1) from 7.x and 8.x versions, the utils system switch-version command fails to complete. As a result, the cluster cannot complete the upgrade. Also, this error message is found in the Version Switch Log (cuc-version-switch.log):
Cannot insert a null into column (tbl_handler.partitionobjectid)
This issue is documented by Cisco bug ID CSCtr59602 (registered customers only) .
The workaround requires the removal of affected users in order to run the switch-version command successfully. The affected users cannot be removed using Unity Connection Administration and require the use of the csp_subscriberdelete stored procedure.
run cuc dbquery unitydirdb execute procedure csp_subscriberdelete
You need to substitute the ObjectId with the ObjectId of the affected user and re-run as necessary until all of the affected users have been removed from the system. After this, run the utils system switch-version command again.