When i attempt to open my uibuilder instance i get this message
Cannot GET /uibindex
i am using the open function in uibuilder itself.
if i enter 127.0.0.1:1880/project it opens correctly
Anyone have any idea what i am doing wrong?
thank you in advance
What versions of node-red, node.js and uibuilder are you using?
I assume that you are using the "Full Details" button in the uibuilder node?
You should never be getting /uibindex
any way. Here is the URL from my dev PC:
http://127.0.0.1:1880/red/uibuilder/uibindex
The extra /red/
is in there because I deliberately move the Editor on my dev instance to test all of the different URL's you might get. So if you haven't done that, you might see http://127.0.0.1:1880/uibuilder/uibindex
.
Also note that you cannot directly access the page unless you have already opened the Editor because it uses the same security settings so as to prevent unauthorised access. This is not an issue when using the button in the uibuilder node of course.
Hi .
i am using uibuilder V7.2.0
Node.js V20.19.1
Node red V4.0.6
my url is http://127.0.0.1:1880/uibuilder/uibindex
.
hope that helps
when i click open the url it is using is 127.0.0.1:1880/uibindex
not sure why?
if i click this it opens properly
UIBUILDER is using Node-RED's webserver at http://127.0.0.1:1880/
What do you get if you click on the "Node Details" button?
I note that an error has crept in somewhere when using that button but still, it will tell us something.
Also, what uibuilder url have you got set - can you post a screenshot of the uibuilders main config tab?
In addition, as you hover over the buttons, you should see the full url's shown at the bottom of the browser window.
It would also be helpful if you could share the early part of the node-red log that shows uibuilder's global settings.
hi,
if i click on the node details button i get this:-
Cannot GET /uibuilder/instance/url
Not sure how to capture the log details?
Please share a screenshot of your uibuilder node config.
That is expected because of the error I mentioned.
What platform are you running Node-RED on?
For a standard Linux setup, a command such as sudo journalctl -u node-red
should give you the log but you should also restart node-red first, so something like this:
sudo systemctl restart node-red && sudo journalctl -u node-red -f -n 500 -o cat --no-hostname
i am running on Debian GNU/Linux 12 (bookworm)
i stopped node red with node-red-stop
then restarted with node-red-start
on this command
pi400@raspberrypi:~ $ sudo journalctl -u node-red i get
-- No entries --
pi400@raspberrypi:~ $
Sorry, I use a custom name so I can't remember the default unit name for node-red. Might be nodered
instead?
You may need to look it up, there are systemctl commands that will list running units - I don't remember the commands off the top of my head.
i will get on it sorry to be a pain
It's OK, it can be hard to suddenly find yourself dumped into the depths of the OS when you "just" thought you were trying to use a "simple" graphical tool!
This is the joy of working with Node.js apps I'm afraid.
ok used sudo journalctl -u nodered and go this? but date DEC 16?
pi400@raspberrypi:~ $ sudo journalctl -u nodered
Dec 16 18:31:20 raspberrypi systemd[1]: Started nodered.service - Node-RED grap>
Dec 16 18:31:21 raspberrypi Node-RED[3448]: 16 Dec 18:31:21 - [info]
Dec 16 18:31:21 raspberrypi Node-RED[3448]: Welcome to Node-RED
Dec 16 18:31:21 raspberrypi Node-RED[3448]: ===================
Dec 16 18:31:21 raspberrypi Node-RED[3448]: 16 Dec 18:31:21 - [info] Node-RED v>
Dec 16 18:31:21 raspberrypi Node-RED[3448]: 16 Dec 18:31:21 - [info] Node.js v>
Dec 16 18:31:21 raspberrypi Node-RED[3448]: 16 Dec 18:31:21 - [info] Linux 6.6.>
Dec 16 18:31:21 raspberrypi Node-RED[3448]: 16 Dec 18:31:21 - [info] Loading pa>
Dec 16 18:31:23 raspberrypi Node-RED[3448]: 16 Dec 18:31:23 - [info] Settings f>
Dec 16 18:31:23 raspberrypi Node-RED[3448]: 16 Dec 18:31:23 - [info] Context st>
Dec 16 18:31:23 raspberrypi Node-RED[3448]: 16 Dec 18:31:23 - [info] User direc>
Dec 16 18:31:23 raspberrypi Node-RED[3448]: 16 Dec 18:31:23 - [warn] Projects d>
Dec 16 18:31:23 raspberrypi Node-RED[3448]: 16 Dec 18:31:23 - [info] Flows file>
Dec 16 18:31:23 raspberrypi Node-RED[3448]: 16 Dec 18:31:23 - [info] Creating n>
Dec 16 18:31:23 raspberrypi Node-RED[3448]: 16 Dec 18:31:23 - [warn] Encrypted >
Dec 16 18:31:23 raspberrypi Node-RED[3448]: 16 Dec 18:31:23 - [info] Server now>
Dec 16 18:31:23 raspberrypi Node-RED[3448]: 16 Dec 18:31:23 - [info] Starting f>
Dec 16 18:31:23 raspberrypi Node-RED[3448]: 16 Dec 18:31:23 - [info] Started fl>
Dec 16 18:39:48 raspberrypi Node-RED[3448]: 16 Dec 18:39:48 - [info] Installing>
Dec 16 18:40:35 raspberrypi Node-RED[3448]: 16 Dec 18:40:35 - [info] Installed >
Dec 16 18:40:40 raspberrypi Node-RED[3448]: 16 Dec 18:40:40 - [info] Added node>
Dec 16 18:40:40 raspberrypi Node-RED[3448]: 16 Dec 18:40:40 - [info] - node-re>
Dec 16 18:40:40 raspberrypi Node-RED[3448]: 16 Dec 18:40:40 - [info] - node-re>
lines 1-23
Dec 16 18:31:20 raspberrypi systemd[1]: Started nodered.service - Node-RED graphical event wiring tool.
Dec 16 18:31:21 raspberrypi Node-RED[3448]: 16 Dec 18:31:21 - [info]
Dec 16 18:31:21 raspberrypi Node-RED[3448]: Welcome to Node-RED
Dec 16 18:31:21 raspberrypi Node-RED[3448]: ===================
Dec 16 18:31:21 raspberrypi Node-RED[3448]: 16 Dec 18:31:21 - [info] Node-RED version: v4.0.6
Dec 16 18:31:21 raspberrypi Node-RED[3448]: 16 Dec 18:31:21 - [info] Node.js version: v20.18.1
Dec 16 18:31:21 raspberrypi Node-RED[3448]: 16 Dec 18:31:21 - [info] Linux 6.6.62+rpt-rpi-v8 arm64 LE
Dec 16 18:31:21 raspberrypi Node-RED[3448]: 16 Dec 18:31:21 - [info] Loading palette nodes
Dec 16 18:31:23 raspberrypi Node-RED[3448]: 16 Dec 18:31:23 - [info] Settings file : /home/pi400/.node-red/settings.js
Dec 16 18:31:23 raspberrypi Node-RED[3448]: 16 Dec 18:31:23 - [info] Context store : 'default' [module=memory]
Dec 16 18:31:23 raspberrypi Node-RED[3448]: 16 Dec 18:31:23 - [info] User directory : /home/pi400/.node-red
Dec 16 18:31:23 raspberrypi Node-RED[3448]: 16 Dec 18:31:23 - [warn] Projects disabled : editorTheme.projects.enabled=false
Dec 16 18:31:23 raspberrypi Node-RED[3448]: 16 Dec 18:31:23 - [info] Flows file : /home/pi400/.node-red/flows.json
Dec 16 18:31:23 raspberrypi Node-RED[3448]: 16 Dec 18:31:23 - [info] Creating new flow file
Dec 16 18:31:23 raspberrypi Node-RED[3448]: 16 Dec 18:31:23 - [warn] Encrypted credentials not found
Dec 16 18:31:23 raspberrypi Node-RED[3448]: 16 Dec 18:31:23 - [info] Server now running at http://127.0.0.1:1880/
Dec 16 18:31:23 raspberrypi Node-RED[3448]: 16 Dec 18:31:23 - [info] Starting flows
Dec 16 18:31:23 raspberrypi Node-RED[3448]: 16 Dec 18:31:23 - [info] Started flows
Dec 16 18:39:48 raspberrypi Node-RED[3448]: 16 Dec 18:39:48 - [info] Installing module: node-red-contrib-zwave-js, version: 9.1.0
Dec 16 18:40:35 raspberrypi Node-RED[3448]: 16 Dec 18:40:35 - [info] Installed module: node-red-contrib-zwave-js
Dec 16 18:40:40 raspberrypi Node-RED[3448]: 16 Dec 18:40:40 - [info] Added node types:
Dec 16 18:40:40 raspberrypi Node-RED[3448]: 16 Dec 18:40:40 - [info] - node-red-contrib-zwave-js:zwave-js
Dec 16 18:40:40 raspberrypi Node-RED[3448]: 16 Dec 18:40:40 - [info] - node-red-contrib-zwave-js:zwave-device
lines 1-23
Best, when sharing text or code to use the
option.
But I can see something critical missing from that log.
Here is what it should look like if you had UIBUILDER correctly installed (This from my test PC using PM2 so the log format slightly different):
See how there is a box around the UIBUILDER startup information?
More critical is this line:
Dec 16 18:31:23 raspberrypi Node-RED[3448]: 16 Dec 18:31:23 - [info] Creating new flow file
Which tells me that something is seriously wrong with your Node-RED installation I'm afraid. Since you would only ever expect to see this on FIRST RUN.
is there a way around this without me losing all my node red data?
5 May 18:51:01 - [info] Node-RED version: v4.0.6
25 May 18:51:01 - [info] Node.js version: v20.19.2
25 May 18:51:01 - [info] Linux 6.12.25+rpt-rpi-v8 arm64 LE
25 May 18:51:01 - [info] Loading palette nodes
25 May 18:51:04 - [info] node-red-contrib-telegrambot version: v16.3.1
25 May 18:51:13 - [info] Settings file : /home/pi400/.node-red/settings.js
25 May 18:51:13 - [info] Context store : 'default' [module=memory]
25 May 18:51:13 - [info] User directory : /home/pi400/.node-red
25 May 18:51:13 - [warn] Projects disabled : editorTheme.projects.enabled=false
25 May 18:51:13 - [info] Flows file : /home/pi400/.node-red/flows.json
25 May 18:51:13 - [info] Server now running at http://127.0.0.1:1880/
25 May 18:51:13 - [info] +-----------------------------------------------------
25 May 18:51:13 - [info] | uibuilder v7.2.0 initialised 🌐
25 May 18:51:13 - [info] | root folder: /home/pi400/.node-red/uibuilder
25 May 18:51:13 - [info] | Using Node-RED's webserver at:
25 May 18:51:13 - [info] | http://0.0.0.0:1880/
25 May 18:51:13 - [info] | Installed packages:
25 May 18:51:13 - [info] | vue2
25 May 18:51:13 - [info] +-----------------------------------------------------
25 May 18:51:13 - [info] Starting flows
25 May 18:51:14 - [info] Started flows
powered off PI400
powered on now get this boot up sequence
looks better?
Colin
25 May 2025 18:43
17
Didn't the node-red-stop node-red-start show you the log?
yes it did.
but still getting Cannot GET /uibindex when i attempt topen a uibulider instance using the open button
You still haven't shared a screenshot of your uibuilder node config. Just the main tab is fine.
here is a screenshot as requested