Server Version#: 1.19.2.2673-776106bc6
System#: Ubuntu Server 5.3.0-46-generic #38-Ubuntu SMP Fri Mar 27 17:37:05 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Player Version#: not needed
While the Thread was in the Winows-Subforum, here the equal to Linux.
https://forums.plex.tv/t/bug-new-plex-music-library-doesnt-work-with-command-line-scanner/471536/14
Initial: My Music have a Path “/volume1/data/”. Scanner is Plex Music. I have a very large Music Folder, so i add Music manual to Plex with the command line, to prevent full scanns.
So, in my envoirment i take:
export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=“/usr/lib/plexmediaserver/Library/Application Support”
export PLEX_MEDIA_SERVER_HOME=/usr/lib/plexmediaserver
export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
export LD_LIBRARY_PATH=/usr/lib/plexmediaserver/lib
Then for manual (Script) adding Folders to my Music Library (c4) i take to follow command:
sudo -u plex “/usr/lib/plexmediaserver/Plex Media Scanner” -s -c 4 -d “/volume1/data/ABBA/Gold_(1992)”
This command is successfull on the bash (no error). In the Plex Alterts is NOTHING. No new Artist, no new Album. Then i take the command (Path) without the Album:
sudo -u plex “/usr/lib/plexmediaserver/Plex Media Scanner” -s -c 4 -d “/volume1/data/ABBA”
This command is successfull on the bash (no error). In the Plex Alerts i see, the “scanning ABBA”. But no new Artist/Album is show up in the Plex itself.
Hope you understand and can reproduce
If you have any Questions, please ask me.
Thanks a lot