Open beta Leyla is free until December 31, 2026. Preorder at founders’ prices

Download

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

WhatHow it arrives
PeopleEvery account. Plex signs people in at plex.tv, so each gets a link to choose a Leyla password.
LibrariesOne Leyla library for each Plex film or TV library, pointed at the same folders.
Watch historyWhat each person watched and where they stopped. A newer record in Leyla is never overwritten.
FavouritesEach person's own.
PlaylistsIn 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

  1. Find Plex's folder

    The folder named Plex Media Server, which holds Plug-in Support/Databases. A linuxserver/plex config volume can be mounted whole.

    Plex runs onThe folder
    Linux/var/lib/plexmediaserver/Library/Application Support/Plex Media Server
    DockerIts config volume
    Windows%LOCALAPPDATA%\Plex Media Server
    macOS~/Library/Application Support/Plex Media Server
  2. Add two mounts to Leyla's compose file

    Plex's folder, read-only, and your media under /media:

    compose.yaml, under volumes
          - "/path/to/Plex Media Server:/import/plex:ro"
          - /path/to/your/media:/media:ro

    The media paths need not match Plex's. Leyla finds each library by looking for one of its files, so Plex's /data/tv lines up with Leyla's /media/tv on its own.

  3. Start Leyla and open the setup

    docker compose up -d, then open http://<the machine>:10001. The quick start covers the first screens.

  4. 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.

  5. 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.

Something wrong or out of date here? Tell us.