Trouble updating Plex Server on Synology DS1918+ DSM 7.0.1-42218

Server Version#:1.24.5.5173-7000
Player Version#1.39.0.2753-d48b8c8b

I had no issue migrating Plex Server and getting it up and running on DSM 7. One problem I’ve run into is that when updating to a new version of PMS, it seems to be completely random if the upgrade will actually run. This is definitely an DSM 7 issue as i didn’t have this problem before upgrading. My PMP notifies me a new version of PMS is available, i download it. I log into my Synology NAS and do a manual install. Doesn’t matter whether PMS is running or stopped. Once i click install, the screen swirls and just hangs OR logs me out of the NAS and when i log back in, there’s nothing running.
Here’s where it gets interesting. I can try this 15 times and at random, it will work once. I will get the red warning box about proceeding with the install like normal under DSM 7. I’m currently trying to upgrade to PlexMediaServer-1.25.1.5286-34f965be8-x86_64_DSM7 and i’ve yet to successfully get it to upgrade. Anyone have any ideas? Cheers!

Please provide server log files.

If Plex Media Server is running, go to Settings → Troubleshooting and download the log files.

If Plex Media Server is not running, login to DSM, using File Manager, compress the log directory, /PlexMediaServer/AppData/Plex Media Server/Logs.

Attach the ZIP file to the thread.

To add to @FordGuy61

If you’re upgrading PMS from 1.21.0.3744, the installer will take the time to MOVE your metadata to its final home in PlexMediaServer shared folder.

It will do this without any popup as part of upgrading the package

Do not interrupt it else you’ll be left with a partial relocation mess.

@ChuckPa I appreciate the response, it’s in my initial post. I’m upgrading from 1.24.5.5173-7000 not 1.21.0.3744. The migration and metadata move has already happened from a previous upgrade and that was successful without issue.

Thank you!, i will add the logs later on today.

Plex Media Server Logs_2021-12-10_17-56-25.zip (4.1 MB)

@FordGuy61 Here you go. I tried to upgrade PMS again right before this so the logs would be as fresh as possible.

@FordGuy61 A little more info, so i tried the upgrade again right before i posted the logs, and got the same screenshot as attached to this post. I let it run and 3 hours later, my plex server just went offline and i had to restart my NAS. I will post an updated log file shortly.
Plex Media Server Logs_2021-12-10_20-32-36.zip (3.7 MB)

Thanks for the log files.

Have you added or removed a lot of media lately?

The Plex Media Server.x.log files have many “Taking directory out of map” entries (see below). It also has an error trying to read the Lost In Space files. There are “Taking directories out of map” entries in the Plex Media Scanner.x.log files as well, referencing audio books on a USB drive.

That’s the only thing I’m seeing, and I’m not sure that would stop you from updating PMS on the NAS.

Try scanning the libraries for updates, then empty trash, clean bundles, and optimize the database, in that order (see pic below).

Maybe @ChuckPa will see something I’m missing.


From Plex Media Server.log:

Dec 10, 2021 12:38:04.050 [0x7f6eee465b38] DEBUG - Performing a scan with 'Plex TV Series' (language: en-US virtual: 0).
Dec 10, 2021 12:38:04.050 [0x7f6eee465b38] DEBUG -   * Scanning /volume1/Plex/Library/TV Shows/Lost in Space/Season 2
Dec 10, 2021 12:38:04.050 [0x7f6eee465b38] ERROR - Failed to create parent iterator to "/volume1/Plex/Library/TV Shows/Lost in Space": No such file or directory
Dec 10, 2021 12:38:04.050 [0x7f6eee465b38] DEBUG -   * Marking media not available in /volume1/Plex/Library/TV Shows/Lost in Space/Season 2
Dec 10, 2021 12:38:04.060 [0x7f6eeff0ab38] DEBUG - Completed: [151.188.137.40:52910] 200 GET /media/providers (7 live) TLS GZIP 38ms 5106 bytes (pipelined: 34)
Dec 10, 2021 12:38:04.119 [0x7f6eeeae4b38] DEBUG - Request: [151.188.137.40:52910 (WAN)] GET /library/sections/3/firstCharacter?sort=titleSort&includeCollections=1&includeExternalMedia=1 (7 live) TLS GZIP Signed-in Token (LanFear01)
Dec 10, 2021 12:38:04.130 [0x7f6eee465b38] DEBUG -   * Taking 11981 items out of the map (which has 0 items) for being unavailable.
Dec 10, 2021 12:38:04.223 [0x7f6eeff2db38] DEBUG - Completed: [151.188.137.40:52910] 200 GET /library/sections/3/firstCharacter?sort=titleSort&includeCollections=1&includeExternalMedia=1 (7 live) TLS GZIP 105ms 770 bytes (pipelined: 35)
Dec 10, 2021 12:38:04.322 [0x7f6eee465b38] DEBUG -   * Taking 1196 directories out of the map (which has 0 dirs) for being unavailable.
Dec 10, 2021 12:38:04.323 [0x7f6eee465b38] DEBUG -     * Taking directory 'Alias/Season 1' (4382) out of map.
Dec 10, 2021 12:38:04.323 [0x7f6eee465b38] DEBUG -     * Taking parent directory 'Alias' (4381) out of map.

