# Plex server issue - Unable to connect SOLVED

**URL:** <https://forums.plex.tv/t/plex-server-issue-unable-to-connect-solved/819017>\
**Category:** Plex Media Server\
**Tags:** server-qnap\
**Created:** [November 18, 2022, 8:52am UTC](https://forums.plex.tv/t/plex-server-issue-unable-to-connect-solved/819017 "2022-11-18T08:52:32Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![lope400](https://avatars.discourse-cdn.com/v4/letter/l/b5a626/32.png) [@lope400](https://forums.plex.tv/u/lope400)\
**Post date:** [November 18, 2022, 8:52am UTC](https://forums.plex.tv/t/plex-server-issue-unable-to-connect-solved/819017/1 "2022-11-18T08:52:32Z")

</div>

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.

```

---

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [November 18, 2022, 10:59am UTC](https://forums.plex.tv/t/plex-server-issue-unable-to-connect-solved/819017/2 "2022-11-18T10:59:37Z")

</div>

Please upload a zip with [PMS Logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/)

---

<div class="post-metadata">

**Author:** ![lope400](https://avatars.discourse-cdn.com/v4/letter/l/b5a626/32.png) [@lope400](https://forums.plex.tv/u/lope400)\
**Post date:** [November 18, 2022, 6:07pm UTC](https://forums.plex.tv/t/plex-server-issue-unable-to-connect-solved/819017/3 "2022-11-18T18:07:03Z")

</div>

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](https://forums.plex.tv/uploads/short-url/gIHaiKCyuqGOk6TEFI9YzofW0be.zip) (23.4 KB)

---

<div class="post-metadata">

**Author:** ![nibbles](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/nibbles/32/150497_2.png) [@nibbles](https://forums.plex.tv/u/nibbles)\
**Post date:** [November 18, 2022, 7:50pm UTC](https://forums.plex.tv/t/plex-server-issue-unable-to-connect-solved/819017/4 "2022-11-18T19:50:41Z")

</div>

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. 🙂

```auto
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)

```

---

<div class="post-metadata">

**Author:** ![lope400](https://avatars.discourse-cdn.com/v4/letter/l/b5a626/32.png) [@lope400](https://forums.plex.tv/u/lope400)\
**Post date:** [November 19, 2022, 6:35am UTC](https://forums.plex.tv/t/plex-server-issue-unable-to-connect-solved/819017/5 "2022-11-19T06:35:04Z")

</div>

> [@nibbles](#):
>
> 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.

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](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.

---

<div class="post-metadata">

**Author:** ![nibbles](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/nibbles/32/150497_2.png) [@nibbles](https://forums.plex.tv/u/nibbles)\
**Post date:** [November 19, 2022, 10:10am UTC](https://forums.plex.tv/t/plex-server-issue-unable-to-connect-solved/819017/6 "2022-11-19T10:10:29Z")

</div>

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.

```auto
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](https://support.plex.tv/articles/201941078-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](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 `Logs` → `Compress` → `Logs-lope400`
  - drag the zip file it left in `PlexData` and drop it into your reply.

good luck!

---

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [November 19, 2022, 11:41am UTC](https://forums.plex.tv/t/plex-server-issue-unable-to-connect-solved/819017/7 "2022-11-19T11:41:25Z")

</div>

> [@(Re-)Claiming a QNAP Plex Media Server](https://forums.plex.tv/t/re-claiming-a-qnap-plex-media-server/806674):
>
> (Re-)Claiming a QNAP based Plex Media Server: Note: When browsing towards your QNAP, you need to use the IP Address of it. If in doubt, you can see it in QFinder [image] [Check server status](#Status)[Claiming PMS](#Claim)[Claiming PMS via a browser Normal](#ClaimBrowser)[Claiming PMS via a browser Remote (SSH Tunnel)](#ClaimBrowserRemote)[Claiming PMS via 3rd. Party](#Claimit)[Claim PMS via another 3rd. Party script](#Claimit2)PMS Status Before we start, we need to make sure that the Plex Media Server (PMS) is not claimed To check, browse to http://\<IP\_OF…

---

<div class="post-metadata">

**Author:** ![lope400](https://avatars.discourse-cdn.com/v4/letter/l/b5a626/32.png) [@lope400](https://forums.plex.tv/u/lope400)\
**Post date:** [November 19, 2022, 11:55am UTC](https://forums.plex.tv/t/plex-server-issue-unable-to-connect-solved/819017/8 "2022-11-19T11:55:40Z")

</div>

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](https://forums.plex.tv/uploads/short-url/7AzdEeEd4JJKEFIRbYzBZA0wXSV.zip) (1.0 MB)

---

<div class="post-metadata">

**Author:** ![lope400](https://avatars.discourse-cdn.com/v4/letter/l/b5a626/32.png) [@lope400](https://forums.plex.tv/u/lope400)\
**Post date:** [November 19, 2022, 1:07pm UTC](https://forums.plex.tv/t/plex-server-issue-unable-to-connect-solved/819017/9 "2022-11-19T13:07:07Z")

</div>

> [@(Re-)Claiming a QNAP Plex Media Server](https://forums.plex.tv/t/re-claiming-a-qnap-plex-media-server/806674/1):
>
> (Re-)Claiming

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?

---

<div class="post-metadata">

**Author:** ![nibbles](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/nibbles/32/150497_2.png) [@nibbles](https://forums.plex.tv/u/nibbles)\
**Post date:** [November 19, 2022, 4:22pm UTC](https://forums.plex.tv/t/plex-server-issue-unable-to-connect-solved/819017/10 "2022-11-19T16:22:03Z")

</div>

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

```auto
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!](https://github.com/ChuckPa/PlexDBRepair) You can grab the “latest” release in the right hand column. You want to look at the [Typical Usage](https://github.com/ChuckPa/PlexDBRepair#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 🙂

---

<div class="post-metadata">

**Author:** ![lope400](https://avatars.discourse-cdn.com/v4/letter/l/b5a626/32.png) [@lope400](https://forums.plex.tv/u/lope400)\
**Post date:** [November 19, 2022, 5:17pm UTC](https://forums.plex.tv/t/plex-server-issue-unable-to-connect-solved/819017/11 "2022-11-19T17:17:59Z")

</div>

> [@(Re-)Claiming a QNAP Plex Media Server](https://forums.plex.tv/t/re-claiming-a-qnap-plex-media-server/806674/1):
>
> http://\<IP\_OF\_QNAP\>:32400/identity

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [February 17, 2023, 5:18pm UTC](https://forums.plex.tv/t/plex-server-issue-unable-to-connect-solved/819017/12 "2023-02-17T17:18:40Z")

</div>

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