Plex not starting after upgrade - QNAP

Server Version#:1.28.0.5999-97678
Hi All,

Since the last two versions of the Plex server, it is impossible to restart it after the upgrade on my two QNAP (QTS 5.0.0.2055)

The only way to make Plex work again is to reboot the QNAPs.

Would you have any idea why ?

Thanks and regards,
Patrick

Next time it happens, please upload a zip with PMS Logs set to debug level, not verbose

Plex Media Server.1.log (1.7 MB)
Hello,
Thanks for your answer.
Here is the latest server log file.
Thanks and regards,
Patrick

I get this on my QNAP also for multiple releases over the last few months including this one just now. I always just then install the last good one (PlexMediaServer-1.27.0.5897-3940636f2-x86_64.qpkg). I’ve tried stopping and starting PMS after install but it still never works. It’s just a pain. Here’s my logs in case it helps. I just reinstalled the old version mentioned and it loads to no problem. BTW, QNAP says PMS is started but I get a 404 page error when trying to get to it.

Plex Media Server Logs_2022-08-04_12-13-51.zip (4.4 MB)
to reboot the NAS so I haven’t tried it. I have the TS-453Be

I see two things, where one is a faulty install

From your log:

[0x7f4b308cdb38] WARN - Warning: ex: boost::filesystem::last_write_time: No such file or directory: "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-a806c5905", couldn't check file: "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-a806c5905"

I recommend downloading the latest version, and reapply on top

2nd issue is that something is wrong here with your network ?

Again from your log:

Aug 04, 2022 10:32:54.887 [0x7f4b307e6b38] DEBUG - Network interfaces:
Aug 04, 2022 10:32:54.887 [0x7f4b307e6b38] DEBUG -  * 1 lo (127.0.0.1) (00-00-00-00-00-00) (loopback: 1)
Aug 04, 2022 10:32:54.887 [0x7f4b307e6b38] DEBUG -  * 9 vethgw01 (253.253.253.253) (5A-07-1C-B1-C0-76) (loopback: 0)

So please describe your network setup a bit, and also…Are you running the QNAP firewall?

Please apply the latest version on top of it, and then if still a problem post a fresh set of logs

I tried applying the version mentioned originally. 1.28.0.5999-97678. I did this earlier today and then I get the 404 error when trying to load Plex in the web browser like I always do. So I can’t get the logs through the web Plex interface. I stopped and restarted PMS through the QNAP which seems to go fine. Then I reinstall the older version and everything works again. Then I pulled the logs hoping they would have all the info from the new install and the old reinstall. I think I saw somewhere on Plex’s site how to manually get the logs, so I will try that before reinstalling the old version.
Networking: I use the two built in 1Gbe and two 2.5Gbe ports on an internal QNAP card that also holds 2 2TB NVMe M.2 chips for cache. All four ports are port trunked into one with a managed switch. Is there some specific you would want to know about it? Though I and some friends get a message that the connection is indirect and may affect performance or something like that. Not sure when that started. Maybe when I disabled UPnP due to getting ransomware. We can still watch everything though and haven’t noticed a performance issue.

I am not running QuFirewall. I assume that’s the one you’re talking about. It’s not installed.

Does it support LACP/802.3ad ?

It’s a new switch as my old one got fried by lightning a couple months ago. I would think it does as I checked the QNAP and have it set to 802.3ad dynamic according to the screen shot.
image

It’s a Netgear GS316EP. I just looked at the admin page and find no mention of it. I also downloaded the manual and find no mention of 802.3ad. So maybe I have the QNAP set wrong?

For a short test, unplug all but one interface on the qnap, reboot, and try an upgrade

That did not work. Same results.

I installed the old version while still leaving the 3 cables unplugged and it loaded up fine once done.

Hello Dane,

I already tried to re-install the latest version of itself, but same result.

Regarding the network, both NAS are connected to a GB switch which support LACP but is not set.

I do not use QNap firewall, but I’ve made a small change on my router firewall.
I will test when Plex release a new server version.

But as written on my original post, there was no issue in the past (about 2 months ago).
It started to happen with the couple of last server versions.

Thanks and regards,
Patick

I really need the logs right after seen this!
Ref: Qnap faq.....read me first! - #5 by ChuckPa

Logs.zip (5.7 MB)

Here’s the zipped up logs directory.

From your log:

Aug 04, 2022 18:29:24.827 [0x7f3b55c6f0d0] DEBUG - HttpServer: Listening on IPv6 as well as IPv4.
Aug 04, 2022 18:29:24.827 [0x7f3b55c6f0d0] ERROR - HttpServer: Error binding acceptor: Address in use
Aug 04, 2022 18:29:24.827 [0x7f3b55c6f0d0] ERROR - HttpServer: Error opening acceptor on IPv6, falling back to IPv4: Address in use
Aug 04, 2022 18:29:24.827 [0x7f3b55c6f0d0] ERROR - HttpServer: Error binding acceptor: Address in use

So something is still listening on the ports

So first of all, do you really use IPv6?
And if not, then suggest you disable it, and restart QNAP afterwards

And if above doesn’t help, do you know how to connect to your QNAP via SSH?

I don’t use IPv6. Didn’t know it was enabled. I will disable it. I unplugged the 3 port at the managed switch instead of from the back of the Qnap as that’s much easier to access. That wouldn’t make a difference, would it?

*I accidentally replied through my email and didn’t realize that I got a bouncer back till now.

And yes, I do know how to use SSH to connect. I will try to reboot in a bit. I just disabled IP6 and will double check the 802.3ad to see if it’s supported by the switch. If not I will set it to another mode.

1 Like

After screwing up my networks setting regarding LACP and having to get in to the command line directly plugged, I got all the network stuff reset. It’s back to 802.3ad which might not be right but works. Doc says my switch does not support LACP but the web admin for has a toggle for it. So I would think that network stuff is the same. I did disable the IP6 and reboot. The newest version of PMS then worked after installation.

Thanks.

To be frank, I sadly do suspect this would come back and bite you later on

And do you really need that much bandwidth in and out of your QNAP?