Plex install hangs on Synology DSM 7.1

Server Version#: PlexMediaServer-1.28.2.6106-44a5bbd28-x86_64_DSM7

I am running a manual install of the above version on a Synology NAS and it just hangs - the install does not complete. I have to reboot the Synology device to get Package Center operational again.

Any suggestions?

Are you upgrading from DSM 6 ?

If so, you must wait for the migration to complete.

If you are upgrading from an older (several versions older) PMS, first launch will upgrade the database.

It does NOT hang. Migration from DSM 6 with many files index is 99.99% of the time required… sometimes hours and even days.

Please share your scenario so I understand which applies to you.

From there, what to expect and how best to proceed.

It was an upgrade from the Beta package from Package Center installed on DSM 7.0 (the Synology server was originally set up in April 2022), but I gave up on that and did a complete uninstall so there shouldn’t be any remnants of the original install left.

Ah. It didn’t hang. It was busy moving that many files.

When you upgrade from the BETA, it is nearly the same as a migration.

The reason for this is I have to move ALL the data out of the DSM 7.0 beta storage.
You probably still have all that metadata stuck in there.

Choice is yours, if intact, we can use it.
If not, make sure it’s gone and not waste storage space

Thanks for the clarification. There is a folder named .deleting_ 34037 in the PlexMediaServer/AppData with several million (!?!) files in it. I assume I am safe to remove that.

That WAS your old server.

Yes, you can now delete it

Update on my quest to do a manual install. I removed the PlexMediaServer share from my Synology to completely remove any old cruft and removed read access to my pictures share from the PlexMediaServer account (125,000 images/2.3TB of pictures I do not want transcoded…). I started a fresh install two days ago and it is still running. I can see new directories being created in the /volume1/PlexMediaServer/AppData/Plex Media Server/Cache/PhotoTranscoder directory, but nowhere as many as when the server has access to my pictures. (I ran an install where access was to my pictures open and pulled the plug when the PhotoTranscoder directories had over 58 million files taking over 2 TB of space).

How long is this going to run? Is there an installation log file I can reference to see what is happening?

Thanks

@nolanevans

Are you telling me that Package Center is still open with “Installing” ?

Yes, it is. New subdirectories continue to be added to the PhotoTranscoder directory.

@nolanevans

If you can still see it migrating then let it go.

I had a customer where it needed 2 weeks to migrate.

He had a 500 GB “Plex” shared folder.

After this is done, you will probably, gladly, want to stop plex and clear out the photo transcoder directory of all those used image files

Thanks. To be clear, this is a net new install - I wiped the old installation.

Does the installation process scan the entire system for media?

I’m sorry, I missed that (probably again and again :frowning: )

As a new installation, it should be done, even if using the claim token method, in under 1 minute.

Bring up Resource Monitor - Task Manager/Processes (wording varies)

Do you see anything from ‘bash’ (the shell script) running?
You should not.

Do you see “Plex Media Server” running?

If you do then this is a cases of your browser having not refreshed (for some weird unknown reason).

As alternative, open a new window to DSM and open Package Center.
What does it show? Installed? “Run” ? “Running” ?

I logged into the system through SSH and escalated to root privileges. The process list showed several hung processes to clean up previous uninstalls, so I killed them. I am also going through the entire server and removing all PlexMediaServer directories. Once I complete that I will try a fresh install.

You found DSM’s Package Center hung? That’s not good.

I’d suggest reporting to Synology but that won’t bring any immediate relief other than “Plex is a 3rd party app. Contact them for support”

I think that my lack of patience and not having a clean environment put the uninstall process in a confused state. I’ll post an update once I try a “clean” install.

Final update on this thread.

  1. I tracked down the Plex data to the @apphome directory - there were 255 (00 to ff) folders in the PhotoTranscoder directory, each with over 230,000 files in them.
  2. I logged in through ssh and deleted the entire PlexMediaServer folder in @apphome - this took the better part of 2 weeks to complete!
  3. Downloaded the latest version of the Synology install file and executed a manual install, using the “Claim Token” process
  4. Install successful! The new Plex Media Server is now processing my media files.

Thanks for the help @ChuckPa!

Same problem, latest version will not install deleted old one now wont install at all, really annoyed cause ive lost my whole setup. it was working perfect now nothing, Not happy jan. Im not technical enough to start playing with protected files through ssh so looks like ill have go back to emby.

@adamhinds

PLEASE detail.

  • When you install ANY version higher than 1.22.4.4973,

  • I automatically (and unfortunately SILENTLY, due to DSM limitation) MOVE all your files to the PlexMediaServer shared folder – away from the @apphome which was used for DSM 7 BETA ONLY.

I wrote that installer and can help you “Fix” whatever is wrong.

Which Syno model do you have ?

You don’t need to go back to Emby

Thanks for replying I been pulling my hair out. I’ve deleted everything now and still can’t install Plex package. I have just managed to reinstall the beta package and at least that works but any package from Plex site just hangs when manual install is used. I have a Synology DSM 718+ 16g of ram updated with latest update.

If you have the beta installed, that confirms EXACTLY what’s happening.

You thought it hung at installing. What it was doing was MOVING (the classic DSM copy-first-then-delete-after)

I can help you with that if you want (privately)