QNAP 5.0 N5boost10wrapexceptINS 6system12system_errorEEE error message

Server Version#:-1.25.5.5492
Player Version#:-

Since I upgraded to -1.25.5.5492 on QNAP 5.0 the server stops working intermittently and when I want to restart the following error message appears:
Only reboot can fix the problem.

I downgraded back to 1.25.3.5385, issue is gone
Starting Plex Media Server…
[~] # Error: Unable to set up server: listen: Address in use (N5boost10wrapexceptINS_6system12system_errorEEE)

@makohorv

Please update to 1.25.6.

You’ll find the problem resolved.

There was a compatibility issue between PMS and QTS 5.0

I resolved it. That update to the control scripting is available as of 1.25.6.

Sorry,
but I also had 1.25.6.5577, but the same happened just after a couple of hours after the upgrade. I downgraded back to 1.25.5

I would be very interested to see which process(es) is/are stuck when this happens.

The known issue with the Plex EAE service was resolved

The only thing I can think of is restarting PMS faster than QTS is closing the ports.

When it stopped and you then restarted (with failure), did you click to “stop” again ?

(I’m trying to figure out the actions taken here because I must have missed something in spite of all the crazy ways I tried)

Hi,
yes first tried to restart, but then stop, wait like 5 mins, then again start. Still same error. Looks like the stopping script not closes some listening ports.
The only way was to restart the whole nas.

TO ALL FOLLOWING HERE:

Anyone feeling daring? :smiling_imp:

I found it.
:see_no_evil: :gun:

If willing to make a small edit to plex.sh

  1. Stop Plex (be patient with it)
  2. From the QTS ssh command line (as admin user so you can modify the script)
sed -i '197 i export PLEX_MEDIA_SERVER_PIDFILE=$PID_FILE' /share/*/.qpkg/Plex*/plex.sh
  1. Start Plex.
  2. This corrects not stopping fully for some users.

It’s just a patch until approved and released :crossed_fingers: (QUICKLY)

PMS should now stop and restart cleanly each time.

Please report results.

I apologize for the inconveniences this has caused.

Hi,
still not okay something. After stop it is still not possible to start. From GUI:
Warning 2022-02-28 15:23:49 System 127.0.0.1 App Center App Status Change [App Center] Failed to start Plex Media Server. QTS does not support this Plex Media Server version. Check for updates in “App Center” or on the official app website.

From CLI:
[~] # sed -i ‘197 i export PLEX_MEDIA_SERVER_PIDFILE=$PID_FILE’ /share//.qpkg/Plex/plex.sh
[~] # /share//.qpkg/Plex/plex.sh start
PlexMediaServer is disabled.
[~] # /share//.qpkg/Plex/plex.sh stop
Plex Media Server hasn’t been enabled or started…

I think the problem is that 1.25.5 was still intalled, after upgrade to 1.25.6.5577 the script started to work. I keep monitoring.

The initial changes I made for QTS 5.0 landed in 1.25.6

I didn’t realize (because I didn’t ask) which version was being used. i ASSUMED 1.25.6.

The line 197 addition above will only work in 1.25.6

TO ALL FOLLOWING:

If you are experiencing problems with script control.

  1. Please update to 1.25.6
  2. Retest.
  3. Seek further assistance if the problem persists in 1.25.6.