Why is the upgrade script is failing with error 'The Script failed due to call depth overflow'?
This issue generally occurs if there is a recursive call being made in the PowerShell script. To solve this, perform
- Verify that there are no changed made to the script
- Check if a custom deployment script has been created to call the installation script and in that if there is a recursive call happening
- Ensure that all the path in the custom script is correct or set correctly.
For example - Invoking same .ps1 file from the script which was going in loop.