Premium music library issue

When I try to create a premium music library in plex the scan initiates and then after scanning a few albums (generally around 5), the plex web app looses connection to the server and once the connection is re-established it has stopped scanning the library.

The same music scans into a non-premium library fine

When I try to run the command line scanner the “–list” command returns no results

I was wondering if anyone had seen a similar issue and knows a solution

OS = Debian (Jessie), plex version = 0.9.12.19

Scanner and server log ( and maybe agent log ) covering that time should show what is going on.

have you tried making a library with a folder that only has one or two albums then after is it made put all the other albums in the music folder and see if it will scan in the rest

if --list is returning no results i wonder if you might have some database corruption https://support.plex.tv/hc/en-us/articles/201100678-Repair-a-Corrupt-Database

Found this at the end of the scanner log:
Traceback (most recent call last): File "bundles-release/Scanners.bundle-dist/Contents/Resources/Music/Plex Premium Music Scanner.py", line 179, in Scan File "bundles-release/Scanners.bundle-dist/Contents/Resources/Music/Plex Premium Music Scanner.py", line 251, in run_queries File "bundles-release/Scanners.bundle-dist/Contents/Resources/Music/Plex Premium Music Scanner.py", line 263, in run_query_on_discs File "bundles-release/Scanners.bundle-dist/Contents/Resources/Music/Plex Premium Music Scanner.py", line 374, in lookup File "bundles-release/Scanners.bundle-dist/Contents/Resources/Common/Utils.py", line 37, in Log File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/urllib.py", line 87, in urlopen return opener.open(url) File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/urllib.py", line 208, in open return getattr(self, name)(url) File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/urllib.py", line 345, in open_http h.endheaders(data) File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/httplib.py", line 969, in endheaders self._send_output(message_body) File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/httplib.py", line 829, in _send_output self.send(msg) File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/httplib.py", line 791, in send self.connect() File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/httplib.py", line 772, in connect self.timeout, self.source_address) File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/socket.py", line 571, in create_connection raise err IOError: [Errno socket error] [Errno 111] Connection refused Nov 14, 2015 10:11:50 [0x7f118726c800] ERROR - We got an error scanning in /mnt/shares/share1/Music/subsonic sort

also the database check returned as ‘ok’
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases$ sudo sqlite3 com.plexapp.plugins.library.db "PRAGMA integrity_check" ok

@Barker94 said:
When I try to create a premium music library in plex the scan initiates and then after scanning a few albums (generally around 5), the plex web app looses connection to the server and once the connection is re-established it has stopped scanning the library.

The same music scans into a non-premium library fine

When I try to run the command line scanner the “–list” command returns no results

I was wondering if anyone had seen a similar issue and knows a solution

OS = Debian (Jessie), plex version = 0.9.12.19

Wow, this is sounds exactly the same as the problem i have…i tried setting up a premium music library based upon the directory of a newly created standard library. The scan starts and then seems to hang …spinning icon…it seems to complete 5 albums , 2 artists and now nothing. I’m running 0.9.14.1 on a QNAP arm TS421.

Anyone got any suggestions??

I’m basically a noob at this and am not sure where to find the log files for uploading. Help appreciated to get this sorted out.

Log files help page

usually in /root/Library/Plex Media Server/Logs/ (you’ll probably have to connect in to your QNAP via winSCP or equivalent to see the root folder)

Have yet to find a solution but will post anything more I do find out

Tried to update the premium library to get it to work. Still no luck however the python issue is no longer at the bottom of the scanner logs (new logs attached)

It appears I have the same issue, running the latest plexpass Readynas build. I will attempt the suggestion of adding folders individually to the new library folder, and then look at the logs.

It is defo when creating a premium library only. It appears to be presently happy creating a standard library.

I conducted the test of creating a new folder, creating a premium library to the new empty folder. As soon as I place 1 folder containing MP3’s and rescan, the server stops responding and needs restarting.

I will SSH onto the ReadyNAS Ultra 4 plus later and pull the logs.

I haven’t had a chance to get the logs yet, too busy rebuilding the library so I can enjoy it overseas. The issue still remains as above.

@PsychoV3 said:
It is defo when creating a premium library only. It appears to be presently happy creating a standard library.

I conducted the test of creating a new folder, creating a premium library to the new empty folder. As soon as I place 1 folder containing MP3’s and rescan, the server stops responding and needs restarting.

I will SSH onto the ReadyNAS Ultra 4 plus later and pull the logs.

Several possibilities - if the folder has thousands of tracks then this may result in Gracenote matching taking very long time trying to work out album track combinations.

The other possibility is a server crash - seen recently due to malformed requests being generated for searching - seen in one case where an ampersand was not getting encoded and currently there is a bug where malformed requests lead to crashes - server logs would confirm if this is the case