Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodeRED not working on VM? #3122

Closed
Phil1988 opened this issue Sep 20, 2019 · 1 comment
Closed

NodeRED not working on VM? #3122

Phil1988 opened this issue Sep 20, 2019 · 1 comment
Labels
Bug 🐞 Duplicate For issues that are/were already handled within another issue Solution available 🥂 Definite solution has been done
Milestone

Comments

@Phil1988
Copy link

Phil1988 commented Sep 20, 2019

Required Information

DietPi version |
G_DIETPI_VERSION_CORE=6
G_DIETPI_VERSION_SUB=25
G_DIETPI_VERSION_RC=3
G_GITBRANCH=master
G_GITOWNER=MichaIng

Distro version | stretch

Kernel version | Linux DietPi 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64 GNU/Linux

SBC device |
Virtual Machine (x86_64)

Description

I am using dietpi on a VM with following programs installed:
pi-hole
nextcloud
letsencrypt
blynk server
LASP (blynk wanted it I think...)
LAMP
Home Assistant
NodeRED

I just installed NodeRED and wanted to access the website with the port number 1880 (as specified here )

Sadly there is nothing.
I also checked the installation folder /mnt/dietpi_userdata/node-red but its empty.

Do I have to install more to get this working?

@MichaIng
Copy link
Owner

@Phil1988
Many thanks for your report.

Jep known issue with v6.25: #2975

Please do:

mkdir -p $G_FP_DIETPI_USERDATA/node-red
usercmd='useradd -rMU'
getent passwd nodered &> /dev/null && usercmd='usermod'
$usercmd -d $G_FP_DIETPI_USERDATA/node-red -s $(command -v nologin) nodered
getent group gpio &> /dev/null && usermod -aG gpio nodered
echo 'nodered ALL=NOPASSWD: ALL' > /etc/sudoers.d/nodered
chown -R nodered:nodered $G_FP_DIETPI_USERDATA/node-red
systemctl restart node-red

@MichaIng MichaIng added Bug 🐞 Duplicate For issues that are/were already handled within another issue Solution available 🥂 Definite solution has been done labels Sep 23, 2019
@MichaIng MichaIng added this to the v6.26 milestone Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐞 Duplicate For issues that are/were already handled within another issue Solution available 🥂 Definite solution has been done
Projects
None yet
Development

No branches or pull requests

2 participants