not really something interesting to see there, otherwise it would've been a lot easier to figure it out what the issue is.
Apparently it's not related to the packages either, as when i do a clean start of node-red i can deploy once and after that it's just not doing anything
home_node-red.1.trn4vqgfremz@worker-pi | 12 Apr 21:02:19 - [warn] Encrypted credentials not found
home_node-red.1.trn4vqgfremz@worker-pi | 12 Apr 21:02:19 - [info] Server now running at http://127.0.0.1:1880/
home_node-red.1.trn4vqgfremz@worker-pi | 12 Apr 21:02:19 - [info] Starting flows
home_node-red.1.trn4vqgfremz@worker-pi | 12 Apr 21:02:19 - [info] Started flows
home_node-red.1.trn4vqgfremz@worker-pi | 12 Apr 21:03:16 - [info] Stopping flows
home_node-red.1.trn4vqgfremz@worker-pi | 12 Apr 21:03:16 - [info] Stopped flows
home_node-red.1.trn4vqgfremz@worker-pi | 12 Apr 21:03:16 - [info] Updated flows
home_node-red.1.trn4vqgfremz@worker-pi | 12 Apr 21:03:16 - [info] Starting flows
home_node-red.1.trn4vqgfremz@worker-pi | 12 Apr 21:03:16 - [info] Started flows
this is all that give after just adding a debug node and then trying for a second attempt
permission from the host are good as well as from inside the container:
-rw-r--r-- 1 node-red node-red 540 Apr 12 21:03 flows.json
drwxr-xr-x 3 node-red node-red 4096 Apr 12 21:02 lib
drwxr-xr-x 2 node-red node-red 4096 Apr 12 21:02 node_modules
-rw-r--r-- 1 node-red node-red 120 Apr 12 21:02 package.json
-rw-r--r-- 1 node-red node-red 22614 Apr 12 21:02 settings.js
Tried it on all nodes in my swarm to make sure it's not host/os related but no luck either.
Followed all steps in: Running under Docker : Node-RED to make sure i wasn't missing anything, but nothing really seemed to change anything.
At this point i am really out of ideas where the issue could lie, tried a whole lot of settings in the settings.js
set debugging to trace but it just shows:
home_node-red.1.vf6oxh7p3ife@worker-pi | 12 Apr 21:19:19 - [debug] red/nodes/flows.start : starting flow : global
home_node-red.1.vf6oxh7p3ife@worker-pi | 12 Apr 21:19:19 - [debug] red/nodes/flows.start : starting flow : 1f420d58faaba97f
home_node-red.1.vf6oxh7p3ife@worker-pi | 12 Apr 21:19:19 - [trace] [flow:global] start flow [global]
home_node-red.1.vf6oxh7p3ife@worker-pi | 12 Apr 21:19:19 - [trace] [flow:1f420d58faaba97f] start flow [1f420d58faaba97f]
home_node-red.1.vf6oxh7p3ife@worker-pi | 12 Apr 21:19:19 - [trace] [flow:1f420d58faaba97f] ------------------|--------------|-----------------
home_node-red.1.vf6oxh7p3ife@worker-pi | 12 Apr 21:19:19 - [trace] [flow:1f420d58faaba97f] id | type | alias
home_node-red.1.vf6oxh7p3ife@worker-pi | 12 Apr 21:19:19 - [trace] [flow:1f420d58faaba97f] ------------------|--------------|-----------------
home_node-red.1.vf6oxh7p3ife@worker-pi | 12 Apr 21:19:19 - [trace] [flow:1f420d58faaba97f] a12bf4685f4a2389 | debug |
home_node-red.1.vf6oxh7p3ife@worker-pi | 12 Apr 21:19:19 - [trace] [flow:1f420d58faaba97f] ------------------|--------------|-----------------
home_node-red.1.vf6oxh7p3ife@worker-pi | 12 Apr 21:19:19 - [trace] runtime event: {"id":"runtime-state","payload":{"state":"start"},"retain":true}
home_node-red.1.vf6oxh7p3ife@worker-pi | 12 Apr 21:19:19 - [info] Started flows
home_node-red.1.vf6oxh7p3ife@worker-pi | 12 Apr 21:19:48 - [trace] comms.open QPC8kOhMincQDoWck/8y1E4Xpcd5A/0FGB346daKBfI=
home_node-red.1.vf6oxh7p3ife@worker-pi | 12 Apr 21:19:49 - [trace] comms.open R0Nt8iIQZmy8ik2A/pFhJ8pTTgkLohD/H5bZwNF7Jjc=
home_node-red.1.vf6oxh7p3ife@worker-pi | 12 Apr 21:20:12 - [trace] comms.close QPC8kOhMincQDoWck/8y1E4Xpcd5A/0FGB346daKBfI=
home_node-red.1.vf6oxh7p3ife@worker-pi | 12 Apr 21:20:13 - [trace] comms.open 5vFqYMEA4gOfwG7wVZ7/y93R00GZRtWNz8qZxNacwRg=
And switching away from docker is not really an option for me since it's not really scalable and i'd lose the high availability my current setup offers, as well as not having to expose anything outside or the bridge network it's in except for my mqtt broker