---
schema_version: "1"
id: 9083e3d0f97dced6ba5d67ccd94ee71237c255a2c9385f8c942b8e0ad0198915
title: Tableau Server 事前檢查
collection: tableau
version: current
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/current/zh-tw/server/server_preflight_check.md
canonical_url: https://help.tableau.com/current/server/zh-tw/server_preflight_check.htm
source_site: help.tableau.com
content_type: documentation
content_hash: e42f7303fd0bdbe064829eec61d566f70d08c6ba6d99f71c789e19999fb4b8ae
description: Run the Tableau Server pre-flight check before upgrades.
---
[跳至主要內容](#main-content)

# Tableau Server 事前檢查

Windows 版 Tableau Server 版本 2020.3.0 中引入了事前檢查 (PFC) 功能，其可對關鍵系統設定進行基本檢查，以幫助避免常見的安裝和升級問題。

- 安裝—在 Windows 上安裝 Tableau Server 期間，將檢查安裝目錄和資料目錄的權限。若此檢查確定權限不足以使 Tableau Server 成功執行，則安裝不會失敗，但是任何錯誤都會記錄到管理控制器的記錄檔中。
- 升級 ─ 在 Windows 上升級 Tableau Server 期間，當您執行 `upgrade-tsm.cmd` 指令碼時，將檢查安裝目錄和資料目錄的權限，並驗證特定服務所需的連接埠是否可用。任何權限問題都會記錄到 `app-upgrade.log`中，但不會封鎖升級。連接埠衝突會在初始化開始之前停止升級流程，從而可讓您糾正問題。由於這種情況發生在初始化新版本_之前_，您可以在調查問題時繼續使用現有版本，然後重新執行 `upgrade-tsm` 指令碼。

## tsm 事前檢查命令

以下兩個 tsm 命令可讓您在執行升級之前檢查權限和連接埠，並解決任何問題：

`[tsm maintenance preflight-check permissions](https://help.tableau.com/current/server/zh-tw/cli_maintenance_tsm.htm#tsmmaintenance_preflight_perms)`

`[tsm maintenance preflight-check ports](https://help.tableau.com/current/server/zh-tw/cli_maintenance_tsm.htm#tsmmaintenance_preflight_ports)`