Open sodiboo opened 3 months ago
This should definitely be improved. I think to be honest, meilisearch is creating problems in the first place by making all minor versions not compatible with each other. However we could improve upon that, no one had the time to do that yet. If you had time to make that improvement , merging should come relatively fast.
For now, to workaround this, I'm just pinning meilisearch to 1.8.3 on my system until a real fix is implemented
Describe the bug
Meilisearch fails to start after https://github.com/NixOS/nixpkgs/pull/325354 was merged. It gives me the following error upon a rebuild
Error: Your database version (1.8.3) is incompatible with your current engine version (1.9.0). To migrate data between Meilisearch versions, please follow our guide on https://www.meilisearch.com/docs/learn/update_and_migration/updating.
Steps To Reproduce
Steps to reproduce the behavior:
services.meilisearch.enable = true
one week ago, e.g. prior to https://github.com/NixOS/nixpkgs/pull/325354 being merged, and populate its database. This usesmeilisearch-1.8.3
nixos-unstable
, This usesmeilisearch-1.9.0
Expected behavior
A clear and concise description of what you expected to happen.
meilisearch
package, according tosystem.stateVersion
such that the database is still compatible, or to otherwise migrate it automatically such that there is no issue (similar to what i do with my own sharkey package)Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
services.meilisearch
module. It doesn't do much fancy. I've simply enabled meilisearch, and it complained after a recent system update.system.stateVersion = "23.11";
since far before i ever touched the Meilisearch moduleNotify maintainers
@Br1ght0ne and @happysalada are the maintainers for the meilisearch module.
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.