I noticed my historian tags were not storing into the database, I disabled history and noticed that the tags never got retired. Then I looked at the drv table and noticed multiple entries for my gateway, I'm guessing for every time I update to the new version in docker.
Maybe I have something setup incorrectly and the update is acting like a new gateway or new tags?
I noticed the tags were in the te table, but had multiple entries starting with id 1,2,3, then 2003, 3003, etc...
Any suggestions or tips? thanks!
something weird is going on, I deleted all of the historian tables so they would get recreated and they did.
The DRV table is empty, I enabled history on the tags and the first four came into the te table, with id's 1-4 respectively. the 5th tag got an id of 3002 in the data table but doesn't have a record in te table.
I'm going to delete the tags and try again.
Was the provider
column's value the same ?
Following the chain (scinfo, sce...) was there any difference between the entries that referenced the duplicate drivers ?
i removed everything form all of the tables and it was still putting history into the data table with ids that were not in the TE table.
I ended up deleting all of the tables and uninstalling the tag history module. After install, it worked fine. created ids in the TE table and inserted correctly.
The only thing I found is that the tags started at 1000 and not 1 as i would have thought. I'm going to watch this during the next update to see what happens. thanks!
Did you restart the history provider ?
If not, it would still have the tags references in its cache.
I did, that’s when I decided to uninstall and reinstall.