---
title: "Grpahviz -2"
canonical: "https://support.appfire.com/space/SUPPORT/2174386260/Grpahviz%20-2"
format: markdown
---
> ℹ️ **Internal Use – Appfire Support and DevOps Teams**
> ℹ️ 
> ℹ️ This guide explains how to install **Graphviz software** inside **Ubuntu-based Docker containers** running **Confluence**. The Confluence server must have the <u>[Graph Visualization Software](http://www.graphviz.org/)</u> (Graphviz) package installed in order for the <u>[Graphviz Diagrams for Confluence](https://appfire.atlassian.net/wiki/spaces/SUPPORT/pages/89137385)</u> macros to work. The Graphviz package is free and supports a variety of operating systems, including those supported by Confluence. This setup is required for reproducing or testing issues related to the **Graphviz Diagrams for Confluence** app.

## **Why This Is Important**

If Graphviz is not installed, Confluence will not be able to render diagrams using the macro. You may see errors like:

```

No useable executable name defined in graphviz.properties...

```

## **Steps to Install Graphviz**

### **1. Identify Running Confluence Containers**

Run the following command to list your Docker containers:

```

docker ps

```

Look for container names like `confluence17-9.2.5-SUPPORT-231080--siva_1`, `confluence17-9.2.5-SUPPORT-231080--siva_2`, etc.

### **2. Enter Each Confluence Node**

Run the following command for each node (replace `<container_id_or_name>` accordingly):

```

docker exec -it <container_id_or_name> bash

```

**Example:**

```

docker exec -it confluence17-9.2.5-SUPPORT-231080--siva_1 bash

```

### **3. Install Graphviz**

Inside the container shell, run the following:

```

apt-get update
apt-get install graphviz*

```

### **4. Verify Installation**

```

dot -v

```

You should see output similar to:

```

dot - graphviz version 2.42.2 (20200211.1910)

```

### **5. Repeat for Additional Nodes (if applicable)**

If your Confluence environment includes more than one node, repeat steps 2 to 4 for each additional container. For example:

```

docker exec -it confluence17-9.2.5-SUPPORT-231080--siva_2 bash
apt-get update
apt-get install graphviz*
dot -v
exit

```

Ensure `dot -v` confirms installation on all nodes before proceeding.

### **6. Test the Setup in Confluence**

After installing Graphviz on all nodes:

1. Open the Confluence web interface.
2. Navigate to or create a page that uses the **Graphviz macro**.
3. Paste the following sample DOT code:

```

{flowchart}
A -> B
{flowchart}

```

4. The diagram should render without errors.

## **References**

- [Official Graphviz Downloads](https://graphviz.org/download/)
- [Graphviz Diagrams for Confluence Documentation (Appfire)](https://docs.appfire.com/display/GRAPHVIZ)