node-red / node-red/node-red-docker
Node-RED loses connection with GPIOD after two “deploys” (frequent docker restart necessary) :(
Nessuno ha ancora preso questa issue.
- Lingua principale
- Shell
- Stelle
- 540
- Fork
- 434
- Merge medio
- 24m
- PR unite (30g)
- 5
Descrizione
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:

Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Riproduci il malfunzionamento nel container Docker ufficiale su un Raspberry Pi con gpiod, seguendo la sequenza di due deploy descritta nel report. Analizza il comportamento della connessione Node-RED/gpiod dopo il redeploy; l’attività è completata quando l’input GPIO continua a cambiare stato senza riavviare il container.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- docker, raspberry-pi
- Ambito
- devops, embedded-iot
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100