Closed IanLee1521 closed 1 week ago
Here is the section of the README in which the solution is provided: How to disable paid features
The license can be reverted to "basic" as follows:
curl -X POST 'http://localhost:9200/_license/start_basic?acknowledge=true' -u 'elastic:mypassword'
Another option is to wipe all your old data and start fresh using docker compose down -v
(-v
for "volumes").
I did wipe everything, cleaned out all the old containers, manually deleted all my images, etc.
Disabling paid features is an option, but I'd actually prefer to actually leave them there.
Removing containers doesn't remove your Elasticsearch persistent data. You started a stack on that machine in July and did not wipe the data volume, so that data is still stored on your machine.
LICENSE [EXPIRED] ON [SATURDAY, AUGUST 10, 2024]
> IF YOU HAVE A NEW LICENSE, PLEASE UPDATE IT. OTHERWISE, PLEASE REACH OUT TO > YOUR SUPPORT CONTACT. > > COMMERCIAL PLUGINS OPERATING WITH REDUCED FUNCTIONALITY > - security > - Cluster health, cluster stats and indices stats operations are blocked > - All data operations (read and write) continue to work > - watcher > - PUT / GET watch APIs are disabled, DELETE watch API continues to work > - Watches execute and write to the history > - The actions of the watches don't execute > - monitoring > - The agent will stop collecting cluster and indices metrics > - graph > - Graph explore APIs are disabled > - ml > - Machine learning APIs are disabled > - logstash > - Logstash will continue to poll centrally-managed pipelines > - beats > - Beats will continue to poll centrally-managed configuration > - deprecation > - Deprecation APIs are disabled > - upgrade > - Upgrade API is disabled > - sql > - SQL support is disabled > - enterprise_search > - Search Applications, query rules and behavioral analytics will be disabled > - rollup > - Creating and Starting rollup jobs will no longer be allowed. > - Stopping/Deleting existing jobs, RollupCaps API and RollupSearch continue to function. > - transform > - Creating, starting, updating transforms will no longer be allowed. > - Stopping/Deleting existing transforms continue to function. > - analytics > - Aggregations provided by Analytics plugin are no longer usable. > - ccr > - Creating new follower indices will be blocked > - Configuring auto-follow patterns will be blocked > - Auto-follow patterns will no longer discover new leader indices > - The CCR monitoring endpoint will be blocked > - Existing follower indices will continue to replicate data > - redact_processor > - Executing a redact processor in an ingest pipeline will fail.
Paid features need to be paid for to Elastic by acquiring a software license. (We are not affiliated in any way with the company.) The trial period for paid features expires after 30 days.
Ah, you are correct. Thank you much for helping with that! User error on my part.
Problem description
Fresh clone and stand up is leading to an expired license issue:
Looks like specifically:
Extra information
Stack configuration
Using a fresh clone of this repo, commit
7fecf0942d873b6818011595faecb4d9bd37a948
Docker setup
Container logs
elasticsearch-1 | {"@timestamp":"2024-11-12T22:28:06.823Z", "log.level":"ERROR", "message":"blocking [indices:monitor/stats] operation due to expired license. Cluster health, cluster stats and indices stats \noperations are blocked on license expiration. All data operations (read and write) continue to work. \nIf you have a new license, please update it. Otherwise, please reach out to your support contact.", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"elasticsearch[elasticsearch][scheduler][T#1]","log.logger":"org.elasticsearch.xpack.security.action.filter.SecurityActionFilter","elasticsearch.cluster.uuid":"W0Wc4CU_Tqupykaa7g_pwQ","elasticsearch.node.id":"wrM8R2F3QEWP2wMNi_pB2Q","elasticsearch.node.name":"elasticsearch","elasticsearch.cluster.name":"docker-cluster"}
Container logs