Action failed with 'security_exception

Ubuntu 20.04.2 LTS
Kibana 7.13.3
ElasticSearch 7.13.3

After a kibana upgrade , I cannot restart the server.
The webpage stay on "Kibana server is not ready yet" .

My /var/log/kibana.log has :

{"type":"log","@timestamp":"2021-07-12T09:09:00+00:00","tags":["error","savedobjects-service"],"pid":314043,"message":"[.kibana_task_manager] Action failed with 'security_exception'. Retrying attempt 7 in 64 seconds."}
{"type":"log","@timestamp":"2021-07-12T09:09:00+00:00","tags":["info","savedobjects-service"],"pid":314043,"message":"[.kibana_task_manager] WAIT_FOR_YELLOW_SOURCE -> WAIT_FOR_YELLOW_SOURCE. took: 64013ms."}
{"type":"log","@timestamp":"2021-07-12T09:10:04+00:00","tags":["error","savedobjects-service"],"pid":314043,"message":"[.kibana] Action failed with 'security_exception'. Retrying attempt 8 in 64 seconds."}
{"type":"log","@timestamp":"2021-07-12T09:10:04+00:00","tags":["info","savedobjects-service"],"pid":314043,"message":"[.kibana] WAIT_FOR_YELLOW_SOURCE -> WAIT_FOR_YELLOW_SOURCE. took: 64015ms."}
{"type":"log","@timestamp":"2021-07-12T09:10:04+00:00","tags":["error","savedobjects-service"],"pid":314043,"message":"[.kibana_task_manager] Action failed with 'security_exception'. Retrying attempt 8 in 64 seconds."}
{"type":"log","@timestamp":"2021-07-12T09:10:04+00:00","tags":["info","savedobjects-service"],"pid":314043,"message":"[.kibana_task_manager] WAIT_FOR_YELLOW_SOURCE -> WAIT_FOR_YELLOW_SOURCE. took: 64021ms."}
{"type":"log","@timestamp":"2021-07-12T09:11:08+00:00","tags":["error","savedobjects-service"],"pid":314043,"message":"[.kibana] Action failed with 'security_exception'. Retrying attempt 9 in 64 seconds."}
{"type":"log","@timestamp":"2021-07-12T09:11:08+00:00","tags":["info","savedobjects-service"],"pid":314043,"message":"[.kibana] WAIT_FOR_YELLOW_SOURCE -> WAIT_FOR_YELLOW_SOURCE. took: 64013ms."}
{"type":"log","@timestamp":"2021-07-12T09:11:08+00:00","tags":["error","savedobjects-service"],"pid":314043,"message":"[.kibana_task_manager] Action failed with 'security_exception'. Retrying attempt 9 in 64 seconds."}
{"type":"log","@timestamp":"2021-07-12T09:11:08+00:00","tags":["info","savedobjects-service"],"pid":314043,"message":"[.kibana_task_manager] WAIT_FOR_YELLOW_SOURCE -> WAIT_FOR_YELLOW_SOURCE. took: 64007ms."}
{"type":"log","@timestamp":"2021-07-12T09:12:12+00:00","tags":["error","savedobjects-service"],"pid":314043,"message":"[.kibana] Action failed with 'security_exception'. Retrying attempt 10 in 64 seconds."}
{"type":"log","@timestamp":"2021-07-12T09:12:12+00:00","tags":["info","savedobjects-service"],"pid":314043,"message":"[.kibana] WAIT_FOR_YELLOW_SOURCE -> WAIT_FOR_YELLOW_SOURCE. took: 64012ms."}
{"type":"log","@timestamp":"2021-07-12T09:12:12+00:00","tags":["error","savedobjects-service"],"pid":314043,"message":"[.kibana_task_manager] Action failed with 'security_exception'. Retrying attempt 10 in 64 seconds."}
{"type":"log","@timestamp":"2021-07-12T09:12:12+00:00","tags":["info","savedobjects-service"],"pid":314043,"message":"[.kibana_task_manager] WAIT_FOR_YELLOW_SOURCE -> WAIT_FOR_YELLOW_SOURCE. took: 64013ms."}
{"type":"log","@timestamp":"2021-07-12T09:13:16+00:00","tags":["error","savedobjects-service"],"pid":314043,"message":"[.kibana] Action failed with 'security_exception'. Retrying attempt 11 in 64 seconds."}
{"type":"log","@timestamp":"2021-07-12T09:13:16+00:00","tags":["info","savedobjects-service"],"pid":314043,"message":"[.kibana] WAIT_FOR_YELLOW_SOURCE -> WAIT_FOR_YELLOW_SOURCE. took: 64017ms."}
{"type":"log","@timestamp":"2021-07-12T09:13:16+00:00","tags":["error","savedobjects-service"],"pid":314043,"message":"[.kibana_task_manager] Action failed with 'security_exception'. Retrying attempt 11 in 64 seconds."}
{"type":"log","@timestamp":"2021

Can you share what version you're upgrading from? Has elasticsearch been upgrade and can you confirm the cluster is accessible using the credentials in kibana.yml?

I solved it by cleaning all with apt-purge and reinstall from scratch