Before You Begin
- Run Compose commands from
docker/stacks/nexussoDOCKER_HOSTtargetsnexus. - Plex config lives at
/mnt/data/plexon the host and/configin the container. - Media is mounted at
/mediainside the container. - Know the old and new path prefixes as Plex sees them, for example
/data/moviesand/media/movies.
Change the Paths
1
Stop Plex
2
Back Up the Databases
On
nexus:3
Open the Library Database
Use the SQLite build that ships with Plex. It includes extensions the stock
sqlite3 lacks. Run it as the Plex user so new files keep the right owner.4
Preview, Then Rewrite
Check what matches before you change anything.Rewrite file paths and library folders in one transaction.Repeat for each moved library, such as
/data/series to /media/series.5
Start Plex and Verify
healthy, then play one title from each changed library.Roll Back
If Plex fails to start or titles show as unavailable:- Stop Plex with
docker compose stop plex. - Replace
Databaseswith theDatabases.bak-<date>copy. - Start Plex with
docker compose start plex.