# \[Bug\] “Plex Music” library doesn’t work with command line scanner

**URL:** https://forums.plex.tv/t/bug-plex-music-library-doesn-t-work-with-command-line-scanner/578787
**Category:** Plex Media Server
**Tags:** server-linux
**Created:** [April 22, 2020, 9:40am UTC](https://forums.plex.tv/t/bug-plex-music-library-doesn-t-work-with-command-line-scanner/578787 "2020-04-22T09:40:14Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![bangaa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/bangaa/32/185313_2.png) [@bangaa](https://forums.plex.tv/u/bangaa)
#### Post date: [April 22, 2020, 9:40am UTC](https://forums.plex.tv/t/bug-plex-music-library-doesn-t-work-with-command-line-scanner/578787/1 "2020-04-22T09:40:15Z")

</div>

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](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

@ChuckPa  
@Michii  
@billabong12

---

<div class="post-metadata">

### Author: ![astromd77](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/astromd77/32/10797_2.png) [@astromd77](https://forums.plex.tv/u/astromd77)
#### Post date: [May 20, 2020, 8:07pm UTC](https://forums.plex.tv/t/bug-plex-music-library-doesn-t-work-with-command-line-scanner/578787/2 "2020-05-20T20:07:24Z")

</div>

What is the status of this issue? As of 1.19.3.2831, the command line scanner does not work with Music libraries.

---

<div class="post-metadata">

### Author: ![bangaa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/bangaa/32/185313_2.png) [@bangaa](https://forums.plex.tv/u/bangaa)
#### Post date: [August 14, 2020, 3:04pm UTC](https://forums.plex.tv/t/bug-plex-music-library-doesn-t-work-with-command-line-scanner/578787/3 "2020-08-14T15:04:33Z")

</div>

Any News from the DEV Team to the Commandline Scanner Problem?

---

<div class="post-metadata">

### Author: ![montchr](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/montchr/32/200575_2.png) [@montchr](https://forums.plex.tv/u/montchr)
#### Post date: [October 3, 2020, 6:11pm UTC](https://forums.plex.tv/t/bug-plex-music-library-doesn-t-work-with-command-line-scanner/578787/4 "2020-10-03T18:11:22Z")

</div>

I’m also curious about the status of this issue. Any news?

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [January 1, 2021, 6:11pm UTC](https://forums.plex.tv/t/bug-plex-music-library-doesn-t-work-with-command-line-scanner/578787/5 "2021-01-01T18:11:31Z")

</div>

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