Server Version#: 1.41.3.9314
Player Version#: 1.107.2.300-7093f413
I have a Plex server instance running on my Pi NAS (OMV) and due to the growing media storage used and increased watch activity (CPU load) I need a something bigger and better.
I am looking to purchase a QNAP NAS and want to migrate my Plex server, files, history, personalization and hopefully server name too. Is this possible? If so, any special steps I need to take to do this?
Bump, I have the QNAP server and drives on the way. Is it as simple as coping the media, then the Plex folder, running the plex install and claiming the server?
Any guidance would be greatly appreciated to avoid issues and downtime.
I am very new to Linux but am fairly competent with IT in general. If you have the process detailed out step by step it would likely be a time saver. Also thinking others might be able to leverage the info from the post.
I have all the HW in hand and ready to go. I found the link below that is the great guide on how to get the NAS to the ready to go phase and will be starting that tomorrow., Hoping to do the migration of the server and data this weekend as well if possible. Any help is greatly appreciated and my family thanks you as well.
Read thoroughly first. Make sure you understand what’s happening (work flow) and why.
When you’re done with the base setup,
create the PlexData (exact capitalization) shared folder.
Prepare to make image backup
– Settings - Library
– Turn off Automatic Update and Empty Trash – SAVE changes
– Stop Plex
Create a tarball backup of your Pi plex server
– get into terminal session
– AS root …
– get into the “Plex Media Server” directory (confirm by seeing ‘Preferences.xml’)
Create tar ball of Pi’s server instance
– tar cf /path/to/somewhere/plexbackup.tar .
Install Plex on the QNAP
STOP Plex from App Center
Upload the tarball to the “Public” shared folder on the QNAP
( Create the shared folder if you don’t have it. Strangely, some don’t)
Control Panel - Terminal & SNMP – Enable SSH
– remember if it’s on or off and let me know please.
– (It should be OFF by default for security. I’ve had reports of it being ON)
From your Pi / computer – whichever
SSH into the qnap
Login as either admin (if you use it) else your username
– password will not echo any characters so be careful
When logged in, Q - quit from the menu system, Y - yes, you want to
sudo bash - elevate yourself to ‘root’ privilege if you don’t have a ‘#’ prompt
whoami - confirm you’re user admin (which is root on qnap)
cd /share/*/.qpkg/Ple*/Li*/Ple* (type this exactly as shown. it works)
ls to confirm you see its new ‘Preferences.xml’ file
rm -rf * — (delete all of the newly created and empty PMS instance)
tar xf /share/Public/plexbackup.tar - Extract the tarball
chown -R 0:0 . - Change ownership to root:root (qnap runs as root)
cat Preferences.xml - Confirm you see the Preferences.xml from the old system here on the QNAP
App Center - Start Plex
wait for
For each library section,
– EDIT the section
– ADD the new path(s) (as seen from the QNAP) to the media
– DO NOT delete the old yet.
– SAVE
– Let it scan the new locations and add them to the DB.
– When done,
– EDIT the section again
– REMOVE the old path(s) – that the pi used
– SAVE
– Let it finish that
– Advance to the next library section ; repeat until done
Review all your Preferences, adjusting for the new host.
Review all your media and confirm it’s still present.
Restore your Settings - Library options to their previous settings and SAVE.
Thank you. A few questions and comments.
I am assuming media files should be copied to the qnap before beginning the process, is that correct?
Where does the PlexData shared folder come into play, is that step 4?
SSH was off by default on the qnap and there was a public shared folder.
Yes, Create shared folder(s) for your media and copy the media to the NAS
– DO NOT install the Codex Pack
– DO NOT use the “Multimedia” share (it’s not a real shared folder)
The PlexData shared folder comes into play when you want to make backups or restore of the QNAP without getting into the shell. It also provides the means for you to get into both ‘Preferences.xml’ and the “Logs” directory in case of failures.
Because you’re migrating from a different host type (Ubuntu → QNAP), the migration is best done at the shell level this time. You need definitive control to confirm everything ends up where it belongs,
– Sure , you can probably put the tarball.gz in the PlexData/Plex Media Server directory then extract it via FileStation but I’m the type to use tar tf and confirm before using tar xf to do it. (You’ll still need the shell to chown it all)
One other question while we are at it. I installed a NVMe drive (4TB) before the disks and installed QTS on it. I have another 4TB NVMe that i planned to install in the box. Should I use that as a qnap cache drive or a backup to the initial NVMe with the OS? or something totally different?
I would prefer to set it up right and get the best configuration with no regrets later.
In reading things initially, I didn’t think I would need 8TB for the “OS” drive and might better use the second drive. I am on the fence for RAID levels and not sure what advantage having the second NVMe as a solo data volume would be. Based on the fact you set your OS drives up in a mirror makes me think this is the way to go.
Given you have far higher performance on a single drive than I get with the RAID,
knowing you have a long life on the SSDs, (warranty is 5 years)
I would do the following:
Get QNAP heat sinks for the SSDs
– I have the TVS-1282 and use the HS-M2SSD-01. I use 3 sinks per SSD.
(Focus on getting the controller perfect – closest to the edge connector)
Keep QTS installed on the first SSD as it currently is.
This next decision is how “retentive” you want to be
If SSDs first, then “SAFELY REMOVE” the HDD volume
– Install the second SSD
– Set it up as CACHEDEV2 (DataVol2)
– Reinstall the HDDs
– Accept bringing the volume back in as CACHEDEV3 (DataVol3)
Otherwise,
– Put the heatsinks on the next SSD before you install it
(add heatsinks to the first as you install the 2nd)
– Setup the 2nd SSD as CACHEDEV3 (DataVol3)
Setup Plex
Add shared folders for media
Create a “PlexTranscoding” shared folder on the 2nd SSD volume
Edit Plex’s settings to point to that shared folder (Transcoder Temp)
Other option(s)
Keep only the OS / OS-related packages on the first SSD
Move all of PMS to the 2nd SSD
– Control Panel - Right-click Plex - Migrate to - select DataVol3
Excellent details and info. I have the QNAP heatsinks already but only put one on as the product label covers the two other chips fully so hard to see and didn’t know how much good they would do and was hesitant to remove label if warranty was needed.
Based on the process outlined I will use the second NVMe as the transcoder Temp. The RAID Group is still syncing and data is still getting migrated over (maxing the 1GB link on the Pi NIC). Looks like tomorrow night I might be able to make the needed changes to the discs. Thanks again
Take pic of labels without heatsinks (for your records - RMA if needed)
Put the heatsinks ON as instructed. DO NOT REMOVE labels
– The WD label is part of its heatsink. (aluminum). You’re adding more
– They can read all the info from the SSD by connecting it to their test system.
My NUC has built-in heatsinks (inside the CPU element)
I get SSD - its heatsink - full length pad - NUC full length heatsink
Waiting for media transfer it the worst part.
I ended up upgrading everything to 10 Gbps.
Even with that, I still wait 17 hours for a full NAS reload from my QNAP – about 7 Gbps throughput fron the QNAP
I have 2.5 Gb on my core devices. It will be nice to get of the Pi for a few reasons and hope I don’t have to transfer is kind of data often going forward or I will make some additional upgrades.