d3h637
August 30, 2023, 7:18pm
1
My gateway won't start after upgrading from 8.1.17 to 8.1.31. I get the error below for a lot of tags, which means all my log files are basically the following lines, but for each tag. Note that the error suggests this is a system tag, but this should be a tag in one of my tag providers. How do I fix this? Any ideas what's going on? I did a gateway restore from a backup from yesterday, but it still won't start.
Unexpected error during tag startup. Tag will not function correctly. Path: [System]Simulated/Power Meter/Shark 62
Can you upload your wrapper.log file?
d3h637
August 30, 2023, 8:17pm
3
Here's the wrapper.log files.
wrapper.log (280.6 KB)
wrapper1.log (7.2 MB)
The last thing that shows up in these logs is a gateway shutdown. Can you start it again and then zip up all the log files after it fails to start?
d3h637
August 30, 2023, 9:05pm
5
wrapper.zip (749.7 KB)
Sorry, I should have thought about zipping them up. Here's the 5 log files in one zip file.
d3h637
August 30, 2023, 9:08pm
6
Note that this is a development server and I've been having an intern try to combine 3 existing gateways in the field into one in order to analyze data from the 3 field systems. He's been creating multiple tag groups and associating them with historical databases. It has been running fine until the upgrade, but I suspect that has something to do with this.
Okay, this is the actual error preventing it from starting:
2023/08/30 14:03:25 | java.lang.IllegalArgumentException: value already present: CBITEC_dB
2023/08/30 14:03:25 | at com.google.common.collect.HashBiMap.put(HashBiMap.java:316)
2023/08/30 14:03:25 | at com.google.common.collect.HashBiMap.put(HashBiMap.java:296)
2023/08/30 14:03:25 | at com.inductiveautomation.ignition.gateway.history.HistoryManagerImpl.ensureStoreAndForwardEngineLoaded(HistoryManagerImpl.java:493)
2023/08/30 14:03:25 | at java.base/java.util.ArrayList.forEach(Unknown Source)
2023/08/30 14:03:25 | at com.inductiveautomation.ignition.gateway.history.HistoryManagerImpl.loadSystemStoreAndForwardEngines(HistoryManagerImpl.java:456)
2023/08/30 14:03:25 | at com.inductiveautomation.ignition.gateway.history.HistoryManagerImpl.startup(HistoryManagerImpl.java:134)
2023/08/30 14:03:25 | at com.inductiveautomation.ignition.gateway.IgnitionGateway.startupInternal(IgnitionGateway.java:1259)
2023/08/30 14:03:25 | at com.inductiveautomation.ignition.gateway.redundancy.RedundancyManagerImpl.startup(RedundancyManagerImpl.java:301)
2023/08/30 14:03:25 | at com.inductiveautomation.ignition.gateway.IgnitionGateway.initRedundancy(IgnitionGateway.java:756)
2023/08/30 14:03:25 | at com.inductiveautomation.ignition.gateway.IgnitionGateway.lambda$initInternal$0(IgnitionGateway.java:690)
2023/08/30 14:03:25 | at com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine$ThrowableCatchingRunnable.run(BasicExecutionEngine.java:544)
2023/08/30 14:03:25 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
2023/08/30 14:03:25 | at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
2023/08/30 14:03:25 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
2023/08/30 14:03:25 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
2023/08/30 14:03:25 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
2023/08/30 14:03:25 | at java.base/java.lang.Thread.run(Unknown Source)
2023/08/30 14:03:25 | I [IgnitionGateway ] [21:03:25]: Ignition[state=STARTING] ContextState = FAULTED
Seems like there's duplicate SF names or something... Probably need to call support so they can look at your backup and try to fix it.