For getting started as someone without any knowledge of Node-Red I finally found someone helping me with a setup of his flow on my PC which communicates with a Raspberry Pi4 which is listening to a broadcast.
I was so impressed of Node-Red 3.02 that I wanted to improve his flow on another Linux Mint Laptop on which I first had to install Linux Mint 21.1 from a USB-Stick and to uninstall Win10. After a few days I got the Linux Mint running on this Laptop.
Thereafter I started to install the Node-Red package -node18 again with try and error but I got it running,
I wanted, but I was not able to follow the safety recommendations as I do not know which of these recommendations I really need. And now Node-Red is still NOT secured.
Then I started to copy the running flow via SD-card to the Linux Mint Laptop and added three gauges for the three phase voltages to his flow. ui_base, ui_tabs and ui_group are also changed for the new dashboard-page.
The problem is now: When I now add /ui into the existing url then it does not start the dashboard-page.
It the shows myIP:1880/ui/#!/#flow%............ This is totally different to what is shown when I start the Dashboard of original flow. I have no idea what is wrong here.
Is someone in this forum who is willing to help me?
So you have Node-red runing on the Linux laptop?
1 Are you accessing it from a browser also on that laptop?
2 Do you see the editor OK? It should be at 127.0.0.1:1880 or <local IP address>:1880
3 Have you installed the dashboard node-red-dashboard via the hamburger menu | Manage palette?
4 What do you see when you point a browser at 127.0.0.1:1880/ui or <local IP address>:1880/ui ?
On my system (192.168.1.11) I see this URL http://192.168.1.11:1880/ui/#!/0?socketid=OALwavCkANDvZ1a4AAAB
I think the gibberish after "ui" identifies which UI tab is displayed and who is connected to it (?)
This is deeply unhelpful, I'm sure there must be a way to automatically display a more friendly URL.
Anyway, it does not indicate a problem.
Note: since you have a Raspberry Pi 4, quite a common and successful setup is to run Node-red on the Pi and access it via a browser on another device: Linux or Windows PC. or a tablet.
You don't actually need to secure Node-red unless it is accessible over the internet. Or if it's handling important stuff like your heating and there are pesky kids in the house.
I suggest you go to Manage Palette, the install tab and install node-red-dashboard again.
Restart the device, clear the browser cache and see if it's made any difference.
At the command line run node -v to show the version of node.js, and in Node-red use the hamburger menu to show the version of Node-red. Show us the results.
When you see a white browser page, it is generally because an underlying library has failed. The first step is to open your browsers "Developer Tools" - generally pressing the F12 key will do that. Look for the console tab which should show the error(s).
Stop node red and start it again and copy/paste the full startup text here please. Assuming you used the recommended install method then you can do that using node-red-stop node-red-start
When you paste it use the </> button at the top of the forum entry window.
Starting as a systemd service.
19 Feb 13:40:55 - [info]
Willkommen bei Node-RED
===================
19 Feb 13:40:55 - [info] Node-RED Version: v3.0.2
19 Feb 13:40:55 - [info] Node.js Version: v18.14.1
19 Feb 13:40:55 - [info] Linux 5.15.0-60-generic x64 LE
19 Feb 13:40:56 - [info] Paletten-Nodes werden geladen
19 Feb 13:40:57 - [info] UI started at /ui
19 Feb 13:40:57 - [info] Dashboard version 3.3.1 started at /ui
19 Feb 13:40:57 - [warn] rpi-gpio : Raspberry-Pi-spezifische Nodes inaktiv gesetzt
19 Feb 13:40:57 - [warn] ------------------------------------------------------
19 Feb 13:40:57 - [warn] [node-red-dashboard/ui_button] Der Typ 'ui_button' ist bereits von Modul 'node-red-contrib-ui_j' registriert
19 Feb 13:40:57 - [warn] [node-red-dashboard/ui_switch] Der Typ 'ui_switch' ist bereits von Modul 'node-red-contrib-ui_j' registriert
19 Feb 13:40:57 - [warn] [node-red-dashboard/ui_slider] Der Typ 'ui_slider' ist bereits von Modul 'node-red-contrib-ui_j' registriert
19 Feb 13:40:57 - [warn] [node-red-dashboard/ui_numeric] Der Typ 'ui_numeric' ist bereits von Modul 'node-red-contrib-ui_j' registriert
19 Feb 13:40:57 - [warn] [node-red-dashboard/ui_text_input] Der Typ 'ui_text_input' ist bereits von Modul 'node-red-contrib-ui_j' registriert
19 Feb 13:40:57 - [warn] [node-red-dashboard/ui_text] Der Typ 'ui_text' ist bereits von Modul 'node-red-contrib-ui_j' registriert
19 Feb 13:40:57 - [warn] [node-red-dashboard/ui_gauge] Der Typ 'ui_gauge' ist bereits von Modul 'node-red-contrib-ui_j' registriert
19 Feb 13:40:57 - [warn] [node-red-dashboard/ui_chart] Der Typ 'ui_chart' ist bereits von Modul 'node-red-contrib-ui_j' registriert
19 Feb 13:40:57 - [warn] [node-red-dashboard/ui_toast] Der Typ 'ui_toast' ist bereits von Modul 'node-red-contrib-ui_j' registriert
19 Feb 13:40:57 - [warn] [node-red-dashboard/ui_template] Der Typ 'ui_template' ist bereits von Modul 'node-red-contrib-ui_j' registriert
19 Feb 13:40:57 - [warn] [node-red-dashboard/ui_link] Der Typ 'ui_link' ist bereits von Modul 'node-red-contrib-ui_j' registriert
19 Feb 13:40:57 - [warn] [node-red-dashboard/ui_tab] Der Typ 'ui_tab' ist bereits von Modul 'node-red-contrib-ui_j' registriert
19 Feb 13:40:57 - [warn] ------------------------------------------------------
19 Feb 13:40:57 - [info] Einstellungsdatei: /home/johannes/.node-red/settings.js
19 Feb 13:40:57 - [info] Kontextspeicher: default [module=memory]
19 Feb 13:40:57 - [info] Benutzerverzeichnis: /home/johannes/.node-red
19 Feb 13:40:57 - [warn] Projekte deaktiviert: editorTheme.projects.enabled=false
19 Feb 13:40:57 - [info] Flow-Datei: /home/johannes/.node-red/flows.json
19 Feb 13:40:57 - [info] Server wird jetzt auf http://127.0.0.1:1880/ ausgeführt
19 Feb 13:40:57 - [warn]
---------------------------------------------------------------------
Die Datei mit den Flow-Credentials wird mit einem vom System
generierten Schlüssel verschlüsselt.
Wenn der vom System generierte Schlüssel aus irgendeinem Grund
verloren geht, kann die Datei mit den Credentials nicht
wiederhergestellt werden. Sie muss dann gelöscht und die
Credentials müssen erneut eingestellt werden.
Es sollte ein eigener Schlüssel mit Hilfe der Option
'credentialSecret' in der Einstellungsdatei vorgegeben werden.
Node-RED wird dann die Datei mit den Flow-Credentials
bei der nächsten Übernahme (deploy) einer Änderung erneut
verschlüsseln.
---------------------------------------------------------------------
19 Feb 13:40:57 - [info] Flows werden gestartet
19 Feb 13:40:57 - [info] Flows sind gestartet
19 Feb 13:40:57 - [info] [udp in:SMA EM] UDP-Multicast-Gruppe 239.12.255.254
19 Feb 13:40:57 - [info] [udp in:SMA EM] UDP-Empfangsbereitschaft bei 0.0.0.0:9522
19 Feb 13:40:58 - [error] [file:318ea74dec7804a8] Fehler beim Anhängen an Datei: Error: EISDIR: illegal operation on a directory, open '/home/johannes/sma.csv'
`type or paste code here`
There is a different flow running for the Raspi with a different local ip .31
with a different look of the dashboard.
This original flow and dashboard for the Raspi on my Laptop I would like to keep as it is. As it is working perfectly.
To learn more about Node-Red I copied that original flow for adding three gauges for the 3 Phase-Voltages to show. That means the dashboard looks different. And this Laptop has another local IP .27.
Just to be sure: Does the deleting of this second dashboard node-red-contrib-ui_j affect the original one?
What do I have to do to be safe? Creating another, different dashboard?
What does this error means
19 Feb 13:40:58 - [error] [file:318ea74dec7804a8] Fehler beim Anhängen an Datei: Error: EISDIR: illegal operation on a directory, open '/home/johannes/sma.csv'
I do not see any .csv file in my user directory
INFO: The User and PW for Node-Red on this Linux Laptop was set right after the installation of Node-Red.
Sorry again. I haven`t had any contact with Linux Mint and Node-Red before.
Since you are of course backing up your .node-red folder regularly it wouldn't matter if you messed things up as all you would have to do is to restore that folder from your backup. In fact you don't need to backup the node_modules folder (which is large) as it is easily regenerated.
I don't know anything about that dashboard, but I notice it has not been updated for 7 years so I think it unlikely that it even works. Also I see the source has been removed from github so it can be regarded as dead.
I expect that is why is complaining. There is a file node in your flow trying to access it. The node id is in the error message. In the editor go to Search (Ctrl+F) and enter 318ea74dec and it will probably find it. In fact I would expect that error to appear in the debug pane and you should be able to click the node id there to take you to it.