I was trying to upgrade the ArcGIS Enterprise from 10.6.1 to 10.7.1. I was stuck with an issue and the error was " Failed to execute SQL file C:\Program Files\ArcGIS\Portal\framework\template\sql\10.7.0_to_10.7.1\livingatlasdiff.sql "
Since in my case case it is a disconnected environment and I am not using internet in my machine and also I am not using livingatlas; so for the time being to troubleshoot the issue, I removed the "livingatlasdiff.sql" file from its original location (although kept it as a backup) and tried to upgrade the Portal which eventually upgraded successfully from 10.6.1 to 10.7.1. Does anyone faced similar problem and how it is resolved. Kindly let me know.