mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
* upgrade mocha to 10.1
(cherry picked from commit ba61ce4a2d
)
Co-authored-by: Kurt <kc13greiner@users.noreply.github.com>
This commit is contained in:
parent
6c0b1e8902
commit
e1a2a81fa2
1 changed files with 31 additions and 0 deletions
|
@ -62,6 +62,37 @@ Unable to migrate the corrupt saved object document with _id: 'marketing_space:d
|
|||
|
||||
To delete the documents that cause migrations to fail, take the following steps:
|
||||
|
||||
. Create a role as follows:
|
||||
+
|
||||
[source,sh]
|
||||
--------------------------------------------
|
||||
PUT _security/role/grant_kibana_system_indices
|
||||
{
|
||||
"indices": [
|
||||
{
|
||||
"names": [
|
||||
".kibana*"
|
||||
],
|
||||
"privileges": [
|
||||
"all"
|
||||
],
|
||||
"allow_restricted_indices": true
|
||||
}
|
||||
]
|
||||
}
|
||||
--------------------------------------------
|
||||
|
||||
. Create a user with the role above and `superuser` built-in role:
|
||||
+
|
||||
[source,sh]
|
||||
--------------------------------------------
|
||||
POST /_security/user/temporarykibanasuperuser
|
||||
{
|
||||
"password" : "l0ng-r4nd0m-p@ssw0rd",
|
||||
"roles" : [ "superuser", "grant_kibana_system_indices" ]
|
||||
}
|
||||
--------------------------------------------
|
||||
|
||||
. Remove the write block which the migration system has placed on the previous index:
|
||||
+
|
||||
[source,sh]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue