server-11.0.alpha20240611-x86-64 обновленный до Sisyphus loki-3.2.0-alt1.x86_64 В journalctl: ion system... окт 21 20:51:55 server-11-0-alpha20240611-x86-64-minimal-20241021.localdomain loki[2660]: failed parsing config: /etc/loki/loki.yaml: yaml: unmarshal errors: окт 21 20:51:55 server-11-0-alpha20240611-x86-64-minimal-20241021.localdomain loki[2660]: line 18: field max_transfer_retries not found in type ingester.Config окт 21 20:51:55 server-11-0-alpha20240611-x86-64-minimal-20241021.localdomain loki[2660]: line 38: field shared_store not found in type boltdb.IndexCfg окт 21 20:51:55 server-11-0-alpha20240611-x86-64-minimal-20241021.localdomain loki[2660]: line 44: field shared_store not found in type compactor.Config окт 21 20:51:55 server-11-0-alpha20240611-x86-64-minimal-20241021.localdomain loki[2660]: line 51: field max_look_back_period not found in type config.ChunkStoreConfig. Use `-config.expand-env=true` flag if you want to expand environment variables in your config file
Если удалить эти параметры из конфига, то всё равно не запускается: level=error ts=2024-10-22T07:47:11.795920891Z caller=main.go:70 msg="validating config" err="MULTIPLE CONFIG ERRORS FOUND, PLEASE READ CAREFULLY\nCONFIG ERROR: schema v13 is required to store Structured Metadata and use native OTLP ingestion, your schema version is v11. Set `allow_structured_metadata: false` in the `limits_config` section or set the command line argument `-validation.allow-structured-metadata=false` and restart Loki. Then proceed to update to schema v13 or newer before re-enabling this config, search for 'Storage Schema' in the docs for the schema update procedure\nCONFIG ERROR: `tsdb` index type is required to store Structured Metadata and use native OTLP ingestion, your index type is `boltdb-shipper` (defined in the `store` parameter of the schema_config). Set `allow_structured_metadata: false` in the `limits_config` section or set the command line argument `-validation.allow-structured-metadata=false` and restart Loki. Then proceed to update the schema to use index type `tsdb` before re-enabling this config, search for 'Storage Schema' in the docs for the schema update procedure" Помогает вот это: Set `allow_structured_metadata: false` in the `limits_config`
Не воспроизводится в версии loki-3.2.1-alt1.