Node-RED loses connection with GPIOD after two “deploys” (frequent docker restart necessary) :(
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 42/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- docker, raspberry-pi
- 领域
- devops, embedded-iot
调研方向
按照报告中描述的两次部署顺序,在使用 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 分钟
- 30 天内合并 PR
- 5
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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
-
enhancement
难度 2/5 1-3 小时 新手友好度 65/100
-
tooling
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 70/100
openSUSE/python-rpm-macros#219 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
YunoHost-Apps/adguardhome_ynh#258 ·
-
steam-short-session-tracker: incorrect registry backup path resets settings during automatic repair 未关闭
难度 2/5 1-3 小时 新手友好度 80/100
ValveSoftware/SteamOS#2829 ·