Resolving the message, “Software upgrade required” when attempting to deploy to a remote platform.
- Author: Peter Farrell
- Published: 09/29/2015
- Applies to: Application Server all versions up to and including 2014 R2 P01
If attempts to deploy objects fail with the following pop up warning. "Software upgrade required. Please perform deploy changes by selecting platform to get the latest software update. This will only undeploy objects which are in Software Upgrade Required state", and you have verified that no updates, or hot fixes have been applied to the GR or target platform the following solution may resolve the failure to deploy.
“Software upgrade required. Please perform deploy changes by selecting platform to get the latest software update. This will only undeploy objects which are in Software Upgrade Required state”
Usually when a message presents when attempting to deploy an object advising that a software upgrade is required, there is a mis-match between the product version on the Galaxy Repository and the bootstrap version on the target node. However, if you get this warning and have verified that no updates have been applied and that the version numbers do match, then the following script may be necessary to clear the warning. CAUTION – Application of a hot fix will not update the product version numbers, so you must be certain that a hot fix is not the cause of the warning before implementing this solution.
The following script should be run from Microsoft SQL Server Management Console, after which deployments should without issue.
--check the file_pending_update table
select * from file_pending_update
join file_table ON
file_pending_update.file_id = file_table.file_id
delete from file_pending_update
select tag_name, software_upgrade_needed from gobject
where software_upgrade_needed != 0
UPDATE gobject set software_upgrade_needed = 0
WHERE software_upgrade_needed != 0