# Plex Media Server Docker Crash Loop

**URL:** <https://forums.plex.tv/t/plex-media-server-docker-crash-loop/705325>\
**Category:** Plex Media Server\
**Tags:** server-linux, server-docker\
**Created:** [March 29, 2021, 10:01am UTC](https://forums.plex.tv/t/plex-media-server-docker-crash-loop/705325 "2021-03-29T10:01:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![s\_ciftci\_live\_com](https://avatars.discourse-cdn.com/v4/letter/s/aeb1de/32.png) [@s\_ciftci\_live\_com](https://forums.plex.tv/u/s_ciftci_live_com)\
**Post date:** [March 29, 2021, 10:01am UTC](https://forums.plex.tv/t/plex-media-server-docker-crash-loop/705325/1 "2021-03-29T10:01:17Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 29, 2021, 6:43pm UTC](https://forums.plex.tv/t/plex-media-server-docker-crash-loop/705325/2 "2021-03-29T18:43:37Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![s\_ciftci\_live\_com](https://avatars.discourse-cdn.com/v4/letter/s/aeb1de/32.png) [@s\_ciftci\_live\_com](https://forums.plex.tv/u/s_ciftci_live_com)\
**Post date:** [March 30, 2021, 3:59am UTC](https://forums.plex.tv/t/plex-media-server-docker-crash-loop/705325/3 "2021-03-30T03:59:25Z")

</div>

Will this work?[PMSDockerCrashLogs.txt](https://forums.plex.tv/uploads/short-url/takC9xKcigLsPFqCBSMM9QaTqOo.txt) (8.3 KB)

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 30, 2021, 3:20pm UTC](https://forums.plex.tv/t/plex-media-server-docker-crash-loop/705325/4 "2021-03-30T15:20:57Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![s\_ciftci\_live\_com](https://avatars.discourse-cdn.com/v4/letter/s/aeb1de/32.png) [@s\_ciftci\_live\_com](https://forums.plex.tv/u/s_ciftci_live_com)\
**Post date:** [April 1, 2021, 5:37am UTC](https://forums.plex.tv/t/plex-media-server-docker-crash-loop/705325/5 "2021-04-01T05:37:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [April 1, 2021, 5:54am UTC](https://forums.plex.tv/t/plex-media-server-docker-crash-loop/705325/6 "2021-04-01T05:54:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![s\_ciftci\_live\_com](https://avatars.discourse-cdn.com/v4/letter/s/aeb1de/32.png) [@s\_ciftci\_live\_com](https://forums.plex.tv/u/s_ciftci_live_com)\
**Post date:** [April 2, 2021, 1:22am UTC](https://forums.plex.tv/t/plex-media-server-docker-crash-loop/705325/7 "2021-04-02T01:22:45Z")

</div>

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 =)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [July 1, 2021, 1:22am UTC](https://forums.plex.tv/t/plex-media-server-docker-crash-loop/705325/8 "2021-07-01T01:22:57Z")

</div>

Closed on July 1, 2021, 1:22am UTC

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