AppSync:Postgres 升級失敗

Summary: AppSync:Postgres 升級失敗

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Postgres 正在按照 KB 000504125進行升級,且無法升級 Postgres。

appsync_dbupgrade.log將顯示:
 

command.run():C:\Users\userid\AppData\Local\Temp\2\011266.tmp\executeScriptTmp0.bat:stdout [Failure, exiting]
Command.complete(): 程序已完成,含結束代碼:1


pg_upgrade_utility.log將顯示:
 

命令: xcopy /e /y /q /r “E:\EMC\AppSync\jboss\datastore\datastore\data/pg_clog” “E:\EMC\AppSync\NewDatastore\datastore\data/pg_clog\” >> “pg_upgrade_utility.log” 2>&1
無效的磁碟機規格
複製 0 個檔案


注意:在升級對話方塊期間出現升級失敗訊息時,按一下確定時,位於 %AppData% 中的pg_upgrade_utility.log將會移除。因此,在按一下「確定」並建立升級對話方塊之前,必須先收集此檔案。

便條:AppSync 資料庫位於非預設位置,在此範例中為 E: 磁碟機。

Cause

觸發器是權限相關問題,其確切原因未知。
升級公用程式是以系統管理員身分執行,而當升級公用程式透過滑鼠右鍵按一下方法以系統管理員身分執行時,登入的使用者是存在於本機系統管理員群組中的網域系統管理員,該群組對 E: 磁碟機擁有完整權限。

無論如何,如果您使用 procmon 進行調試,您會發現登錄使用者對 E: 驅動器的許可權錯誤。

Resolution

為執行升級程序時登入的特定使用者,明確提供 E: 磁碟機的完整管理權限。

Affected Products

AppSync

Products

AppSync
Article Properties
Article Number: 000057208
Article Type: Solution
Last Modified: 19 Sept 2025
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.