Server Version#: 1.22.2.4282
Player Version#:
Hi, I have PMS running on my QNAP NAS and have had it set that way for many years without issue. I am in the process of migrating PMS (and other apps which run on the QNAP) onto a Ubuntu VM as the hardware in the QNAP is outdated and I don’t want to upgrade it as it still provides excellent storage speed.
The destination is a Ubuntu 20.04 LTS VM and I am trialling Quickbox, so PMS is installed and updated via QB.
I’m following the following article:
TL;DR I am doing the following:
Disable emptying of trash on QNAP PMS
Sign out and stop PMS on Ubuntu VM
Rsync data from QNAP PMS to Ubuntu VM: rsync -vrzu admin@192.168.1.1:/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/ /var/lib/plexmediaserver/
Chown Ubuntu PMS directory to plex:plex: chown -R plex:plex /var/lib/plexmediaserver/
Reboot Ubuntu VM
Start PMS
Open PMS Web App
Edit libraries
That’s where I am getting stuck.
My VM has the QNAP Videos folder mounted with /etc/fstab to /mnt/videos and can read and write to the NAS. The issue I am having is when I am editing on the new PMS instance the Libraries and putting in the new path it doesn’t see anything, it’s acting as if it’s a player only and still being served from the QNAP NAS.
Have I missed something obvious? Do I need to sign out and close the PMS app on the QNAP? If so I didn’t spot that in the documentation.
If you’re moving for the first time then there is no need to update (-u).
You’ll also spend more time compressing than just sending the files raw.
May I suggest? (On the Ubuntu side)
sudo bash
cd "/var/lib/plexmediaserver/Libary/Application Support"
rm -rf *
rsync -av "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/" .
This does a full copy, recursion is the default, and drops it “here” (dot) which is under “Application Support”.
The resultant final path for your Preferences.xml (as a quick confirmation) /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Preferences.xml
Your original commands would have included the executables.
On Ubuntu, application and data are split locations.
Thank you. I’ve performed the above steps and when logging in I still can’t see the locally mounted NAS files when I go to edit the library location, it still shows the QNAP file structure. If I stop the Plex app on the QNAP NAS and log into Plex on the Ubuntu VM it tells me that the server QNAP is unavailable.
I’ve moved the data and I’m at the step of signing out of the ‘Quickbox’ server and signing in again. Once I sign out of the new server I can’t sign in again, I can only see the old QNAP (which is unavailable as I stopped the app). @ChuckPa are you able to offer any help please?
I grabbed from my backup script . It sits at the parent directory (which is the volume) and copies to the remote mounted volume. This way, on the QNAP, /share/CACHEDEV2_DATA/tv gets copied to Synology /volume1/cachedev2/tv
#special distributed full reload
# Now handle tv separately
echo ============ Television =======================
$Command tv/[0-9A-H]* /tmp/a/tv &
$Command tv/[I-S]* /tmp/b/tv &
$Command tv/[T-Z]* /tmp/c/tv &
$Command tv-nodata testing /tmp/c &
wait
(this is how I get around the limits of LACP on a 4x 1GbE Syno)
Not to worry and thanks for your input. I’d rather work something out myself than have my hand held and your post certainly pointed me in the right direction (wrong directories being the cause of my headaches all along).
I’m reverting to the QNAP PMS for now anyway as my current VM host doesn’t have an iGPU to pass through so it’s actually slower (even with 8vCPU assigned) as it can’t hardware offload, I’ll try again perhaps tomorrow once my new host arrives which has a usable iGPU to use.