KNOWLEDGE BASE

Exclusive Tabcmd On Linux Fails to Parse tabcmd refreshextract Arguments Correctly


Published: 03 Apr 2018
Last Modified Date: 18 May 2018

Issue

When trying to refresh extracts (hosted on a Windows Server) via tabcmd (non-server, just tabcmd) (which is hosted on a Linux Server), and using the --datasource or --workbook switch with "tabcmd refreshextract" the accompanying argument is being parsed incorrectly regardless of using quotes (single or double).

Additionally the following error might occur: 
Workbook url Code could not be found. (errorCode=7)

Environment

  • Tableau Server 10.5.2
  • Windows Server 2016
  • Linux

Resolution

Option 1

As a Tableau Server Administrator, upgrade to Tableau Server 2018.1.1, 10.5.4 or a later version. For more information, see Upgrading Tableau Server in Tableau Help. 

Option 2

Use one of the following workarounds:
  1. Rename the extracts to use a single word. For example: "TableauDataExtract" instead of "Tableau Data Extract".
  2. Install a full Tableau Server package on the machine where tabcmd refreshextract will be run from.

Cause

This behavior is related to a known issue (ID: 761344) which has been fixed in a recent release of Tableau Server. 

Additional Information

You might see a Shell output similar to the following:
 
===== Continuing previous session
=====     Server:  <server name or IP>
=====     Username: <username>
=====     Site:     <Site Name if Applicable>
===== Scheduling extracts for workbook '<Part of datasource name or workbook name here>' to be refreshed now...
  *** Item not found
Workbook url <Part of datasource name or workbook name here> could not be found. (errorCode=7)

 
Did this article resolve the issue?