plex #10

Supports: xenial bionic
Add to new model

Description

Installs the plex media center on ubuntu


Overview

This charm provides Plex Media Server

Usage

To deploy:

juju deploy plex

You can then browse to http://ip-address:32400/web to configure the plex server.

Scale out Usage

This charm does not adderss multi-server configurations at this time.

Known Limitations and Issues

This only currently installs plex, in the future it can be expanded to
* select latest release on install
* upgrade versions after install
* relate to media providers to trigger automatic library scans
* change default port configuration

Configuration

Note the configuration option "download-url" was set during initial charm creation. New versions or plex pass versions may be available. Plex does not maintain a repository for automatic updates. This option should be set to the latest release while deploying to get the latest version.

Addational optoins are provided to configure the host:
* hostname: Set the hostname which plex identifies the server by
* interface & address: Set a MAC address, usefull for static DHCP and firewall holes required for configuring plex.

Contact Information

Upstream Project Name


Configuration

backup-count
(int) Number of backups to keep
backup-cron
(string) Interval to create backup, takes a cron compatible string
@daily
backup-location
(string) Location to store backups
download-url
(string) The URL to download plex from, this likely should not change.
https://plex.tv/downloads/latest/1?channel=8&build=linux-ubuntu-x86_64&distro=ubuntu
hostname
(string) The host name to set
hostname-dhcp
(boolean) Trigger DHCP renew after hostname change
True
keep-debs
(int) Number of .deb packages to keep locally, Note have at least 1 deb is recommended for updates.
1
passwd
(string) Password for plex log-in, provided via relation to other services if set
plex-pass-token
(string) A token to download plex-pass releases
restore-db
(boolean) Restore a databse from previous install
system-additional-groups
(string) Comma separated list of groups to create. User accounts will not be created
system-additional-users
(string) Comma separated list of users to create. Groups with the same name will be created.
system-gidmap
(string) Ensure the provided groups, comma separated, have the GID specified after '='. e.g. ubuntu=1000,storage=1001
system-group-membership
(string) Ensure the users provided, comma separated, are members of the provided groups, colon separated, following '='. e.g. ubuntu=sudo:wheel,storage=storage,sudo
system-uidmap
(string) Ensure the provided users, comma separated, have the UID specified after '='. e.g. ubuntu=1000,storage=1001
update-cron
(string) Interval to check for plex updates, takes a cron compatible string
@daily
user-name
(string) Username for plex log-in, provided via relation to other services if set