I’m using the docker container provided by the image plexinc/pms-docker:plexpass
Every week or so when booting up the container dies trying to download the plexmediaserver package. This then puts the container into an infinite failure loop instead of just exiting exceptionally.
I’m happy to make a pull request if the shells scripts and setup for this docker image are in a repo somewhere, but the docker image should exit exceptionally if dpkg fails.
(Reading database ... 7274 files and directories currently installed.)
Preparing to unpack /tmp/plexmediaserver.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Custom environment detected. Skipping preinstallation validation.
Unpacking plexmediaserver (1.41.6.9685-d301f511a) ...
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: <decompress> subprocess returned error exit status 2
dpkg: error processing archive /tmp/plexmediaserver.deb (--install):
cannot copy extracted data for './usr/lib/plexmediaserver/Resources/Music.tflite' to '/usr/lib/plexmediaserver/Resources/Music.tflite.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
/tmp/plexmediaserver.deb
This is the loop it gets into after the dpkg command fails.
dpkg: error processing archive /tmp/plexmediaserver.deb (--install):
cannot copy extracted data for './usr/lib/plexmediaserver/Resources/Music.tflite' to '/usr/lib/plexmediaserver/Resources/Music.tflite.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
/tmp/plexmediaserver.deb
[cont-init.d] 50-plex-update: exited 0.
[cont-init.d] done.
[services.d] starting services
Starting Plex Media Server.
[services.d] done.
s6-applyuidgid: fatal: unable to exec /usr/lib/plexmediaserver/Plex Media Server: No such file or directory
Stopping Plex Media Server.
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Starting Plex Media Server.
s6-applyuidgid: fatal: unable to exec /usr/lib/plexmediaserver/Plex Media Server: No such file or directory
Stopping Plex Media Server.
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Starting Plex Media Server.
s6-applyuidgid: fatal: unable to exec /usr/lib/plexmediaserver/Plex Media Server: No such file or directory
Stopping Plex Media Server.
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Starting Plex Media Server.
s6-applyuidgid: fatal: unable to exec /usr/lib/plexmediaserver/Plex Media Server: No such file or directory
Stopping Plex Media Server.
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Starting Plex Media Server.
s6-applyuidgid: fatal: unable to exec /usr/lib/plexmediaserver/Plex Media Server: No such file or directory
Stopping Plex Media Server.
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]