# Web-UI and tctl won't list workflows

**URL:** <https://community.temporal.io/t/web-ui-and-tctl-wont-list-workflows/5452>\
**Category:** Community Support\
**Tags:** elasticsearch, archival, visibility\
**Created:** [July 25, 2022, 7:30am UTC](https://community.temporal.io/t/web-ui-and-tctl-wont-list-workflows/5452 "2022-07-25T07:30:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![christopher](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/christopher/32/2500_2.png) [@christopher](https://community.temporal.io/u/christopher)\
**Post date:** [July 25, 2022, 7:30am UTC](https://community.temporal.io/t/web-ui-and-tctl-wont-list-workflows/5452/1 "2022-07-25T07:30:11Z")

</div>

Hi everyone,  
We are having an issue with not getting any workflows to show up when running `tctl wf la`  
We have activated archival and visibility records for completed status are getting into the archival bucket but there are no records in ElasticSearch for running workflows.  
`tctl wf show [workflowId]` works fine though.  
It seems like nothing is being written to ElasticSearch either.  
A query to /\_cat/indices?v on Elastic shows that docs.count and docs.deleted are both 0 for the temporal\_visibility\_v1\_dev index.  
We are currently running version 1.17.1 of temporal-server.  
Does anyone know what could be wrong or have any good pointer on how to troubleshoot this?

ElasticSearch config looks like this:

```auto
    numHistoryShards: 4
    defaultStore: default
    visibilityStore: visibility
    advancedVisibilityStore: es-visibility
    datastores:
        default:
            sql:
                pluginName: "postgres"
                databaseName: "temporal"
                connectAddr: "***:5432"
                connectProtocol: "tcp"
                user: "***"
                password: "***"
                maxConns: 20
                maxIdleConns: 20
                maxConnLifetime: 1h
                tls:
                    enabled: true
                    caFile:
                    certFile:
                    keyFile:
                    enableHostVerification: false
                    serverName:
        visibility:
            sql:
                pluginName: "postgres"
                databaseName: "temporal_visibility"
                connectAddr: "***:5432"
                connectProtocol: "tcp"
                user: "***"
                password: "***"
                maxConns: 10
                maxIdleConns: 10
                maxConnLifetime: 1h
                tls:
                    enabled: true
                    caFile:
                    certFile:
                    keyFile:
                    enableHostVerification: false
                    serverName:
        es-visibility:
            elasticsearch:
                version: v7
                url:
                    scheme: http
                    host: "***:9200"
                indices:
                    visibility: "temporal_visibility_v1_dev"

```

… and the output of [http://redacted:9200/temporal\_visibility\_v1\_dev/\_stats/docs:](http://redacted:9200/temporal_visibility_v1_dev/_stats/docs:)

```auto
$ curl http://redacted:9200/temporal_visibility_v1_dev/_stats/docs
{"_shards":{"total":1,"successful":1,"failed":0},"_all":{"primaries":{"docs":{"count":0,"deleted":0}},"total":{"docs":{"count":0,"deleted":0}}},"indices":{"temporal_visibility_v1_dev":{"uuid":"OxToD8MnS-qRDRvzeFGv6w","primaries":{"docs":{"count":0,"deleted":0}},"total":{"docs":{"count":0,"deleted":0}}}}}

```

---

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [August 3, 2022, 3:47pm UTC](https://community.temporal.io/t/web-ui-and-tctl-wont-list-workflows/5452/3 "2022-08-03T15:47:20Z")

</div>

How are you deploying the server? Did you install both the [default and visibility schemas](https://github.com/temporalio/temporal/blob/master/Makefile#L368)? Any ES error logs during server startup?

If you have server metrics enabled what do you get for visibility latencies:

`histogram_quantile(0.95, sum(rate(task_latency_bucket{operation=~"VisibilityTask.*", service_name="history"}[1m])) by (operation, le))`

---

<div class="post-metadata">

**Author:** ![christopher](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/christopher/32/2500_2.png) [@christopher](https://community.temporal.io/u/christopher)\
**Post date:** [August 4, 2022, 6:31am UTC](https://community.temporal.io/t/web-ui-and-tctl-wont-list-workflows/5452/4 "2022-08-04T06:31:35Z")

</div>

Hi @tihomir!

Many thanks for getting back to us on this.  
We actually just found out that we had a version mismatch after upgrading to version 1.17.1.  
By accident version 1.7.1 was pushed so choosing the proper version (1.17.1) solved the issue.  
The good thing though is that we learned a lot about visibility that will come in handy in the future. 😁
