-
Notifications
You must be signed in to change notification settings - Fork 62
Node-RED readonly #18
Comments
Hey @owarek, are you deploying this project as it is, or are you combining it with other containers in a multicontainer setup? |
I have it as multicontainer setup. This is my compose file:
|
Hi, probably you need to paste that in not a ">" style of "quoting" but the code block as triple-backticks (`), see more in the help https://help.github.com/en/articles/creating-and-highlighting-code-blocks And since you are using a completely different way of deploying the project, it's harder to answer what might be the issue. If you just deploy this particular project as it is in the repo, do you have the same error? My guess would have been the |
Also, how are you changing the backlight of a display, and what display are you using? |
I think you have the 7" Raspberry Pi display, right?
and looking at the screen, indeed it turns it off when Thus it should work from the container, just have to find what setting is required. This does not seem to be the issue of this |
Thank you for investigating this. Here is the compose file again:
and here is the dockerfile for node-red:
And yes I have the 7" RPi touch display. This is the output from terminal of node-red container:
In wpe and scheduler it works. In mqtt and node-red it does not. |
@owarek I think the issue is that you are setting the user in node-red:
thus that user doesn't have the privileges to modify the file. So I think you will have to set up that user to have the right permissions, or keep using the |
Yes, that may be the reason but I do not know how to add permisions to write to that file to nodered user. I have tried to add |
You are already running a privileged container, not sure what's the reason you are trying to switch the user. As you see in this project as well, that the user is not switched. I think the main way to solve this to use a root user as you already do in the other two containers anyways. |
When I want to change backlight of RPi display, it trhrows:
Error: EROFS: read-only file system, open '/sys/class/backlight/rpi_backlight/bl_power
Is there a way to do this on readonly FS or how do I change the FS to writable?
Thank you in advance.
The text was updated successfully, but these errors were encountered: