Preventing problems with Plex when upgrading to Synology Dsm 7.1 formal release

I use my Synology NAS which is running non beta DSM 7.0 to host my Plex server. My goal is to not disrupt the usability of Plex so I’m going to hold off updating to DSM 7.1 until there is an official Plex version that runs on DSM 7.1

My problem is I don’t see anywhere that Plex maintains a list of plex and DSM approved version pairs. So How do I handle this and not run the risk of disruption to my Plex service? I don’t want to just roll the dice…

Now that DSM 7.1 is final release, you area 100% safe to upgrade.

There were problems with the DSM 7.1 BETA.

As I’ve stated here in the forums, given the problems with the DSM 7.0 beta and 7.1 beta, it has been decided that our policy of not supporting Beta OS distributions has been extended to include NAS platforms.

Once in Final Release form, DSM 7.1 was fully compatible with the existing PMS package. No changes were required.

With that said, again, you’re 100% safe to upgrade to DSM 7.1 Final Release.

3 Likes

This is not true @ChuckPa
I have DS1819+ with DSM 7.1-42661 Update 1
running Plex Server 1.26.1.5772-7000
I have PlexAmp and Plex App working just fine on iPhone XS Max but Plex Dash can’t connect to the server on ths same device nether on locan net nor throught cell internet (cant see graphs nor labraries).
Also it works perfectly on local Apple TV but nether Windows App not web interface can’t see my server anymore on my PC even if clicking PLEX icon on Synology interface.
Newer got this before with 7.0 nor 7.01
No changes to firewalls, etc. just updated DSM and installed latest server from plex.tv
Any Ideas what is it?

@s_per18

Would you mind sharing some more details?

  1. Which version of DSM did you upgrade from?
  2. Which version of PMS did you upgrade from?
  3. Are you using Synology QuickConnect ?

If you upgraded from DSM 6, was the migration successful or did it get interrupted?

If you updated PMS from a version lower than 1.25.0, did you allow enough time for the database changes to be completed (as shown by the CPU/Health widget on the Syno desktop) ?

When you have a chance, would you also:

  1. Stop Plex
  2. make a manual ZIP file of the Logs directory under PlexMediaServer/AppData/Plex Media Server and attach it ?
  1. I upgraded from 7.0.1-42218
  2. Not sure the number - it was version no more then 7-10 days old
  3. Yes
    I upgraded from 6 long time ago with no problem at all.
    Unfortunately I’m not sure if I upraded from 1.25.0 or later.
    I will get zip right away and try to attach it

Here is LOG zip
Logs.zip (2.3 MB)

Thanks for the logs.

I see a lot of issues but not the core issue (I think).

You turned off DEBUG logging (thinking you’d save space?).
All logs, regardless of logging level, are fixed at 10 MB each.
What this means is I don’t see what it was trying to do. I only can see resultant errors.

This is the most alarming:

