Attempting to move the configuration files from by Ubunutu 22.04 install of Plex to a network share on my Qnap. I have the files moved. Plex is showing the media library but all the settings for the server show as “server settings are unavailable”. Hoping some kind soul can help me find the missing piece of the puzzle.
192.168.86.2 is my qnap server. My credentials are stored in the .examplecredentials file. The stored credentials are my administrator credentials to the Qnap share. I saw the guide mentioned needed an exec on fstab but I didn’t see a means to add this argument. I assume giving all users on the Ubuntu system full access to that directory would work. I also use this path to mount the libraries. I can see the folder and files when selecting the library media.
I moved and updated the override.conf file as the following:
### Editing /etc/systemd/system/plexmediaserver.service.d/override.conf
### Anything between here and the comment below will become the new contents of the file
#
# Customize Plex's config
[Service]
Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/mnt/qnap/AppStorage/Plex/Application Support"
#
# These values are only needed if you wish to change user & group
User=monkey
Group=monkey
#
# This is needed to change the default umask
UMask=0000 # this must be 4 digits of octal
The user\group monkey is my credentials on the Ubuntu box. I only changed it to this when the default didn’t see to work.
Appreciate any help suggestions or advise. I considered using docker to set all this up but it seemed like it was just adding another layer. Planning to add sonarr, radarr, and jacket once I solve this mystery.
Server Version#: 1.27.0.5897-3940636f2
Player Version#:4.76.1
My goal was to have the configuration files live on the qnap. My Ubuntu server ran out of space before Plex finished indexing my libraries. I suppose a 500gb SSD wasn’t enough space.
I have another 3 bays on the Ubuntu box. I’ll install a trio of 1tb disk, I believe ubuntu supports a software raid 5. That should give me 2tb of space for plex and the other apps.
I could then set up rsync to backup that raid5 to my Qnap.
@ChuckPa I followed your advise and moved my config files to the /home as recommended.
I’ll note that I ran into some issues running the commands as one lump copy\paste. I decided to start with a fresh install of plex as the config files weren’t important, but it probably would have been fine to move the files from the NAS location back to /home .
A straight copy\past probably wasn’t what you intended but I wanted to point that out to anyone else who might try. I ran the following:
sudo mkdir /home/plexdata
sudo chown plex:plex /home/plexdata
sudo systemctl stop plexmediaserver
cd /var/lib/plexmediaserver
tar cf - . | (cd /home/plexdata ; tar xf -)
systemctl daemon-reload
systemctl start plexmediaserver
Thanks for the heads up on the RAID setup! Have a great day.
I haven’t added the new drives yet. Still have to order them. I’m guessing resize2fs would be a better way to expand the lvm. hoping lvextend will not break anything.
This is my output in that format:
TYPE SIZE FSTYPE MOUNTPOINT FSSIZE FSAVAIL FSUSED FSUSE%
sda running sas 4:0:0:0 Crucial_CT512MX1 MU01 14440DA11DC3 disk 476.9G
├─sda1 part 1G vfat /boot/efi 1G 1G 5.2M 0%
├─sda2 part 2G ext4 /boot 1.9G 1.5G 244.2M 13%
└─sda3 part 473.9G LVM2_member
└─ubuntu--vg-ubuntu--lv running lvm 473.9G ext4 / 465.9G 433.4G 12.6G 3%
sdb running usb 0:0:0:0 USB SD Reader 1.00 9205291 disk 0B
sdc running usb 0:0:0:1 USB CF Reader 1.01 9205291 disk 0B
sdd running usb 0:0:0:2 USB SM Reader 1.02 9205291 disk 0B
sde running usb 0:0:0:3 USB MS Reader 1.03 9205291 disk 0B