KNOWLEDGE BASE

Admin Views Not Loading After Upgrading To Tableau Server 2020.4


Published: 04 Jan 2021
Last Modified Date: 19 Jan 2021

Issue

After upgrading to Tableau Server 2020.4 on Linux, accessing admin view fails with the error below:

Unable to proceed because of an error from the data source.
Unable to connect to the Postgresql server "localhost". Check that the server is running and that you have access privileges to the requested database.

OR

Uncaught TypeError: Cannot read property 'tuples' of undefined.

User-added image
 

Environment

  • Tableau Server 2020.4.0
  • PostgreSQL version 12
  • Linux

Resolution

  • Remove the old ODBC driver using the Linux distribution package manager. The file was called tableau-postgresql-odbc and is likely on the server if the user upgraded.
  • Manually download the appropriate jar file (postgresql-42.2.18.jar) from https://jdbc.postgresql.org/download.html
  • Copy the jar file in /opt/tableau/tableau_driver/jdbc
  • Restart Tableau Server

Cause

This is a known issue that is being addressed the development team. 
 

Additional Information

You can run cat /etc/odbc.ini  to see if the old odbc driver has been removed from the Operating System.
Yo
u can list installed packages in Debian with sudo apt list --installed
To fully remove the ODBC driver from the package manager in debian or ubuntu you may need to use the --purge flag
dpkg –purge is used to remove the package binaries and the configuration files.
$ dpkg --purge package_name

 
Did this article resolve the issue?