In the logs presented, I see a few issues and have a question:

  1. Are the media files active torrents (currently in the process of downloading)? I ask because in one case, I see
Dec 10, 2021 02:01:51.173 [0x7f80f0ddeb38] DEBUG - Scanner: Processing directory /volume1/Plex/Library/Movies/WarGames.1983.1080p.BluRay.x265-RARBG (parent: yes)
Dec 10, 2021 02:01:51.174 [0x7f80f0ddeb38] DEBUG - Skipping over directory 'WarGames.1983.1080p.BluRay.x265-RARBG', as nothing has changed; removing 1 media items from map.

and see it again here:

Dec 09, 2021 22:02:01.570 [0x7f80f125fb38] DEBUG - Scanner: Processing directory /volume1/Plex/Library/Movies/WarGames.1983.1080p.BluRay.x265-RARBG (parent: yes)
Dec 09, 2021 22:02:01.571 [0x7f80f125fb38] DEBUG - Skipping over directory 'WarGames.1983.1080p.BluRay.x265-RARBG', as nothing has changed; removing 1 media items from map.

IF the media files are constantly being modified, AND PMS is set to watch these directories , THEN the scanner will never stop until ALL media writing is completed.

  1. I never get to see if all the directories ARE loaded into the Notify table because PMS is never allowed to run long enough to achieve stability.

Setting this all aside,

  1. Is the server software installing where Package Center displays “Installation Successful!” ?

  2. If so, is “Partial Scan” enabled in Settings - Server - Library? It appears not to be. If it were, the protracted list of directories being scanned would be reduced to a few —unless-- all the fiiles are actively being written to.

Is Partial Scan enabled ?

Are they being written to by another app?

@FordGuy61 and @ChuckPa Once again thanks for the responses, i did all the steps FordGuy61 laid out, restarted and no difference. The error trying to read Lost in Space was most likely because i had recently deleted it. I’m not sure why there’s an error on Alisa/Season 1 as it has resided on the PMS for a long time but hasn’t been touched or updated by me since it was originally added.

There are no active torrents inbound or outbound from the PMS directory and sub-directories. Anything that is added is done outside of the NAS all together and then added manually via CIFS shares that i have mapped to my machine. @ChuckPa No it never gets to the “Installation Successful” portion, it always seems to hang like in the attached screenshot. It will stay like that for a couple of hours and then the PMS will crash and i have to restart the NAS, or it will log me out of the NAS and when i log back in nothing has happened, and the PMS installation process is no longer active. I’ve thought about uninstalling PMS and starting over, but now I’m worried this may be a Synology issue vs. a Plex issue. Partial Scan is enabled, I’m gathering by your response i should turn it off.

Really appreciate both your help, sure you have better sh$# to do on your weekend then replay here, enjoy and thanks!

Thank you. That’s clear DSM 7 is having problems processing the SPK file you uploaded.

It should, as you know, show you this

and then allow you to continue upgrade.

First step –

Option 1

  1. Uninstall the package with KEEP option
  2. Attempt reinstall again (it will find your existing data – No fear)
  3. It should proceed normally

Option 2

  1. Contact Syno Support and have them help with why Package Center is broken.

@ChuckPa Thank you very much for all the help. I will try the uninstall with the keep option first, worried that my server may not reinstall of course and then nobody will be able to access anything. I will proceed with Synology support either way. Thanks again!

@LanFear01

That’s fine.

Do as you feel most comfortable.

I am here to help whenever you need it.

@ChuckPa @FordGuy61 Once again, thanks for all the help. I tried the Uninstall with Keep option, knowing that i might lose access to my PMS if it wouldn’t reinstall, and now i have no PMS. I knew it was a risk, so no worries. I have a ticket open with Synology and will keep you guys posted when/if they can resolve it. Might come in handy for your reference in case this happens to someone else. Is there a repository anywhere that i can get older versions of PMS for Synology?

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