Unable to collect logs on 4.1 Couchbase

Attempting to collect Couchbase logs on a cluster running couchbase-server-community-4.1.0-5005 from both the web interface and the CLI tool. It hangs and makes no progress over hours.

Where it hangs on the command line:

couch_dbinfo ([‘find’, ‘/var/lib/couchbase/var/lib/couchbase/data’, ‘-type’, ‘f’, ‘-name’, ‘.couch.’, ‘-exec’, ‘couch_dbinfo’, ‘-i’, ‘{}’, ‘+’]) -

From the couchbase-cli tool status:

Node: ns_1@couchbase13
Status: started
path : /opt/couchbase/var/lib/couchbase/tmp/collectinfo-2017-03-23T220644-ns_1@couchbase13.zip

From the web interface:
“Collecting logs from 16 nodes”

When I look at the tmp directory nothing is there.

I found the solution on the support website here:
https://support.couchbase.com/hc/en-us/articles/213961666?input_string=unable+to+collect+logs+on+couchbase+4.1