Ubuntu 19.04 move metadata to SSD

Server Version#: v1.15.4.993
Player Version#: Android and iOS Apps to a Chromecast on the TV

Hi Plex people,

Recently I’ve attempted to migrate my Lubuntu 18.04 Plex Server out of a virtual machine running on an Ubuntu 19.04 host. Since I have a bunch of sacrificial SSDs available I’d like to move my Plex library metadata with millions of tiny files away from the OS and use the override function detailed by ChuckPA in the main guides here Moving-PMS-Library. This guide runs into some issues now that /var/lib/plexmediaserver isn’t the default directory as it has been moved to /var/snap/plexmediaserver in the latest Ubuntu update similar to the discussion here help-moving-library-metadata.

My systemd based home server setup uses the following.

  1. Primary SSD for Ubuntu 19.04 / and /home

  2. Spare SSDs, let’s call it /mnt/PLEXdb

  3. ZFS arrays for storage. /mnt/Z1HULK and /mnt/Z1THOR

I think if ChuckPA’s guide could be updated I could follow it or if anyone has some substitute commands that would work. I don’t mind starting with fresh metadata so it’s not critical to rescue the VM server data.

Also I have a small noob question to ask too. In ChuckPA’s guide it mentions changing the user and group, I thought that was meant to be plex:plex? If mine was optimus-prime@Cybertron at log in for example, what should I use?

Any help is appreciated :slight_smile:

Hi ChuckPA, thankyou for getting back to me so quickly. The guide of yours that I’ve referred to above is in relation to a systemd system.

Ubuntu 19.04 is systemd by default.
The guide also includes the How-To steps for init based systems.

1 Like

So the first problem I ran into was how to do this first step in Ubuntu 19.04.

We can help you with Plex on Linux but I’m sorry, this is one phase of Linux administration you need to learn to do. It comes with using Linux.

We will always help with Plex on Linux but teaching Linux is out of scope.

Please avail yourself of the AskUbuntu and many other websites which will teach you how to perform these basic administration tasks.

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