define enviroment variable and plex media scanner

Grinas

Contributor
Joined
May 4, 2017
Messages
174
Hey,

I want to be able to scan my plex libraries from the command line but am having trouble defining the environment variables.

When i run the command in the following docs with the path to my plexmediaserver i get the error
Code:
export: Command not found.


I defined the environment variable in the .profile but after exiting and renetering the jail i still get the same error when i run the Plex scanner command

.profile contents
Code:
LD_LIBRARY_PATH="/usr/local/share/plexmediaserver-plexpass/Plex_Media_Server"
export LD_LIBRARY_PATH


output from Plex Media Scanner
Code:
/usr/local/share/plexmediaserver-plexpass/Plex\ Media\ Scanner --list
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site



Thanks for any help
 
Top