How to move from Plex to Leyla
Leyla reads a Plex server’s own database and brings its people, libraries, watch history, favourites and playlists over in one step of its setup. Plex is never changed: keep it running until you are sure.
What comes across
| What | How it arrives |
|---|---|
| People | Every account. Plex signs people in at plex.tv, so each gets a link to choose a Leyla password. |
| Libraries | One Leyla library for each Plex film or TV library, pointed at the same folders. |
| Watch history | What each person watched and where they stopped. A newer record in Leyla is never overwritten. |
| Favourites | Each person's own. |
| Playlists | In order, across libraries. |
Posters and details are fetched fresh by Leyla. Music and photo libraries stay with Plex: Leyla plays films and shows.
Before you start
Plex keeps running. Leyla only reads its files, through a read-only mount, and never writes to them, so you can run both side by side for as long as you like and switch when you are ready. These steps use Docker; Install the server has every other way.
Step by step
Find Plex's folder
The folder named Plex Media Server, which holds
Plug-in Support/Databases. Alinuxserver/plexconfig volume can be mounted whole.Plex runs on The folder Linux /var/lib/plexmediaserver/Library/Application Support/Plex Media ServerDocker Its config volume Windows %LOCALAPPDATA%\Plex Media ServermacOS ~/Library/Application Support/Plex Media ServerAdd two mounts to Leyla's compose file
Plex's folder, read-only, and your media under
/media:- "/path/to/Plex Media Server:/import/plex:ro" - /path/to/your/media:/media:roThe media paths need not match Plex's. Leyla finds each library by looking for one of its files, so Plex's
/data/tvlines up with Leyla's/media/tvon its own.Start Leyla and open the setup
docker compose up -d, then openhttp://<the machine>:10001. The quick start covers the first screens.Answer “Coming from another server?” with Plex
The screen lists what it found and what it will bring. If the mount is missing it shows the exact line to add.
Let the libraries scan
History, favourites and playlists attach as each title is recognised. People can sign in and watch while it runs.
Plex is busy Plex locks its database while it writes. If Leyla cannot read it, stop Plex for a minute and choose Plex again.
Questions
Does Leyla import Plex watch history?
Yes: what each person watched and where they stopped, matched to each title as the library scans. A newer record in Leyla is never overwritten.
Where is the Plex database?
In the Plex Media Server folder, under Plug-in Support/Databases: on Linux in /var/lib/plexmediaserver/Library/Application Support/Plex Media Server, on Windows in %LOCALAPPDATA%\Plex Media Server, on macOS in ~/Library/Application Support/Plex Media Server, and in Docker inside the config volume.
Do Plex users keep their passwords?
Plex keeps passwords at plex.tv, not on your server, so each person gets a link to choose a Leyla password.
Can I run it again?
Yes. Nothing is brought over twice, and a newer watch record always stays. After the setup, the same move is in Leyla's administration under Library, with a preview first.
Why move at all?
Streaming away from home on Leyla needs no pass for anyone you invite, hardware transcoding is included, and sign-in stays on your own server. Leyla vs Plex sets the two side by side, including where Plex is ahead.
Read next
- Plex alternatives in 2026The Plex alternatives worth running in 2026: Jellyfin, Emby and Leyla, with free remote streaming, and how to keep your watch history when you switch.
- Leyla vs PlexLeyla vs Plex in 2026: price, Plex Pass and the Remote Watch Pass, hardware transcoding, sign-in and apps, and when each is the better choice.
- Plex Remote Watch Pass: what changed and what it costsWhy Plex charges to stream your own media away from home, what the Remote Watch Pass costs ($2.99 a month), which apps it covers, and your options.
- How to move from Jellyfin to LeylaMove from Jellyfin to Leyla in one step: people with their passwords, libraries, watch history, favourites and playlists, with Jellyfin left untouched.
Something wrong or out of date here? Tell us.