SOLVED Plex App Won't Deploy

yottabit

Contributor
Joined
Apr 15, 2012
Messages
192
I had the Plex docker running fine, and could access via HTTP locally. But I could not connect to it with HTTPS, including from plex.tv and from Android app (it was reachable from outside).

I read on the Plex forums that there was an issue with migrations of the metadata/settings sometimes, that you had to logout and login again locally, and that would resolve the problem.

So I did that, but of course that means I had to add a claim ID in order to get into it again, due to the way the Docker image works.

This still didn't fix my problem. I then set the Plex secure network setting from Preferred to Required. After that, I have been unable to get into it again. And it is now stuck on "Deploying."

Further, I even deleted it entirely, then added it again, reusing my settings dataset. It still is stuck on "Deploying..."

1631491477565.png


Here's the log:
2021-09-12 23:50:16.852921+00:00[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
2021-09-12 23:50:16.914050+00:00[s6-init] ensuring user provided files have correct perms...exited 0.
2021-09-12 23:50:16.915206+00:00[fix-attrs.d] applying ownership & permissions fixes...
2021-09-12 23:50:16.916096+00:00[fix-attrs.d] done.
2021-09-12 23:50:16.916993+00:00[cont-init.d] executing container initialization scripts...
2021-09-12 23:50:16.918540+00:00[cont-init.d] 40-plex-first-run: executing...
2021-09-12 23:50:17.445726+00:00Plex Media Server first run setup complete
2021-09-12 23:50:17.446742+00:00[cont-init.d] 40-plex-first-run: exited 0.
2021-09-12 23:50:17.449141+00:00[cont-init.d] 45-plex-hw-transcode-and-connected-tuner: executing...
2021-09-12 23:50:17.456132+00:00[cont-init.d] 45-plex-hw-transcode-and-connected-tuner: exited 0.
2021-09-12 23:50:17.457927+00:00[cont-init.d] 50-plex-update: executing...
2021-09-12 23:50:17.706196+00:00[cont-init.d] 50-plex-update: exited 0.
2021-09-12 23:50:17.707605+00:00[cont-init.d] done.
2021-09-12 23:50:17.709511+00:00[services.d] starting services
2021-09-12 23:50:17.719625+00:00[services.d] done.
2021-09-12 23:50:17.721358+00:00Starting Plex Media Server.
2021-09-12 23:50:33.671557+00:00Critical: libusb_init failed

Any ideas here??
 

yottabit

Contributor
Joined
Apr 15, 2012
Messages
192
Turns out this only happens when I have attached my config dataset to the docker configuration. It worked originally, so I don't know why it's hanging up now.

This is a migrated Plex metadata config from a BSD jail (not the PBI). I've recreated the dataset and copied over the data from the BSD jail again, chown, etc., and will see if this helps.
 

yottabit

Contributor
Joined
Apr 15, 2012
Messages
192
I followed my plan in comment #2 and everything seems to be working perfectly now.

The one oddity I have noticed is that the container indicated "deploying" status several minutes after Plex Media Server was being shown in top doing its thing; and until the state switched from "deploying" to "active," I could not access the web UI (portal), even though I knew the URL (i.e., I wasn't just waiting for the Portal button).
 
Top