Linux

Where Does Maloja Store Config and Data?

Maloja keeps settings, rules, and API keys in /etc/maloja with scrobble data in /var/lib/maloja on Linux.

Last updated

Maloja separates config from state the Unix way. Settings, rules, and API keys live in /etc/maloja (settings.ini and friends, overridable per-file by MALOJA_ env vars). Scrobbles, caches, and logs live under /var/lib/maloja and /var/log/maloja.

Docker users map these to host folders or collapse everything into one directory via MALOJA_DATA_DIRECTORY. Either layout backs up the same way: config plus data together, logs optional.

Where Maloja stores this, by platform

Linux
/etc/maloja

settings.ini, rules, apikeys.yml. Data in /var/lib/maloja, logs in /var/log/maloja. Collapse all three with MALOJA_DATA_DIRECTORY for simpler binds.

Frequently asked questions

How do I migrate a Maloja server?

Copy the config, rules, and database directories to matching paths on the new host (or set MALOJA_DATA_DIRECTORY to one folder holding all three). Keep file ownership consistent.

How do I import old scrobbles into Maloja?

Drop the files into the import folder inside the data directory. Supported formats ingest automatically; check logs if plays fail to appear.

Notice an outdated path? Let us know.