Moving plex metadata to external drive (debian linux)

Server Version#: 1.22.3.4392
Player Version#:

I have followed the steps from ChuckPa forum post Moving PMS 'Library'

Plex DOES not use the metadata folder in my external drive despite the path in editor being changed. Instead plex creates a new metadata folder in /var on my linux drive so completely disregards the changes made in the editor and carries on as normal

I thought it may have something to do with permissions. so, I checked my permissions and the metadata folder I created for plex in my external drive has root permission, I believe this is the highest permission no? so plex should be able to access these files?

I still attempted to change ownership using chown to my user pi in group pi, however the terminal camback with permission denied for all files when carrying out the command, even with sudo privileges.

I followed more advice form the post and

  • I unmounted and remounted the drive

-added exec in fstab

-checked the editor for mistakes

Somehow I fail to see the connect between Linux and a Registry editor.
What Linux distribution has picked up on that concept?

For a better idea of where it goes wrong… can you access your Plex Media Server’s logs?

I meant editor “systemctl edit plexmediaserver” not reg editor

The linux distribution is debian armv7

I can access the logs and will upload them when I can

Steps I followed

  1. Stop Plex Media Server
  2. Create the ‘override’ file
  3. Move the files to their new location
  4. Change ownership if needed
  5. Inform systemd of the changes
  6. Start PMS

@rda

Please show me the contents of /etc/systemd/system/plexmediaserver.service.d/override.conf ?

Also, which Debian version please ?

I am using Debian Version ARMv7

The metadata is stored in an external mounted SSD named with the path /mnt/disk1/PlexMetaData

@rda

You forgot the header. The override is not valid without it

[Service]
Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=..........."
1 Like

Hi,

I added the [Service] line

went through the other steps informed systemD of changes.

deleted old libary and rebooted

added my media folders again howeve the server still does not gather metadata from the external drive I can tell by the logs it is gathering from tvdb and storing in /var again and I have lost my organized collections.

@rda

You have misspelled Environment .

The n is missing.

Sorry if I didn’t see that. (Screenshots are difficult to read. Copy/Paste is much easier)

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