FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important
information on the platform change.
10-23-2023 02:08 PM - edited 10-23-2023 02:30 PM
Hi,
I've a problem with node-red on Ctrlx.
When I try to add a new Data Layer Subscription, the CtrlX crash and restart when I deploy.
When the CtrlX is restarted, the added object is deleted from node-red.
I already have 59 subscriptions which work but it crashes when I add the 60th.
If I remove one and then add the new it works.
Can you help me?
Thanks,
Kevin
Solved! Go to Solution.
10-24-2023 10:23 AM
Could you give some more information?
10-26-2023 05:14 PM
Hello Shepherd,
thank you for your reply.
I found a temporary workaround. If instead of using a Data Layer subscription, I use an inject node with a repetition interval every 500ms and use a Data Layer request, it works.
You will find the flow in attachment if that helps
Thanks,
Kevin.
10-26-2023 06:39 PM
Hi Kevin,
You don't show your system apps in the image above, but if you are not on 1.12, there is likely an incompatability. I would definitely try to upgrade your ctrlX CORE firmware to v1.20 or higher and try with the matching Node-RED version. There have been many significant updates to the system apps as well as Node-RED since version 1.12.
11-29-2023 10:13 AM
@KevinD Any news here? is this still an issue? Or can this topic be closed?
12-03-2023 11:57 AM
Hello Shepherd,
I should update the ctrlX but it is currently running in production and having never done that before I don't want to make a mistake.
For the moment I manage to get around the problem by using data layer requests with an inject true every 500ms by detecting a rising edge instead of using the data layer subscribe
The problem is therefore on standby for the moment.
I will wait for a production shutdown. How long does an update last? Are there sometimes problems or important elements to take into account before updating?
Thanks for your help,
Kevin.
12-04-2023 08:03 AM
Time needed for updating is mainly depending on your setup.
As there were major changes between version 1.12 and 1.20 Some things need to be considered: