Commit Graph

32 Commits

Author SHA1 Message Date
mxMeeple
2677bb69e3
Added PLEX_CLAIM_FILE env 2023-02-09 14:10:04 -06:00
slavox
220d9f72fd Change chown to modify ownership symlinks
It is possible to end up with a long startup period if symlinks have incorrect ownership as they've never corrected by this script currently so each new docker pull they are found by find and the target ownership is updated (despite being correct) causing a delay in startup

This change assumes that all symlink targets are also within the /config directory tree otherwise the targets could be left unchanged as chown no longer follows the links. Alternatively we could run the command twice once for targets & once for symlinks themselves.
2021-11-08 08:25:04 -06:00
Graham Booker
63e14d6cbf Corrected circular reference warnings
Also removed trailing whitespace.
2021-03-24 09:54:04 -05:00
Graham Booker
716ed27eca Only chown files that have incorrect user/group
Not all files will need to change user/group and doing for every file can take a
very long time for large libraries. This commit will use find to find files/dir
that have incorrect user/group and change them.

Hopefully this should be quicker than going through and changing every single
file.
2021-03-15 15:21:50 -05:00
putty182
13e780cda5
Add --max-time 100 to healthcheck (#66)
If Plex is running but is unable to send a response, curl will wait indefinitley until it does.  

Adding `--max-time 100` sets an upper limit for how long curl will wait for a response.
This matches Dockerfile's HEALTHCHECK time to mark a container as unhealthy (--interval=5s --timeout=2s --retries=20)
2021-02-15 08:30:15 -06:00
Mark R
a99fc1c5f1 Add --force-architecture to dpkg installation command
Mitigates an ARM installation issue:

```dpkg: error processing archive /tmp/plexmediaserver.deb (--install):
 package architecture (arm64) does not match system (armhf)
```
2020-12-17 14:46:49 -06:00
Graham Booker
c685af44c5 Removed defunct LD_LIBRARY_PATH. 2020-11-17 13:08:20 -06:00
Nate
b8f67a0b3c
Stop plex service with the s6 supervisor (#53)
S6 will now send SIGTERM to the root Plex process as a part of the service's finish script.  If the processes don't exit after 5 seconds, all processes are sent a SIGKILL
2020-05-28 07:59:48 -05:00
Maxime Marmont
4d069dc465
Add arm64 support and Update Plex Download URLs to latest API (#48)
Add arm64 support and Update Plex Download URLs to latest API
2020-04-07 09:33:24 -05:00
Mike Patton
0ce632c43f
Update to cater for multiple video device groups. 2019-11-21 15:55:07 -06:00
Graham Booker
5728aeb31a
Also check connected tuners for video group. 2019-08-26 12:47:04 -05:00
Rowan Gillson
f2a9bb5cc8 Plex Media Server hardware transcoding update (#41)
* Adds Intel hardware transcoding option and updates docs
2019-08-23 09:37:22 -05:00
Graham Booker
0e81f12e59
Added /usr/lib/plexmediaserver/lib to LD_LIBRARY_PATH to support conan builds. 2019-01-14 11:48:17 -06:00
Chris Allen
155f00c71b Export vendor/device/model/platformver information. 2018-07-05 07:38:57 +12:00
Graham Booker
7529befa25
Renamed plexpass tag to beta. 2017-12-05 12:39:35 -06:00
Graham Booker
8438f12d66
Added overriding of update channel for internal testing purposes. 2017-12-05 08:25:31 -06:00
Graham Booker
51695ec3e1
Moved common functionality to another file.
Also added support for building image from a raw URL for PMS.
2017-01-13 10:59:02 -06:00
Graham Booker
d1ea49cc79
Changed script to avoid slow usermod when possible. 2017-01-09 09:31:00 -06:00
Patrick Double
3ae89855b4
Add healthcheck using /identity 2017-01-06 14:04:01 -06:00
aptalca
5413de3442
fix permission detection
If PLEX_UID is set to an existing user's uid, like 0 (root), then `stat -c %U` returns "root" instead of "plex" and forces an unnecessary `chown -R`. Instead using `stat -c %u` and checking it against `id -u plex` is more accurate and prevents unnecessary chowns.
2016-12-28 15:54:21 -06:00
Kalle Møller
fb62bb1fbf Removing wget as both curl and wget was added 2016-12-25 15:39:16 -06:00
Mark Walker
be0c056acd Fix brain fart. 2016-12-23 17:30:12 +01:00
Mark Walker
7ce55face5 Fix indentation. 2016-12-22 21:04:05 +01:00
Mark Walker
fcfa6144c2 Only run recursive chown if we truly don't own the PrefFile. 2016-12-22 10:43:51 +01:00
Mark Walker
cf28bd60fd Add device info for container while running. 2016-12-13 22:14:21 +01:00
Graham Booker
b5c960fce8 Removed CHANGE_DIR_RIGHTS. 2016-12-12 13:32:42 -06:00
Graham Booker
e9d7ff1b1e Corrected some strings for install and fail when version fetch fails. 2016-12-12 11:23:41 -06:00
Graham Booker
b2c4f8109a Changed latest->plexpass to allow latest to be tagged to a version.
Also the updater always behaves how the image was tagged at build.
2016-12-12 10:41:27 -06:00
Graham Booker
05e1a5b1e9 Corrected version check to catch latest and public, not just latest. 2016-12-12 09:23:57 -06:00
Graham Booker
a6a7666530 Added ability to build images with PMS installed. 2016-12-12 09:17:16 -06:00
Mark Walker
9744b72796 Add chown so Preferences.xml doesn't end up owned as root. 2016-12-08 13:34:49 +01:00
Mark Walker
1755f101c8 Initial commit. Adding Dockerfile and stuff. 2016-12-07 15:21:18 +01:00