Plex Server question (core)

That’s why I like the docker images from Linuxserver.io
They include an option to change the uid and they default to uid 1000 not 0.
The Truenas app uses the official Plex app

Not sure about the plex app in particular, but a lot of docker apps handle permissions by lazily chowning everything after startup so they need to run as root to do that.

“uid 1000 (first non-built-in user)” I read this somewhere else as well, as well as the uid 0 root. The “run as” context file. I’ll try as well.

Thanks, I’ll give it a try

To everyone’s detriment, as it re-downloads and installs the (plex-pass enabled) version of the dpkg file every container startup (and since TrueNAS always re-reploys an app, this is every container start)

Both the official Plex container and Linuxserver images do this. I got told this was because docker makes folders as root and a freshly deployed app will not be able to write without a manual chown… So we’ve solved one footgun with another.

not only that, Plex requires execute permissions on it’s /config mount or it’s downloadable transcoders (blindly downloading executables when required instead of shipping with the container) don’t work. And just for maximum misery, if you don’t have execute permissions it will retry a bunch and fail, eventually their CDN will give you 429 errors and make troubleshooting even more painful. All while giving the user useless “Something Went Wrong” errors..

uid 1000 worked. I can now see all my Data set, folders. Awesome Thanks you

Next Problem:

Movies play and plex is good on Web ui,. Roku’s in my house can’t see them. They are still trying to connecto to my old server. OF course I restarted everything. Remote Access keeps turning off in Plex.

EDIT: Fixed, I just have to set a static IP

You guys have been awesome, I learned a bunch. AI help a little

I’m sure I’ll be back soon enough

When a topic gets solved four different times in one day, you just know it’s solved.

So, i like the Solved button. That explains why it says solved when reply lol

It’s been a long week

I am about to go through a similar process (Core 13.3 to Scale) and migrate Jails to containers (Docker or ?). I know there is a whole “Migrating” doc I need to read, but any other tidbits that helped with your migration?

I read some of it, it just appeared to be less complicated to rebuild the whole pool. So that’s what I did. Prety time consuming, but I got the time. Now to copy back 8Tb of data. I did learn a bunch, and it was easier than the first time I did it. Plus, I was able to set it up in a more efficient way