The upgrade may not run due to incorrect syntax in the upgrade scriptIssue While troubleshooting upgrade issues where upgrade did not run, one possible issue could be the upgrade script in sys_trigger having incorrect syntax. Go to sys_trigger table.Search with upgrade.Open the upgrade job.Observe that in the script, the script is actually in the same line with the comment(please find screenshot). This effectively makes the script to run upgrade commented out. CauseThis can be a manual mistake on the script, or incorrect copying of the script.ResolutionKeeping the script in a separate line from the comment should resolve this issue. Alternately, the script can be imported from another instance where the syntax is correct.