Plex Media Scanner cmd line Error & fix

Error:

jjest@donkey:~$ sudo /usr/lib/plexmediaserver/Plex\ Media\ Scanner –list
/usr/lib/plexmediaserver/Plex Media Scanner: error while loading shared libraries: libboost_atomic.so.1.59.0: cannot open shared object file: No such file or directory

Resolution:

root@donkey:~# LD_LIBRARY_PATH=/usr/lib/plexmediaserver
You have new mail in /var/mail/root
root@donkey:~# PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=”/var/lib/plexmediaserver/Library/Application Support”
root@donkey:~# export LD_LIBRARY_PATH=/usr/lib/plexmediaserver
root@donkey:~# export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=”/var/lib/plexmediaserver/Library/Application Support”

Fixed!

Usage:

root@donkey:~# /usr/lib/plexmediaserver/Plex\ Media\ Scanner –list

3: House
1: Movies
5: Photos
2: Triplex
4: TV Shows
root@donkey:~# /usr/lib/plexmediaserver/Plex\ Media\ Scanner –progress –generate -c 2
Generated new media for Triplex Common 01 20190225103159.
Generated new media for Triplex Common 01 20190225120808.
Generated new media for Triplex Common 01 20190225121139.
Generated new media for Triplex Common 01 20190225121233.
Generated new media for Triplex Common 01 20190225122931.

Leave a Reply