About Plex
Plex lets you stream your content to any Plex enabled device.
Website:
https://plex.tv/
Plex Details
Plex
User availability .SU. | |
This is a single-user application and should be installed by one (1) user within the application grouping. |
Install Location | /home/${username}/.config/Plex Media Server |
Config Location | /home/${username}/.config/Plex Media Server |
Nginx Location | |
Default Nginx Location | /etc/nginx/software/${username}.plex.conf |
Subdomain Nginx Location | /etc/nginx/sites-enabled/${username}.plex.conf |
Service Location | /etc/systemd/system/plexmediaserver.service.d/override.conf |
Port | Hardcoded on 32400 |
### INSTALL qb install plex -u ${username} -k ${plex_token} installs latest stable version of plex for user qb install plex -u ${username} -d plex.domain.com installs latest stable version of plex for user and stages ssl enabled subdomain qb install plex -u ${username} -o data=/custom/path/to/plex installs latest stable version of plex for user at the requested location ### UNINSTALL qb remove plex -u ${username} removes plex for user ### REINSTALL qb reinstall plex -u ${username} -k ${plex_token} reinstalls latest stable version of plex for user qb reinstall plex -u ${username} -d plex.domain.com reinstalls latest stable version of plex for user and stages ssl enabled subdomain qb reinstall plex -u ${username} -o data=/custom/path/to/plex reinstalls latest stable version of plex for user at the requested location ### UPDATE qb update plex -u ${username} updates plex to latest public or plex pass version for user
The -d | --domain
, -k | --key
and -o data=
options can be used together.
Sequence for how the flags are used is not important, so long as qb install plex
precedes the optional flags.
-o data=/custom/data/path
should be a unique directory that does not currently exist.
It's important to not set it to a top level directory, be it by way of root or the user's home directory. This is due
to how the build physically moves the Plex Media Server
directory to the assigned directory. On
uninstall, if it is assigned to something such as -o data=/data
, then the /data
directory
is now the parent to the Plex directory. This would look like /data/'Plex Media Server'
. As
/data
was assigned on the build, should Plex be uninstalled from the system, this means the build will
take the /data
directory with it. So it's best to use a unique directory under an existing parent.
- Example of a good use case:
-o data=/data/plex
This will then produce for the build a directory such as:/data/plex/'Plex Media Server'
- Do not attempt directories with spacing in the name such as:
-o data=/opt/my plex
Since these parameters are sanitized and it will result in only using-o data=/opt/my
- Avoid setting this to an existing directory such as:
/opt
,/opt/[USERNAME]
,/mnt
,/home
,/home/[USERNAME]
, and so on. - It is safe to create a new data directory within existing directories such as:
/opt/plex
,/opt/[USERNAME]/plex
,/mnt/plex
,/data/plex
, and so on. - The default data path is
/home/[USERNAME]/.config/`Plex Media Server'
See
qb help plex