Can't connect to media server on QNAP NAS

Server Version#:1.42.2
Player Version#:4.156.0

I cannot connect to my Plex Server which is on my QNAP NAS TS-453A.. This issue has appeared after I updated the firmware for the NAS and installed the latest version of the Plex Server app for my NAS..

I’ve loged in and opened Plex on my PC and checked Authorised Devices and the QNAP NAS is there. However, my Libaries are not showing on the left of the screen.

I’ve tried uninstalling and reinstalling the Plex Server app on the NAS and it is running, but it still will not show up here https://app.plex.tv/desktop/#!

Rebooting the NAS and my Router has made no difference.

I can usually access the server using this URL http://192.168.0.20:32400/web/index.html but I can’t access it this way now as I get a problem loading page error.

If I click on my profile I can see the items i’ve recently watched from my libaries.

I can access my NAS and files from Windows File Explorer.

Any ideas on how to fix this?

If you SSH into the NAS, can you confirm PMS is running ?

ps -ef | grep -i plex

This should show you a list of programs running.

This is the responce I receive after entering that command. I assum this confirmes PMS is running.

[~] # ps -ef | grep -i plex
20298 admin 31480 S /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Media Server
32604 admin 1040 S grep -i plex
[~] #

When everything is running correctly, it will look like this:

[~] # ps -ef | grep -i plex
13077 admin       444 S   grep -i plex
25461 admin     67828 S   /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Media Server
26965 admin      3736 S N Plex Plug-in [com.plexapp.system] /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-03e2dd023/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.43.1.10337-03e2dd023 /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-03e2dd023/System.bundle
28676 admin       624 S   /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Tuner Service /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Tuner/Private /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Tuner/Shared 1.43.1.10337-03e2dd023 32600
[~] # 

You’re showing me that your server has somehow become unclaimed which is easy to fix.

I have a script, which you put in /share/Public and then run from the SSH command line. It will reclaim the server for you (when you give it a claim token)

Instructions and examples are here in the README.md

Thank you so much for taking the time to help me.

I did try and follow your instructions, but I got a bit lost part the way though. Not surprising really as i’m 65 years old, well I will be on Dec 9, and what I know about computers is self taught. I’m more use to using a GUI and clicking of things to get them to work. Therefore, when it comes to using a Windows sotware program like PuTTY and Bitvise to enter or copy and paste text into a command line, I don’t awlays get it right first time and it takes a bit of trial and error to get there. Also some of the instructions, such as ‘Elevate command line privileges to ‘root’ (sudo sh)’ don’t mean a thing to me :slight_smile:

Anyway, over the weekend, if I get time, I will have another go at following your instructions.

Once again, thanks for your time and patience.

Regards

David

I had another go at following your instructions, but after a few hours I was getting nowhere. Therefore, I decied I was going to try two things. One of which was delete my plex server and associated files from the QNAP NAS. But first I did the following and it worked for me.

I noticed that the Preferences.xml file found here: /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server, was 2kb in size, but on opening it with an editor there was not text to be found as it was completely blank. I then did the following:

  1. Stopped the Plex app on QNAP NAS

  2. Used WinSCP program to go to /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server and deleted the Preferences.xml

  3. Restarted Plex app on the QNAP NAS

  4. A new Preferences.xml was been created in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server and it was 1kb in size

  5. Stopped the Plex app on the QNAP NAS

  6. After a minute or two I restarted the Plex app on the QNAP NAS

  7. I used a web browser to go http://192.168.0.20:32400/web (192.168.0.20 is the ip address for my Plex Server on the QNAP NAS)

  8. After loggining into Plex using the url in 7 above, I was able to go into settings and re-add my media libraries under the Manage Tab.

Now everything is back to normal. I’m not sure if it was plain luck that this worked, but it was worth a try, because the next action I was going to do was delete the server and all associated files and folders for Plex, except for my media libraries.

Once again I thank you for your help. I have no doubt that your instructions would have sorted the problem, if only i’d been able to follow them, with my limited knowledge of SSH and entering commands.

Best regards

David