Hi,
after migration from pi3 to pi4 everything works fine but the dashboard button in the editor opens a new tab in the chrome or safari browser and shows http://192.168.178.111:8123/endpoint/ui with response 404: not found. So no dashboard is shown.
For a test, I deleted flows.json to get an empty editor, then created a ui button, but same result: 404
Well, for starters, you seem to be running Home Assistant so not sure if that is having an impact. You've not shared the Node-RED startup log so we can't see all your settings. But the URL you shared has an extra level in it, /endpoint/ Not clear if that comes from Node-RED's settings or HA.
No, I don't think that's right. Everything after the /ui is not real. You can see that on a working system by looking at the network tab of your browser's dev tools.
Maybe I have to look at another place (can you give me a hint?)
Now I tried to append the /#!/0 manually to the url in the browser http://192.168.178.111:1880/endpoint/ui/#!/0
and then it works!! So I guess that the dashboard button in the NR editor should send the complete URL!?
I have exactly the same problem. I am using node-red v3.1 on Home Assistant HASSOS. Everything is the latest version. When I try to access the node-red dashboard, running under Home Assistant the URL is http://192.168.1.98:8123/endpoint/ui. Whereas if I type in http://192.168.1.98:1880/endpoint/ui/ the dashboard is accessed correctly. This behavior has been the same for a few HA and NR upgrades. I suspect it is a HA issue rather than node-red since Home Assistant is targeting the wrong IP address, the /endpoint/ui is correct. In Home Assistant port 8123 is the base address for Home Assistant. Unfortunately I do not know how to change the dashboard address in HA, assuming it is a HA issue
Below you will find my nodered configuration in home assistant. port 1880 is redirected to 80. This works for the editor, but not for the dashboard button.