从 ePO 5.10 更新9到 ePO 5.10 更新15的升级失败。
以下错误记录在文件中
ePOUpdater.yyyy.mm.dd.hr.min.logs (
C:\Programdata\McAfee\ePolicy Orchestrator\ePOUpdaterLogs ):
注意: 您可以在 EPOUpdater 日志中搜索已处理的关键字
总文件 ,以查找失败计数。这可帮助您识别一个失败条目以查找问题。
2023-01-30T18:52:26.226Z - info: Sucessfully executed SQL -- END: EPO-9610
--------------------------------------------------------------------------------
EXEC dbo.EPOCore_DropFunction N'EPOGetPolicyAssignmentForApproval';
2023-01-30T18:52:26.232Z - error: Failed to execute SQL CREATE FUNCTION [dbo].[EPOGetPolicyAssignmentForApproval]
LEFT JOIN EPOPolicyLocaleXlate D2 ON C.ProductCode = D2.ProductCode AND PT.FeatureTextID = D2.Token AND D2.LanguageID = @LanguageID
WHERE B.Status = @WorkflowStatus
execution failed with error : RequestError: View or function 'EPOLeafNode' has more column names specified than columns defined.
2023-01-30T18:52:26.232Z - error: Error executing script file 4_ePO_Function.sql
2023-01-30T18:52:26.232Z - info: SQL script execution failed
2023-01-30T18:52:26.232Z - info: Add update with id CU-15 to failed update list
2023-01-30T18:52:26.232Z - info: Total files processed : 633 success : 44 failure : 1
2023-01-30T18:52:26.232Z - info: Waiting for apply updates to completed
2023-01-30T18:52:26.260Z - info: Total files processed : 633 success : 44 failure : 1
2023-01-30T18:52:26.260Z - info: Waiting for apply updates to completed
2023-01-30T18:52:26.260Z - info: going to execute sql 5_ePO_Proc.sql
2023-01-30T18:52:26.261Z - info: Sql file5_ePO_Proc.sql has 20 chunks
2023-01-30T18:52:26.261Z - info: Copying file from C:\Users\secadmin\Downloads\ePO_5.10.0_Update_15\resources\app\release\webapps\EPOCore\sql\down\5.10.0cu-5.10.0\CU-11\5_ePO_Proc.sql to C:/PROGRA~2/McAfee/EPOLIC~1/updates/CU-15/down/CU-11/EPOCore/5_ePO_Proc.sql
2023-01-30T18:52:26.288Z - info: Successfully got connection
execution failed with error : RequestError: View or function 'dbo.EPOLeafNode' has more column names specified than columns defined.
2023-01-30T18:52:26.331Z - error: Error executing script file 5_ePO_Proc.sql
2023-01-30T18:52:26.331Z - info: SQL script execution failed
2023-01-30T18:52:26.331Z - info: Add update with id CU-15 to failed update list
2023-01-30T18:52:26.331Z - info: Total files processed : 633 success : 44 failure : 2
2023-01-30T18:52:46.359Z - error: Failed to execute SQL -- end EPO-9724
--------------------------------------------------------------------------------
/**** START: EPO-9646 Adding the drop column as we are modifying the function which is being used in these
columns hence they are being dropped here before altering the function ***/
Alter table EPOLeafNodeMT drop column [Tags];
execution failed with error : RequestError: ALTER TABLE DROP COLUMN failed because column 'Tags' does not exist in table 'EPOLeafNodeMT'.
2023-01-30T18:52:46.359Z - error: Error executing script file 4_ePO_Function.sql
2023-01-30T18:52:46.359Z - info: SQL script execution failed
2023-01-30T18:52:46.359Z - info: Add update with id CU-15 to failed update list
2023-01-30T18:52:46.360Z - info: Total files processed : 633 success : 49 failure : 3
2023-01-30T18:52:46.359Z - error: Failed to execute SQL -- end EPO-9724
--------------------------------------------------------------------------------
/**** START: EPO-9646 Adding the drop column as we are modifying the function which is being used in these
columns hence they are being dropped here before altering the function ***/
Alter table EPOLeafNodeMT drop column [Tags];
execution failed with error : RequestError: ALTER TABLE DROP COLUMN failed because column 'Tags' does not exist in table 'EPOLeafNodeMT'.
2023-01-30T18:52:46.359Z - error: Error executing script file 4_ePO_Function.sql
2023-01-30T18:52:46.359Z - info: SQL script execution failed
execution failed with error : RequestError: Could not use view or function 'EPOPolicyAssignment' because of binding errors.
2023-01-30T18:52:46.448Z - error: Error executing script file 5_ePO_Proc.sql
2023-01-30T18:52:46.448Z - info: SQL script execution failed
2023-01-30T18:52:46.448Z - info: Add update with id CU-15 to failed update list
2023-01-30T18:52:46.450Z - info: Total files processed : 633 success : 49 failure : 4
2023-01-30T18:52:46.450Z - info: Waiting for apply updates to completed
execution failed with error : RequestError: Could not use view or function 'EPOPolicyAssignment' because of binding errors.
2023-01-30T18:52:49.569Z - error: Error executing script file 5_ePO_Proc.sql
2023-01-30T18:52:49.569Z - info: SQL script execution failed
2023-01-30T18:52:49.569Z - info: Add update with id CU-15 to failed update list
2023-01-30T18:52:49.569Z - info: Total files processed : 633 success : 53 failure : 5
2023-01-30T18:52:49.569Z - info: Waiting for apply updates to completed
2023-01-30T18:53:14.808Z - info: Going to execute rollback script..C:/PROGRA~2/McAfee/EPOLIC~1/updates/CU-15/down/CU-13/EPOCore/4_ePO_Function.sql
2023-01-30T18:53:14.808Z - info: going to execute sql 4_ePO_Function.sql
2023-01-30T18:53:14.808Z - info: Sql file4_ePO_Function.sql has 9 chunks
2023-01-30T18:53:14.872Z - info: Successfully got connection
2023-01-30T18:53:14.944Z - info: Sucessfully executed SQL -- Copyright (C) McAfee, LLC. All Rights Reserved.
PRINT '<<< EXECUTING CU-111-CU-10/4_ePO_Function.sql : ' + CONVERT(VARCHAR(100), GETDATE()) + ' >>>'
2023-01-30T18:53:14.949Z - info: Sucessfully executed SQL EXEC EPOCore_DropFunction N'EPOFN_CompareVersions_2';
2023-01-30T18:53:14.954Z - error: Failed to execute SQL --START : EPO-9646 Downgrade/Rollback.
/*** Since the function is being used in computed column so dropping and re-creating them before rollback. ***/
Alter table EPOLeafNodeMT drop column [Tags];
execution failed with error : RequestError: ALTER TABLE DROP COLUMN failed because column 'Tags' does not exist in table 'EPOLeafNodeMT'.
2023-01-30T18:53:14.954Z - error: Error executing script file 4_ePO_Function.sql
2023-01-30T18:53:14.954Z - info: Rollback SQL script execution failed