-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
7.12 Upgrade migrations fail if the advanced setting "timepicker:quickRanges" is null #95616
Comments
Pinging @elastic/kibana-app-services (Team:AppServices) |
Although the server-side validation will accept |
This issue is happening with any field in the Our whole ELK installation is now in a limbo state, since Elastic/Logstash are in 7.12.0 and Kibana is stuck in read-only mode with 7.11.1 |
@gaby If you don't have a snapshot to restore to and want to rollback to a previous version will need to follow the instructions in https://www.elastic.co/guide/en/kibana/current/upgrade-migrations.html#_not_recommended_rollback_without_a_backup_snapshot Did you try the suggested workaround, this should enable you to successfully upgrade to 7.12.0 |
I'm unable to try the work-around using Kibana Dev Tools, because every request gets a HTTP 403. This is happening even using the |
@rudolf I was able to recover my Kibana instance by:
Ideally Kibana should popup an error an give you an option of Skipping the failed object in the import, instead of throwing an HTTP 500 with no messages. |
#93409 Introduced a 7.12 migration for the
config
saved object that stores advanced settings. But if the advanced settings contains"timepicker:quickRanges": null
the migration fails with logs like:TypeError: Cannot read property 'indexOf' of null at /usr/share/kibana/src/core/server/ui_settings/saved_objects/migrations.js:29:69 at Array.reduce () at 7.12.0 (/usr/share/kibana/src/core/server/ui_settings/saved_objects/migrations.js:28:47) at tryTransformDoc (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:547:22) at migrateProp (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:631:22) at applyMigrations (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:350:20)
Workaround:
"timepicker:quickRanges":null
keys from the"type":"config"
documents:The text was updated successfully, but these errors were encountered: