Failed to scan media library

Post your Server Bug Report
plablo09
Posts: 2
Joined: 26 Sep 2019, 13:18
Has thanked: 0
Been thanked: 0

Failed to scan media library

Unread post by plablo09 »

Code: Select all

=========================================================================================
 VERSION:      MADSONIC 7.0.1 | BUILD: 0390 
 SERVLET:      JETTY
 SERVER:       CPU: ICORE7 | MEMORY: 16GB | HDD: 4TB
 OS:           UBUNTU 18.04
 SYSTEM:       SERVER
 INSTALLER:     DEB 
 JAVA:          OPEN JDK 1.8
 BROWSER:      CHROME 44 
 CLIENT:       
 DESCRIPTION:  FAILED TO SCAN MEDIA LIBRARY 
 REPRODUCIBLE: YES
=========================================================================================
I can't get the media library to scan correctly on a fresh install. When I configure the media folder it scans all the files and I'm able to see the artist index and browse the artist hub. Yet, when I try to search using the search box I never get any matches. It seems than no id tag information is getting parsed.

I found a couple of errors on the logs. In madsonic_sh.log:

Code: Select all

Exception in thread "MediaLibraryScanner" java.lang.NullPointerException
	at org.madsonic.service.MediaScannerService.doFullScanLibrary(MediaScannerService.java:429)
	at org.madsonic.service.MediaScannerService.access$200(MediaScannerService.java:65)
	at org.madsonic.service.MediaScannerService$4.run(MediaScannerService.java:217)
Which may be related to this one in madsonic.log (there are a couple more like this one)

Code: Select all

Error when parsing tags in /home/plablo/Music/Peter Kruder - Die Wiener Festwochen [GIGOLO297D]/02.Peter Kruder - Spinnst Akt 1-3.mp3 For input string: 
"www.electrouniverse.net"
java.lang.NumberFormatException: For input string: "www.electrouniverse.net"
	at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
	at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
	at java.lang.Double.parseDouble(Double.java:538)
	at org.madsonic.service.metadata.JaudiotaggerParser.getRawMetaData(JaudiotaggerParser.java:201)
	at org.madsonic.service.metadata.MetaDataParser.getMetaData(MetaDataParser.java:50)
	at org.madsonic.service.MediaFileService.createMediaFile(MediaFileService.java:1059)
	at org.madsonic.service.MediaFileService.updateChildren(MediaFileService.java:747)
	at org.madsonic.service.MediaFileService.getChildrenOf(MediaFileService.java:334)
	at org.madsonic.service.MediaScannerService.scanFile(MediaScannerService.java:466)
	at org.madsonic.service.MediaScannerService.doFolderScanLibrary(MediaScannerService.java:300)
	at org.madsonic.service.MediaScannerService.access$000(MediaScannerService.java:65)
	at org.madsonic.service.MediaScannerService$3.run(MediaScannerService.java:199)
At the end of the same log file I get this error

Code: Select all

 ERROR SuggestionSpellService - Failed to close spell index.
java.lang.NullPointerException
	at org.madsonic.suggestion.SuggestionSpellService.stopIndexing(SuggestionSpellService.java:98)
	at org.madsonic.service.MediaScannerService.doFullScanLibrary(MediaScannerService.java:439)
	at org.madsonic.service.MediaScannerService.access$200(MediaScannerService.java:65)
	at org.madsonic.service.MediaScannerService$4.run(MediaScannerService.java:217)

[2019-10-06 08:30:54,283] ERROR SuggestionFuzzyService - Failed to close suggestion index.
java.lang.NullPointerException
	at org.madsonic.suggestion.SuggestionFuzzyService.stopIndexing(SuggestionFuzzyService.java:134)
	at org.madsonic.service.MediaScannerService.doFullScanLibrary(MediaScannerService.java:440)
	at org.madsonic.service.MediaScannerService.access$200(MediaScannerService.java:65)
	at org.madsonic.service.MediaScannerService$4.run(MediaScannerService.java:217)
I hope anyone can help with this issue

Post Reply