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

Node-RED loses connection with GPIOD after two “deploys” (frequent docker restart necessary) :(

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

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 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ệ
docker, raspberry-pi
Lĩnh vực
devops, embedded-iot

Hướng nghiên cứu

Tái hiện lỗi trong container Docker chính thức trên Raspberry Pi với gpiod, theo chuỗi hai lần deploy được mô tả trong báo cáo. Điều tra hành vi kết nối Node-RED/gpiod sau khi redeploy; hoàn tất khi đầu vào GPIO tiếp tục thay đổi trạng thái mà không cần khởi động lại container.

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

Mô tả

What are the steps to reproduce?

Run node-red in the official docker container.

Verify that the gpiod nodes have connection to the gpiod (daemon). Skærmbillede 2020-02-09 kl  23 14 03
Check that gpio input node actually works (e.g. use a simple switch to connect pin 5 to ground and see "OK" changing to 1 or 0).

Skærmbillede 2020-02-10 kl  20 30 32

Move some nodes and click “Deploy”. Do it again.

Check that gpio input node still works (in my setup it stoppes working). The gpiod node still states "OK" which indicates the gpio daemon is running. Running ps aux confirms this.
Skærmbillede 2020-02-10 kl  19 00 17

HOWEVER -connecting a pin to ground no longer makes the node change state.

restart the docker container - now it works again, but only until you click deploy 2 times again. Then a docker restart is needed again :(

Please tell us about your environment:

Hardware: Raspberry Pi 3B+.

  • Node-RED version: 1.0.3
  • Node.js version: latest?
  • npm version: latest?
  • Platform/OS: latest docker image.
    host os: latest Raspian Buster
  • Browser: google chrome (not a browser issue).
  • pigiod is latest version:
    Skærmbillede 2020-02-09 kl  23 38 54
Ngôn ngữ chính
Shell
Star
540
Fork
434
Merge trung bình
24 phút
Pull request đã merge (30 ngày)
5

Hướng dẫn đóng góp

Mở 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 node-red/node-red-docker

Tất cả issue của node-red/node-red-docker

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.