sblaisot opened a new issue, #123:
URL: https://github.com/apache/couchdb-pkg/issues/123
Trying to use weatherreport in couchdb installation form deb package leads
to errors
## Expected Behavior
```bash
$ /opt/couchdb/bin/weatherreport --list
Available diagnostic checks:
custodian Shard safety/liveness checks
disk Data directory permissions and atime
internal_replication Check the number of pending internal replication jobs
ioq Check the total number of active IOQ requests
mem3_sync Check there is a registered mem3_sync process
membership Cluster membership validity
memory_use Measure memory usage
message_queues Check for processes with large mailboxes
node_stats Check useful erlang statistics for diagnostics
nodes_connected Cluster node liveness
process_calls Check for large numbers of processes with the same
current/initial call
process_memory Check for processes with high memory usage
safe_to_rebuild Check whether the node can safely be taken out of
service
search Check the local search node is responsive
tcp_queues Measure the length of tcp queues in the kernel
```
## Current Behavior
```bash
$ /opt/couchdb/bin/weatherreport --list
/usr/bin/env: 'escript': No such file or directory
$ /opt/couchdb/bin/weatherreport --etc /opt/couchdb/etc --list
/usr/bin/env: 'escript': No such file or directory
$ PATH=/opt/couchdb/bin:/opt/couchdb/erts-12.3.2.10/bin:$PATH
$ /opt/couchdb/bin/weatherreport --etc /opt/couchdb/etc --list
{"init terminating in do_boot",{'cannot get bootfile','no_dot_erlang.boot'}}
init terminating in do_boot ({cannot get bootfile,no_dot_erlang.boot})
Crash dump is being written to: erl_crash.dump...done
```
## Possible Solution
Document instructions on how to use weatherreport
## Steps to Reproduce (for bugs)
1. Install couchdb from deb package on a fresh system
2. Try to use weatherreport with above commands
## Context
## Your Environment
Couchdb 3.3.2 deb package on Debian 11 Buulseye
```bash
# cat /etc/debian_version
11.8
# dpkg -l couchdb
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-==============-============-==================================
ii couchdb 3.3.2~bullseye amd64 RESTful document oriented
database
# curl -fsSL http://127.0.0.1:5984/ | jq .
{
"couchdb": "Welcome",
"version": "3.3.2",
"git_sha": "11a234070",
"uuid": "f3fd9691d6ac51fae969a4701fab4cc0",
"features": [
"access-ready",
"partitioned",
"pluggable-storage-engines",
"reshard",
"scheduler"
],
"vendor": {
"name": "The Apache Software Foundation"
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]