KNOWLEDGE BASE

Error "command not recognized" Running TSM Commands after Upgrading Tableau Server


Published: 22 May 2018
Last Modified Date: 09 Jan 2019

Issue

After upgrading Tableau Server with Tableau Services Manager to a new version, issuing tsm commands results in their being executed by the old version of the tsm client instead of the newly-installed version. If the command is one not supported in the old version, the following error message is displayed:
 
"Command not recognized"

The command tsm version will show a mismatch between Tableau Services Manager and Tableau Server, such as:
 
Tableau Services Manager command line version 10500.18.0404.1406.
Tableau Server version 20181.18.0404.1605.

Environment

  • Tableau Server
  • Linux

Resolution

Log out of the current shell session and open a new one. Alternately, run the command:

source /etc/profile.d/tableau_server

Cause

When environment changes are made, some are not immediately applied to the current shell session. When a new shell session is started, it picks up the changes. This is standard *nix behavior. 

Additional Information

You can use the 'which' command (which tsm) to indicate which binary is being executed, including the path.


Discuss this article... Feedback Forum
Did this article resolve the issue?