Where is the Plex Data Directory?

The data directory used by Plex Media Server to store its files is dependent on the operating system that is used as your Plex server. The table below lists the default location of the Plex data directory for each system.

Windows
%LOCALAPPDATA%\Plex Media Server
This is the local application data folder for the user running Plex.
macOS
~/Library/Application Support/Plex Media Server/
Linux
$PLEX_HOME/Library/Application Support/Plex Media Server/
This is the general location for Linux systems.
ASUSTOR
/volume1/Plex/Library
Debian, Fedora, CentOS, Ubuntu
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/
FreeBSD
/usr/local/plexdata/Plex Media Server/
FreeNAS 11.2 or earlier
${JAIL_ROOT}/var/db/plexdata/Plex Media Server/
FreeNAS 11.3 or newer
${JAIL_ROOT}/Plex Media Server/
NVIDIA SHIELD
Internal storage: /Internal/Android/data/com.plexapp.mediaserver.smb/Plex Media Server/
Removable storage: /[removable drive name]/Android/data/com.plexapp.mediaserver.smb/Plex Media Server/
By default, you won't be able to access the data directory. You would need to choose to move the storage location to either the internal storage or to a removable drive connect to the SHIELD.
QNAP
/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex media Server
Connect to the QNAP console using SSH, and enter:
getcfg -f /etc/config/qpkg.conf PlexMediaServer Install_path
The result will be a path similar to the previous column.
ReadyNAS
/apps/plexmediaserver/MediaLibrary/Plex Media Server/
Seagate
/data/plex_conf/Library/Application Support/Plex Media Server
Enter the appropriate rainbow container using:
sudo rainbow —enter com.plex.plexmediaserver
After that you can go into the data directory. The directory can vary from system to system.
Snap
/var/snap/plexmediaserver/common/Library/Application Support
Synology
/Volume1/Plex/Library/Application Support/Plex Media Server/
TerraMaster
/home/plex/Library/Application Support/Plex Media Server
Thecus
/raid/data/module/Plex/sys/Plex Media Server/
Western Digital
/mnt/HD/HD_a2/plex_conf/Plex Media Server/
Western Digital My Passport Wireless Pro
/shares/Storage/.wdcache/.plexmediaserver/Application Support/Plex Media Server/