wernight / docker-plex-media-server

Dockerized Plex Media Server
https://registry.hub.docker.com/u/wernight/plex-media-server/
MIT License
129 stars 34 forks source link

Autoupdate with version 1.18.5.2309-f5213a238_amd64 fails because dumb-init is unsupported #48

Open rk295 opened 4 years ago

rk295 commented 4 years ago

Host OS: Linux Tag/Version: autoupdate

Steps:

  1. Start a container with the autoupdate tag.

Expected:

Plex should download, install and start.

Actual:

The recently (?) released .deb (named plexmediaserver_1.18.5.2309-f5213a238_amd64.deb) fails because the container uses an unsupported init.

plex_1  | Installing Plex Media Server...
plex_1  | Selecting previously unselected package plexmediaserver.
plex_1  | (Reading database ... 7102 files and directories currently installed.)
plex_1  | Preparing to unpack plexmediaserver.deb ...
plex_1  | PlexMediaServer install: Pre-installation Validation.
plex_1  | PlexMediaServer install: ERROR:  Plex Media Server can only be installed on 'init' or 'systemd' based systems.
plex_1  | PlexMediaServer install:         Your system has dumb-init but minimally required files are missing.
plex_1  | dpkg: error processing archive plexmediaserver.deb (--install):
plex_1  |  subprocess new pre-installation script returned error exit status 1
plex_1  | Processing triggers for libc-bin (2.24-11+deb9u3) ...
plex_1  | Errors were encountered while processing:
plex_1  |  plexmediaserver.deb
satwell commented 4 years ago

Just ran into this myself, and there's a thread here discussing issues with 1.18.5 in docker:

https://forums.plex.tv/t/plex-media-server-linux-installation-packaging-update-issues

From reading the thread, it sounds like this version had some issues with the preinst/postinst scripts for the Debian package that detect whether you're installing in a regular environment or a Docker environment.

Supposed to be fixed in the 1.18.6 release.

satwell commented 4 years ago

No longer seems to be a problem, the current plex media server deb (1.18.6.2368) installs fine.