Plex Media Server Docker Crash Loop

I can’t figure this out at all, gave up a couple of times and installed plex on my computer instead and it’s working fine

the problem is my hp microserver, I’ve setup Plex media server docker and it keeps crashing with the error below.

“”
ErrorWarningSystemArrayLogin

[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] 40-plex-first-run: executing…
Attempting to obtain server token from claim token
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
Plex Media Server first run setup complete
[cont-init.d] 40-plex-first-run: exited 0.
[cont-init.d] 45-plex-hw-transcode-and-connected-tuner: executing…
[cont-init.d] 45-plex-hw-transcode-and-connected-tuner: exited 0.
[cont-init.d] 50-plex-update: executing…
[cont-init.d] 50-plex-update: exited 0.
[cont-init.d] done.
[services.d] starting services
Starting Plex Media Server.
[services.d] done.
terminate called after throwing an instance of ‘boost::filesystem::filesystem_error’
what(): boost::filesystem::directory_iterator::operator++: Input/output error: “/sys/kernel/slab”

****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /config/Library/Application Support/Plex Media Server/Crash Reports/1.22.1.4228-724c56e62/PLEX MEDIA SERVER/15957bd3-a112-5a34-4e678f9a-2ca12485.dmp
Stopping Plex Media Server.
Error starting framework core for /usr/lib/plexmediaserver/Resources/Plug-ins-724c56e62/PlexMovie.bundle.

Starting Plex Media Server.
terminate called after throwing an instance of ‘boost::filesystem::filesystem_error’
what(): boost::filesystem::directory_iterator::operator++: Input/output error: “/sys/kernel/slab”

****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /config/Library/Application Support/Plex Media Server/Crash Reports/1.22.1.4228-724c56e62/PLEX MEDIA SERVER/7bcb6f12-ec61-c930-39ca04d6-46b60a80.dmp
Stopping Plex Media Server.
Error starting framework core for /usr/lib/plexmediaserver/Resources/Plug-ins-724c56e62/PlexMovie.bundle.

[cont-finish.d] executing container finish scripts…
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] 40-plex-first-run: executing…
[cont-init.d] 40-plex-first-run: exited 0.
[cont-init.d] 45-plex-hw-transcode-and-connected-tuner: executing…
[cont-init.d] 45-plex-hw-transcode-and-connected-tuner: exited 0.
[cont-init.d] 50-plex-update: executing…
[cont-init.d] 50-plex-update: exited 0.
[cont-init.d] done.
[services.d] starting services
Starting Plex Media Server.
[services.d] done.
terminate called after throwing an instance of ‘boost::filesystem::filesystem_error’
what(): boost::filesystem::directory_iterator::operator++: Input/output error: “/sys/kernel/slab”

****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /config/Library/Application Support/Plex Media Server/Crash Reports/1.22.1.4228-724c56e62/PLEX MEDIA SERVER/6d2d82ed-e589-7302-7f6bb4df-0d920c6f.dmp
Stopping Plex Media Server.
Error starting framework core for /usr/lib/plexmediaserver/Resources/Plug-ins-724c56e62/PlexMovie.bundle.

Error starting framework core for /usr/lib/plexmediaserver/Resources/Plug-ins-724c56e62/PlexMovie.bundle.

Starting Plex Media Server.
terminate called after throwing an instance of ‘boost::filesystem::filesystem_error’
what(): boost::filesystem::directory_iterator::operator++: Input/output error: “/sys/kernel/slab”

****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /config/Library/Application Support/Plex Media Server/Crash Reports/1.22.1.4228-724c56e62/PLEX MEDIA SERVER/52f42653-73f8-ed94-6a478d5b-2771edf4.dmp
Stopping Plex Media Server.
Error starting framework core for /usr/lib/plexmediaserver/Resources/Plug-ins-724c56e62/PlexMovie.bundle.

Starting Plex Media Server.
Starting Plex Media Server.
[cont-finish.d] executing container finish scripts…
[cont-finish.d] done.
[s6-finish] waiting for services.
Stopping Plex Media Server.
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec]

s6-svwait: fatal: timed out
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
“”

I let it crash twice before stopping the docker. Let me know if more info is needed.

Not sure if the current docker image is also impacted but highly suspect it is.

A bug was found and repaired ( today ) by Engineering.

They will be including the fix in PMS 1.22.2 - which is on it’s way to PlexPass beta

The logs of what’s happening in this container would be useful (grab a tar.gz)

Will this work?PMSDockerCrashLogs.txt (8.3 KB)

That doesn’t look good. It looks like a container corruption but, since I’m not versed enough, I’ve asked the dev who wrote that startup code.

Let me know if theres anything you’d like for me to try. I’ve uninstalled the docker and reinstalled it with the same problem

Delete the image file.
Delete the container (presuming your /config is stored external to the container)
Pull and run fresh.

I got it to work now, I had to change the app data folder, something to do with permissions on the folder that it was set to by default

Thank you =)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.