Plex service not starting after update to 1.24.2.4973

Server Version#: 1.24.2.4973
Player Version#: N/A

Hi there,

So I’m running TrueNAS 12.0-U3.1. Rather than install Plex as a plugin, I created a jail and installed with pkg install plexmediaserver-plexpass.
All has been working well.
I had a message to say that I’m currently running version 1.23.4.4712 and that version 1.24.4.5081 is now available.
So I open the shell of the jail and run Pkg update, then Pkg upgrade. It goes through the motions and downloads everything.
Interesting to note, that instead of getting 1.24.4.5081 from the repository, it gets 1.24.2.4973.
The plexmediaserver_plexpass service now no longer starts. It says that the service is starting and then returns to prompt immediately.
If I check the status with service plexmediaserver_plexpass status, it says that it’s not running.

I’ve checked the logs in /var/logs and nothing seems to be getting its last modified times updated whenever I try to start the service.
The Plex Media Server.log doesn’t update with anything either.

I created a new jail and installed using pkg install plexmediaserver-plexpass and this appeared to work fine. It also used version 1.24.2.4973. When I start the service, there’s a delay before returning to the prompt, unlike with my live jail, indicating that something’s going on in the background.

I’m not sure if there’s something I’m missing, such as a prerequisite update or config change say going from 1.23.x to 1.24.x?

Any help would be greatly appreciated.

Thanks

Well, I managed to resolve this by changing a couple of variables in /usr/local/etc/rc.d/plexmediaserver_plexpass

Changed

: ${plexmediaserver_plexpass_user=“plex”}
: ${plexmediaserver_plexpass_group=“plex”}

To:

: ${plexmediaserver_plexpass_user=“root”}
: ${plexmediaserver_plexpass_group=“wheel”}

Probably someone will tell me that’s not the proper way to do it and I shouldn’t give it root permissions, but I don’t really care. It works and it’s the only thing running in the jail.

Had also found through debugging that it wasn’t creating a plex.pid file in /var/run/plex, where as the freshly created one would. Permissions were the same. Users and groups in /etc/group and /etc/passwd were the same, so not sure what happened.

All I know it, I’ll be pretty reluctant to update it again!

did your workaround and it now works for me. Thank you so much

Glad it helped :slight_smile:

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