I have been trying to upgrade our local service to 8.19.4 so that I may update to 9.0. I have not had an issue with elasticsearch, but kibana is giving me an issue. I have tried multiple downloads, and multiple installs but they all get the same result.
\u001b[37m\u001b[41m FATAL \u001b[49m\u001b[39m Error: Cannot find module '../series_functions/undefined'
Require stack:
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\vis-type-timelion-plugin\server\lib\load_functions.js
Kibana is currently running with legacy OpenSSL providers enabled! For details and instructions on how to disable see https://www.elastic.co/guide/en/kibana/8.19/production.html#openssl-legacy-provider
{"log.level":"info","@timestamp":"2025-09-25T15:02:28.147Z","log.logger":"elastic-apm-node","ecs.version":"8.10.0","agentVersion":"4.13.0","env":{"pid":28848,"proctitle":"Administrator: Command Prompt - kibana-8.19.4\\bin\\kibana.bat","os":"win32 10.0.22631","arch":"x64","host":"PMIITD40001075","timezone":"UTC-0500","runtime":"Node.js v22.17.1"},"config":{"active":{"source":"start","value":true},"breakdownMetrics":{"source":"start","value":false},"captureBody":{"source":"start","value":"off","commonName":"capture_body"},"captureHeaders":{"source":"start","value":false},"centralConfig":{"source":"start","value":false},"contextPropagationOnly":{"source":"start","value":true},"environment":{"source":"start","value":"production"},"globalLabels":{"source":"start","value":[["git_rev","57608cbf53423b24acae7c1e589faf57a6bacaf2"]],"sourceValue":{"git_rev":"57608cbf53423b24acae7c1e589faf57a6bacaf2"}},"logLevel":{"source":"default","value":"info","commonName":"log_level"},"metricsInterval":{"source":"start","value":120,"sourceValue":"120s"},"serverUrl":{"source":"start","value":"https://kibana-cloud-apm.apm.us-east-1.aws.found.io/","commonName":"server_url"},"transactionSampleRate":{"source":"start","value":0.1,"commonName":"transaction_sample_rate"},"captureSpanStackTraces":{"source":"start","sourceValue":false},"secretToken":{"source":"start","value":"[REDACTED]","commonName":"secret_token"},"serviceName":{"source":"start","value":"kibana","commonName":"service_name"},"serviceVersion":{"source":"start","value":"8.19.4","commonName":"service_version"}},"activationMethod":"require","message":"Elastic APM Node.js Agent v4.13.0"}
Native global console methods have been overridden in production environment.
[2025-09-25T10:02:44.343-05:00][INFO ][root] Kibana is starting
[2025-09-25T10:02:44.359-05:00][INFO ][node] Kibana process configured with roles: [background_tasks, ui]
[2025-09-25T10:04:05.846-05:00][INFO ][plugins-service] The following plugins are disabled: "cloudChat,cloudExperiments,cloudFullStory,dataUsage,profilingDataAccess,profiling,searchHomepage,searchIndices,securitySolutionServerless,serverless,serverlessObservability,serverlessSearch".
[2025-09-25T10:04:05.891-05:00][INFO ][http.server.Preboot] http server running at http://localhost:5601
[2025-09-25T10:04:05.934-05:00][INFO ][plugins-system.preboot] Setting up [1] plugins: [interactiveSetup]
[2025-09-25T10:04:06.112-05:00][INFO ][preboot] "interactiveSetup" plugin is holding setup: Validating Elasticsearch connection configuration…
[2025-09-25T10:04:06.129-05:00][INFO ][root] Holding setup until preboot stage is completed.
i Kibana has not been configured.
Go to http://localhost:5601/?code=653530 to get started.
[2025-09-25T10:04:39.136-05:00][ERROR][plugins.interactiveSetup.elasticsearch] Failed to enroll with host "https://10.225.33.84:9200": {"error":{"root_cause":[{"type":"security_exception","reason":"unable to authenticate with provided credentials and anonymous access is not allowed for this request","additional_unsuccessful_credentials":"API key: api key is expired","header":{"WWW-Authenticate":["Basic realm=\"security\", charset=\"UTF-8\"","Bearer realm=\"security\"","ApiKey"]}}],"type":"security_exception","reason":"unable to authenticate with provided credentials and anonymous access is not allowed for this request","additional_unsuccessful_credentials":"API key: api key is expired","header":{"WWW-Authenticate":["Basic realm=\"security\", charset=\"UTF-8\"","Bearer realm=\"security\"","ApiKey"]}},"status":401}
[2025-09-25T10:07:00.453-05:00][ERROR][plugins.interactiveSetup.elasticsearch] Failed to enroll with host "https://10.225.33.84:9200": {"error":{"root_cause":[{"type":"security_exception","reason":"unable to authenticate with provided credentials and anonymous access is not allowed for this request","additional_unsuccessful_credentials":"API key: api key is expired","header":{"WWW-Authenticate":["Basic realm=\"security\", charset=\"UTF-8\"","Bearer realm=\"security\"","ApiKey"]}}],"type":"security_exception","reason":"unable to authenticate with provided credentials and anonymous access is not allowed for this request","additional_unsuccessful_credentials":"API key: api key is expired","header":{"WWW-Authenticate":["Basic realm=\"security\", charset=\"UTF-8\"","Bearer realm=\"security\"","ApiKey"]}},"status":401}
[2025-09-25T10:07:10.318-05:00][INFO ][cli] Reloading Kibana configuration (reason: configuration might have changed during preboot stage).
[2025-09-25T10:07:10.321-05:00][INFO ][cli] Reloaded Kibana configuration (reason: configuration might have changed during preboot stage).
[2025-09-25T10:07:10.437-05:00][INFO ][plugins-system.standard] Setting up [172] plugins: [devTools,translations,searchConnectors,screenshotMode,usageCollection,telemetryCollectionManager,telemetryCollectionXpack,kibanaUsageCollection,contentManagement,cloud,intercepts,productIntercept,newsfeed,savedObjectsFinder,noDataPage,monitoringCollection,licensing,taskManager,share,productDocBase,mapsEms,globalSearch,globalSearchProviders,features,guidedOnboarding,banners,licenseApiGuard,customBranding,ftrApis,fieldsMetadata,fieldFormats,expressions,screenshotting,dataViews,esUiShared,customIntegrations,home,searchprofiler,painlessLab,management,spaces,security,telemetry,licenseManagement,snapshotRestore,lists,files,encryptedSavedObjects,taskManagerDependencies,entityManager,eventLog,actions,notifications,inference,observabilityAIAssistant,llmTasks,advancedSettings,cloudDataMigration,aiAssistantManagementSelection,grokdebugger,bfetch,data,savedObjectsTagging,globalSearchBar,savedObjectsManagement,unifiedSearch,navigation,inferenceEndpoint,graph,embeddable,uiActionsEnhanced,dashboardEnhanced,savedSearch,presentationUtil,controls,alerting,logsDataAccess,fileUpload,ecsDataQualityDashboard,dataViewFieldEditor,dataViewManagement,console,searchSynonyms,searchQueryRules,searchNotebooks,ingestPipelines,charts,watcher,visualizations,visTypeXy,visTypeVislib,visTypeVega,visTypeTimeseries,visTypeTimelion,visTypeTagcloud,visTypeTable,visTypeMetric,visTypeMarkdown,visTypeHeatmap,inputControlVis,expressionTagcloud,expressionPartitionVis,visTypePie,expressionMetricVis,expressionLegacyMetricVis,expressionHeatmap,expressionGauge,visTypeGauge,eventAnnotation,expressionXY,lens,maps,dataVisualizer,dashboard,triggersActionsUi,transform,stackConnectors,integrationAssistant,stackAlerts,ruleRegistry,streams,cases,timelines,sessionView,kubernetesSecurity,threatIntelligence,metricsDataAccess,aiops,links,logsShared,upgradeAssistant,apmSourcesAccess,discover,reporting,canvas,ml,searchPlayground,searchInferenceEndpoints,searchAssistant,observabilityAiAssistantManagement,elasticAssistant,logsExplorer,fleet,osquery,monitoring,logstash,indexManagement,rollup,remoteClusters,crossClusterReplication,indexLifecycleManagement,esql,enterpriseSearch,datasetQuality,streamsApp,dataQuality,cloudSecurityPosture,cloudDefend,securitySolution,securitySolutionEss,observability,uptime,slo,synthetics,observabilityLogsExplorer,observabilityAIAssistantApp,observabilityOnboarding,discoverEnhanced,apmDataAccess,infra,apm,ux]
[2025-09-25T10:07:15.386-05:00][INFO ][plugins.taskManager] TaskManager is identified by the Kibana UUID: b1800861-e1b6-4c2b-8344-98e6232e287a
[2025-09-25T10:07:16.170-05:00][INFO ][custom-branding-service] CustomBrandingService registering plugin: customBranding
[2025-09-25T10:07:21.465-05:00][INFO ][plugins.screenshotting.config] Chromium sandbox provides an additional layer of protection, and is supported for Win32 OS. Automatically enabling Chromium sandbox.
[2025-09-25T10:07:24.043-05:00][WARN ][plugins.security.config] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2025-09-25T10:07:24.044-05:00][INFO ][plugins.security.config] Hashed 'xpack.security.encryptionKey' for this instance: RwzU0KmsedLIz4OxuKIuDSf1wmjFpnqnd35LxYYRh30=
[2025-09-25T10:07:24.044-05:00][WARN ][plugins.security.config] Session cookies will be transmitted over insecure connections. This is not recommended.
[2025-09-25T10:07:24.067-05:00][WARN ][plugins.security.config] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2025-09-25T10:07:24.067-05:00][INFO ][plugins.security.config] Hashed 'xpack.security.encryptionKey' for this instance: XXWQVlOwh6OlwOn/sh1gkhq2zrsqoHFLM0zBYyhvv2o=
[2025-09-25T10:07:24.068-05:00][WARN ][plugins.security.config] Session cookies will be transmitted over insecure connections. This is not recommended.
[2025-09-25T10:07:26.266-05:00][WARN ][plugins.encryptedSavedObjects] Saved objects encryption key is not set. This will severely limit Kibana functionality. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2025-09-25T10:07:28.108-05:00][WARN ][plugins.actions] APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2025-09-25T10:07:28.168-05:00][INFO ][plugins.notifications] Email Service Error: Email connector not specified.
[2025-09-25T10:07:30.645-05:00][WARN ][plugins.alerting] APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2025-09-25T10:07:30.645-05:00][INFO ][plugins.alerting] using indexes and aliases for persisting alerts
[2025-09-25T10:07:36.657-05:00][INFO ][root] Kibana is shutting down
[2025-09-25T10:07:36.737-05:00][FATAL][root] Reason: Cannot find module '../series_functions/undefined'
Require stack:
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\vis-type-timelion-plugin\server\lib\load_functions.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\vis-type-timelion-plugin\server\plugin.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\vis-type-timelion-plugin\server\index.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-plugins-server-internal\src\plugin.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-plugins-server-internal\src\discovery\plugins_discovery.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-plugins-server-internal\src\discovery\index.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-plugins-server-internal\src\plugins_service.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-plugins-server-internal\src\index.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-plugins-server-internal\index.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-root-server-internal\src\server.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-root-server-internal\src\index.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-root-server-internal\index.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core\server\index.js
- C:\Ed\Elk\kibana-8.19.4\src\cli\serve\serve.js
- C:\Ed\Elk\kibana-8.19.4\src\cli\cli.js
- C:\Ed\Elk\kibana-8.19.4\src\cli\dist.js
Error: Cannot find module '../series_functions/undefined'
Require stack:
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\vis-type-timelion-plugin\server\lib\load_functions.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\vis-type-timelion-plugin\server\plugin.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\vis-type-timelion-plugin\server\index.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-plugins-server-internal\src\plugin.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-plugins-server-internal\src\discovery\plugins_discovery.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-plugins-server-internal\src\discovery\index.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-plugins-server-internal\src\plugins_service.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-plugins-server-internal\src\index.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-plugins-server-internal\index.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-root-server-internal\src\server.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-root-server-internal\src\index.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-root-server-internal\index.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core\server\index.js
- C:\Ed\Elk\kibana-8.19.4\src\cli\serve\serve.js
- C:\Ed\Elk\kibana-8.19.4\src\cli\cli.js
- C:\Ed\Elk\kibana-8.19.4\src\cli\dist.js
at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)
at Function._load (node:internal/modules/cjs/loader:1211:37)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.<anonymous> (node:internal/modules/cjs/loader:1487:12)
at Module.patchedRequire (C:\Ed\Elk\kibana-8.19.4\node_modules\require-in-the-middle\index.js:194:34)
at Module.Hook._require.Module.require (C:\Ed\Elk\kibana-8.19.4\node_modules\require-in-the-middle\index.js:142:27)
at Module.patchedRequire (C:\Ed\Elk\kibana-8.19.4\node_modules\require-in-the-middle\index.js:194:34)
at Module.Hook._require.Module.require (C:\Ed\Elk\kibana-8.19.4\node_modules\require-in-the-middle\index.js:142:27)
at require (node:internal/modules/helpers:135:16)
at getTuple (C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\vis-type-timelion-plugin\server\lib\load_functions.js:22:19)
at C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\vis-type-timelion-plugin\server\lib\load_functions.js:39:12
at arrayMap (C:\Ed\Elk\kibana-8.19.4\node_modules\lodash\lodash.js:653:23)
at Function.map (C:\Ed\Elk\kibana-8.19.4\node_modules\lodash\lodash.js:9622:14)
at interceptor (C:\Ed\Elk\kibana-8.19.4\node_modules\lodash\lodash.js:17094:35)
at thru (C:\Ed\Elk\kibana-8.19.4\node_modules\lodash\lodash.js:8859:14)
at C:\Ed\Elk\kibana-8.19.4\node_modules\lodash\lodash.js:4430:28
at arrayReduce (C:\Ed\Elk\kibana-8.19.4\node_modules\lodash\lodash.js:697:21)
at baseWrapperValue (C:\Ed\Elk\kibana-8.19.4\node_modules\lodash\lodash.js:4429:14)
at LazyWrapper.lazyValue [as value] (C:\Ed\Elk\kibana-8.19.4\node_modules\lodash\lodash.js:1901:16)
at baseWrapperValue (C:\Ed\Elk\kibana-8.19.4\node_modules\lodash\lodash.js:4427:25)
at LodashWrapper.wrapperValue (C:\Ed\Elk\kibana-8.19.4\node_modules\lodash\lodash.js:9114:14)
at _default (C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\vis-type-timelion-plugin\server\lib\load_functions.js:40:6)
at TimelionPlugin.setup (C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\vis-type-timelion-plugin\server\plugin.js:33:51)
at PluginWrapper.setup (C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-plugins-server-internal\src\plugin.js:86:26)
at PluginsSystem.setupPlugins (C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-plugins-server-internal\src\plugins_system.js:103:40)
at PluginsService.setup (C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-plugins-server-internal\src\plugins_service.js:120:19)
at Server.setup (C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-root-server-internal\src\server.js:383:26)
at Root.setup (C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-root-server-internal\src\root\index.js:58:14)
at bootstrap (C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-root-server-internal\src\bootstrap.js:118:5)
at Command.<anonymous> (C:\Ed\Elk\kibana-8.19.4\src\cli\serve\serve.js:236:5)
[2025-09-25T10:07:36.752-05:00][INFO ][plugins-system.preboot] Stopping all plugins.
[2025-09-25T10:07:36.753-05:00][INFO ][plugins-system.preboot] All plugins stopped.
[2025-09-25T10:07:36.753-05:00][INFO ][plugins-system.standard] Stopping all plugins.
[2025-09-25T10:07:36.758-05:00][INFO ][plugins-system.standard] All plugins stopped.
\u001b[37m\u001b[41m FATAL \u001b[49m\u001b[39m Error: Cannot find module '../series_functions/undefined'
Require stack:
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\vis-type-timelion-plugin\server\lib\load_functions.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\vis-type-timelion-plugin\server\plugin.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\vis-type-timelion-plugin\server\index.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-plugins-server-internal\src\plugin.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-plugins-server-internal\src\discovery\plugins_discovery.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-plugins-server-internal\src\discovery\index.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-plugins-server-internal\src\plugins_service.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-plugins-server-internal\src\index.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-plugins-server-internal\index.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-root-server-internal\src\server.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-root-server-internal\src\index.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core-root-server-internal\index.js
- C:\Ed\Elk\kibana-8.19.4\node_modules\@kbn\core\server\index.js
- C:\Ed\Elk\kibana-8.19.4\src\cli\serve\serve.js
- C:\Ed\Elk\kibana-8.19.4\src\cli\cli.js
- C:\Ed\Elk\kibana-8.19.4\src\cli\dist.js