Internal error when trying to edit any existing profile after a migration: An Error occurred during your request. 
search cancel

Internal error when trying to edit any existing profile after a migration: An Error occurred during your request. 

book

Article ID: 276654

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

After migrating packages, new MCS profiles can be successfully added, but when trying to update an existing one, there is an error:

Error

An Error occurred during your request. 

Please try your request again. 

From logs:

2023-11-28 13:20:02.022 [https-jsse-nio-443-exec-5]  ERROR com.ca.uim.mcs.api.controller.ProfileSummaryController:updateProfile:294 controller.ProfileSummaryController - Unexpected error occured.
com.ca.uim.mcs.api.exception.ServerErrorException: An unknown error occurred. Check the log for more information.
           at
com.ca.uim.mcs.api.service.ProfileService.createOrUpdateDeviceOrGroupProfile(ProfileService.java:496) ~[mcs-ui-api-20.4.8.jar:20.4.8]
           at com.ca.uim.mcs.api.service.ProfileService.replaceProfile(ProfileService.java:422) ~[mcs-ui-api-20.4.8.jar:20.4.8]

Environment

DX UIM 23.4.*

Cause

In tables ssrv2probetemplaespackage and ssrv2probetemplatesupgrade , there were some entries for packages with status of "migrating" and not "migrated".

 

 

Resolution

Manually updating these entries to "ok" can resolve the issue

UPDATE ssrv2probetemplaespackage set status ='ok' where status = 'migrating'

Additional Information

Related KB: MCS Group Profile creation or update fails. "An unknown error occurred. Check the log for more information."