Removing Custom Extension
We had accidently built custom extension using java 17 whereas the environment was on java 11. Upon importing this extesnion on ThingWorx the environment was not coming up and below error was observed in tomcat logs:
java.lang.UnsupportedClassVersionError: com/thingworx/extensions/sshExtension/SshServerThing has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0.
Removed the extension entry from postgresDB by deleting the corresponding entries from table extensions, extensionpackage_model and model_index after this the environment became accessible. Also, the entry was deleted from thingpackage_model and widgel_model.
Post that also when we are trying to import the correctly build extension its giving below error:
Unable to delete Extension zip file from storage. This is likely due to other errors: [1,018] Data store unknown error: [Error occurred while accessing the model provider.]
Anyone has any idea on this how to fix this error so as import the correct extension.