Apr 27, 2022 01:27:56.358 [0x7efd5b52ab38] WARN - Took too long (0.120000 seconds) to start a transaction on /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 27, 2022 01:27:56.358 [0x7efd5b52ab38] WARN - Transaction that was running was started on thread 0x7efd59a93b38 at /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 27, 2022 01:27:56.375 [0x7efd59826b38] WARN - Took too long (0.110000 seconds) to start a transaction on /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 27, 2022 01:27:56.375 [0x7efd59826b38] WARN - Transaction that was running was started on thread 0x7efd5a0d5b38 at /data/jenkins/server/3529576666/Library/MetadataItem.cpp:7335
Apr 27, 2022 01:27:56.443 [0x7efd59d3db38] WARN - Took too long (0.150000 seconds) to start a transaction on /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 27, 2022 01:27:56.443 [0x7efd59d3db38] WARN - Transaction that was running was started on thread 0x7efd59826b38 at /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 27, 2022 01:27:56.508 [0x7efd59826b38] WARN - Took too long (0.120000 seconds) to start a transaction on /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 27, 2022 01:27:56.508 [0x7efd59826b38] WARN - Transaction that was running was started on thread 0x7efd59702b38 at /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 27, 2022 01:27:56.711 [0x7efd5aa75b38] WARN - SLOW QUERY: It took 1510.000000 ms to retrieve 1 items.
Apr 27, 2022 01:27:56.712 [0x7efd59d91b38] WARN - SLOW QUERY: It took 1490.000000 ms to retrieve 1 items.
Apr 27, 2022 01:27:56.713 [0x7efd5a823b38] WARN - SLOW QUERY: It took 1470.000000 ms to retrieve 2 items.
Apr 27, 2022 01:27:56.713 [0x7efd5a7f8b38] WARN - SLOW QUERY: It took 1460.000000 ms to retrieve 1 items.
Apr 27, 2022 01:27:56.715 [0x7efd59f01b38] WARN - SLOW QUERY: It took 1500.000000 ms to retrieve 1 items.
Apr 27, 2022 01:27:56.715 [0x7efd59ea2b38] WARN - SLOW QUERY: It took 1510.000000 ms to retrieve 2 items.
Apr 27, 2022 01:27:56.737 [0x7efd5a8f7b38] WARN - SLOW QUERY: It took 1550.000000 ms to retrieve 9 items.
Apr 27, 2022 01:27:56.739 [0x7efd59a93b38] WARN - Took too long (1.790000 seconds) to start a transaction on /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 27, 2022 01:27:56.739 [0x7efd59a93b38] WARN - Transaction that was running was started on thread 0x7efd59725b38 at /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 27, 2022 01:27:56.862 [0x7efd59748b38] WARN - Took too long (1.980000 seconds) to start a transaction on /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 27, 2022 01:27:56.862 [0x7efd59748b38] WARN - Transaction that was running was started on thread 0x7efd59a93b38 at /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 27, 2022 01:27:56.914 [0x7efd59702b38] WARN - Took too long (2.020000 seconds) to start a transaction on /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 27, 2022 01:27:56.914 [0x7efd59702b38] WARN - Transaction that was running was started on thread 0x7efd59748b38 at /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 27, 2022 01:27:56.951 [0x7efd59826b38] WARN - Took too long (2.060000 seconds) to start a transaction on /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 27, 2022 01:27:56.951 [0x7efd59826b38] WARN - Transaction that was running was started on thread 0x7efd59702b38 at /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 27, 2022 01:27:56.957 [0x7efd59d3db38] WARN - Took too long (2.050000 seconds) to start a transaction on /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 27, 2022 01:27:56.957 [0x7efd59d3db38] WARN - Transaction that was running was started on thread 0x7efd59826b38 at /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114

The database is grossly fragmented (not optimized).
It’s having the ripple effect of making all the other processes “time out” and fail.

Given the number of SLOW QUERY errors, with the media/metadata errors, is it correct to conclude you were ingesting a lot of new music media ?

