Plex server issue - Unable to connect SOLVED

Server Version#:1.30.0.6406-f3f2fcc0a
Player Version#: 1.57.1.3358-5fd2a504

I could not open Plex Server on my QNAP NAS - it worked till 16th of Nobember. It shows only error message, re-installing of Plex did not work neither rebooting of NAS.

Unable to connect

Firefox can’t establish a connection to the server at 192.168.1.20:32400.

The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer’s network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the web.

Please upload a zip with PMS Logs

There are logs in zip file. Also behavior changed, local media were visible with Exlamation mark (not accessible), now no own media are shown in Plex player. It shows info that for adding own media server has to be installed (with a link to download server from Plex web site).
Logs.zip (23.4 KB)

At first glance your PMS is getting 192.168.1.226 these days, but then again,
there’s something up with your network when it thinks QNAP is Windows. :slight_smile:

Nov 18, 2022 18:55:22.674 [7980] INFO - Plex Media Server v1.29.1.6260-420892357 - Microsoft PC x64-x64 - build: windows-x86_64 windows - GMT 01:00
Nov 18, 2022 18:55:22.674 [7980] INFO - Windows version: 10.0 (Build 19044), language cs-CZ
Nov 18, 2022 18:55:22.674 [7980] INFO - 2 3000 MHz processor(s): Architecture=9, Level=6, Revision=5898 Processor Identifier=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
Nov 18, 2022 18:55:22.674 [7980] INFO - Compiler is - MSVC 1929


Nov 18, 2022 18:55:22.969 [6852] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 18, 2022 18:55:22.973 [6852] DEBUG - NetworkInterface: ignoring adapter 'Ethernet' (fe80::da1c:f1bb:c947:d96%9,169.254.164.25) because it has no gateway
Nov 18, 2022 18:55:22.976 [6852] DEBUG - NetworkInterface: ignoring adapter 'Loopback Pseudo-Interface 1' (::1,127.0.0.1) because it has no gateway
Nov 18, 2022 18:55:22.976 [6852] DEBUG - Detected primary interface: 0.0.0.0
Nov 18, 2022 18:55:22.976 [6852] DEBUG - Network interfaces:
Nov 18, 2022 18:55:22.976 [6852] DEBUG -  * 11 Ethernet 2 {817A07AD-E1B9-4ECE-97C3-7AEDD2E40492} (192.168.1.226) (00-22-15-0F-A9-40) (loopback: 0)

1 Like

192.168.1.226 is IP of my PC where Plex player sits. Plex server is on QNAP 192.168.1.20. QNAP server runs without any issue, it is accessible from network issue is with Plex Server only - http://192.168.1.20:32400 shows unable to connect. Stop and Start of Plex Server does not help, it is still showing this error message when I try to Open it. Also re-install of the latest Plex Server does not help, still the same issue.

With or without intending to, you have installed PMS on your Windows 10 PC.
You zipped up the logs from it. When PMS starts, it told you that in the first two lines.

Nov 18, 2022 18:55:22.674 [7980] INFO - Plex Media Server v1.29.1.6260-420892357 - Microsoft PC x64-x64 - build: windows-x86_64 windows - GMT 01:00
Nov 18, 2022 18:55:22.674 [7980] INFO - Windows version: 10.0 (Build 19044), language cs-CZ

Here is how to uninstall plex media server on that PC.

onto your qnap

  1. Tell us your network setup. PMS on QNAP expects eth0, a static IP, and excellent DNS.
  2. Check whether PMS thinks it’s claimed at http://192.168.1.20:32400/identity
    • If it says claimed="1" then it thinks it has an owner.
    • if it says claimed="0" then it needs to be re-claimed by you.
  3. Check for other instances of PMS
    • After doing a SSH login, you would type → pidof 'Plex Media Server'
    • If it lists more than one number, there’s a ghost running.
  4. Gracefully exit any ghost PMS processes with the app center + reboot trick, and use the reboot to return to a known starting position with clean log files.
    • Log into the QNAP desktop as admin
    • Go into App Center, locate the Plex Media Server app and Stop it.
    • Reboot the QNAP, which can take about 10min.
    • Go into App Center and Start your PMS.
    • Wait at least a few minutes for PMS to start up gracefully.
    • Is your issue resolved?
  5. If the problem persists, gather log files manually.
    • In the QNAP desktop as admin use File Station and open
      /share/PlexData/Plex Media Server
    • Right click on LogsCompressLogs-lope400
    • drag the zip file it left in PlexData and drop it into your reply.

good luck!

Thanks for your help.

It is strange that PMS is installed on PC, however I uninstall Plex, clear both registery and local app data.

  1. What details you want to see? Static IP adress is 192.168.1.20
  2. This site shows again Unable to connect.
  3. Connected via SSH, type pidof 'Plex Media Server' and nothing happen. Should I be in some specific folder? Also checked list of enabled applications via SSH menu and it shows PMS as started.
  4. Tried multiple times, it did not resolve an issue.
  5. I have not find this folders but I can see Plex data in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer. Logs are is in /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server and attached.
    Logs.zip (1.0 MB)

So should I try (Re-)Claiming even if I could not check if it is claimed or not? Or is there other way how to check it?

You have a corrupt database which is crashing your server. Here’s the last line in your
Plex Media Server.log

Nov 19, 2022 12:03:59.947 [0x7fbdbe5caad0] ERROR - SQLITE3:0x80000001, 11, database corruption at line 70099 of [1b256d97b5]

This looks like a job for PlexDBReapair! You can grab the “latest” release in the right hand column. You want to look at the Typical Usage desribed in the README. Usage (A) or (B) applies to you with a malformed or corrupt DB. It’s easy to replace and see if that PMS works, because PMS makes automatic backups every 3 days as a scheduled task.

Replace is done with Check → Replace → Reindex
Repair is done with Check → Repair → Reindex

You probably don’t have to re-claim it :slight_smile:

1 Like

Replace option worked and Plex no runs without any issue. Thank you very much for your help!

1 Like

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