You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error when initializing db for the first time during Thingsboard installation. Sometimes the job succeeds when I remove the limits and resources for this job but most of the time, it fails. I need to provide proper limits and resources in our Staging environment. Starting ThingsBoard Installation... Installing DataBase schema for entities... Installing SQL DataBase schema part: schema-entities.sql Installing SQL DataBase schema indexes part: schema-entities-idx.sql Installing SQL DataBase schema PostgreSQL specific indexes part: schema-entities-idx-psql-addon.sql Installing DataBase schema for timeseries... Installing Cassandra DataBase schema part: schema-ts.cql Loading system data... Trying to create system admin user Creating system admin user is done Unable to load widget type from json: [/usr/share/thingsboard/data/json/system/widget_bundles/date.json] Unable to load widgets bundle from json: [/usr/share/thingsboard/data/json/system/widget_bundles/date.json] Unexpected error during ThingsBoard installation! java.lang.RuntimeException: Unable to load widgets bundle from json at org.thingsboard.server.service.install.InstallScripts.lambda$loadSystemWidgets$4(InstallScripts.java:191) at java.base/java.lang.Iterable.forEach(Iterable.java:75) at org.thingsboard.server.service.install.InstallScripts.loadSystemWidgets(InstallScripts.java:169) at org.thingsboard.server.service.install.DefaultSystemDataLoaderService.loadSystemWidgets(DefaultSystemDataLoaderService.java:469) at org.thingsboard.server.install.ThingsboardInstallService.performInstall(ThingsboardInstallService.java:258) at org.thingsboard.server.ThingsboardInstallApplication.main(ThingsboardInstallApplication.java:48) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:467) Caused by: java.lang.RuntimeException: Unable to load widget type from json at org.thingsboard.server.service.install.InstallScripts.lambda$loadSystemWidgets$3(InstallScripts.java:185) at java.base/java.lang.Iterable.forEach(Iterable.java:75) at org.thingsboard.server.service.install.InstallScripts.lambda$loadSystemWidgets$4(InstallScripts.java:177) ... 13 common frames omitted Caused by: org.thingsboard.server.dao.exception.DataValidationException: Widget type is referencing to non-existent widgets bundle! at org.thingsboard.server.dao.service.validator.WidgetTypeDataValidator.validateCreate(WidgetTypeDataValidator.java:67) at org.thingsboard.server.dao.service.validator.WidgetTypeDataValidator.validateCreate(WidgetTypeDataValidator.java:33) at org.thingsboard.server.dao.service.DataValidator.validate(DataValidator.java:50) at org.thingsboard.server.dao.widget.WidgetTypeServiceImpl.saveWidgetType(WidgetTypeServiceImpl.java:60) at org.thingsboard.server.service.install.InstallScripts.lambda$loadSystemWidgets$3(InstallScripts.java:182) ... 15 common frames omitted Unexpected error during ThingsBoard installation!
The text was updated successfully, but these errors were encountered:
I get the following error when initializing db for the first time during Thingsboard installation. Sometimes the job succeeds when I remove the limits and resources for this job but most of the time, it fails. I need to provide proper limits and resources in our Staging environment.
Starting ThingsBoard Installation... Installing DataBase schema for entities... Installing SQL DataBase schema part: schema-entities.sql Installing SQL DataBase schema indexes part: schema-entities-idx.sql Installing SQL DataBase schema PostgreSQL specific indexes part: schema-entities-idx-psql-addon.sql Installing DataBase schema for timeseries... Installing Cassandra DataBase schema part: schema-ts.cql Loading system data... Trying to create system admin user Creating system admin user is done Unable to load widget type from json: [/usr/share/thingsboard/data/json/system/widget_bundles/date.json] Unable to load widgets bundle from json: [/usr/share/thingsboard/data/json/system/widget_bundles/date.json] Unexpected error during ThingsBoard installation! java.lang.RuntimeException: Unable to load widgets bundle from json at org.thingsboard.server.service.install.InstallScripts.lambda$loadSystemWidgets$4(InstallScripts.java:191) at java.base/java.lang.Iterable.forEach(Iterable.java:75) at org.thingsboard.server.service.install.InstallScripts.loadSystemWidgets(InstallScripts.java:169) at org.thingsboard.server.service.install.DefaultSystemDataLoaderService.loadSystemWidgets(DefaultSystemDataLoaderService.java:469) at org.thingsboard.server.install.ThingsboardInstallService.performInstall(ThingsboardInstallService.java:258) at org.thingsboard.server.ThingsboardInstallApplication.main(ThingsboardInstallApplication.java:48) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:467) Caused by: java.lang.RuntimeException: Unable to load widget type from json at org.thingsboard.server.service.install.InstallScripts.lambda$loadSystemWidgets$3(InstallScripts.java:185) at java.base/java.lang.Iterable.forEach(Iterable.java:75) at org.thingsboard.server.service.install.InstallScripts.lambda$loadSystemWidgets$4(InstallScripts.java:177) ... 13 common frames omitted Caused by: org.thingsboard.server.dao.exception.DataValidationException: Widget type is referencing to non-existent widgets bundle! at org.thingsboard.server.dao.service.validator.WidgetTypeDataValidator.validateCreate(WidgetTypeDataValidator.java:67) at org.thingsboard.server.dao.service.validator.WidgetTypeDataValidator.validateCreate(WidgetTypeDataValidator.java:33) at org.thingsboard.server.dao.service.DataValidator.validate(DataValidator.java:50) at org.thingsboard.server.dao.widget.WidgetTypeServiceImpl.saveWidgetType(WidgetTypeServiceImpl.java:60) at org.thingsboard.server.service.install.InstallScripts.lambda$loadSystemWidgets$3(InstallScripts.java:182) ... 15 common frames omitted Unexpected error during ThingsBoard installation!
The text was updated successfully, but these errors were encountered: