Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#166 コメント 17 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
docker, raspberry-pi

調査の方向性

レポートに記載された2回のデプロイ手順に従い、gpiodを使用する Raspberry Pi 上の公式 Docker コンテナで障害を再現する。再デプロイ後の Node-RED/gpiod の接続動作を調査する;コンテナを再起動せずに GPIO 入力の状態が変化し続ければ完了とする。

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
Shell
スター
540
フォーク
434
平均マージ
24分
マージ済み PR(30日)
5

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

node-red/node-red-docker のほかの issue

node-red/node-red-docker の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。