You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Once I upgraded my meilisearch version from 1.7.6 to 1.11.3 (through upgrading nixpkgs), I encountered an error when starting it via devenv up. The error says that the value 1 is invalid for the --no-analytics command line parameter, which in devenv is set via the environment variable MEILI_NO_ANALYTICS.
$ devenv up --tui=false
[meilisearch ] error: invalid value '1' for '--no-analytics'
[meilisearch ] [possible values: true, false]
[meilisearch ]
[meilisearch ] For more information, try '--help'.
But I would expect the following log output:
see expected log output
$ devenv up --tui=false
[meilisearch ]
[meilisearch ] 888b d888 d8b 888 d8b 888
[meilisearch ] 8888b d8888 Y8P 888 Y8P 888
[meilisearch ] 88888b.d88888 888 888
[meilisearch ] 888Y88888P888 .d88b. 888 888 888 .d8888b .d88b. 8888b. 888d888 .d8888b 88888b.
[meilisearch ] 888 Y888P 888 d8P Y8b 888 888 888 88K d8P Y8b "88b 888P" d88P" 888 "88b
[meilisearch ] 888 Y8P 888 88888888 888 888 888 "Y8888b. 88888888 .d888888 888 888 888 888
[meilisearch ] 888 " 888 Y8b. 888 888 888 X88 Y8b. 888 888 888 Y88b. 888 888
[meilisearch ] 888 888 "Y8888 888 888 888 88888P' "Y8888 "Y888888 888 "Y8888P 888 888
[meilisearch ]
[meilisearch ] Config file path: "none"
[meilisearch ] Database path: "/home/create/repos/meilisearch-devenv-bug/.devenv/state/meilisearch"
[meilisearch ] Server listening on: "http://127.0.0.1:7700"
[meilisearch ] Environment: "development"
[meilisearch ] Commit SHA: "unknown"
[meilisearch ] Commit date: "unknown"
[meilisearch ] Package version: "1.11.3"
[meilisearch ] Anonymous telemetry: "Disabled"
[meilisearch ]
[meilisearch ]
[meilisearch ]
[meilisearch ] No master key was found. The server will accept unidentified requests.
[meilisearch ]
[meilisearch ] A master key of at least 16 bytes will be required when switching to a production environment.
[meilisearch ]
[meilisearch ]
[meilisearch ] We generated a new secure master key for you (you can safely use this token):
[meilisearch ]
[meilisearch ] >> --master-key mnrEX33qQjKRoOvDeGuNr2rPo5trtvkMQoITy_4qb2k <<
[meilisearch ]
[meilisearch ] Restart Meilisearch with the argument above to use this new and secure master key.
[meilisearch ]
[meilisearch ] Check out Meilisearch Cloud! https://www.meilisearch.com/cloud?utm_campaign=oss&utm_source=engine&utm_medium=cli
[meilisearch ] Documentation: https://www.meilisearch.com/docs
[meilisearch ] Source code: https://github.com/meilisearch/meilisearch
[meilisearch ] Discord: https://discord.meilisearch.com
Version
devenv version: 1.3.1
devenv commit ref: 1c384bc4be3ee571511fbbc6fdc94fe47d60f6cf (see flake.lock)
nixpkgs commit ref: 3f0a8ac25fb674611b98089ca3a5dd6480175751 (see flake.lock)
I am using flakes.
As for the meilisearch version, I know that it does work with 1.7.6 and that it does not work with 1.11.3. I have looked through the meilisearch changelogs in order to pin down the version where this change happened, but have not found it documented there (though I may have overlooked it).
Workaround
Foce the environment variable MEILI_NO_ANALYTICS to be true instead of 1:
env.MEILI_NO_ANALYTICS=lib.mkForce"true";
The text was updated successfully, but these errors were encountered:
Describe the bug
Once I upgraded my meilisearch version from 1.7.6 to 1.11.3 (through upgrading nixpkgs), I encountered an error when starting it via
devenv up
. The error says that the value1
is invalid for the--no-analytics
command line parameter, which in devenv is set via the environment variableMEILI_NO_ANALYTICS
.To reproduce
flake.nix
file:see flake.nix
flake.lock
file (for reproducability):see flake.lock
nix develop --impure
devenv up --tui=false
I see the following log output:
see actual log output
But I would expect the following log output:
see expected log output
Version
devenv version:
1.3.1
devenv commit ref:
1c384bc4be3ee571511fbbc6fdc94fe47d60f6cf
(see flake.lock)nixpkgs commit ref:
3f0a8ac25fb674611b98089ca3a5dd6480175751
(see flake.lock)I am using flakes.
As for the meilisearch version, I know that it does work with
1.7.6
and that it does not work with1.11.3
. I have looked through the meilisearch changelogs in order to pin down the version where this change happened, but have not found it documented there (though I may have overlooked it).Workaround
Foce the environment variable
MEILI_NO_ANALYTICS
to betrue
instead of1
:The text was updated successfully, but these errors were encountered: