-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Upgrade from 6.2.4 to 6.4.2 - unable to use elasticsearch-plugin command to remove x-pack plugin after upgrade #34307
Comments
Pinging @elastic/es-core-infra |
This is a result of the fact that we structured the Instead, I think that we should indeed document this as a known issue and advise removing the plugin before performing the upgrade. Since Elasticsearch will refuse to start here (because the on-disk |
@nik9000 Would you address this as a documentation issue, adding this as a known issue to the 6.4.x breaking changes and release notes? |
Tweak the upgrade instructions for moving from pre-6.3-with-x-pack to post-6.3-default distribution. Specifically, you have to remove the x-pack plugin before upgrading because 6.4 doesn't understand how to remove it. Relates to #34307
Tweak the upgrade instructions for moving from pre-6.3-with-x-pack to post-6.3-default distribution. Specifically, you have to remove the x-pack plugin before upgrading because 6.4 doesn't understand how to remove it. Relates to #34307
Tweak the upgrade instructions for moving from pre-6.3-with-x-pack to post-6.3-default distribution. Specifically, you have to remove the x-pack plugin before upgrading because 6.4 doesn't understand how to remove it. Relates to #34307
6.4 can no longer remove the x-pack plugin so users must remove it before upgrading to 6.4+. We've already updated the upgrade documentation. This updates the release notes and breaking changes docs. Closes #34307
I backported #32016 to 6.x and 6.4. I rewrote it somewhat and moved it to right before you upgrade the node (master, 6.x, and 6.4). Then I added breaking changes and release notes (6.4). |
Tweak the upgrade instructions for moving from pre-6.3-with-x-pack to post-6.3-default distribution. Specifically, you have to remove the x-pack plugin before upgrading because 6.4 doesn't understand how to remove it. Relates to #34307
Elasticsearch version (
bin/elasticsearch --version
): 6.2.4 upgrading to 6.4.2Plugins installed: [xpack]
JVM version (
java -version
): openjdk version "1.8.0_171"OS version (
uname -a
if on a Unix-like system): CentOS 3.10.0-693.11.6.el7.x86_64Description of the problem including expected versus actual behavior:
When upgrading from versions of Elasticsearch prior to 6.3 to 6.3 or higher, the x-pack plugin must be removed. We advise running
bin/elasticsearch-plugin remove x-pack
after the upgrade, but before restarting the node, which worked in 6.3 to remove the plugin. However, when upgrading to 6.4, attempting this command results in the error mentioned at the bottom of this issue.Expected:
bin/elasticsearch-plugin remove x-pack
removes the x-pack plugin after upgrade from 6.2.4 to 6.4.2Actual: the command fails with the error I've included below
Steps to reproduce:
rpm -Uvh
)bin/elasticsearch-plugin remove x-pack
from the ES_HOME directoryProvide logs (if relevant):
Notes:
I've marked as a bug, but upon further thought - we might just change the doc to advise removing the plugin prior to actually upgrading ES? I don't know if this has potential risk should the upgrade fail/etc. Easiest example of the doc is the upgrade guide
The text was updated successfully, but these errors were encountered: