Server not found after upgrading to Plex Pass

Server Version#: 3.57.1
Player Version#: Safari Web Browser
QTS Version 4.3.4

I have a QNAP TS451+ Been running PMS for about 2 years with it. no real issues to speak of so far until yesterday.
Yesterday I purchased Plex Pass for my Plex account. Went on to my PMS server (login in to Qnap then click the link to open the Plex which opens a new tab in Safari)

I added 5 users. On Qnap I created a new folder and put some movies in there. I then went back to Plex and added new folder to the server. It didn’t see any of the content. but I thought maybe it was still scraping. I then went to users and added 1 user to be able to access this folder. All other users can only access the original folders.

Now my PMS is showing as unavailable.
It just says looking for servers.

I rebooted the the NAS
I have removed the Plex app from Qnap and rebooted
Reinstalled the Plex app downloaded latest version from Plex web site.
Rebooted Nas

Still didn’t work
Removed Plex app from Qnap and rebooted again
Installed Plex from the App centre
Rebooted Nas

Still it won’t work. I am able to access all the folders that was created via File Station. Just When I open Plex Web it says looking for servers.

I have also deleted the extra folder I created and left Plex Home from within the server. This still hasn’t helped

I’ve deleted the Preferences.xml and plexmediaserver.pid in:
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server]
Restarted PMS but it still doesn’t find the server.

Can anyone shed any light on this?

I’ve also noticed that if I login into QTS as admin I cannot see the Plugin folder. Yes logged in as my user (I always use, really use admin) I can see the plugins folder.
Owner shows as admin group everyone so not sure why I can’t see it as admin user…

Ive attached the logs, which when logged in as me I couldn’t zip the logs folder due to permissions issue. Had to go into he Logs folder and select everything in there and then create the zip file.
PLEXLOGS.zip (271.1 KB)

Can anyone tell me what the permissions on the below files should be?

All mine where at 600 (RW)

I changed them to 777 just try and copy them off the server but they kept changing back.

I changed them to 644 which allowed me to make a backup.

/.qpkg/PlexMediaServer/Library/Plex Media Server/Preferences.xml access failed

/.qpkg/PlexMediaServer/Library/Plex Media Server/Cache/Privacy.dat access failed

/.qpkg/PlexMediaServer/Library/Plex Media Server/Cache/UpdateChannels.dat access failed

/.qpkg/PlexMediaServer/Library/Plex Media Server/Cache/autotag_wordlist.json access failed

/.qpkg/PlexMediaServer/Library/Plex Media Server/Cache/Flags.dat access failed

/.qpkg/PlexMediaServer/Library/Plex Media Server/Cache/PhotoTranscoder/26/266c02aabb996068fced7a16c03509b1290d881b.jpg access failed

/.qpkg/PlexMediaServer/Library/Plex Media Server/Cache/PhotoTranscoder/d2/d20a8c1601a1a8facc7b25cb2f3735827a5ba0cc.png access failed

Linux default umask is applied.

Directories are 755
Files are 644

Please don’t change them for the sake of backup.
PMS runs as the admin (root) user on QNAP. and therefore are not readable by a regular user login.
This is default Linux security in action.

Thanks for the clarification chuck.

I’ve removed and re-installed PMS for App Centre numerous times now. Still it doesn’t locate my server.

Any idea what could be causing this?

that’s caching in your computer’s browser.
It’s still signed in and looking for the old server instance.

  1. Open In-cognito window
  2. Connect to http://ip.addr.of.qnap:32400/web
  3. Now it will work.

Thanks but that hasn’t worked either,

I tried a new private browser from Safari. I also tried Firefox from a PC I have never used to connect to my system.

When using private session and FF I was prompted to login. and then it shows in the top left just below the home button Looking For servers.

Is there a way to reset it or something?

I think I may have removed the server from PMS when it wouldn’t load and was showing the server offline. I though I would have just been able to add it back in?

IP addr of computer?
IP addr of qnap?
The QNAP can reach the internet ok?

Something isn’t right.

I log in to my qnap then from app centre I click open on Plex.

This then opens a separate tab in my browser which goes to http://ip of qnap:32400/web

I’m currently away from home so connecting via VPN, this has never been a problem in the past.

I also have port forwarding setup so I can go to either
http://my external ip:32400/web
http://my qnap cloud name:32400/web

All of the above methods will hit my QNAP and open the plex web interface. how it says no servers found.

I presume you are not trying to setup plex via external relay (MyQNAPcloud, etc) ? This will always fail.

You must be on the same subnet in order to set it up (RFC1918 compliant subnet).

no I am connected via VPN to my QNAP and using local IP addresses

http://internal qnap IP:32400/web

Plex was already setup it just seems that after I purchased Plex Pass I added a new folder and then it showed my server as offline so I removed hoping that it would find it again on a reboot.

Below is a screenshot

Depending on VPN client, you will get the Referrer-IP (IP addr on your local end) in the HTTP header. When this happens, it treats you as remote because you really are.

SSH-tunnel is how to do it.

Either with Putty, forwarding local 127.0.0.1:8888 -> remote 127.0.0.1:32400 then connecting to http://127.0.0.1:8888/web on your local.

-or-

ssh -L 8888:127.0.0.1:32400 ip.addr.of.qnap directly
and opening http://127.0.0.1:8888/web

I appreciate that,

It doesn’t explain why it broke after purchasing plex pass. and adding a folder.
It all worked regardless of whether I used VPN, qnapcloud relay or external IP.

I have just tried my external IP from a computer that I have never used before (borrowed a friends). I got asked to login which I did, and now I get the same as the image in my previous reply, only I have my external IP address.

So I think looking at my connection method is a red herring at this stage.

I can clearly connect to Plex its just nit seeing the server itself.

The Plex Pass only enabled additional features. It changed nothing else.

Just for laughs, have you restarted PMS?

I’m still very concerned about the default permissions of PMS’ files having been changed.

I can give you what you need to execute via the shell if necessary to put them back to correct.

I have stopped\started Plex from app centre many times. I have also restarted the QNAP many times . Also removed rebooted and reinstalled plex from both app centre and from downloading the latest version from plex.tv downloads.

I have recently (after making changes) removed plex and then re-installed with latest version from plex.tv

The Plex Pass is coincidental to something else.
The only thing a PlexPass does is to enable flags at Plex.tv which, when you restart PMS and PMS queries to see the subscription status, enable more features in the software (sync, HW transcoding, etc).

At this point, grab the logs manually please.

They’re under .qpkg/PlexMediaServer/Library/Plex Media Server/Logs

A zip or .tar.gz of the Logs directory is best.

Hi Chuck,

Attached logs here.
Thanks
PLEXLOGS.zip (271.1 KB)

What is about your network.

You’re on a VPN/ Remote/proxy to it?

X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_ (6 live) GZIP 97ms 19306 bytes
Sep 10, 2018 09:25:28.511 [0x7fc4bb3ff700] DEBUG - Request: [172.19.101.2:61424 (WAN)] GET / (9 live) GZIP
Sep 10, 2018 09:25:28.512 [0x7fc4bb3ff700] DEBUG - Completed: [172.19.101.2:61424] 401 GET / (9 live) GZIP 0ms 513 bytes
Sep 10, 2018 09:25:28.513 [0x7fc4bb111700] DEBUG - Request: [172.19.101.2:61425 (WAN)] GET / (8 live) GZIP
Sep 10, 2018 09:25:28.514 [0x7fc4bb111700] DEBUG - Completed: [172.19.101.2:61425] 401 GET / (8 live) GZIP 0ms 513 bytes
Sep 10, 2018 09:25:28.628 [0x7fc4bb3ff700] DEBUG - Request: [172.19.101.2:61426 (WAN)] GET / (7 live) GZIP
Sep 10, 2018 09:25:28.629 [0x7fc4bb3ff700] DEBUG - Completed: [172.19.101.2:61426] 401 GET / (7 live) GZIP 0ms 513 bytes
Sep 10, 2018 09:25:28.879 [0x7fc4bae23700] DEBUG - DVR:Device: Discovering and refreshing devices.

yes that is me using VPN and using local IP address.

I can do it again via WAN IP with VPN off if needed.

My Wife has also said that plex isn’t working on our Daughters Roku box.

Shaunie1975,

SSH tunnel to it with port forwarding through the tunnel.

ssh -L 8888:127.0.0.1:32400 -l admin ip.addr.of.qnap (this ip can be the VPN IP)
Sign in and let it sit there.

in an In-cognito window, open http://127.0.0.1:8888/web

Now you’re on the QNAP “console”