How do I set up a second server on Debian?

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…

Any tips or ideas?
Thanks!

Would you mind explaining what you mean by that?
There shouldn’t be a reason to run different servers to organize different libraries / media types.

/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:

  1. Download the tool.

  2. Open a terminal window

  3. Start the tool with sudo. (It will figure out which distro you have and where your PMS instance is.

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

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

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.