I have problems unsing node-red.
I installed it on a raspberry pi with the "automatic" installer and all worked.
The backend and the "ui" is accessable on port 1880.
I wanted to set a username and password and also change the port (and doing some other modifications) in the settings.js. I searched the file and i found it in usr/lib/node_modules/node-red/ ... but changing settings in there do have no effect on my installation.
Nor using node-red-start -s usr/lib/node_modules/node-red/settings.js
There must be another settings file what i don't find.
Welcome to Node-RED
===================
24 Feb 13:26:15 - [info] Node-RED version: v1.2.9
24 Feb 13:26:15 - [info] Node.js version: v12.21.0
24 Feb 13:26:15 - [info] Linux 4.14.98-v7+ arm LE
24 Feb 13:26:17 - [info] Loading palette nodes
24 Feb 13:26:24 - [info] Dashboard version 2.28.1 started at /ui
24 Feb 13:26:24 - [info] Settings file : /root/.node-red/settings.js
24 Feb 13:26:24 - [info] Context store : 'default' [module=memory]
24 Feb 13:26:24 - [info] User directory : /root/.node-red
24 Feb 13:26:24 - [warn] Projects disabled : editorTheme.projects.enabled=false
24 Feb 13:26:24 - [info] Flows file : /root/.node-red/flows_loxberry.json
24 Feb 13:26:25 - [warn]
Running Node-RED install for user loxberry at /opt/loxberry on raspbian
[sudo] password for loxberry:
Sorry, user loxberry is not allowed to execute '/usr/bin/tee -a /var/log/nodered-install.log' as root on loxberry.
[sudo] password for loxberry:
AFAIK: This is a restriction of my loxberry image - can't be changed.
I don't know much about Loxberry, but yes you are probably correct.
I believe the Openelec media server also comes with it's own OS, and suffers the same difficulty.
Does the user ‘loxberry’ have sudo authority?
In a terminal run groups loxberry wHich will show what groups it is in. In a raspiness install, the ‘pi’ user is in the groups ‘adm dial out cdrom sudo audio video plugged games users input nerdev spi i2c gpio’
Try adding the loxberry user to the sudo group. The try the install again