Linux Symlink for Application Data and Sonic Analysis

Server Version#: Version 1.30.0.6486
Player Version#: Plex amp 4.6.1
I am using a symlink to relocate my plexdata/Library/Application Support/… directory and data to a different hard drive than my / (file system hard drive). This aspect and symlink are working properly.

I am conducting a Sonic Analysis and my root drive is losing free space, while the path plexdata/Library/Application Support/… is not changing size.

Can you advise if this is temporary, will the Sonic Analysis ignore the SymLink, or does the Sonic Analysis go to some other directory on the root drive?
Can you advise of the file name for the Sonic Analysis, which i read was supposed to be in the Database directory?
If the Sonic Analysis is not in the Application Data tree, can i symlink that file and move it to another hard drive? Will there be an issue on upgrades?
I ask because i am getting very limited on my file system drive.

Instead of using the symlink (not supported), use the systemd supported method which PMS will respect to configure the service through the environment variables.

You can set any variable PMS respects/expects in an Envirionment="Var=Value" clause

Sonic analysis is using your system’s /tmp folder to store the decoded albums which are being analyzed. Once this is finished, those files should be removed again.

Thank you. That is it. I appreciate your response. thank you.

Hi ChuckPa,

Thank you for the note about Environmental Variable. My notes show you spoke of this in 2017 too. I will integrate that solution into override.conf as well, make new OS’s easier to get up.

Interesting, the symlink solution is from 2013 notes I have. While not supported, it does seem work quite well.

I am trying to find a listing of environmental variable, can you share a link?

I can do better :slight_smile:

    export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
    export LC_ALL=en_US.UTF-8
    export LANG=en_US.UTF-8
    export LANGUAGE=en_US.UTF-8
    export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="${QPKG_DIR}/Library"
    export TMPDIR="${QPKG_DIR}/Library/tmp"

You can temporarily override some system settings on the command line.
Those are on a case-by-case basis (I’d have to look at the code)

Appreciated. Topic resolved. :cowboy_hat_face:

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