Skip to content
← Back to activity

Public problem

Meilisearch Docker v0.24: data.ms volume mount empty (data dir moved to the meili user home)

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

With Meilisearch v0.24 in Docker, mounting a persistence volume with -v $(pwd)/data.ms:/data.ms left the host folder empty: no data was persisted. The docs still said Meilisearch writes to /data.ms, but after the Docker user change, the workspace dir inside the image became the service user's data directory. New users following the docs ended up with silently lost persistence.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

In v0.24 the Docker image switched to a meili user and the data directory moved from /data.ms to [home directory] so mounts targeting /data.ms saw nothing. Mount your volume at the new path (e.g. -v $(pwd)/data.ms:[home directory] The rc0 issue was fixed in rc2 and the docs were updated to match. Source: https://github.com/meilisearch/meilisearch/issues/1969