-
Dear all, I migrated from an old CasaOS instance based on Armbian to a new Debian instance v0.3.8.
The problem I'm having is that I'm not able to use chown: the image does not contain sudo package and I'm not able to install it with apk add sudo. Another issue with npm is that the version in the Node-RED image is v6.14.15 and when i run npm install commands in the container's terminal it often asks for npm version =>v14.0.0. I tried and tried but couldn't find a way to update npm binary inside the container. Hope to get some help so that I can complete the migration to the new Debian instance. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Issues solved with a trick suggested from the NodeRED forum community. The sudo command was issued from outside the container: A second issue was related to node.js version which had to be => v14.0.0 Please consider updating the official default AppFile to nodered/node-red:2.2.3-14 so that these issues will not occur. BTW, when an app is removed all data is deleted by default so I had to re-import my backup files. Thanks and have a nice day, |
Beta Was this translation helpful? Give feedback.
Issues solved with a trick suggested from the NodeRED forum community.
The sudo command was issued from outside the container:
sudo chown -R 1000:1000 /DATA/AppData/Node-RED/data/.npm
A second issue was related to node.js version which had to be => v14.0.0
So the fastest solution was to export AppFile from CasaOS and change node-RED image from nodered/node-red:2.2.2-12 to nodered/node-red:2.2.3-14 and re-import the AppFile.
Please consider updating the official default AppFile to nodered/node-red:2.2.3-14 so that these issues will not occur.
BTW, when an app is removed all data is deleted by default so I had to re-import my backup files.
It would be nice in the future to have an option to…