Updating to TOS 5.0.126 Kills Plex Server

Discussion about Plex and Emby Media Server
User avatar
mightywhitey
Posts: 2
Joined: 29 Jun 2022, 19:44

Updating to TOS 5.0.126 Kills Plex Server

Post by mightywhitey »

I've just updated from 5.0.125 to 5.0.126 and it's killed my Plex Server.

It worked fine on 5.0.125, and now I just get 'Operation Failed' when trying to start the server,

Any advice?
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

Re: Updating to TOS 5.0.126 Kills Plex Server

Post by outkastm »

True, TM need to fix it.

In the meanwhile, you can manually install this .tpk which will also update PLEX to latest version

viewtopic.php?f=37&t=3425
User avatar
mightywhitey
Posts: 2
Joined: 29 Jun 2022, 19:44

Re: Updating to TOS 5.0.126 Kills Plex Server

Post by mightywhitey »

Thanks for the prompt response!

Annoyingly the new TOS Plex server attached in your reply also doesn't work in 5.0.126.

All worked fine with 5.0.125... but has stopped after the latest update.
User avatar
TMSupport
TerraMaster Team
Posts: 2314
Joined: 13 Dec 2019, 15:15

Re: Updating to TOS 5.0.126 Kills Plex Server

Post by TMSupport »

Please try the following steps.
1. Login to the SSH terminal.
2. Execute the command below.

Code: Select all

adduser -u 6666 -G plex -h /Volume1/Plex -s /bin/false -D plex
3. Go to TOS desktop> App Center to enable the Plex.
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

Re: Updating to TOS 5.0.126 Kills Plex Server

Post by outkastm »

@ TMSupport

Not possible to create again the user plex as it was already created during plex installation with id 5555

Code: Select all

[xxxx@TNAS-xxxx ~]# adduser -u 6666 -G plex -h /Volume1/Plex -s /bin/false -D plex
adduser: user 'plex' in use
Maybe you can check this option in Plex startup script which prevent plex to start if /Volume1/Plex folder is already existing from previous installation. Maybe is missing the -owner attribute ans is required in the latest firmware ?

Code: Select all

[xxxx@TNAS-xxxx ~]# PLEX_HOME=$(ter_share_add -name "Plex")
2022/06/29 17:58:27 {"is_login":false,"code":false,"msg":"user: lookup username root: no such file or directory","data":"","time":0.072580663,"code_num":0,"code_msg":""}
@ mightywhitey

have you manually installed the .tpk file using the menu App Center > Settings and slecting the downloaded tpk ?
Plex should be enabled automatically after manual installation.

Image

Image

Image
User avatar
Izo
Posts: 1
Joined: 16 Jun 2022, 18:13

Re: Updating to TOS 5.0.126 Kills Plex Server

Post by Izo »

Do i have to be developer to use your products, Terramaster?!?
Shame on you!!!
everyday updates means everyday surprises.
When we will receive something working?
I am pissed off. Every update brings some more bugs :o :x
User avatar
TMSupport
TerraMaster Team
Posts: 2314
Joined: 13 Dec 2019, 15:15

Re: Updating to TOS 5.0.126 Kills Plex Server

Post by TMSupport »

Unable to enable Plex in TOS 5.0.126 has been fixed, please update plex.
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
ralexlaptop
Posts: 70
Joined: 31 Dec 2021, 14:35

Re: Updating to TOS 5.0.126 Kills Plex Server

Post by ralexlaptop »

After updating TOS to 5.0.155-00202, Plex would not start so I uninstalled Plex and reinstalled. The Plex server now starts but some of the TV Show episodes will not display. The Movie and Music files seems to display and play fine.

The Plex version is still 1.27.1.5916 because I'm unable to find a way to update Plex to 1.28.

I saw in this thread that instructions were given to create a Plex user with a home directory of "/Volume1/Plex" so I SSH into the TNAS to check if a Plex user existed.

I did find a Plex user but it was configured as follows:

plex:x:1009:6:TOS App User:/home/plex:/bin/bash

Do you have any recommendations?
User avatar
ralexlaptop
Posts: 70
Joined: 31 Dec 2021, 14:35

Re: Updating to TOS 5.0.126 Kills Plex Server

Post by ralexlaptop »

When I log into my TOS 5.0 NAS, I'm confused by the file permissions assigned.

All the media parent folders are assigned to the initial admin user that I created during the install of TOS 5.0 with the same user as the group with a folder permission of "drwxrwx---". Every folder and file below that parent folder is assigned to the first normal user that I created and is assigned to the allusers group. With file permission of "drwxrwxrwx" for all folders and "-rwxrwxrwx" for all files. I'm assuming that the only reason why the Plex server is able to access any of my media files is because of the Read/Write/Execute permissions to the world on everything. I also don't understand the group file (/etc/group). There is an allusers group but the plex user is not in it and there is a media group but the plex user is not in it either.
User avatar
ralexlaptop
Posts: 70
Joined: 31 Dec 2021, 14:35

Re: Updating to TOS 5.0.126 Kills Plex Server

Post by ralexlaptop »

If I have TOS 5.0 version 5.0.155 installed, why does "/etc/os-release" display the following?

NAME=Terra-Master Tnas
VERSION=3.x
ID=Tnas
VERSION_ID=2018.04.9
PRETTY_NAME="Tnas 2018.04.9"
Locked