Node-RED loses connection with GPIOD after two “deploys” (frequent docker restart necessary) :(
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- docker, raspberry-pi
- 領域
- devops, embedded-iot
調査の方向性
レポートに記載された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). 
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).

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.

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:

- 主要言語
- Shell
- スター
- 540
- フォーク
- 434
- 平均マージ
- 24分
- マージ済み PR(30日)
- 5
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
node-red/node-red-docker のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
node-red/node-red-docker#536 ·
-
node-red/node-red-docker#522 · 担当者 1 名 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
node-red/node-red-docker#513 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
node-red/node-red-docker#510 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
node-red/node-red-docker#493 · コメント 13 件 ·
node-red/node-red-docker の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
astral-sh/python-build-standalone#1293 ·
-
package-update
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
oSoWoSo/vOid_Community_repOsitory#185 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
carbon-language/carbon-lang#7821 ·