[OCI] Unable To Approve A Patch!

 I've come across this a couple of times.

Scenario:

A really busy NetApp OnCommand Insight (OCI) server, or an OCI server about to run out of memory. You've got a nice quick simple job to do, updating some OCI datasources with a patch. You click approve and then you get errors like these:

Error approving patch: Exception while approving patch id:11

Error approving patch: Patch dir doesn't exist: D:\Program Files\SANscreen\wildfly\standalone\deployments\datasources.war\patches\patch664049760924049153

Fortunately the solution is quite simple.

1) Log onto the OCI server.

2) Create the folder as per the error message - e.g.:

D:\Program Files\SANscreen\wildfly\standalone\deployments\datasources.war\patches\patch664049760924049153

3) Get your .patch file and use 7-zip to unzip it (or you could rename from .patch to .zip, and then simply unzip.) And place the contents of the unzipped .patch file into the folder you recreated above.

4) Carry on with your day! 😎

Comments