Hi for everyone!
First off all i´m new in this forum and also rookie with NR. I have done some projects with it but nothing special.
So at the moment i´m doing project which setup is:
HW: Raspberry Pi 4 Model B, 4GB RAM
- Raspbian Bullseye as operating system
SW: Node-red V4.0.2 and Node.JS V18.20.4
Node-red is running locally as a service, so it starts always when RasPi boots up. All software installing are done as Node-red recommends on their site for RasPi.
And here is the NR project presented with pictures (JSON-file available later in this message). Sorry about the Finnish language in code, as it is my native language:
*Edit: as new user i was able to post only two pictures in one time...
This point i should make clear that flows 5-11 ("PR2-PR8") are identical what comes to nodes. Only thing that changes between those flows is name of the global variables.
So, the problem that i have with my project: I developed this program in order from flow 1 to flow 4. Everything worked great and i was happy. Then i made i move and copied flow 4 "PR1" to flow 5 "PR2". Everything worked still great... I kept copying and made also flow 6 "PR3" similar with flows 4 and 5. Of course i changed the name of global variables in these copying situations to prevent overlapping of variables. After making the flow 6 i hit the deploy-button and it was a game changer. Deploy-button just stayed running grey and also dashboard UI went down from another tab. After few minutes the editor gave message: "deploy failed: no response from server". I was shocked and thought i did something wrong. But i restarted NR in safe-mode and finished my job by doing all flows ready to flow 11 "PR8". After that i made some error-testing and found out that my RasPi allows only two "PRX"-flows on same time. With two of those, all works and it doesn´t matter what are the numbers of those flows. But immediately when i´m adding three or more those "PRx"-flows, the deploy is not going trough any more and NR stops working...
I´ve tried debugging from NR log, doesnt give any hints whats wrong. Also made research from internet with similar problems but that what has fixed those doesn´t help in my situation. So guys, any thoughts what could cause this kind of acting? Memory of RasPi? Node.JS? I´m stuck because i cant find any more tools to fix this by my self.
Today i installed NR to my PC laptop (WIN10) and loaded my project in the editor. Deployment went trough and all flows worked as should. So this info limits the problem to RasPi?
Please, ask more information!
Here is the code in JSON:
Okay my code is too long for here, i can email the JSON for requesters.