# DB-2 weird thing with button sizes

**URL:** https://discourse.nodered.org/t/db-2-weird-thing-with-button-sizes/97161
**Category:** Dashboard
**Created:** [20 May 2025 11:53 UTC](https://discourse.nodered.org/t/db-2-weird-thing-with-button-sizes/97161 "2025-05-20T11:53:44Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [20 May 2025 11:53 UTC](https://discourse.nodered.org/t/db-2-weird-thing-with-button-sizes/97161/1 "2025-05-20T11:53:44Z")

</div>

Folks,

I'm new to the new dashboard and this is confusing.

Status quo - to call it.

(Yeah, a lot of screen shots)

 ![Screenshot from 2025-05-20 21-48-03](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/b/aba36afff39abfedf2491b26197d713f9e641cee.png)

Nice "short" buttons.

(edit side - just to declare things)

 ![Screenshot from 2025-05-20 21-48-09](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/6/4631e0c114efc3e2eba6573a1d03165ff6c83228.png)

Now, when I _enable_ that text field:

 ![Screenshot from 2025-05-20 21-48-29](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/d/9dcf13c1215c797588fa0c7fa72711947078dfc0.png)

Why the _taller_ buttons?

Code:

```auto
[{"id":"b3efbc304ded5586","type":"ui-gauge-classic","z":"b39000460508d582","name":"Up","group":"6f4a6f88bfbb219b","order":4,"width":"4","height":"4","min":0,"max":"100","sectors":[],"major_division":"10","minor_division":"2","value_decimal_places":1,"scale_decimal_places":0,"label":"","measurement":"UP","units":"MB/S","needles":[{"topic":"","color":"black","lengthPercent":"100"}],"sweep_angle":250,"myclass":"","x":1250,"y":530,"wires":[]},{"id":"9f911bf264a37747","type":"trigger","z":"b39000460508d582","name":"","op1":"","op2":"0","op1type":"pay","op2type":"num","duration":"10","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":1065,"y":530,"wires":[["b3efbc304ded5586"]],"l":false},{"id":"88740176955f399c","type":"junction","z":"b39000460508d582","x":1130,"y":620,"wires":[["b3efbc304ded5586","df63fe35206bb344","aeade13e1f736ed5","02e9a8c62cff0c18"]]},{"id":"55564aeb8cf59718","type":"function","z":"b39000460508d582","name":"function 1","func":"const up = msg.payload.upload.bandwidth\nconst down = msg.payload.download.bandwidth\nconst jitter = msg.payload.ping.jitter\n\nconst msg1 = {\"payload\":up / 100000,\"topic\":\"UP\"}\nconst msg2 = {\"payload\":down/ 100000,\"topic\":\"DOWN\"}\nconst msg3 = {\"payload\":jitter,\"topic\":\"JITTER\"}\n\nreturn [msg1,msg2, msg3]","outputs":3,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":930,"y":590,"wires":[["9f911bf264a37747","dc599b15a803b171"],["a95943a269acba3a","dc599b15a803b171"],["3084f7137ef25712","760e70e8cdda211b","dc599b15a803b171"]],"outputLabels":["up","down","jitter"]},{"id":"9734efc198b32b22","type":"junction","z":"b39000460508d582","x":1000,"y":530,"wires":[["a95943a269acba3a","3084f7137ef25712","9f911bf264a37747","8a0f2457de496a8a"]]},{"id":"5d5e9423a985e2b3","type":"change","z":"b39000460508d582","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":675,"y":620,"wires":[["88740176955f399c"]],"l":false},{"id":"df63fe35206bb344","type":"ui-gauge-classic","z":"b39000460508d582","name":"Down","group":"6f4a6f88bfbb219b","order":1,"width":"4","height":"4","min":0,"max":"100","sectors":[],"major_division":"10","minor_division":"2","value_decimal_places":1,"scale_decimal_places":0,"label":"","measurement":"DOWN","units":"MB/S","needles":[{"topic":"","color":"black","lengthPercent":"100"}],"sweep_angle":250,"myclass":"","x":1250,"y":580,"wires":[]},{"id":"aeade13e1f736ed5","type":"ui-gauge-linear","z":"b39000460508d582","name":"","group":"6f4a6f88bfbb219b","order":10,"width":"8","height":"1","min":0,"max":"1","ticks":[],"colors":[{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(255, 169, 22)"},{"size":100,"color":"rgb(255, 169, 22)"},{"size":100,"color":"rgb(255, 169, 22)"},{"size":100,"color":"rgb(255, 169, 22)"},{"size":100,"color":"rgb(255, 76, 22)"},{"size":100,"color":"rgb(255, 76, 22)"}],"zeroCrossColors":["#ff4c16","#00e300"],"mode":"default","bar":"segmented","minLabel":"","maxLabel":"","label":"JITTER","icon":"","unit":"Jitter","dim":"0.3","property":"payload","decimals":2,"zeros":true,"myclass":"","x":1270,"y":660,"wires":[]},{"id":"02e9a8c62cff0c18","type":"ui-text","z":"b39000460508d582","group":"6f4a6f88bfbb219b","order":9,"width":"2","height":"1","name":"","label":"Jitter value","format":"{{msg.payload}}","layout":"row-spread","style":false,"font":"","fontSize":16,"color":"#717171","wrapText":false,"className":"","x":1270,"y":700,"wires":[]},{"id":"cca85169024b2e11","type":"function","z":"b39000460508d582","name":"Now()","func":"msg.time = time();\nfunction time() { return { time: new Date().toLocaleTimeString() } };\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":675,"y":660,"wires":[["55564aeb8cf59718","8a0f2457de496a8a"]],"l":false},{"id":"a95943a269acba3a","type":"trigger","z":"b39000460508d582","name":"","op1":"","op2":"0","op1type":"pay","op2type":"num","duration":"10","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":1065,"y":580,"wires":[["df63fe35206bb344"]],"l":false},{"id":"3084f7137ef25712","type":"trigger","z":"b39000460508d582","name":"","op1":"","op2":"0","op1type":"pay","op2type":"num","duration":"10","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":1065,"y":660,"wires":[["aeade13e1f736ed5","02e9a8c62cff0c18"]],"l":false},{"id":"760e70e8cdda211b","type":"debug","z":"b39000460508d582","name":"Jitter","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1100,"y":710,"wires":[]},{"id":"a0d12323f02eccb0","type":"change","z":"b39000460508d582","name":"Reset","rules":[{"t":"delete","p":"payload","pt":"msg"},{"t":"set","p":"reset","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":955,"y":490,"wires":[["9734efc198b32b22"]],"l":false},{"id":"8a0f2457de496a8a","type":"trigger","z":"b39000460508d582","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"10","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":755,"y":580,"wires":[["fbeeb3f149c2d8ba","c3f89cd42bfcb661"],["dce9cad1b1549593","c3f89cd42bfcb661"]],"l":false},{"id":"f5dd0f4c10b5a02f","type":"ui-button","z":"b39000460508d582","group":"6f4a6f88bfbb219b","name":"","label":"WIPE","order":7,"width":"1","height":"1","emulateClick":false,"tooltip":"","color":"","bgcolor":"","className":"","icon":"","iconPosition":"left","payload":"0","payloadType":"num","topic":"topic","topicType":"msg","buttonColor":"","textColor":"","iconColor":"","enableClick":true,"enablePointerdown":false,"pointerdownPayload":"","pointerdownPayloadType":"str","enablePointerup":false,"pointerupPayload":"","pointerupPayloadType":"str","x":530,"y":570,"wires":[["dce9cad1b1549593","8344fa99a2a4949f","5d5e9423a985e2b3"]]},{"id":"a2b99db0037e519c","type":"ui-button","z":"b39000460508d582","group":"6f4a6f88bfbb219b","name":"","label":"Test","order":2,"width":"1","height":"1","emulateClick":false,"tooltip":"","color":"","bgcolor":"","className":"","icon":"","iconPosition":"left","payload":"Running","payloadType":"str","topic":"topic","topicType":"msg","buttonColor":"","textColor":"","iconColor":"","enableClick":true,"enablePointerdown":false,"pointerdownPayload":"","pointerdownPayloadType":"str","enablePointerup":false,"pointerupPayload":"","pointerupPayloadType":"str","x":530,"y":530,"wires":[["cdec8dfd8222d653","5d5e9423a985e2b3","9ed83ad96f7a8405","c3f89cd42bfcb661"]]},{"id":"cdec8dfd8222d653","type":"speedtest","z":"b39000460508d582","name":"","maxTime":5000,"serverId":"","acceptLicense":true,"acceptGdpr":true,"x":540,"y":660,"wires":[["cca85169024b2e11"]]},{"id":"de5be44bacf7ef7d","type":"ui-button","z":"b39000460508d582","group":"6f4a6f88bfbb219b","name":"","label":"HOLD","order":6,"width":"1","height":"1","emulateClick":false,"tooltip":"","color":"","bgcolor":"","className":"","icon":"","iconPosition":"left","payload":"X","payloadType":"str","topic":"topic","topicType":"msg","buttonColor":"","textColor":"","iconColor":"","enableClick":true,"enablePointerdown":false,"pointerdownPayload":"","pointerdownPayloadType":"str","enablePointerup":false,"pointerupPayload":"","pointerupPayloadType":"str","x":530,"y":490,"wires":[["a0d12323f02eccb0","5bdde14fb80b87f6"]]},{"id":"dce9cad1b1549593","type":"change","z":"b39000460508d582","name":"Wipe","rules":[{"t":"set","p":"payload","pt":"msg","to":" ","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":755,"y":460,"wires":[["8faf0d2cb0338722"]],"l":false},{"id":"fbeeb3f149c2d8ba","type":"change","z":"b39000460508d582","name":"RESULT","rules":[{"t":"set","p":"payload","pt":"msg","to":"--== RESULT ==--","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":755,"y":420,"wires":[["8faf0d2cb0338722"]],"l":false},{"id":"c3f89cd42bfcb661","type":"junction","z":"b39000460508d582","x":830,"y":530,"wires":[["83a84fbcd60566a5"]]},{"id":"8344fa99a2a4949f","type":"change","z":"b39000460508d582","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":675,"y":550,"wires":[["c3f89cd42bfcb661"]],"l":false},{"id":"9ed83ad96f7a8405","type":"change","z":"b39000460508d582","name":"Running","rules":[{"t":"set","p":"payload","pt":"msg","to":"--== RUNNING ==--","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":755,"y":380,"wires":[["8faf0d2cb0338722"]],"l":false},{"id":"ef4a762fbd189044","type":"inject","z":"b39000460508d582","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":530,"y":720,"wires":[["cdec8dfd8222d653"]]},{"id":"5bdde14fb80b87f6","type":"change","z":"b39000460508d582","name":"Hold","rules":[{"t":"set","p":"payload","pt":"msg","to":"--== HOLD ==--","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":755,"y":340,"wires":[["8faf0d2cb0338722"]],"l":false},{"id":"8faf0d2cb0338722","type":"junction","z":"b39000460508d582","x":830,"y":380,"wires":[["3356f32d9cee6b1a"]]},{"id":"d5c5267d47461eb8","type":"inject","z":"b39000460508d582","name":"Initialise","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"false","payloadType":"bool","x":755,"y":510,"wires":[["c3f89cd42bfcb661"]],"l":false},{"id":"83a84fbcd60566a5","type":"ui-led","z":"b39000460508d582","name":"","group":"6f4a6f88bfbb219b","order":3,"width":"1","height":"1","label":"State","labelPlacement":"left","labelAlignment":"left","states":[{"value":"false","valueType":"bool","color":"#ff0000"},{"value":"true","valueType":"bool","color":"#00ff00"},{"value":"Running","valueType":"str","color":"#f6d32d"}],"allowColorForValueInMessage":false,"shape":"circle","showBorder":true,"showGlow":true,"x":920,"y":530,"wires":[]},{"id":"3356f32d9cee6b1a","type":"ui-text","z":"b39000460508d582","group":"6f4a6f88bfbb219b","order":5,"width":"2","height":"1","name":"State","label":"","format":"{{msg.payload}}","layout":"col-center","style":false,"font":"","fontSize":16,"color":"#717171","wrapText":false,"className":"","x":920,"y":380,"wires":[]},{"id":"6f4a6f88bfbb219b","type":"ui-group","name":"Group 1","page":"b9b507aa5c5840c2","width":"10","height":1,"order":1,"showTitle":false,"className":"","visible":"true","disabled":"false","groupType":"default"},{"id":"b9b507aa5c5840c2","type":"ui-page","name":"Down/Up load speed tester","ui":"379027033ed5c83a","path":"/page1","icon":"home","layout":"flex","theme":"aba172339379333c","breakpoints":[{"name":"Default","px":"0","cols":"3"},{"name":"Tablet","px":"576","cols":"6"},{"name":"Small Desktop","px":"768","cols":"9"},{"name":"Desktop","px":"1024","cols":"12"}],"order":1,"className":"","visible":"true","disabled":"false"},{"id":"379027033ed5c83a","type":"ui-base","name":"My Dashboard","path":"/dashboard","appIcon":"","includeClientData":true,"acceptsClientConfig":["ui-notification","ui-control"],"showPathInSidebar":false,"headerContent":"page","navigationStyle":"default","titleBarStyle":"default","showReconnectNotification":true,"notificationDisplayTime":1,"showDisconnectNotification":true},{"id":"aba172339379333c","type":"ui-theme","name":"Default Theme","colors":{"surface":"#ffffff","primary":"#0094CE","bgPage":"#eeeeee","groupBg":"#ffffff","groupOutline":"#cccccc"},"sizes":{"density":"default","pagePadding":"12px","groupGap":"12px","groupBorderRadius":"4px","widgetGap":"12px"}}]

```

EXTERNAL NODE:  
`node-red-contrib-speedtest`  
(but that doesn't really matter - does it?

Thanks in advance.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [20 May 2025 14:21 UTC](https://discourse.nodered.org/t/db-2-weird-thing-with-button-sizes/97161/2 "2025-05-20T14:21:54Z")

</div>

> [@Trying\_to\_learn](#):
>
> EXTERNAL NODE:  
> `node-red-contrib-speedtest`

Not to mention the linear gauge and the led. Which led node are you using, it seems not to be node-red-contrib-ui-led?

Edit, no of course it isn't, that is a D1 node, it is @flowfuse/node-red-dashboard-2-ui-led

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [20 May 2025 14:25 UTC](https://discourse.nodered.org/t/db-2-weird-thing-with-button-sizes/97161/3 "2025-05-20T14:25:38Z")

</div>

And the classic gauge. Also tell us how to make the problem appear.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [20 May 2025 14:29 UTC](https://discourse.nodered.org/t/db-2-weird-thing-with-button-sizes/97161/4 "2025-05-20T14:29:13Z")

</div>

And finally (?) the speedtest node is not installable with nodejs 22.  
Please reduce your test flow as much as possible, leaving only that which is necessary to see the problem

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [20 May 2025 16:14 UTC](https://discourse.nodered.org/t/db-2-weird-thing-with-button-sizes/97161/5 "2025-05-20T16:14:51Z")

</div>

It is generally better to use the Grid layout for the page rather than fixed. Then it should fit itself to the browser window better. In fact changing that may fix the problem.

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [20 May 2025 20:30 UTC](https://discourse.nodered.org/t/db-2-weird-thing-with-button-sizes/97161/6 "2025-05-20T20:30:50Z")

</div>

Ok, sorry.

That was not nice of me to not include the other dashboad-2 stuff.  
I was sort of overwhelmed with the whole DB-2 thing.

# **Huge twist!**

That was last night and it was "Working".  
I got up today, turned on machine......

NR is running/loaded and all that.

I go to that page.... _Waiting waiting waiting._ NOTHING. !!??

Flip to the EDIT screen.

Covered it black `node error` where all the DB-2 nodes are.  
And others saying `missing node`

And a huge list of missing stuff.  
Alas I cleared the names - stupid me.  
But it was stuff like `layout`, `page` and stuff.

So this is what I see:

 ![Screenshot from 2025-05-21 06-23-42](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/0/90f688b12fc4bac42dd375531f6833ff83fe2167.png)

I'll go through and fix the _MISSING NODES_ - which were there last night - as you see/saw.  
How they went away when the machine was turned off is beyond me.

Oh, just realised: Dashboard-2 is now **NOT INSTALLED**!!??

How did that happen?

and when I scroll to where the other DB-2 nodes are in the list....

 ![Screenshot from 2025-05-21 06-29-07](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/a/ba9777455efa5eca78f10a1656c487dc7450c5b4.png)

I thought/seem to remember they were listed under `Dashboad-2`.

I'll shut up here and post as I am really confused to what's happened.

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [20 May 2025 21:00 UTC](https://discourse.nodered.org/t/db-2-weird-thing-with-button-sizes/97161/7 "2025-05-20T21:00:20Z")

</div>

Still not looking good.

Installed all the nodes required to get that bit of code working - except `speedtest`.

I am NOT getting a `DASHBOARD` viewable.

Stopped and restarted NR.

This is the log I see:

```auto
me@me-desktop:~/.node-red$ node-red-start

Start Node-RED
 
Once Node-RED has started, point a browser at http://192.168.17.6:1880
On Pi Node-RED works better with the Firefox or Chrome browser
 
Use node-red-stop to stop Node-RED
Use node-red-start to start Node-RED again
Use node-red-log to view the recent log output
Use sudo systemctl enable nodered.service to autostart Node-RED at every boot
Use sudo systemctl disable nodered.service to disable autostart on boot
 
To find more nodes and example flows - go to http://flows.nodered.org
 
Starting as a systemd service.
Started Node-RED graphical event wiring tool.
21 May 06:55:06 - [info]
Welcome to Node-RED
===================
21 May 06:55:06 - [info] Node-RED version: v4.0.9
21 May 06:55:06 - [info] Node.js version: v20.19.1
21 May 06:55:06 - [info] Linux 5.15.0-139-generic x64 LE
21 May 06:55:07 - [info] Loading palette nodes
21 May 06:55:09 - [info] +-----------------------------------------------------
21 May 06:55:09 - [info] | uibuilder initialised:
21 May 06:55:09 - [info] | root folder: /home/me/.node-red/uibuilder
21 May 06:55:09 - [info] | version . .: 2.0.1
21 May 06:55:09 - [info] | packages . : vue,bootstrap,bootstrap-vue,jquery,socket.io
21 May 06:55:09 - [info] +-----------------------------------------------------
21 May 06:55:09 - [info] Worldmap version 2.31.0
21 May 06:55:09 - [info] Dashboard version 3.1.7 started at /ui
(node:14189) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:14189) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
21 May 06:55:09 - [info] Settings file : /home/me/.node-red/settings.js
21 May 06:55:09 - [info] HTTP Static : /home/me/.node-red/public > /
21 May 06:55:09 - [info] Context store : 'default' [module=memory]
21 May 06:55:09 - [info] User directory : /home/me/.node-red
21 May 06:55:09 - [warn] Projects disabled : set editorTheme.projects.enabled=true to enable
21 May 06:55:09 - [info] Flows file : /home/me/.node-red/flows_me-desktop.json
21 May 06:55:09 - [info] Server now running at http://127.0.0.1:1880/
21 May 06:55:09 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
21 May 06:55:10 - [info] Waiting for missing types to be registered:
21 May 06:55:10 - [info] - speedtest

```

Taking what it said I tried stopping and running it with `--trace-warnings`

```auto
me@me-desktop:~/.node-red$ node-red --trace-warnings
21 May 06:58:41 - [info] 

Welcome to Node-RED
===================

21 May 06:58:41 - [info] Node-RED version: v4.0.9
21 May 06:58:41 - [info] Node.js version: v20.19.1
21 May 06:58:41 - [info] Linux 5.15.0-139-generic x64 LE
21 May 06:58:41 - [info] Loading palette nodes
21 May 06:58:43 - [info] +-----------------------------------------------------
21 May 06:58:43 - [info] | uibuilder initialised:
21 May 06:58:43 - [info] | root folder: /home/me/.node-red/uibuilder
21 May 06:58:43 - [info] | version . .: 2.0.1
21 May 06:58:43 - [info] | packages . : vue,bootstrap,bootstrap-vue,jquery,socket.io
21 May 06:58:43 - [info] +-----------------------------------------------------
21 May 06:58:43 - [info] Worldmap version 2.31.0
21 May 06:58:43 - [info] Dashboard version 3.1.7 started at /ui
(node:14436) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:14436) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
21 May 06:58:44 - [info] Settings file : /home/me/.node-red/settings.js
21 May 06:58:44 - [info] HTTP Static : /home/me/.node-red/public > /
21 May 06:58:44 - [info] Context store : 'default' [module=memory]
21 May 06:58:44 - [info] User directory : /home/me/.node-red
21 May 06:58:44 - [warn] Projects disabled : set editorTheme.projects.enabled=true to enable
21 May 06:58:44 - [info] Flows file : /home/me/.node-red/flows_me-desktop.json
21 May 06:58:44 - [info] Server now running at http://127.0.0.1:1880/
21 May 06:58:44 - [warn] 

---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.

You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------

21 May 06:58:44 - [info] Waiting for missing types to be registered:
21 May 06:58:44 - [info] - speedtest

```

Stuck.

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [20 May 2025 21:17 UTC](https://discourse.nodered.org/t/db-2-weird-thing-with-button-sizes/97161/8 "2025-05-20T21:17:21Z")

</div>

Back to the _PROBLEM_

With all the other foreign nodes removed this is the flow:

```auto
[{"id":"de5be44bacf7ef7d","type":"ui-button","z":"b39000460508d582","group":"6f4a6f88bfbb219b","name":"","label":"HOLD","order":7,"width":"1","height":"1","emulateClick":false,"tooltip":"","color":"","bgcolor":"","className":"","icon":"","iconPosition":"left","payload":"X","payloadType":"str","topic":"topic","topicType":"msg","buttonColor":"","textColor":"","iconColor":"","enableClick":true,"enablePointerdown":false,"pointerdownPayload":"","pointerdownPayloadType":"str","enablePointerup":false,"pointerupPayload":"","pointerupPayloadType":"str","x":530,"y":490,"wires":[["a0d12323f02eccb0","5bdde14fb80b87f6"]]},{"id":"a0d12323f02eccb0","type":"change","z":"b39000460508d582","name":"Reset","rules":[{"t":"delete","p":"payload","pt":"msg"},{"t":"set","p":"reset","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":955,"y":490,"wires":[["9734efc198b32b22"]],"l":false},{"id":"5bdde14fb80b87f6","type":"change","z":"b39000460508d582","name":"Hold","rules":[{"t":"set","p":"payload","pt":"msg","to":"--== HOLD ==--","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":755,"y":340,"wires":[["8faf0d2cb0338722"]],"l":false},{"id":"9734efc198b32b22","type":"junction","z":"b39000460508d582","x":1000,"y":530,"wires":[["a95943a269acba3a","3084f7137ef25712","9f911bf264a37747","8a0f2457de496a8a"]]},{"id":"8faf0d2cb0338722","type":"junction","z":"b39000460508d582","x":830,"y":380,"wires":[["3356f32d9cee6b1a"]]},{"id":"a95943a269acba3a","type":"trigger","z":"b39000460508d582","name":"","op1":"","op2":"0","op1type":"pay","op2type":"num","duration":"10","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":1065,"y":580,"wires":[["703aedb705463138"]],"l":false},{"id":"3084f7137ef25712","type":"trigger","z":"b39000460508d582","name":"","op1":"","op2":"0","op1type":"pay","op2type":"num","duration":"10","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":1065,"y":660,"wires":[["02e9a8c62cff0c18","a0739c8df6f1cfa5"]],"l":false},{"id":"9f911bf264a37747","type":"trigger","z":"b39000460508d582","name":"","op1":"","op2":"0","op1type":"pay","op2type":"num","duration":"10","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":1065,"y":530,"wires":[["04efd261c4af9dc1"]],"l":false},{"id":"8a0f2457de496a8a","type":"trigger","z":"b39000460508d582","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"10","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":755,"y":580,"wires":[["fbeeb3f149c2d8ba","c3f89cd42bfcb661"],["dce9cad1b1549593","c3f89cd42bfcb661"]],"l":false},{"id":"9ed83ad96f7a8405","type":"change","z":"b39000460508d582","name":"Running","rules":[{"t":"set","p":"payload","pt":"msg","to":"--== RUNNING ==--","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":755,"y":380,"wires":[["8faf0d2cb0338722"]],"l":false},{"id":"fbeeb3f149c2d8ba","type":"change","z":"b39000460508d582","name":"RESULT","rules":[{"t":"set","p":"payload","pt":"msg","to":"--== RESULT ==--","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":755,"y":420,"wires":[["8faf0d2cb0338722"]],"l":false},{"id":"08cc4a0b89309784","type":"trigger","z":"b39000460508d582","name":"","op1":"Resetting","op2":"","op1type":"str","op2type":"pay","duration":"3","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":805,"y":460,"wires":[["8faf0d2cb0338722"]],"l":false},{"id":"3356f32d9cee6b1a","type":"ui-text","z":"b39000460508d582","d":true,"group":"6f4a6f88bfbb219b","order":6,"width":"2","height":"1","name":"State","label":"","format":"{{msg.payload}}","layout":"col-center","style":false,"font":"","fontSize":16,"color":"#717171","wrapText":false,"className":"","x":920,"y":380,"wires":[]},{"id":"55564aeb8cf59718","type":"function","z":"b39000460508d582","name":"function 1","func":"const up = msg.payload.upload.bandwidth\nconst down = msg.payload.download.bandwidth\nconst jitter = msg.payload.ping.jitter\n\nconst msg1 = {\"payload\":up / 100000,\"topic\":\"UP\"}\nconst msg2 = {\"payload\":down/ 100000,\"topic\":\"DOWN\"}\nconst msg3 = {\"payload\":jitter,\"topic\":\"JITTER\"}\n\nreturn [msg1,msg2, msg3]","outputs":3,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":930,"y":590,"wires":[["9f911bf264a37747","dc599b15a803b171"],["a95943a269acba3a","dc599b15a803b171"],["3084f7137ef25712","760e70e8cdda211b","dc599b15a803b171"]],"outputLabels":["up","down","jitter"]},{"id":"703aedb705463138","type":"junction","z":"b39000460508d582","x":1160,"y":580,"wires":[[]]},{"id":"02e9a8c62cff0c18","type":"ui-text","z":"b39000460508d582","group":"6f4a6f88bfbb219b","order":10,"width":"2","height":"1","name":"","label":"Jitter value","format":"{{msg.payload}}","layout":"row-spread","style":false,"font":"","fontSize":16,"color":"#717171","wrapText":false,"className":"","x":1270,"y":700,"wires":[]},{"id":"a0739c8df6f1cfa5","type":"junction","z":"b39000460508d582","x":1160,"y":660,"wires":[[]]},{"id":"04efd261c4af9dc1","type":"junction","z":"b39000460508d582","x":1160,"y":530,"wires":[[]]},{"id":"cca85169024b2e11","type":"function","z":"b39000460508d582","name":"Now()","func":"msg.time = time();\nfunction time() { return { time: new Date().toLocaleTimeString() } };\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":675,"y":660,"wires":[["55564aeb8cf59718","8a0f2457de496a8a"]],"l":false},{"id":"c3f89cd42bfcb661","type":"junction","z":"b39000460508d582","x":830,"y":530,"wires":[[]]},{"id":"dce9cad1b1549593","type":"change","z":"b39000460508d582","name":"Wipe","rules":[{"t":"set","p":"payload","pt":"msg","to":" ","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":755,"y":460,"wires":[["08cc4a0b89309784"]],"l":false},{"id":"a2b99db0037e519c","type":"ui-button","z":"b39000460508d582","group":"6f4a6f88bfbb219b","name":"","label":"Test","order":3,"width":"1","height":"1","emulateClick":false,"tooltip":"","color":"","bgcolor":"","className":"","icon":"","iconPosition":"left","payload":"Running","payloadType":"str","topic":"topic","topicType":"msg","buttonColor":"","textColor":"","iconColor":"","enableClick":true,"enablePointerdown":false,"pointerdownPayload":"","pointerdownPayloadType":"str","enablePointerup":false,"pointerupPayload":"","pointerupPayloadType":"str","x":530,"y":530,"wires":[["5d5e9423a985e2b3","9ed83ad96f7a8405","c3f89cd42bfcb661","daf419c050758873"]]},{"id":"dc599b15a803b171","type":"join","z":"b39000460508d582","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","useparts":false,"accumulate":true,"timeout":"5","count":"3","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":1250,"y":620,"wires":[["4d2af3501732f304","da74dc1558941170"]]},{"id":"760e70e8cdda211b","type":"debug","z":"b39000460508d582","name":"Jitter","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1100,"y":710,"wires":[]},{"id":"88740176955f399c","type":"junction","z":"b39000460508d582","x":1130,"y":620,"wires":[["02e9a8c62cff0c18","04efd261c4af9dc1","703aedb705463138","a0739c8df6f1cfa5"]]},{"id":"d5c5267d47461eb8","type":"inject","z":"b39000460508d582","name":"Initialise","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"false","payloadType":"bool","x":755,"y":510,"wires":[["c3f89cd42bfcb661"]],"l":false},{"id":"8344fa99a2a4949f","type":"change","z":"b39000460508d582","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":675,"y":550,"wires":[["c3f89cd42bfcb661"]],"l":false},{"id":"f5dd0f4c10b5a02f","type":"ui-button","z":"b39000460508d582","group":"6f4a6f88bfbb219b","name":"","label":"WIPE","order":8,"width":"1","height":"1","emulateClick":false,"tooltip":"","color":"","bgcolor":"","className":"","icon":"","iconPosition":"left","payload":"0","payloadType":"num","topic":"topic","topicType":"msg","buttonColor":"","textColor":"","iconColor":"","enableClick":true,"enablePointerdown":false,"pointerdownPayload":"","pointerdownPayloadType":"str","enablePointerup":false,"pointerupPayload":"","pointerupPayloadType":"str","x":530,"y":570,"wires":[["dce9cad1b1549593","8344fa99a2a4949f","5d5e9423a985e2b3"]]},{"id":"5d5e9423a985e2b3","type":"change","z":"b39000460508d582","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":675,"y":620,"wires":[["88740176955f399c"]],"l":false},{"id":"4d2af3501732f304","type":"debug","z":"b39000460508d582","name":"debug 4","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1400,"y":580,"wires":[]},{"id":"da74dc1558941170","type":"gate","z":"b39000460508d582","name":"","controlTopic":"control","defaultState":"open","openCmd":"open","closeCmd":"close","toggleCmd":"toggle","defaultCmd":"default","statusCmd":"status","persist":false,"storeName":"memory","x":1390,"y":620,"wires":[[]]},{"id":"6f4a6f88bfbb219b","type":"ui-group","name":"Group 1","page":"b9b507aa5c5840c2","width":"10","height":1,"order":1,"showTitle":false,"className":"","visible":"true","disabled":"false","groupType":"default"},{"id":"b9b507aa5c5840c2","type":"ui-page","name":"Down/Up load speed tester","ui":"379027033ed5c83a","path":"/page1","icon":"home","layout":"flex","theme":"aba172339379333c","breakpoints":[{"name":"Default","px":"0","cols":"3"},{"name":"Tablet","px":"576","cols":"6"},{"name":"Small Desktop","px":"768","cols":"9"},{"name":"Desktop","px":"1024","cols":"12"}],"order":1,"className":"","visible":"true","disabled":"false"},{"id":"379027033ed5c83a","type":"ui-base","name":"My Dashboard","path":"/dashboard","appIcon":"","includeClientData":true,"acceptsClientConfig":["ui-notification","ui-control"],"showPathInSidebar":false,"headerContent":"page","navigationStyle":"default","titleBarStyle":"default","showReconnectNotification":true,"notificationDisplayTime":1,"showDisconnectNotification":true}]

```

Looks nice - kinda.

 ![Screenshot from 2025-05-21 07-13-22](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/8/a81b290c58d323d3d63da21d88a2c805d4362fc2.png)

Though missing a lot of information which this is supposed to give. But....

Enabling the _SUSPECT_ node:

This is what I see.

 ![Screenshot from 2025-05-21 07-14-32](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/9/29c06a52158a2ee90a21f3d46b4067d59b0670f9.png)

All buttons remain the same _Height_.  
(Which is expected.)

So, ok, those other nodes are doing something to change how that all works.

I don't know. That's why I'm asking.

Thoughts?

BTW: Being honest, I still really don't understand what just happened.

# YES

I agree that the `speedtest` node seemed to be causing a lot of grief.  
Strange though how last night when I shut down (This machine) things were visible on the DB(2) screen.  
Today when I booted a lot of them were misconfigured and changed colour from blue to black on the edit screen.  
(which they now still are.)

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [21 May 2025 05:30 UTC](https://discourse.nodered.org/t/db-2-weird-thing-with-button-sizes/97161/9 "2025-05-21T05:30:12Z")

</div>

Make a change to the flows and deploy, then power down, unplug the power, and leave it for 60 seconds. Then power up again. Is the change still there? If not then throw the sd card in the bin and start with a new one.

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [21 May 2025 06:41 UTC](https://discourse.nodered.org/t/db-2-weird-thing-with-button-sizes/97161/10 "2025-05-21T06:41:08Z")

</div>

The _SD CARD_ is a 500GB ssd on my main machine.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [21 May 2025 10:42 UTC](https://discourse.nodered.org/t/db-2-weird-thing-with-button-sizes/97161/11 "2025-05-21T10:42:55Z")

</div>

Did you do what I suggested?

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [21 May 2025 20:35 UTC](https://discourse.nodered.org/t/db-2-weird-thing-with-button-sizes/97161/12 "2025-05-21T20:35:34Z")

</div>

I do not have a _SPARE_ 500gb SSD lying around.  
(Or any as a matter of fact)

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [21 May 2025 20:50 UTC](https://discourse.nodered.org/t/db-2-weird-thing-with-button-sizes/97161/13 "2025-05-21T20:50:42Z")

</div>

> [@Trying\_to\_learn](#):
>
> I do not have a _SPARE_ 500gb SSD lying around.

I suggested:

> [@Colin](#):
>
> Make a change to the flows and deploy, then power down, unplug the power, and leave it for 60 seconds. Then power up again. Is the change still there?

I meant did you try that? You have reported, if I understand correctly, that you have the system running and then power off and on again and it is no longer working. That is what I am trying to help you diagnose.

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [21 May 2025 20:56 UTC](https://discourse.nodered.org/t/db-2-weird-thing-with-button-sizes/97161/14 "2025-05-21T20:56:01Z")

</div>

I seem to have some serious problem with parsing _commands_ just now.

Hang on and I'll start the test.

Originally.

 ![Screenshot from 2025-05-22 06-53-08](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/e/bef405c0575458cfca3bc36343887a1fc367c1fc.png)

Now:

 ![Screenshot from 2025-05-22 06-53-49](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/9/5911290c6781218fa851383214b39bb0c151504e.png)

I'll leave as is and power down soon.  
(Just got up and will be going out for half the day)

When I come back and I'll power up this machine and see what happens.

All this is now academic as `speedtest` (node) can't be used and that is what this bit of code is for.

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [21 May 2025 21:05 UTC](https://discourse.nodered.org/t/db-2-weird-thing-with-button-sizes/97161/15 "2025-05-21T21:05:11Z")

</div>

I saw a reply flash on the screen from you but by the time I noticed and I flipped to this tab, I didn't see any replies

> [@Colin](#):
>
> that you have the system running and then power off and on again and it is no longer working. That is what I am trying to help you diagnose.

Oh, ok......

(As said: bad parsing my end.)

Well, here's what I remember as to events happening.

Said flow was to be on a RasPi. I was writing it on THIS machine to test things.

All was working and it would do a SpeedTest of the up/down links and display it.  
Things were good.

Powered THIS machine down - done for that session.

Next session, powered up... NO NODE-RED - anywhere.  
No flows, no Dashboards (either version)  
(Maybe there were flows but I couldn't get the Dashboard/s to display)  
About that time I did lose ALL my node-red flows.  
Had to reload a 3 month old save.  
(_This was FULL PANIC mode_)

Semi-panic.

Uninstalled `speedtest` (node) and things started working again.

Note:  
Earlier (with `speedtest` installed, ALL dashboards were working/displayable.  
So how/why did a shutdown/relaunch do it?  
🤷

`speedtest` is GONE-SKI  
(loop detected. abort)

So as is, THIS MACHINE: all good.

The Pi: Unknow. Since then other things have got in the way.  
But from memory - why am I trusting it? - it suffered similar things until I removed `speedtest`.  
So the flow on it is also now pointless too.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [20 June 2025 21:05 UTC](https://discourse.nodered.org/t/db-2-weird-thing-with-button-sizes/97161/16 "2025-06-20T21:05:49Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
