Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

weatherreport not working with debian package

Đang mở
#123 6 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
debian, erlang, shell

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện các lệnh weatherreport đã được báo cáo từ gói Debian CouchDB 3.3.2 trên Debian 11, bao gồm cả biến thể PATH. Kiểm tra cách /opt/couchdb/bin/weatherreport được đóng gói gọi escript và liệu các tệp runtime của nó có sẵn hay không. Được xem là hoàn tất khi lệnh gọi được ghi trong tài liệu hoạt động hoặc các hướng dẫn cần thiết giải thích rõ thiết lập cần thiết.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Trying to use weatherreport in couchdb installation form deb package leads to errors

Expected Behavior

$ /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

$ /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

# 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"
  }
}
Ngôn ngữ chính
Shell
Star
33
Fork
31
Merge trung bình
7 giờ 12 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/couchdb-pkg

Tất cả issue của apache/couchdb-pkg

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.