NEWS
UNSOLVED Disappearing objects
-
I try to update my nodejs in my iobroker from version 6 to version 8.
And now i have big problem - after every iobroker restart objects disappear from a objcets tree in "obiekty" ("Objects") card.
See picture before restart:
.. and after (missing objects and states):
upgrade version are:
node/nodejs: 8.16.0
npm (downgrade) 4.6.1
ioBroker.admin 3.6.2Any idea for them ?
-
Any ideas ?
Really nobody haven't problem with this ? It's only my problem ? Strange... -
after upgrading the node version - did you run npm rebuild on your system?
I don't know PCL-DOM but it seems to be an adapter - if you only loose objects under this adapter what are the log file is "saying" during the adapter start?
-
@liv-in-sky
No, it isn't any adapter. It's my own structure. On nodejs6 all works very well. After upgrade (with npm rebuild) to nodejs8 (and nodejs 10 too) not work.
Yesterday i removed all (nodejs and iobroker) and install from begin nodejs8 and iobroker from install script. And still not work.Other question - where are property place to add my own data structure (like in top picture called "PLC.DOM"?
note:
PLC.DOM is a data structure used by various adapter (like modbus, vis, javascript ...) -
@mguc I think your structure seems to right - this is e.g. my strukture
"controll-own.0 is the start of my datapoints
one difference is that your typ (rodz...) is a GROUP - I don't know what this means - try to make a new strukture
make a new datapoint like - my-datapoints.0.PLC_COM.Q06_1.en and save it - than you have a new strukture whre you can use
make sure that nothin on the righjt side is marked -
also choose "Datenpunkt" and "zahl" even if it is already standing there - mark it - sometime there a problemsmaybe this helps
-
@liv-in-sky
Thanks for info. For test i created 2 nodes: "DOM-PLC.0" and "DOM.PLC". For create I use only "device", "channel", "data point" from edit window.
A now it's look some like that:
After up to 4 server reboot (and refresh browser window) all still looks fine.
Maybe incorrect was used other words for "rules" like group, meta and others.
I don't know is "DOM.PLC" is correct name, but it's workThanks for help.
-
@mguc sagte in Disappearing objects:
I don't know is "DOM.PLC" is correct name,
This might generate some problems in the long run.
All object trees are supposed to start with the pattern<some-name>.<number>
. That meansDOM-PLC.0
should be okay,DOM.PLC
might not be. -
@AlCalzone
Ok. I use DOM-PLC.0 or somethink like that (with number on end).