Skip to content

Instantly share code, notes, and snippets.

View skmessage's full-sized avatar

S Kannan skmessage

  • Self
  • Chennai
View GitHub Profile
@skmessage
skmessage / gist:3dc1217b7210c89a0396af48439f33fb
Created October 20, 2023 09:32
Error validating object of type [search] against version [8.10.2]
When trying to import the following ui-search.ndjson file with elasticsearch 8.10.2:
```
{ "id": "4cdea1d0-7891-11e8-a41e-1930b01c3fee", "type": "search", "attributes": { "title": "Postfix logs [Filebeat Postfix]", "description":"", "hits":0, "version":1 }}
```
in the UI, we get the error:
```
Import saved objects
1 error
```
In the logs, I see:
@skmessage
skmessage / gist:91b0afecd153a2b776b1db2fa806fb2c
Created June 24, 2021 16:20
nokogiri mismatch for ruby-2.4.6
Bundler could not find compatible versions for gem "nokogiri":
In Gemfile:
nokogiri (= 1.9.1)
capybara (= 2.18.0) was resolved to 2.18.0, which depends on
nokogiri (>= 1.3.3)
google_drive (= 2.1.12) was resolved to 2.1.12, which depends on
nokogiri (>= 1.5.3, < 2.0.0)