Plex Cache Location?

Arkhen

Explorer
Joined
Mar 21, 2016
Messages
50
FreeNAS Version: FreeNAS-11.3-U1
Jail Version: 11.3-RELEASE-p7
Plex Version: 1.18.8.2527

Does anyone know Plex's metadata cache location when installed in an iocage?

Looking at the specified paths on Plex's own support site (https://support.plex.tv/articles/202915258-where-is-the-plex-media-server-data-directory-located/), both the pre 11.2 and post 11.2 directories don't contain my cache.
Curious if you guys know where to find it.

pms root.png
var.png
db.png
 
Joined
Jan 4, 2014
Messages
1,644
Plex Version: 1.18.8.2527
It depends. Based on the Plex version you're using, it looks like you haven't used the plugin method to install Plex. If you've used a resource on the forum to install Plex, it's likely Plex metadata was moved from its default location. Try the following:
  1. Shell into the jail
  2. Use sysrc -a to dump a list of non-default configuration variables.
  3. See what the variable plexmediaserver_plexpass_support_path points to.
 

Daisuke

Contributor
Joined
Jun 23, 2011
Messages
1,041
I installed the Plex Plugin, just curious why the cache files are all 3 bytes?

Code:
root@plex:~ # sysrc -a
cron_flags:  -J 15
hostname: plex
ifconfig_epair0b: SYNCDHCP
ipv6_activate_all_interfaces: YES
plexmediaserver_enable: YES
plexmediaserver_support_path: /
sendmail_enable: NO
sendmail_msp_queue_enable: NO
sendmail_outbound_enable: NO
sendmail_submit_enable: NO
syslogd_flags: -c -ss

root@plex:~ # ls -lah "/Plex Media Server/Plug-in Support/Caches"
total 25
drwxr-xr-x  18 plex  plex    18B Jun 28 02:51 .
drwxr-xr-x   7 plex  plex     7B Jun 28 02:51 ..
drwxr-xr-x   3 plex  plex     3B Jun 28 14:34 com.plexapp.agents.fanarttv
drwxr-xr-x   3 plex  plex     3B Jun 28 14:34 com.plexapp.agents.htbackdrops
drwxr-xr-x   3 plex  plex     3B Jun 28 02:51 com.plexapp.agents.imdb
drwxr-xr-x   3 plex  plex     3B Jun 28 14:34 com.plexapp.agents.lastfm
drwxr-xr-x   3 plex  plex     3B Jun 28 03:17 com.plexapp.agents.localmedia
drwxr-xr-x   3 plex  plex     3B Jun 28 14:34 com.plexapp.agents.lyricfind
drwxr-xr-x   3 plex  plex     3B Jun 28 14:34 com.plexapp.agents.movieposterdb
drwxr-xr-x   3 plex  plex     3B Jun 28 14:34 com.plexapp.agents.none
drwxr-xr-x   3 plex  plex     3B Jun 28 14:34 com.plexapp.agents.opensubtitles
drwxr-xr-x   3 plex  plex     3B Jun 28 14:34 com.plexapp.agents.plexthememusic
drwxr-xr-x   3 plex  plex     3B Jun 28 03:19 com.plexapp.agents.themoviedb
drwxr-xr-x   3 plex  plex     3B Jun 28 14:34 com.plexapp.agents.thetvdb
drwxr-xr-x   3 plex  plex     3B Jun 28 02:51 com.plexapp.system
drwxr-xr-x   3 plex  plex     3B Jun 28 14:34 org.musicbrainz.agents.music
drwxr-xr-x   3 plex  plex     3B Jun 28 14:34 tv.plex.agents.movie
drwxr-xr-x   3 plex  plex     3B Jun 28 14:34 tv.plex.agents.music

Do I have the wrong location for cache files?
 
Last edited:

Fredda

Guru
Joined
Jul 9, 2019
Messages
608
just curious why the cache files are all 3 bytes?
drwxr-xr-x 3 plex plex 3B Jun 28 02:51 com.plexapp.agents.imdb
They are not, these are directories. The 3 means this directory has 1 subdirectory (you need to add 2 for "." and "..").
I'm a little puzzled about the 3B, but these number matches the subdirectory count on the ls output. Not sure if this
is normal or if the "-h" switch messes this up.
To get the size of the directories you should try du -csh "/Plex Media Server/Plug-in Support/Caches/*"
 
Top