Debian Package Upgrade to 8.8.0 - Multiple Errors

Hi Guys,

Standard deb upgrade, getting a few errors in the Elasticsearch Log and when signing into Kibana UI..

[2023-05-26T01:43:44,928][WARN ][o.e.x.a.EnterpriseSearchUsageTransportAction] [IsaacAsimov] Failed to get search application count to include in Enterprise Search usage
java.util.concurrent.ExecutionException: org.elasticsearch.ElasticsearchSecurityException: Current license is non-compliant for search application and behavioral analytics. Current license is active basic license. Search Applications and behavioral analytics require an active trial, platinum or enterprise license.
Caused by: org.elasticsearch.ElasticsearchSecurityException: Current license is non-compliant for search application and behavioral analytics. Current license is active basic license. Search Applications and behavioral analytics require an active trial, platinum or enterprise license.
        at org.elasticsearch.xpack.application.utils.LicenseUtils.newComplianceException(LicenseUtils.java:33) ~[?:?]
        at org.elasticsearch.xpack.application.utils.LicenseUtils.runIfSupportedLicense(LicenseUtils.java:46) ~[?:?]
        at org.elasticsearch.xpack.application.search.action.SearchApplicationTransportAction.doExecute(SearchApplicationTransportAction.java:55) ~[?:?]
        at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:86) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.action.support.ActionFilter$Simple.apply(ActionFilter.java:53) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:84) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter.lambda$applyInternal$3(SecurityActionFilter.java:163) ~[?:?]
        at org.elasticsearch.action.ActionListenerImplementations$DelegatingFailureActionListener.onResponse(ActionListenerImplementations.java:151) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.xpack.security.authz.AuthorizationService.lambda$authorizeAction$6(AuthorizationService.java:440) ~[?:?]
        at org.elasticsearch.xpack.security.authz.AuthorizationService$AuthorizationResultListener.onResponse(AuthorizationService.java:1003) ~[?:?]
        at org.elasticsearch.xpack.security.authz.AuthorizationService$AuthorizationResultListener.onResponse(AuthorizationService.java:969) ~[?:?]
        at org.elasticsearch.action.support.ContextPreservingActionListener.onResponse(ContextPreservingActionListener.java:32) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.xpack.security.authz.AuthorizationService.lambda$authorizeAction$7(AuthorizationService.java:454) ~[?:?]
        at org.elasticsearch.action.ActionListener$2.onResponse(ActionListener.java:158) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.xpack.security.authz.RBACEngine.authorizeClusterAction(RBACEngine.java:180) ~[?:?]
        at org.elasticsearch.xpack.security.authz.AuthorizationService.authorizeAction(AuthorizationService.java:444) ~[?:?]
        at org.elasticsearch.xpack.security.authz.AuthorizationService.maybeAuthorizeRunAs(AuthorizationService.java:420) ~[?:?]
        at org.elasticsearch.xpack.security.authz.AuthorizationService.lambda$authorize$3(AuthorizationService.java:321) ~[?:?]
        at org.elasticsearch.action.ActionListener$2.onResponse(ActionListener.java:158) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.action.support.ContextPreservingActionListener.onResponse(ContextPreservingActionListener.java:32) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.xpack.security.authz.RBACEngine.lambda$resolveAuthorizationInfo$0(RBACEngine.java:146) ~[?:?]
        at org.elasticsearch.action.ActionListener$2.onResponse(ActionListener.java:158) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.xpack.security.authz.store.CompositeRolesStore.lambda$getRoles$1(CompositeRolesStore.java:202) ~[?:?]
        at org.elasticsearch.action.ActionListener$2.onResponse(ActionListener.java:158) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.xpack.security.authz.store.CompositeRolesStore.getRole(CompositeRolesStore.java:210) ~[?:?]
        at org.elasticsearch.xpack.security.authz.store.CompositeRolesStore.getRoles(CompositeRolesStore.java:192) ~[?:?]
        at org.elasticsearch.xpack.security.authz.RBACEngine.resolveAuthorizationInfo(RBACEngine.java:143) ~[?:?]
        at org.elasticsearch.xpack.security.authz.AuthorizationService.authorize(AuthorizationService.java:323) ~[?:?]
        at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter.lambda$applyInternal$4(SecurityActionFilter.java:159) ~[?:?]
        at org.elasticsearch.action.ActionListener$2.onResponse(ActionListener.java:158) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.action.ActionListenerImplementations$MappedActionListener.onResponse(ActionListenerImplementations.java:93) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.xpack.security.authc.AuthenticatorChain.authenticateAsync(AuthenticatorChain.java:93) ~[?:?]
        at org.elasticsearch.xpack.security.authc.AuthenticationService.authenticate(AuthenticationService.java:257) ~[?:?]
        at org.elasticsearch.xpack.security.authc.AuthenticationService.authenticate(AuthenticationService.java:167) ~[?:?]
        at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter.applyInternal(SecurityActionFilter.java:155) ~[?:?]
        at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter.lambda$apply$1(SecurityActionFilter.java:110) ~[?:?]
        at org.elasticsearch.xpack.core.security.SecurityContext.executeAsInternalUser(SecurityContext.java:165) ~[?:?]
        at org.elasticsearch.xpack.security.authz.AuthorizationUtils.switchUserBasedOnActionOriginAndExecute(AuthorizationUtils.java:146) ~[?:?]
        at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter.apply(SecurityActionFilter.java:106) ~[?:?]
        at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:84) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:61) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.tasks.TaskManager.registerAndExecute(TaskManager.java:199) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.client.internal.node.NodeClient.executeLocally(NodeClient.java:112) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.client.internal.node.NodeClient.doExecute(NodeClient.java:90) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.client.internal.support.AbstractClient.execute(AbstractClient.java:379) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.client.internal.FilterClient.doExecute(FilterClient.java:57) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.client.internal.OriginSettingClient.doExecute(OriginSettingClient.java:43) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.client.internal.support.AbstractClient.execute(AbstractClient.java:379) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.client.internal.support.AbstractClient.execute(AbstractClient.java:365) ~[elasticsearch-8.8.0.jar:?]
        at org.elasticsearch.xpack.application.EnterpriseSearchUsageTransportAction.masterOperation(EnterpriseSearchUsageTransportAction.java:89) ~[?:?]

