[SOLVED] Server default directories location and size

Server Version#: 1.24.5.5173
Player Version#: N/A

Hello all,
This is a fresh install on a Ubuntu 20.04.3 Server OS.
The server has a large (16 TB) disk array for media storage, but a tiny (40 GB) system drive. Right after I scanned all of the local media files into library, I noticed that the system drive started filling up.
Quick scan trying to determine disk usage:

/var/lib/plexmediaserver/Library/Application Support/Plex Media Server$ du -h --max-depth=1
24K ./Crash Reports
4.0K ./Plug-ins
1.9G ./Cache
2.1G ./Media
1.7G ./Metadata
6.1M ./Codecs
58M ./Logs
84M ./Plug-in Support
5.7G .

Can I change the location of these large directories?

Thanks in advance,
Cheers.

Yes but it’s recommended (and supported) to move the entire structure

ChuckPa,
Thanks for the prompt response and easy to follow instructions.

Specifying user & group in the override.conf was an issue and, apparently, not needed on the server OS. Changed to root:root and service started right up. Also check remote access by navigating to [server IP]:32400/web as well as playing media on Smart TV.

Al little concerned and wanted to check with you before removing the old directories. Seems like those are still being referenced?

This is the override.conf

If you created the new directory as owned by plex:plex
then used the tar ball,

you wouldn’t need to run as root:root ( an FYI :wink: )

As root, you can delete media, regardless of permissions, so please do be VERY careful.
We run as a non-privileged user for this reason – safeguard your media as much as possible.

OK, changed override.conf to plex:plex
Ran chown -R plex:plex . on the new directory just in case.
Everything started up just fine.

Just to confirm, as long as I have this in place, nothing’s going to get overwritten on the next update?

And by “nothing”, I mean the settings I just changed, of course.

Software is in /usr/lib/plexmediaserver (where the package manager puts it)
Data (your server’s metadata and all it’s databases) were in /var/lib/plexmediaserver but are now where you put them.

The software will be replaced with each update.

Database updates will be whenever engineering releases them.

The UID/GID you set is locked.

The installer does not modify any of that. It only inspects and lets you know if there are problems.

Awesome,
Thanks again for your help. [SOLVED]!

Cheers.

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