Tableau Server 2024.2.x fails to deploy the changes and becomes an Error status when the operations are performed:
Exporting configuration and topology data by "tsm settings export" from an old Tableau Server (for example 2023.1.x) then import them to Tableau Server 2024.2.x
Environment
Cause
The Statistical Service was retired in version 2023.3.0, and this service does not exist in later versions.
If this service is included in the configuration file exported from an older version of Tableau Server, the Tableau Server 2024.2.x will become Error status. This degradation occurs because there is no module for it in Tableau Server 2024.2.x.
When backing up and restoring configuration files between different versions, it is best practice to import only the configuration using the "--config-only" options.
Example:
tsm settings import -f TS202301.json --force-keys --config-only
If you have already imported and applied the old configuration file to Tableau Server 2024.2.x and Tableau Server became an error status, Please try the following steps:
1. Open a command prompt as an administrator and run the following command to stop Tableau Server.
tsm stop
If the status of Tableau Server is shown as an error in the TSM Web UI, you can skip this step.
2. Execute the following script to stop the administrative services of Tableau Server.
3. Edit the servicestate.json manually, delete the statements about statsservice. By default, servicestate.json located in the following directory:
Example:
"statsservice.20242.24.0910.0334" : {
"configurationMTime" : 1728627111688,
"currentState" : "DEPLOY_FAILED",
"requestedState" : "DISABLED"
}
4. Reboot OS
5. Confirm TSM services started automatically
tsm status -v
6. Open a command prompt as an administrator and run the following command to change the number of Statistical Service to 0.
tsm topology set-process --count 0 --process statsservice --node <nodeName>
tsm pending-changes apply
7. Sign in to the Tableau Services Manager (TSM) web UI and go to the “Configuration” > “Topology” page. Then change the number of each of the processes to the same values before importing the topology, and then apply the changes.
These two services were added from 2024.2. There is no topology data in the old configuration file you imported which caused the number of these two processes became 0 so we must add these processes back. As VizData Service and VizData Native Service is required for an installation of Tableau Server 2024.2.x.
8. Start Tableau Server
Tableau Server Processes - Tableau
Tableau Statistical Service - Tableau
003876620

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.