weatherreport not working with debian package
- Dominant language
- Shell
- Stars
- 33
- Forks
- 31
- Avg merge
- 1h 43m
- Merged PRs (30d)
- 1
Description
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"
}
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.