Server Version#:1.29.2.6364-6d72b0cf6
Player Version#:4.96.2
So I’ve been at this for a week now and I’ve run to the end of the internet and I’ve discovered two “popular” ways of moving a Raspberry Pi’s plexmediaserver’s metadata location off the local SD card:
This is my first time posting here so hopefully it all looks formatted correctly and I didn’t leave out any info
Starting out:
sudo apt-get install apt-transport-https
curl https://downloads.plex.tv/plex-keys/PlexSign.key | gpg --dearmor | sudo tee /usr/share/keyrings/plex-archive-keyring.gpg >/dev/null
echo deb [signed-by=/usr/share/keyrings/plex-archive-keyring.gpg] https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list
sudo apt update && sudo apt full-upgrade -y
sudo mkdir /mnt/MY_SERVER
sudo reboot
sudo mount -t cifs -o username=MY_USERNAME,password=MY_PASSWORD //192.168.XX.XXX/Public /mnt/MY_SERVER && sudo nano /etc/fstab
//192.168.XX.XXX/Public /mnt/MY_SERVER cifs username=MY_USERNAME,password=MY_PASSWORD 0 0
sudo apt install plexmediaserver
sudo systemctl stop plexmediaserver
- option one: is to symlink to the mounted drive
- this works initially. I can copy the folder over and then symlink it… and all the files will show up in the new location, but once I boot up Plex and add a library, the occupied space on the Raspberry Pi SD card will start growing while the mounted location stays the same size
sudo cp -r /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server /mnt/MY_SERVER /PLEX_FOLDER/PlexMetaData/Library/Application\ Support
sudo ln -s /mnt/MY_SERVER /PLEX_FOLDER/PlexMetaData/Library/Application\ Support/Plex\ Media\ Server /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server
I put this above line in fstab too and it doesn’t seem to make a difference
-
found here: Plex Media Server on Raspberry Pi 3 using Raspbian Lite (Jessie)
-
option two: is to edit/create the override.conf file with Environment=“PLEX_MEDIA_SERVER_APPLICATION_SUPPORT” blah blah blah, but then no matter how many times and whatever variations and whatever permissions I add, when I try to load the 192.X.X.X:32400/web/ I get This site can’t be reached
sudo systemctl edit plexmediaserver
[Service]
Environment=“PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/mnt/MY_SERVER /PLEX_FOLDER/PlexMetaData/Library/Application Support”
cd /var/lib/plexmediaserver
tar cf - . | (cd /mnt/MY_SERVER /PLEX_FOLDER/PlexMetaData ; tar xf -)
sudo systemctl daemon-reload
- found here: Customizing your Plex configuration
And lastly (for both):
sudo systemctl start plexmediaserver
All my local IP’s are static, and my external drive is mounted in /mnt and I can browse and add and remove files and directories, and when I use option one I can add media Libraries no problem. Somebody please help.