Multi-node Upgrade -- Run Upgrade Script
Run Upgrade script
-
After you have installed the new version on every node in the cluster, run the upgrade script on the initial node. If Tableau Server is running, the script will let you know, and offer to stop it. Tableau Server must be stopped to run the upgrade script.
If the final Setup screen is still open, you can select Automatically launch the upgrade script and a command window will open to run the script. Alternately, you can run the script directly from a command prompt.
Note: Beginning in version 2020.4.0, if the upgrade script fails, details about the failure display in the command window and you can rerun the script to try the upgrade again. The script restarts at the point it failed. This saves time and is a good first step if your upgrade fails. For more information, see Upgrade fails on 2020.4.0 or later.
-
To run the upgrade script from the Setup program:
-
Select Automatically launch the upgrade script and click OK:
-
A command window will open for the script. Because you are logged in as a user with local administrator rights, the script will run using your credentials. If you are prompted, enter your password.
Clicking OK will close the Setup program dialog. If you cleared the option to automatically launch the upgrade script, you will need to run the script manually, from the command line.
-
-
To run the upgrade script from a command prompt:
-
Open a command prompt as administrator.
You must open a new command window because the Setup program updates the path for the new installation.
-
Navigate to the scripts directory for the new version you just installed.
By default:
C:\Program Files\Tableau\Tableau Server\packages\scripts.<version_code>\
-
Run the upgrade script:
upgrade-tsm
Because you are logged in as a user with local administrator rights, the script will run using your credentials. If you are prompted, enter your password. You can specify a different user and password using the
--username
and--password
options.To see all options for the upgrade-tsm script, use the
-h
option:upgrade-tsm -h
The upgrade script will take some time to complete.
-
-
-
When the upgrade script completes, start Tableau Server. You can do this from the TSM web UI or from a command prompt:
-
In TSM, click Tableau Server is stopped, and Start Tableau Server:
-
From a command prompt:
- Open a new command prompt as administrator.
-
Enter this command:
tsm start
-