Kibana Log...

Definition of plugin "usageCollection" not found and may have failed to load.

Version: 8.8.0
Build: 63142
Error: Definition of plugin "usageCollection" not found and may have failed to load.
    at https://kibana.siobytes.com/63142/bundles/core/core.entry.js:1:347864
    at plugin_PluginWrapper.createPluginInstance (https://kibana.siobytes.com/63142/bundles/core/core.entry.js:1:348108)
    at plugin_PluginWrapper.setup (https://kibana.siobytes.com/63142/bundles/core/core.entry.js:1:347308)
    at plugins_service_PluginsService.setup (https://kibana.siobytes.com/63142/bundles/core/core.entry.js:1:350343)
    at core_system_CoreSystem.setup (https://kibana.siobytes.com/63142/bundles/core/core.entry.js:1:356032)
    at async Module.Ji (https://kibana.siobytes.com/63142/bundles/core/core.entry.js:1:362251

Clearing cache, cookies, browser, incognito mode doesn't help either

Hi all,
just upgraded and I can confirm the issue.

[2023-05-26T14:00:58,390][WARN ][o.e.x.a.EnterpriseSearchUsageTransportAction] [obs-es01] Failed to get search application count to include in Enterprise Search usage
java.util.concurrent.ExecutionException: org.elasticsearch.ElasticsearchSecurityException: Current license is non-compliant for search application and behavioral analytics. Current license is active basic license. Search Applications and behavioral analytics require an active trial, platinum or enterprise license.

Kibana works for me.

Might have been Chrome related, error seemed to disappear when I used Inspect... from the Developers Tools to open the page and after a while something must have expired and could log in without using the Developer Tools. Going to close this and create a new post for the license message

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.