I’m trying to find a guide on how to do this correctly. I don’t run docker. I have my current plex server on /var/lib and /usr/lib.
I wanna separate my music to a different server. Since I can’t search for movies without it taking forever, and if I disable Music searches, I can’t search for music…
/usr/lib/plexmediaserver is where the executables are kept.
/var/lib/plexmediaserver is the default location, which you can change, of where all your specific server’s media data is (your instance).
You can’t setup two servers on the same OS but ----
If you’re clever with VMs or Containers, you can.
Aside from setting up two servers, what you’re describing sounds like a severely fragmented database.
Searches get all screwed up and slow when the DB is fragmented to all heck.
There is already a tool to defragment it.
It runs natively on Linux .
All you would need to do is:
Download the tool.
Open a terminal window
Start the tool with sudo. (It will figure out which distro you have and where your PMS instance is.
From there, it’s as easy as invoking “automatic” mode and let it fix it up for you.
– reorders the DB
– rebuilds the tables
– regenerates the indexes so searches work faster again
Other commands on the menu (it’s a CLI environment), let you clean up other facets of Plex.
Let me know if you’re interested in investigating / proceeding.