Migrate Plex data form QNAP to another QNAP

don’t forget the ‘cd’ steps to get down into Plex\ Media\ Server

Something on your machine isn’t handling quotes correctly.

Maybe give the steps again, if you do not mind. Going to read to my daughter, will be back in 35 minutes.

I have uninstalled Plex on Destination NAS, checked the directory via WinSCP was gone, confirmed.

Installed Plex, stopped the service.

ran the following commands successfully; waiting to confirm step 6
thus_far

cd /share/*/.qpkg/PlexMediaServer
rm -rf ./Library
tar xf /share/Public/PlexBackup.tar

It is late for me.

can we do tomorrow?

sure!

you forget about me?

I am sorry.

Between real life (PT/rehab) and what’s been happening , I’ve been swamped.

===================

Having completed the extraction

You should now see the following ( I’ll repeat the whole sequence for you )

[~] # cd /share/*/.qpkg/Plex*
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer] # 
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer] # 
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer] # ls -la
total 31168
drwxr-xr-x  6 admin administrators     4096 2023-06-10 19:13 ./
drwxrwxrwx 10 admin administrators     4096 2023-09-15 08:02 ../
-rwxr-xr-x  1 admin administrators  1244944 2023-06-10 15:31 CrashUploader*
drwxr-xr-x  4 admin administrators     4096 2023-06-10 15:37 lib/
drwxrwxrwx  4 admin administrators     4096 2023-04-13 02:25 Library/
-rw-rw-rw-  1 admin administrators   219563 2023-06-10 19:13 .list
-rwxr-xr-x  1 admin administrators   264160 2023-06-10 14:58 Plex Commercial Skipper*
-rwxr-xr-x  1 admin administrators  3101288 2023-06-10 15:27 Plex DLNA Server*
-rwxr-xr-x  1 admin administrators   111184 2023-06-10 14:58 Plex Media Fingerprinter*
-rwxr-xr-x  1 admin administrators  4655952 2023-06-10 15:32 Plex Media Scanner*
-rwxr-xr-x  1 admin administrators 15977800 2023-06-10 15:37 Plex Media Server*
-rwxr-xr-x  1 admin administrators  2912128 2023-06-10 14:58 Plex Relay*
-rwxr-xr-x  1 admin administrators    10768 2023-06-10 14:58 Plex Script Host*
-rwxr-xr-x  1 admin administrators     8658 2023-06-10 18:03 plex.sh*
-rwxr-xr-x  1 admin administrators    10792 2023-06-10 14:58 Plex SQLite*
-rwxr-xr-x  1 admin administrators   285576 2023-06-10 14:58 Plex Transcoder*
-rwxr-xr-x  1 admin administrators  3040128 2023-06-10 14:58 Plex Tuner Service*
-rw-r--r--  1 admin administrators     5254 2023-06-10 18:03 .qpkg_icon_80.gif
-rw-r--r--  1 admin administrators     4468 2023-06-10 18:03 .qpkg_icon.gif
-rw-r--r--  1 admin administrators     3138 2023-06-10 18:03 .qpkg_icon_gray.gif
drwxr-xr-x 10 admin administrators     4096 2023-06-10 18:03 Resources/
-rwxr-xr-x  1 admin administrators     1067 2023-06-10 19:13 .uninstall.sh*
drwxr-xr-x  2 admin administrators     4096 2023-06-10 18:03 web/
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer] # cd Library/
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library] # ls -la
total 16
drwxrwxrwx  4 admin administrators 4096 2023-04-13 02:25 ./
drwxr-xr-x  6 admin administrators 4096 2023-06-10 19:13 ../
drwxrwxrwx 13 admin administrators 4096 2023-09-15 20:51 Plex Media Server/
drwxrwxrwx  4 admin administrators 4096 2023-09-14 02:04 tmp/
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library] # 

Does this match what you have ?

If so, Startup Plex – you’re there

No Worries,

I need to start over again from step 1; give me till end of next week to commence.

I am ready to start this again. cn you start a new thread or provide a new step by step.

“…we can create, delete edit content in the “PlexData” folder , any child objects below this, denied. Vetted permissions everywhere, solid no issues…” I’ve been pulling my hair out on this all day until I just discovered this post. I’m on QTS 5.1.5.2679 and experiencing this exact behavior. I’ve enabled the old admin account. I’ve removed and re-added the PlexData share a bunch of times. Always get a perfect listing and can navigate the folders. I can create files/folders in the PlexData share, but try and open Preferences.xml and permission denied.

Qnap advised this would be resolved with a FW update. There was one released today, have not tried

FWIW… That was one of the many paths I tried today. I’m on the firmware released today.

I have the same issues. I cannot get the preferences or make a back up regardless of being in the default admin account and having full privileges. It denies access. I should add I always was able to in the past.

I’m trying to understand the process and read most of the replies but it is still no clear to me, I did this:

  1. created a share folder Plexdata
  2. installed PMS
  3. started PMS and stopped after login
    now…
    I checked where is the Plex Media Server according with this link https://support.plex.tv/articles/202915258-where-is-the-plex-media-server-data-directory-located/

and it returned
/share/ZFS530_DATA/.qpkg/PlexMediaServer

but the share folder that I created is located at
ZFS23_DATA/Plexdata/ (or /share/Plexdata/)

so how do I do now for Plex to use the share folder that I created?

Thank you…

Never mind, I found that my problem was with case sensitive folder name, the share folder should be PlexData (P upper and D upper).

I’m copying again the data from scratch to try

按照这个操作后,报错如下:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Response code="503" title="Maintenance" status="Plex Media Server is currently running startup maintenance tasks."/>

This is not an error:

“Plex Media Server is currently running startup maintenance tasks.”

Google Translate:

“Plex Media Server 当前正在运行启动维护任务。”

The database schema will be changed as you go from version to version.

It does not auto-refresh.

Wait a few minutes and refresh the browser.

For large databases, it can take a couple hours on slow CPUs.

It is still showing like this now, and the connection to the server cannot be established, and there is also no place to adjust the server.

20240523123435756

Finally solved it, thank you for your guidance.