-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bootstrap] 6.7.0 RPM installation expected database [GeoLite2-ASN.mmdb] to not exist in [/etc/elasticsearch/ingest-geoip] #39495
Comments
I am not sure this is a bug. The error message says that it expects the file to NOT exist at this location:
This is caused by a leftover from an old installation and can either be resolved via uninstalling the plugin in 6.6.1 before attempting the upgrade with the
or manually removing the files in the config directory after the upgrade. |
Pinging @elastic/es-core-infra |
Sorry it was late and I missed that. That is the issue @danielmitterdorfer; the ingest-geoip plugin was removed without the purge option. I removed blocker and added the docs label. Those were files leftover from the ingest-geoip plugin that was manually installed in 6.6.1. I do not exactly see why we have to fail the node for files not in use. This will happen to anyone that hasn't purged those files, so it at least warrants a clear note in the documentation. |
I did not implement that check but I'd reason that we want to fail fast here because those files were previously used by the plugin and we want to avoid that people think that they are still used by the module and wonder why they are not picked up. |
The ingest-geoip module in 6.7.0 will check for any leftover database files from the old plugin and will prevent node startup if they are present. With this commit we add a note to the breaking changes docs for 6.7.0 that instructs users to use the `--purge` option when removing the `ingest-geoip` plugin prior to upgrading to avoid this situation. Closes #39495
Closed by #39553 |
Elasticsearch version (
bin/elasticsearch --version
): 6.7.0 (Upgraded from 6.6.1)Description of the problem including expected versus actual behavior:
Elasticsearch 6.7.0 will not start using the RPM installation on CentOS Linux release 7.6.1810 (Core). The log complains
GeoLite2-ASN.mmdb
is missing, but it is there:Steps to reproduce:
Provide logs:
Please let me know if you need access to the repro host.
The text was updated successfully, but these errors were encountered: