node-red-dashboard icon indicating copy to clipboard operation
node-red-dashboard copied to clipboard

Dashboard dies after deploying anything

Open sgofferj opened this issue 3 years ago • 3 comments

What are the steps to reproduce?

I configured NR to show the dashboard on /:

httpAdminRoot: '/secret',
httpNodeRoot: '/',
ui: { path: "/" },

My dashboard contains only a (blue) worldmap-node at the moment. I did try adding more items to no avail.

  • Restart NR
  • Access dashboard at /
  • Deploy something (even not dashboard-related)
  • Try to access dashboard at /

What happens?

After restarting NR, the dashboard correctly appears on /. After deploying anything (even not dashboard-related), the dashboard appears to die and a call to / results in a white page saying "Cannot get /".

What do you expect to happen?

The dashboard should still appear.

Please tell us about your environment:

  • [X] Node-RED-Dashboard version: 3.1.7
  • [X] Node-RED version: 2.2.2-docker (nodered/node-red:latest@sha256:e7631c7bedde98cd0715eb5e2f6a532a7d165c72fa26026af7008b58a89fb133)
  • [X] node.js version: 14.18.2
  • [X] npm version: 6.14.15
  • [X] Platform/OS: Ubuntu 16.04 / docker
  • [X] Browser: Chrome latest, Firefox latest, both Win and Linux

User comments

My NR originally runs behind Traefik. However, during my debugging attempts, I set up port forwarding directly to the container port 1880. The issue appears also when bypassing the reverse proxy. I also increased the log level to "debug" but didn't see anything in relation to the dashboard in the log.

sgofferj avatar May 22 '22 09:05 sgofferj

Forgot: During debugging I tried all offered deployment options (full, partial flow, partial nodes) but the result remains the same.

sgofferj avatar May 22 '22 09:05 sgofferj