General troubleshooting and problem solving
Last updated
Last updated
This guide is for both Dash Enterprise Single Server and Dash Enterprise Kubernetes. For problems that are specific to Dash Enterprise Kubernetes:
You can troubleshoot LDAP authentication by running the ldapsearch tool on your Dash Enterprise server. If you installed Dash Enterprise following the Installation on a Cloud Provider instructions, this tool has already been installed, otherwise you can install it as below:
Ubuntu: sudo apt install ldap-utils
RHEL or CentOS: yum install openldap-clients
ldapsearch syntax can be complicated, so here is an example to get you started:
Breaking it down:
ldap://ad.plot.ly
is the server URI
This is the the auth_ldap_server_uri
parameter
plotly\mrplot is the bind DN used for authentication
This is the auth_ldap_bind_dn
parameter
mrplot
is the username
Your LDAP server may or may not need you to include the LDAP domain and backlash (plotly in this example); check with your server administrator
ldappass
is the password for the bind DN
This is the auth_ldap_bind_password
parameter
CN=Users,DC=ad,DC=plot,DC=ly
is the *search DN
This is the auth_ldap_search_dn
parameter
This is usually based on the domain name of your LDAP server
The above command returns a list of all accounts in the search DN; in this case, the list of all usernames allowed to log in to Dash Enterprise.
If you receive any other output, contact your LDAP server administrator or Plotly support for help.
You can test your Dash Enterprise instance locally by adding the DNS entries directly to the hosts file on each machine intended to access the instance. Here are instructions on how to do that for various operating systems. The line to add will look something like this:
Replace 12.34.56.78
with the IP of your Dash Enterprise server
plotly.your-company.com
is the Base Domain value that you specified during configuration
If you set your server’s current hostname as the Base Domain in your Dash Enterprise configuration, you do not need to modify your hosts file.
If you suspect your SSL certificate and key do not match, you can verify by finding the sha256sum of each as follows:
If the results of the above commands match, then the key and certificate match as well.
If your system defaults to using devicemapper in loopback mode (typical for RHEL 7 and CentOS 7), you will see an error during installation that looks like this:
To solve this, cancel installation and configure your system to use direct-lvm according to this Docker guide.
During startup, you may encounter an error that corresponds with the following message in your Dash container logs:
You can resolve this as follows:
1 - Find the Dash container ID: sudo docker ps
2 - Stop the Dash container: sudo docker stop DASH_CONTAINER_ID
3 - Delete all Dash-related containers/images:
4 - In the Dash Enterprise Server Manager, click Start Now
5 - Redeploy your Dash application
If attempting to set the Plotly data directory and the verification test is failing:
1 - Confirm the directory exists on the system and you have correctly entered the path to it
2 - Ensure SELinux is enabled and running with sudo sestatus, and enable it if not
3 - If SELinux is enabled, add SELinux permissions to your data directory with:
In RHEL, the container-selinux dependency may be missing from the system, which commonly results in the following error when running the installation script:
To solve this, we recommend the following options:
Enable the appropriate repository:
If the above doesn’t work, install the package directly:
On RHEL < v7.4, OCI runtime issues have been known to occur, preventing Server Manager containers (names beginning with replicated
) from starting when using Docker >= 17.12.1. You can resolve this by upgrading to >= RHEL v7.4.
Our support team is available to help if you run into any issues with your installation. When contacting us, please also include a support bundle, which is a collection of log files and app state that will help us diagnose your problem. There are two methods available for creating and sending one:
1 - SSH into the server running Dash Enterprise
2 - Copy and paste the following command, which generates a bundle and prompts you to upload it to our support portal:
3 - E-mail Plotly support with a description of the issue and let us know you have made a support bundle available for analysis
1 - Browse to your Dash Enterprise Server Manager
2 - Click the Support tab
3 - Click Download Support Bundle
4 - Upload the resulting file to a cloud storage service of your choice
5 - E-mail us with a description of the issue and a link to the support bundle