Skip to content
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

ensure fs deletes are not cwd dependent #59570

Merged
merged 1 commit into from
Mar 6, 2020

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Mar 6, 2020

Fixes #59543

In http://github.com/elastic/kibana/pull/48985 I removed rimraf, but when replacing it with del I didn't think to use { force: true } to get the same behavior as before. Now, starting in 7.6.0, you can't install plugins when your CWD doesn't include the Kibana directory. This makes the workaround pretty straightforward, but it's an unnecessary backwards compatibility break.

Release Note: In 7.6 Kibana failed during certain file system operations like installing plugins when your current working directory didn't include the whole Kibana install, this should be fixed now!

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@spalger spalger merged commit 76c205c into elastic:master Mar 6, 2020
@fbaligand
Copy link
Contributor

Thanks for the fix @spalger!

spalger added a commit to spalger/kibana that referenced this pull request Mar 6, 2020
spalger added a commit to spalger/kibana that referenced this pull request Mar 6, 2020
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Mar 7, 2020
spalger added a commit that referenced this pull request Mar 7, 2020
spalger added a commit that referenced this pull request Mar 7, 2020
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Mar 7, 2020
@spalger
Copy link
Contributor Author

spalger commented Mar 7, 2020

7.7/7.x: bbb428c
7.6: d9ade94

@spalger spalger deleted the fix/plugin-install-from-anywhere branch March 7, 2020 20:41
gmmorris added a commit to gmmorris/kibana that referenced this pull request Mar 9, 2020
* master: (154 commits)
  Add an optional authentication mode for HTTP resources (elastic#58589)
  Implement embeddable drilldown menu options (elastic#59232)
  [Alerting] "Create alert" graph visualization design improvements (elastic#59399)
  Alerting update route throttle property is missing (elastic#59580)
  [SIEM] Adds 'Load prebuilt rules' Cypress test (elastic#59529)
  Show error if field is not found during filter rendering (elastic#59298)
  Navigate back to discover app during test, because the saved search from the preceding test has major performance problems when used with this test (elastic#59571)
  Check for alert dialog when doing a force logout (elastic#59329)
  ensure fs deletes are not cwd dependent (elastic#59570)
  Empty message for APM service map (elastic#59518)
  [Drilldowns] <ActionWizard/> Component (elastic#59032)
  [Reporting] Improve the page exit error messages (elastic#59351)
  Ensure logged out starting state for tests that need it (elastic#59322)
  Hide input value from kbn-config-schema error messages (elastic#58843)
  [ML] Transforms: Migrate client plugin to NP. (elastic#59443)
  [ML] Disable failing functional tests
  [SIEM] Update Timeline to use the latest euiFlyoutBody style (elastic#59524)
  Temporarily remove the project mappings for PR labels (elastic#59493)
  [Alerting] replace index threshold graph usage of watcher APIs with new API (elastic#59385)
  [ML] Show view series link in anomalies table for machine_learning_user role (elastic#59549)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kibana 7.6: plugin installation fails
6 participants