Open
Description
Hi, I'm trying to install kbn-radar in a docker image of kibana 7.12. I followed this steps:
- I have downloaded release 7.10 and modified kibana.json to upgrade to 7.12. I have create a new release here to install plugins from url. I have tried installing from local files but I obtain the same error.
- Dockerfile contains:
FROM docker.elastic.co/kibana/kibana:7.12.0
COPY kbn_radar-7.12.0.zip plugins/kbn_radar.zip
USER root
RUN /usr/share/kibana/bin/kibana-plugin install --timeout 5m https://github.com/jtt0/kbn_radar_7.12/releases/download/v2/kbn_radar-7.12.0.zip
RUN /usr/share/kibana/bin/kibana --optimize --allow-root
RUN chown -R kibana:root /usr/share/kibana/plugins
USER kibana
Then, when I up docker image, I get this error:
_src_plugins_vis_default_editor_public__WEBPACK_IMPORTED_MODULE_2__.Schemas is not a constructor
Version: 7.12.0
Build: 39309
TypeError: _src_plugins_vis_default_editor_public__WEBPACK_IMPORTED_MODULE_2__.Schemas is not a constructor
at kbnRadarVisTypeDefinition (http://localhost:5601/39309/bundles/plugin/kbnRadar/kbnRadar.plugin.js:21010:16)
at KbnRadarPlugin.setup (http://localhost:5601/39309/bundles/plugin/kbnRadar/kbnRadar.plugin.js:21428:124)
at plugin_PluginWrapper.setup (http://localhost:5601/39309/bundles/core/core.entry.js:13:198334)
at plugins_service_PluginsService.setup (http://localhost:5601/39309/bundles/core/core.entry.js:13:202168)
at async core_system_CoreSystem.setup (http://localhost:5601/39309/bundles/core/core.entry.js:13:276177)
at async Module.__kbnBootstrap__ (http://localhost:5601/39309/bundles/core/core.entry.js:13:282300)
And kibana logs:
{"type":"log","@timestamp":"2021-05-26T15:51:50+00:00","tags":["error","plugins","taskManager"],"pid":7,"message":"Failed to poll for work: Error: work has timed out"}
I have tried everything that I can, for example:
- I have tried to use the flag
--timeout 5m
. - Following this similar question of the error, I have tried to change this line
import tableVisTemplate from './kbn-radar-vis.html';
with thisimport {tableVisTemplate} from './kbn-radar-vis.html';
.
Thanks for your attention :)
Metadata
Assignees
Labels
No labels