Migrating new Qnap

Hello

I have old unsupported Qnap NAS and I bought new one to continue as Plex server.
How can I migrate Plex from old to new server so that all the settings and db related stuff works.

I found the quide and tried that with Qnap -> Windows 10 but that did not work.

To migrate from a QNAP to a new QNAP, There are a few things you’ll need to do.

  1. Presuming the old still works, Go into Settings - Server - Library and turn OFF all the automatic functions including Empty Trash after each Library scan.
  2. Now you can safely port it.

To port:

  1. ssh into the old QNAP
  2. cd into your .qpkg/PlexMediaServer directory
  3. create a tar file of the metadata ( tar cf ./Library.tar ./Library )
  4. Copy this to the new QNAP
  5. Shut down the old QNAP - we will remove PMS as the last step later

On the new QNAP,

  1. Install PMS, and let it run for about 1 minute (no need to do anything

  2. Stop PMS

  3. Copy the Library.tar file from the old QNAP to the new one.

  4. Open SSH session to the new QNAP

  5. cd /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer

  6. mv Library Library.unused

  7. tar xf /path/to/Library.tar

  8. Start PMS

  9. Open http://ip.addr.of.qnap:32400/web

  10. If it does not immediately find it (doesn’t always work), sign your browser out of Plex.tv (upper right corner)
    a. Open again using an incognito window to sign it back into your plex.tv account.

  11. Now, for each library section, you must do the following:
    a. Edit the Library section,
    b. ADD the new location without deleting the previous location
    c. Scan files for that section
    d. Observe the 2 indicator (duplicate counter). This is expected and desired.
    e. When complete, EDIT the library section again.
    f. Remove the old folder/directory paths
    g. Scan again and observe the duplicate counter to return to normal.
    h. Advance to the next Library section.

Thank you! with these instructions and original quide (to find out where /.qpkg/PlexMediaServer folder is) I had to stop Plex before I could make tar. file but new server works like a charm.

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