question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No configuration created for fresh install of Node-RED

See original GitHub issue

Problem/Motivation

I have done a fresh install of Node-RED through the add-on store, however no configuration was created and there were no prompts to create any credentials.

As a result, I see 502: Bad Gateway when attempting to access the web ui.

Where should this configuration file exist?

Expected behavior

I think:

  • Install add-on
  • Receive prompt for credentials
  • OR: have a configuration directory and file be written some place

Actual behavior

  • No prompt, no configuration files written
  • WebUI returns a 502

I see this in the logs (crashlooping):

21-03-19 20:57:46 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with a0d7b954_nodered!
21-03-19 20:57:46 INFO (SyncWorker_1) [supervisor.docker.interface] Cleaning addon_a0d7b954_nodered application
21-03-19 20:57:46 INFO (SyncWorker_1) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/node-red/amd64 with version 8.2.0
21-03-19 20:58:16 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with a0d7b954_nodered!

Steps to reproduce

Core: core-2021.3.4 Supervisor: supervisor-2021.03.6

  • Install Node-RED
  • Be presented with 502.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
sinclairpaulcommented, Mar 20, 2021

Click Configuration, the node-red secret and ssl options are set there

image

0reactions
poldscommented, Mar 21, 2021

This is what I was missing. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Running Node-RED locally
Installing with npm ... If you are using Windows, do not start the command with sudo . That command will install Node-RED as...
Read more >
Configuration - Node-RED
Configure how the runtime will handle external npm modules. This covers: whether the editor will allow new node modules to be installed; whether...
Read more >
Running on Windows - Node-RED
Note that running Node-RED will create a new folder in your %HOMEPATH% folder called .node-red . This is your userDir folder, think of...
Read more >
Running on Raspberry Pi - Node-RED
This script will work on any Debian-based operating system, including Ubuntu and Diet-Pi. You may need to run sudo apt install build-essential git...
Read more >
Installing new nodes, problems doing in and problems with ...
No errors. But, it isn't installed. Did you restart node-red after installing from the command line? When installing from the command ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found