QNAP TVS-1282, Plex crashing more and more often

Raised on behalf of sluquet (from Temp Discourse category on old forums)

@sluquet

Hi, I’m running Plex on a QNAP TVS-1282, and the last week I’ve been getting more and more crashes (server just stops responding). It started out maybe once every two days, but now I’m down to at least three times a day. In the beginning I could just stop the Plex service in the QNAP GUI and restart it and it started running, now that doesn’t work and I need to reboot the whole NAS to get it up and running again. I just tried optimizing the database since last reboot 30 minutes ago, not sure if that will help. Any ideas would be very helpful! Attached are the logs.

I found a number of crash reports from your server. The crashes appear to be to do with the NAT/uPnP requests the server is sending to the router to establish the public IP address. A response is being returned by the router that is leading to the crash. last crash Jun 19, 2018 23:25:19.

I will pass it on to the development team but if the crash can easily be reproduced and you can have wireshark running to capture traffic between the QNAP and the router then that would help and show what response the router is coming back with

If you can do that - please save as pcap file and send to me privately together with the logs leading up to the crash

1 Like

As additional information please: What QTS firmware version are you using?

(I have a TVS-1282 here as my primary PMS)

Thanks alot! I am running firmware 4.3.4 build 20180528. I will try running wireshark to capture the traffic, but after I had 3-4 crashes in a day (same day I wrote this topic) I got a bit fed up and deleted the Plex app and installed it again. Been stable so far since, so not sure when the next crash will be :slight_smile:

The router I am running is a Ubiquiti USG firmware 4.4.22.

You want to verify the TVS is 4.3.4.0597 build 20180528 (which sounds right based on build date) I cannot speak to the Ubiquiti as I use Netgate pfSense and have no UPnP errors.

Confirmed. Plex has been running good since I reinstalled it so I have no wireshark-logs to give you yet.

I have been running Plex server on my TVS-1282 ( no T) since I bought it 2-3 months ago. My router is a Asus RT-AC88U

I have had plenty of issues with the qnap software but not one with Plex! I have PMS running on an 2x 250GB Samsung 860 SSD Raid 1

My Plex library is pretty big so if you have issues by all means send me a message.

Excellent

If the crashes come back and you notice NAT and uPnP log lines just before the crash then look into getting wireshark and logs

Jun 19, 2018 23:25:19.791 [0x7f698d112700] DEBUG - NAT: UPnP, not an IGD: <http://192.168.0.168:80/description.xml>.
Jun 19, 2018 23:25:19.804 [0x7f698d112700] DEBUG - NAT: UPnP, found device <http://192.168.0.168:80/description.xml> with private address <192.168.0.105>
Jun 19, 2018 23:25:19.804 [0x7f698d112700] DEBUG - NAT: UPnP, not an IGD: <http://192.168.0.168:80/description.xml>.
Jun 19, 2018 23:25:19.804 [0x7f698d112700] DEBUG - NAT: UPnP, getPublicIP didn't find usable IGD.
Jun 19, 2018 23:25:19.804 [0x7f698d112700] WARN - NAT: PMP, got an error: Not Supported by gateway.

Jun 19, 2018 23:25:19.875 [0x7f698d112700] DEBUG - Job running: '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/CrashUploader' '--directory=/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Crash Reports/1.13.2.5154-fd05be322' '--version=1.13.2.5154-fd05be322' '--platform=linux-ubuntu-x86_64 (4.2.8 (#1 SMP Mon May 28 09:41:12 CST 2018))' '--serverUuid=52f83856a1cba83ea9b100827b323a447edfcfbc' '--userId=xxxxx.xxxx@xxxxx.xxxx' '--url=https://crashreport.plexapp.com'

Thank you all for taking the time to help me. Would specifying port 32400 manually under settings - remote access disable Plex attempting to go online with upnp?

Yes it would but … we also use uPnP to try and find out the Public IP Address from the router - if it fails it does not matter - it is an extra check which helps detecting for example Double NAT

I see. The server has been rock stable since I reinstalled it, and I noticed I have it running on manual port 32400.

Had two crashes last week, the last one just an hour ago. Same errors regarding the UPnP even though my Plex server is set to use a manual port. Attached are some fresh logs.Plex Media Server Logs_2018-07-03_15-23-27.zip (4.1 MB)

Yes it is the same crash - happened at these times
Jun 29, 2018 20:14:14
Jul 03, 2018 15:20:05

But I am thinking now it may be consequential - after something else going wrong

Looking at the last crash at 15:20:05 on Jul 03 - there was actually a lockout earlier and the last request that the server processed was at 13:50:12

I will have the dumps for the crash investigated as a deadlock issue now

I do have a test development build with fixes for lockouts that I made available to a few users and I can make available to you to see if it makes a difference.

I will send you a link by private message

Awesome, thank you so much :slight_smile:

Plex Media Server version 1.13.4.5251 has just been released as beta. It has fixes for two deadlocks following investigations from diagnostics provided in this forum thread

See Release Notice Plex Media Server

  • (Playback) Rare deadlock with stopping sessions (#8659)
  • (Streaming Brain) Rare deadlock involving bandwidth limits (#8498)

Thank you so much for the follow up, installing the beta now :slight_smile: Server has been running great since I installed the dev-build you gave me!

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