Code Monkey home page Code Monkey logo

Comments (5)

scottsweb avatar scottsweb commented on May 24, 2024 1

Thanks for the tips. Removing -v /media/data/node-red/:/data does indeed work.

It turns out that the vfat partition was not writeable by anything other than my user (my user also runs docker). Fixed that (added a umask in /etc/fstab) and Node-RED now starts correctly. Interestingly other container types could write logs etc without issue.

from node-red-docker.

dceejay avatar dceejay commented on May 24, 2024

do the permissions on the host side allow that docker user access ?

from node-red-docker.

jthomas avatar jthomas commented on May 24, 2024

I'm having trouble replicating your user error locally, using the following command.

docker run -it -p 1880:1880 --restart=always --name="nodered" -v /tmp/node-red/:/data -e FLOWS=flows.json nodered/node-red-docker:rpi

My NR instance starts and is usable without seeing the error you encountered above.

Can you try @dceejay's suggestion about checking the user perms?

We have published an update to the Docker images today that means you don't actually need to use volumes to persist user data. There's more details in the updated README.
If you drop the -v /media/data/node-red/:/data parameters I'm assuming it works?

from node-red-docker.

StuckInLoop avatar StuckInLoop commented on May 24, 2024

can anyone share an example of the configuration on the umask entry?

from node-red-docker.

scottsweb avatar scottsweb commented on May 24, 2024

@StuckInLoop my /etc/fstab has the following entry:

UUID=XXXX /media/data vfat auto,nofail,noatime,users,rw,uid=pilot,gid=pilot,umask=000 0 0

You will need to add the UUID of your media in place of XXXX

from node-red-docker.

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.