Apr 21, 2022 21:07:12.597 [0x7efd7ace7b38] WARN - JobManager: Could not find job for handle 26880
Apr 21, 2022 21:07:16.406 [0x7efd7ace7b38] WARN - JobManager: Could not find job for handle 26791
Apr 21, 2022 21:13:20.268 [0x7efd76faeb38] WARN - NAT: PMP, timed out waiting for response.
Apr 21, 2022 22:13:20.452 [0x7efd76faeb38] WARN - NAT: PMP, timed out waiting for response.
Apr 21, 2022 23:13:20.741 [0x7efd77d68b38] WARN - NAT: PMP, timed out waiting for response.
Apr 22, 2022 00:13:21.040 [0x7efd77cd3b38] WARN - NAT: PMP, timed out waiting for response.
Apr 22, 2022 01:03:08.439 [0x7efd77baab38] WARN - SLOW QUERY: It took 390.000000 ms to retrieve 1 items.
Apr 22, 2022 01:03:08.958 [0x7efd77baab38] WARN - SLOW QUERY: It took 460.000000 ms to retrieve 1 items.
Apr 22, 2022 01:03:09.377 [0x7efd77baab38] WARN - SLOW QUERY: It took 400.000000 ms to retrieve 1 items.
Apr 22, 2022 01:03:11.686 [0x7efd77baab38] WARN - SLOW QUERY: It took 1990.000000 ms to retrieve 1 items.
Apr 22, 2022 01:03:11.809 [0x7efd7ace7b38] WARN - Held transaction for too long (/data/jenkins/server/3529576666/Library/MetadataCollection.cpp:479): 0.230000 seconds
Apr 22, 2022 01:03:11.937 [0x7efd7ace7b38] WARN - Held transaction for too long (/data/jenkins/server/3529576666/Library/MetadataCollection.cpp:479): 0.240000 seconds
Apr 22, 2022 01:03:18.068 [0x7efd77baab38] WARN - SLOW QUERY: It took 1680.000000 ms to retrieve 1 items.
Apr 22, 2022 01:04:40.248 [0x7efd77baab38] WARN - MDE: unable to find a working transcode profile for video stream
Apr 22, 2022 01:04:40.248 [0x7efd77baab38] WARN - MDE: unable to find a working transcode profile for video stream
Apr 22, 2022 01:04:40.250 [0x7efd77baab38] INFO - CodecManager: starting EAE at "/var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/tmp/pms-6e1f1a1a-ed77-4a98-a141-568b036c5117/EasyAudioEncoder"
Apr 22, 2022 01:08:10.188 [0x7efd77baab38] WARN - SLOW QUERY: It took 59470.000000 ms to retrieve 1 items.
Apr 22, 2022 01:13:21.436 [0x7efd77cd3b38] WARN - NAT: PMP, timed out waiting for response.
Apr 22, 2022 02:13:21.765 [0x7efd77d68b38] WARN - NAT: PMP, timed out waiting for response.
Apr 22, 2022 03:10:29.522 [0x7efd79e85b38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_c72e5e41ec2a110a41a1f99f470e62fbef8a052d).
Apr 22, 2022 03:10:46.818 [0x7efd79d8db38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_0bcb6b8e7c8597b4fadc344ee23a5679e8c48d7b).
Apr 22, 2022 03:11:09.742 [0x7efd77c0db38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_7fe30da0c5becfbebeb2961292636158a757a663).
Apr 22, 2022 03:11:27.038 [0x7efd77816b38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_5c925e832eb768e932450ed85eabb85954dc8222).
Apr 22, 2022 03:11:49.985 [0x7efd77cd3b38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_f3969e17f3132708b0a7abba8c2aaefce92be2c9).
Apr 22, 2022 03:12:07.957 [0x7efd77816b38] ERROR - Error bringing media local (metadata://art/tv.plex.agents.music_1f9124b71b1f77a9fa204739753389da12e7c882).
Apr 22, 2022 03:12:30.328 [0x7efd77cd3b38] ERROR - Error bringing media local (metadata://art/tv.plex.agents.music_f30bf9c9618696593483f1a4a318e2679a897b33).
Apr 22, 2022 03:12:49.043 [0x7efd77baab38] WARN - SLOW QUERY: It took 1420.000000 ms to retrieve 10 items.
Apr 22, 2022 03:13:21.968 [0x7efd79eeeb38] WARN - NAT: PMP, timed out waiting for response.
Apr 22, 2022 03:14:02.135 [0x7efd79ea8b38] ERROR - Error bringing media local (metadata://art/tv.plex.agents.music_36d7e1b69c2e01eae140cd96e39280dac892d06c).
Apr 22, 2022 03:15:07.280 [0x7efd78d51b38] WARN - Took too long (0.110000 seconds) to start a transaction on /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 22, 2022 03:15:07.280 [0x7efd78d51b38] WARN - Transaction that was running was started on thread 0x7efd79e4eb38 at /data/jenkins/server/3529576666/Library/MetadataItem.cpp:7335
Apr 22, 2022 03:15:51.510 [0x7efd77624b38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_be0c445e6f9a8fe84a34f8d9b7a3f5b39656480a).
Apr 22, 2022 03:15:54.000 [0x7efd79e08b38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_71e16ac55b3a62e39ff09287b90328bb53e7651e).
Apr 22, 2022 03:16:01.189 [0x7efd78d51b38] WARN - Waited one whole second for a busy database.
Apr 22, 2022 03:20:00.089 [0x7efd77cd3b38] WARN - Error refreshing metadata for plex://artist/5d07bbfd403c6402904a64a9
Apr 22, 2022 03:20:46.274 [0x7efd77624b38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_a9a0ebc3b3cf7619a5c45813a91d027a7108dd91).
Apr 22, 2022 03:22:11.441 [0x7efd79eafb38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_446a80be28830c28293f5e5f64c73433fb35f4d8).
Apr 22, 2022 03:22:56.312 [0x7efd79eafb38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_0368dbf60c282415706a69dc7c6c83ea4da0aa20).
Apr 22, 2022 03:26:14.046 [0x7efd773d8b38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_eaadf374a5cafbf674d7c040891ebef7a080d634).
Apr 22, 2022 03:27:57.347 [0x7efd79eafb38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_868fc918b01386b1d87f920bb53efbfc2b40dc47).
Apr 22, 2022 03:28:58.614 [0x7efd77398b38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_59d7ddd81de1026a51b0e00515e036efc9849622).
Apr 22, 2022 03:28:59.077 [0x7efd773d8b38] WARN - Took too long (0.110000 seconds) to start a transaction on /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 22, 2022 03:28:59.077 [0x7efd773d8b38] WARN - Transaction that was running was started on thread 0x7efd77398b38 at /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 22, 2022 03:29:00.715 [0x7efd79eafb38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_9b9de811b3c32b881a65ab1db2879b328e6da19c).
Apr 22, 2022 03:29:53.624 [0x7efd77793b38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_ced3162527d9ea0e61a39b6412ee12aab6fa0502).
Apr 22, 2022 03:29:57.697 [0x7efd77816b38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_7da939b8564471f53e34fae7291c6c603c90ef0d).
Apr 22, 2022 03:29:58.938 [0x7efd79eafb38] WARN - Took too long (0.170000 seconds) to start a transaction on /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 22, 2022 03:29:58.938 [0x7efd79eafb38] WARN - Transaction that was running was started on thread 0x7efd77793b38 at /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 22, 2022 03:29:58.940 [0x7efd77816b38] WARN - Took too long (0.150000 seconds) to start a transaction on /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 22, 2022 03:29:58.940 [0x7efd77816b38] WARN - Transaction that was running was started on thread 0x7efd79eafb38 at /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 22, 2022 03:30:33.875 [0x7efd773d8b38] ERROR - Error bringing media local (metadata://art/tv.plex.agents.music_8f8fd5a0e8189b7629e2049de7e9361b72da9658).
Apr 22, 2022 03:30:55.529 [0x7efd76fb5b38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_fc4d752380cb65a3cf1349bb08469bf313e1cd9e).
Apr 22, 2022 03:30:58.629 [0x7efd77498b38] WARN - Took too long (0.250000 seconds) to start a transaction on /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 22, 2022 03:30:58.629 [0x7efd77498b38] WARN - Transaction that was running was started on thread 0x7efd773d8b38 at /data/jenkins/server/3529576666/Library/MetadataItem.cpp:7335
Apr 22, 2022 03:30:59.872 [0x7efd77498b38] WARN - Took too long (2.870000 seconds) to start a transaction on /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 22, 2022 03:30:59.872 [0x7efd77498b38] WARN - Transaction that was running was started on thread 0x7efd773d8b38 at /data/jenkins/server/3529576666/Library/MetadataItem.cpp:1114
Apr 22, 2022 03:31:14.124 [0x7efd7718bb38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_d00d7117c6cc318b0f56a04f54e0800c209a705e).
Apr 22, 2022 03:31:36.727 [0x7efd77816b38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_bb78dc6bad5c55e7fb48d859f9901dcce18a21fc).
Apr 22, 2022 03:31:54.646 [0x7efd76b42b38] ERROR - Error bringing media local (metadata://art/tv.plex.agents.music_4e38604f8fc1d6bcdf0f38afcc65ee94c6b89773).
Apr 22, 2022 03:32:17.054 [0x7efd7689fb38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_d059b1ac049dbd9587d5098522ae42b7093736f2).
Apr 22, 2022 03:32:34.873 [0x7efd7684ab38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_f6c37369b527dafe688c903546e2fea854bc917d).
Apr 22, 2022 03:32:57.401 [0x7efd76744b38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_2a88b6b61bf354f7fb80d63729b19e80e7ddd10d).
Apr 22, 2022 03:33:15.115 [0x7efd76aecb38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_0ac273fc011bca9d907734c750e3b0b7a9b918d0).
Apr 22, 2022 03:33:37.642 [0x7efd7651ab38] ERROR - Error bringing media local (metadata://posters/tv.plex.agents.music_1a2abda2b5aa84a919a5e05035434088a9917c3f).

I didn’t turned off DEBUG (at least on purpose)
I do add media regulary but newer got any problem.
I use SSD cash on NAS volume so i guess it might be “fragmented”
currently my Windows app show MEDIA SERVER when I clock MORE but it show
“Not authosized” for some reason. Before it didnt show anything at all.
Web access still show no server at all.
Apple apps still work and now even Plex Dash showing all as it shoud and let me access graphs etc.
Newer had such a problem before update to 7.1

How about we address the ‘Not Authorized’ problem first ?

Are you certain the NAS has DNS correct? I didn’t see any errors but might have missed them too.

Reauthorizing is actually the easiest to do.

  1. Uninstall the package (use the default “Keep” option to save all your data)
  2. Now install the same SPK again EXCEPT
  • Click “Plex Claim Token” method
  • Click “Get Plex Claim Token”
  • Your browser will open a new tab to Plex.tv and present a token.
  • COPY it to your browser
  • Return to the installer window (we only have 5 minutes before the token expires)
  • PASTE that token in the box on the installer menu.
  • Click Next and continue installing.
  • After the package is installed, the installer scripts will take an extra 15-20 seconds to go to Plex.tv, get your credentials for the server again, and update your Preferences.xml file
  • When successful, the final message will report that the server has been successfully claimed and show your Plex username.
  • At this point, PMS starts (if enabled to start)

It worked.
It offered in Window app some kind of screen “upgrade your libraries” or somethinglike this
it running something now - NAS making access noices and CPU usage increased.
I have feeling I know what was the problem - I didnt updated Windows app for a while and when I started it after updating DSM and Server it might mess things up. I upgraded it only after old one failed to connect.

When you have time:

  1. Turn DEBUG logging back on . It’ll make resolving problems much easier in the future at no extra cost.

  2. Also make certain to optimize the database (either manually from the left panel while hovering over the server name --or-- scheduled tasks)

“Optimize database every week” is (and was) turned ON
I guess will ran optimization manually on all libraries now.
DEBUG in General-> Enable Plex Media Server debug loggin was OFF and I just turned it ON.
Thank you so much for your help!

While you’re there on the server. Perform the manual DB optimization (under Manage Server)

Screenshot from 2022-05-10 14-49-07

Just did it. Thanks again!

I would sujest you guys add pup up offer to update Windows app when update is available. So far I think it only offering message that Server update is available. Would be great to know or even turn on automatic update…

So what you’re saying is that if I press the update button to upgrade from dsm 6.2.4, that Plex will have no issues when it finishes upgrading to 7.0.1?

I have been holding off since Plex works fairly seamlessly on 6.2 still.

@BigSlimVdub

You don’t have to upgrade if you don’t want to.
We support DSM 6 and 7 for now.
If there were ever a DSM 8 then you’d need to upgrade.

As for upgrading from DSM 6 → DSM 7.

  1. Uninstall PMS

  2. Upgrade DSM

  3. Download Plex from Plex.tv/downloads – DO NOT use Package Center (it’s no longer compatible

  4. This FAQ is a bit dated but “Scenario 2” will be best.
    – The Installer will print messages (popup windows) if it doesn’t like anything.
    – Follow the instructions given ( refer to this FAQ if needed )

  1. DO NOT interrupt it when it gets to “Installing”.

  2. It may take a long time but it won’t get hung/stuck. The time needed will depend on how much metadata you have in the Plex shared folder.

  3. Sometimes DSM (package center) complains. Ignore it. Instead, open a session and look for Migration.log in the “Plex” shared folder.

  4. Migration.log will show you which stage of processing it’s at.

  5. you’ll know when it’s complete after “Cleaning: /volume1/Plex” is done.

  6. It will print a final message and tell you how to set permissions.
    (the username changed from “Plex” → “PlexMediaServer”

Here are the instructions from the popup – expanded out with screenshots.

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