These patches might help with diagnosing problems in the upgrade step, "Install sequential creditnote extension".
The following two are alternatives:
installViaManager.patch
- This bypasses thecivicrm_api()
wrapper which sometimes interferes with debugging.installViaSql.patch
- This reduces the installation steps to the fewest possible layers.