Comments (3)
i also have this problem since yesterday. nodered won't start anymore. Your workaround by removing pid file didn't work for me.
I found the following to work:
edit entrypoint.sh while container is running
docker-compose exec nodered sh -c 'nano /usr/src/node-red/entrypoint.sh'
and add the line on top of the file (added it as second line)
[[ -e /run/dbus/dbus.pid ]] && su-exec root rm -f /run/dbus/dbus.pid
After restarting the container docker-compose restart nodered
everything seems fine again. Thanks @riesenstiefel for report and inspiration.
from ct-smart-home.
I have the same issue, for me would be more interesting, why a start is needed.
After a run time of about 4-5 minutes, nodered always restart/crashed without any specific message.
Basically only this follow message is shown: ct-smart-home-nodered-1 | 24 Feb 16:00:02 - [info] Stopped flows
Do you ( @ma4a , @riesenstiefel ) have the same issue?
I step in here since I have the same issue as @ma4a and @riesenstiefel. Reason is obviously that the location of the file dbus.pid
has been moved to the folder dbus
, i.e. from /run/dbus.pid
to /run/dbus/dbus.pid
. The workarounds as described above work for me, too. You can also use Portainer, open a shell there (from container list) and just manually delete the dbus.pid
file. This is sufficient for restarts until the container is deleted.
So, taking this into account and your log entry "Stopped flows" there is almost certainly another issue you have. Uneducated guess: Wrongly configured flow or missing nodes. You could try to start the node red container in safe mode or with a specific set of flows, see e.g. official node red documentation.
from ct-smart-home.
I have the same issue, for me would be more interesting, why a start is needed.
After a run time of about 4-5 minutes, nodered always restart/crashed without any specific message.
Basically only this follow message is shown:
ct-smart-home-nodered-1 | 24 Feb 16:00:02 - [info] Stopped flows
Do you ( @ma4a , @riesenstiefel ) have the same issue?
from ct-smart-home.
Related Issues (20)
- Start Up Error (./start.sh start) with zigbeeadmin_1 HOT 1
- Don't use this on a QNAP NAS HOT 4
- Add HTTPS for NodeRed (+Mosquitto) HOT 2
- Enable Zigbee2Mqtt Frontend
- possible compose file error: network_mode: "host" HOT 2
- Frontend zigbee2mqtt at port 1881 not working HOT 6
- Adding ttyUSB* as serial port HOT 2
- allow Conbee zigbee USB stick in start.sh HOT 2
- Error executing vcgencmd with package node-red-contrib-vcgencmd
- Problem latest docker mosquitto version HOT 3
- zzh! CC2652R Zigbee Stick
- issues with serial node or python
- No connection to Mosquitto Mqtt possible -> timeout HOT 2
- After updating: no connection to node-red HOT 9
- ZigBee devices not visible in node-red, but available in ZigBee dashboard HOT 4
- Fatal error after updating from nodered v2.0.6 (unreachable code in line 0 #failuremessage object: 0x7ec6023c illegal instruction) HOT 2
- Persistence with Mosquitto
- start.sh uses ‚docker compose‘ instead of ‚docker compose‘ HOT 1
- "exec_die" every 30 seconds HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ct-smart-home.