i started one project with login pi, after i change login pi for other login. now the node red not got start with the actual login.
follow the error log.
Starting as a systemd service.
nodered.service: Failed with result 'exit-code'.
nodered.service: Service hold-off time over, scheduling restart.
Stopped Node-RED graphical event wiring tool.
Started Node-RED graphical event wiring tool.
nodered.service: Main process exited, code=exited, status=217/USER
nodered.service: Unit entered failed state.
nodered.service: Failed with result 'exit-code'.
A minor clarification of this, if you run the upgrade script (from the pi installation docs) then it configures systemd to run node-red as the user that ran the script, which may or may not be the user 'pi'.