Giter Site home page Giter Site logo

Comments (3)

ma4a avatar ma4a commented on May 24, 2024 1

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.

8xiom avatar 8xiom commented on May 24, 2024 1

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.

add30417 avatar add30417 commented on May 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.