Moving Folders to another drive

Version is Version 4.29.2

I’m trying to move my plex installation folder because the meta data has gotten out of hand. And I can’t get it working properly

I stop the plex service.

I move the Plex Media Sever folder

cp -rf ‘/var/lib/plexmediaserver/Library/Application Support’ /media/name/DriveName/Library

I remove original Application Support folder

I edit

sudo nano /etc/default/plexmediaserver

Specifically I uncomment and edit the line
export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/media/name/drivename/Library

I’ve taken ownership of /media/name/drivename/Library/Appication Support using chown. Which took a fair old time.

I restart the service and it appears to start ok. But none of my libraries appear.

Looking at it, something is up with amendment I’m making to Application Support. If I rename the original Application Support folder and start the service, a brand new Application Support folder is created.

Is there anything obvious I’m doing wrong there?

Ok, so I saw another suggestion. I mounted the drive where I’d copied the files to into the Library Folder with the copied Application Support folder sat in the root. This worked perfectly.

I’d quite like to know how to make the other methods work though! At least I know that I can easily move my server though.

Ok my solution has issues. A restart and Plex recreates the folder before the drive mounts and I have to delete and muck about.

I’d really like to fix this in the defaults file so that Plex uses the new folder, not have to fudge it

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