Plex on QNAP In Unreachable

Server Version#: 1.14.1.5488-cc260c476_x86_64
QNAP: TS-251+
Fimware: 4.3.6.0805

Hello Guys,

I have been using Plex for a while now on my QNAP TS-251+ NAS, and I haven’t had any issue like this before. Yesterday an update was of the Malware Removal application on QNAP was installed, and it seems it has broke my Plex setup. After it’s run I wasn’t able to reach my Plex installation on the storage at all. I removed the Malware Removal, but did not help, I tried to install Plex again, also to remove and re-install Plex, but it still doesn’t work. It seems on the QNAP, that the Plex server is running, I can see it in the command line too, now I’m able to connect to the web UI on port 32400, but it says 'The server “JUHIQNAP” is unreachable. Make sure it’s running, double check your network, and try again.", so it seems some of the services are still not up and running.

Can you please provide some help how to investigate/try to fix my Plex server?

Thank you in advance!

For a start, navigate to the install dir, and type ./plex.sh stop

Then type ps aux|grep Plex and kill any hanging processes
Then type ./plex.sh start

And if above doesn’t help, grap the logs and upload as a zip

Hi Dane,

Thanks for the suggestion, but it did not help. Here is some update:
It seams, I only saw the web GUI because of some cache or similar, through myqnapcloud, but when I’m on the local network the website is unreachable, like nothing would been listening. Also, on the storage (altough ps aux says Plex is running) netstat -lt | grep 32400 show the following:

tcp        0      0 bugs.clamav.net:32400   bugs.clamav.net:*       LISTEN

I attached the logs I found under

/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Logs/

Logs.zip (112.1 KB)

Are you saying, that Clamav use the same port?

If so, then check if that can be customized, cuz Plex can’t regarding the port

I think clamav pick random unused ports. Earlier this was not there and just nothing was listening on that port. I can see some errors in the logs, just don’t know how to interpret them

If so, unload ClaimAV, start Plex, then ClamAv

If I knew how to do that. :slight_smile: I unticked the antivirus in the control panel, but the port is still in netstat, and there are no clamav related processes in ps.

Errors after uninstall and install of Plex:

cat Plex\ Media\ Server.log | grep ERROR
Jan 22, 2019 19:52:11.786 [0x7f6234703800] ERROR - SQLITE3:0x10, 1, duplicate column name: grandparent_guid
Jan 22, 2019 19:52:11.787 [0x7f6234703800] ERROR - SQLITE3:0x10, 1, duplicate column name: originally_available_at
Jan 22, 2019 19:52:21.449 [0x7f6234703800] ERROR - SQLITE3:0x10, 1, duplicate column name: grandparent_guid
Jan 22, 2019 19:52:21.449 [0x7f6234703800] ERROR - SQLITE3:0x10, 1, duplicate column name: originally_available_at
Jan 22, 2019 19:52:35.470 [0x7f6225f35700] ERROR - Error issuing curl_easy_perform(handle): 7
Jan 22, 2019 19:52:35.551 [0x7f6234703800] ERROR - Transcoder: Error cleaning old transcode sessions: boost::filesystem::directory_iterator::construct: No such file or directory: "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Cache/Transcode/Sessions"
Jan 22, 2019 19:52:35.652 [0x7f6225c47700] ERROR - SQLITE3:0x10, 14, cannot open file at line 34876 of [fc49f556e4]
Jan 22, 2019 19:52:35.652 [0x7f6225c47700] ERROR - SQLITE3:0x10, 14, os_unix.c:34876: (2) open(/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Cache/gn_lists.gdb) - No such file or directory
Jan 22, 2019 19:52:36.643 [0x7f6225c47700] ERROR - SQLITE3:0x10, 14, cannot open file at line 34876 of [fc49f556e4]
Jan 22, 2019 19:52:36.643 [0x7f6225c47700] ERROR - SQLITE3:0x10, 14, os_unix.c:34876: (2) open(/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Cache/gn_lists.gdb) - No such file or directory
Jan 22, 2019 19:52:37.553 [0x7f62277ff700] ERROR - Network Service: Error in browser handle read: 125 (Operation canceled) socket=-1

Hmmmm…

If disabled in QTS, I guess a reboot is your only option then, but never used ClamAV, so no idea about it’s process name

Restarting…

The same error happens, but that ■■■■■■ clamav is still on that port:

cat Plex\ Media\ Server.log | grep ERROR
Jan 22, 2019 19:52:11.786 [0x7f6234703800] ERROR - SQLITE3:0x10, 1, duplicate co lumn name: grandparent_guid
Jan 22, 2019 19:52:11.787 [0x7f6234703800] ERROR - SQLITE3:0x10, 1, duplicate column name: originally_available_at
Jan 22, 2019 19:52:21.449 [0x7f6234703800] ERROR - SQLITE3:0x10, 1, duplicate column name: grandparent_guid
Jan 22, 2019 19:52:21.449 [0x7f6234703800] ERROR - SQLITE3:0x10, 1, duplicate column name: originally_available_at
Jan 22, 2019 19:52:35.470 [0x7f6225f35700] ERROR - Error issuing curl_easy_perform(handle): 7
Jan 22, 2019 19:52:35.551 [0x7f6234703800] ERROR - Transcoder: Error cleaning old transcode sessions: boost::filesystem::directory_iterator::construct: No such file or directory: "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Cache/Transcode/Sessions"
Jan 22, 2019 19:52:35.652 [0x7f6225c47700] ERROR - SQLITE3:0x10, 14, cannot open  file at line 34876 of [fc49f556e4]
Jan 22, 2019 19:52:35.652 [0x7f6225c47700] ERROR - SQLITE3:0x10, 14, os_unix.c:3 4876: (2) open(/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Cache/gn_lists.gdb) - No such file or directory
Jan 22, 2019 19:52:36.643 [0x7f6225c47700] ERROR - SQLITE3:0x10, 14, cannot open  file at line 34876 of [fc49f556e4]
Jan 22, 2019 19:52:36.643 [0x7f6225c47700] ERROR - SQLITE3:0x10, 14, os_unix.c:34876: (2) open(/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Cache/gn_lists.gdb) - No such file or directory
Jan 22, 2019 19:52:37.553 [0x7f62277ff700] ERROR - Network Service: Error in browser handle read: 125 (Operation canceled) socket=-1
Jan 22, 2019 20:01:38.238 [0x7f62277ff700] ERROR - Network Service: Error in advertiser handle read: 125 (Operation canceled) socket=61

Weird, this disappears when Plex is stopped, and appears when it is started:

netstat -lt | grep 32400
tcp        2      0 bugs.clamav.net:32400   bugs.clamav.net:*       LISTEN

So probably it is normal, and just the setting of services or something makes netstat say it’s clamav.

Allow me to butt in :slight_smile:

Can you have a look at /etc/clamd.conf (not sure this is the exact location on the QNAP)?

Phil

I was trying to find it, but could not. :confused: Anyway, it seems that ClamAV is stopped already as ps doesn’t show anything, but Plex is not reachable.

I’m running out of ideas :confused:

Please upload a full zip with PMS logs, instead of a simple snip

I uploaded an hour ago in previous comment

Shame on me, and digging onto it :wink:

Thank you very much! I hope you can see something

According to the logs, all is well?

So http://192.168.80.220:32400/web doesn’t work for you?

This site can’t be reached

juhiqnap.myqnapcloud.com unexpectedly closed the connection.