Plex can't find previous metadata after re-installation

I was installing plex server on my synology HDD 1 and it was doing great with more than 100k media files.

Recently HDD 1 got full of space and I planned to change it to a larger HDD. Before the replacement, I copied the whole plex media server folder to another HDD in my synology, then replaced the old HDD 1 as the larger one, then reinstalled plex server, followed by pasting the whole plex media server folder to the new folder. After these steps, I ran plex server and its web, then the server turns out to be empty.

Can anyone help please?

See https://support.plex.tv/articles/201370363-move-an-install-to-another-system/

hi dbirch, thanks a lot for the reply. I did see this guidance and followed it. But I recall that when I did the uninstall, I picked the last one (remove entire plex media server, tried to get a clean reinstall)… Is this the reason that all libraries in plex are gone, even if after reinstall the previous plex media server folder is correctly copied and placed in the new folder? If so, is the only thing I can do now to rebuild all libraries?

do you have your library.db file and the blobs.db along with your preferences.xml ?

this are what i have in the plex media server folder



NAS model?
DSM 6 or 7?

If DSM 7, perform FAQ 32: Repairing the PlexMediaServer shared folder.

Also, verify the database file names in Plug-in Support/Databases.

Your screenshots show duplicate files, with different sizes and dates, for com.plexapp.plugins.library.db and com.plexapp.plugins.library.blobs.db.

It is not possible to have two files named exactly the same in the same directory.

Are you comfortable with the Linux command line? If so, ssh into the NAS, change to the directory with the databases, long list the files (ls -l), and copy the output to the thread.

Hi Ford, it’s DSM 7.2.1. Plex server version is the latest 1.41.0.8994.

I did the repair followed the link, result turns out to be ok (although no email was received).

So are you up and running?

Do you have e-mail notifications configured on the NAS? Control Panel → Notifications.

Sorry I’m a noob and not so familiar with SSH. But I think I know the reason for the duplication: there is a folder named appData and there is another entire Plex Media Server folder in it (this may because I used Hyper Backup to restored the Plex Media Server folder?), with same sub-folders but much smaller total size compared to the “genuine” Plex Media Server folder.

Yes. The repair finished in less than 20mins and showed current status as normal (sorry it’s in Chinese).

I did set up email notifications but still no email received.

There should not be a Plex Media Server folder at the same level as AppData

The structure is:

PlexMediaServer/
  AppData/
    Plex Media Server/
      Cache/
      Codecs/
      Crash Reports/
      Diagnostics/
      Drivers/
      Logs/
      Media/
      Metadata/
      plexmediaserver.pid
      Plug-ins/
      Plug-in Support/
      Preferences.xml
      Scanners/
      Setup Plex.html
      Updates/

Did you place files in the wrong location?

Note: /var/packages/PlexMediaServer/shares/PlexMediaServer is how Synology connects with the PlexMediaServer shared folder.

Hi Chuck, yes I put the folder in wrong place… now after reinstallation, copying plex folder to right place, and cleaning up the libraries, everything comes back and they look just like before. Thanks everyone for the kind help!

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