We have a situation where a user accidentally used a ‘|‘ character in the name of a tag provider and now the gateway throws null pointer exceptions and it won’t start up.
And there seems to be no way of fixing it?
This was with 8.3.0 - I could not find anything in changelogs to determine whether this has been fixed in a later version?
Couldn’t it be fixed so that the system prevents storing an invalid character when the consequences are so dramatic? Maybe a whitelist of acceptable characters?
To rectify this issue and get your system starting again, you can rename the folder for that tag provider in data/config/resources/core/ignition/tag-provider
I just tested it in 8.3.1 and could still reproduce the issue, though only on Windows. As Kyle mentions, rename the folder from foo%7c (which will be what you'll see if the tag provider is named foo|) to foo. Then go to Platform -> System -> Modes and click the Scan File System button in the upper-right. This will re-read the config and start up the tag provider, now with a valid name.
Thanks for the help Kyle_Chase1 and kcollins1 ! Your suggested fix did indeed solve it.
However, we needed to manually correct multiple different folders with the wrong tag provider name, because it was used by different components (store and forward, etc). Some of these folders contained a config.json file which also referenced the name with | in it