Dear Forum,
i try to run LMS on Raspberry Pi 3 with picorePlayer, but i get an error every time i try to scan my library:
Database Optimize (1 of 2) Complete 00:05:37
Media scan terminated unexpectedly (Scanning Progress)
unfortunately LMS just starts to rescan the library randomly then, LMS gets unresponsive and i can't listen to my music.
I tried a complete reinstall of picore, but still the same.
Attached is the Scanner log file, i really hope that somebody can help me here again, having updated my Synology to DSM7 is a total nightmare:-(
Thank you
Pommes
Results 1 to 10 of 42
-
2020-12-16, 15:36 #1
- Join Date
- Dec 2017
- Location
- PARIS, Fr
- Posts
- 212
PicorePlayer LMS Media scan terminated unexpectedly and then rescans randomly
The Earth Has Music For Those Who Listen
-
2020-12-16, 15:45 #2
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 20,345
-
2020-12-16, 15:49 #3
- Join Date
- Dec 2017
- Location
- PARIS, Fr
- Posts
- 212
Thanks for helping,
SDcard is 32 GB, musicfiles on synology
Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type
/dev/mmcblk0p1 128,0,1 127,3,16 8192 139263 131072 64.0M c Win95 FAT32 (LBA)
/dev/mmcblk0p2 1023,3,16 1023,3,16 139264 62136319 61997056 29.5G 83 LinuxThe Earth Has Music For Those Who Listen
-
2020-12-16, 16:02 #4
- Join Date
- Dec 2017
- Location
- PARIS, Fr
- Posts
- 212
My library is huge, maybe there is not enough ram in the Raspberry?
The Earth Has Music For Those Who Listen
-
2020-12-16, 17:38 #5
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 20,345
PCP is only pure RAM based when as a player only.
When LMS is run then files are stored on the sdcard.
LMS database is stored on SDcard and the partition looks it is 29GB so should be enough space for it & cache.
If your library is "huge " - how long does a "clear library & rescan everyhting" take ?
-
2020-12-16, 17:47 #6
That log doesn't have the error message is it, where do you see the error? But 29G partition should be plenty large enough. Ram should not be an issue either. Did you configure LMS to install the cache files in locations other than default?
The only general scanning issue I know of, is a bug in 8.0 that would cause rescans if you have unconfigured plugins installed. If you do not uses internet streaming services like Qobuz, Tidal....etc, Make sure to uninstall the plugins. Some may have been installed by default. Another option is to upgrade to 8.0.1
Otherwise we will need more logs...piCorePlayer a small player for the Raspberry Pi in RAM.
Homepage: https://www.picoreplayer.org
Please donate if you like the piCorePlayer
-
2020-12-16, 22:22 #7
PicorePlayer LMS Media scanterminated unexpectedly and then rescans randomly
> My library is huge, maybe there is not enough ram in the Raspberry?
How many tracks do you have? What is the db memory setting in
LMS/Settings/Advanced/Performance? If it's on "max", set it to "high"
instead, or vice-versa. It might have an impact on the overall scanning
performance, but there are differences in the optimize step which might
make a difference on the crash.
Background: the optimization uses a lot of memory and/or disk space. Try
to monitor both while running the scanner. Disk space could be the
partition used for /tmp - which sometimes is created in RAM. In that
case the size of the SD card wouldn't matter. Or it runs the
optimization in RAM - which could be too small with 1GB if your
collection was really huge.
--
Michael
-
2020-12-17, 23:54 #8
- Join Date
- Dec 2017
- Location
- PARIS, Fr
- Posts
- 212
Solved
Thank you all so much for your help.
My library is not giant, it’s monstrous. Over 200,000 tracks, a lot of spoken word, loops and samples, though. I did change the performance setting from maximum to high, and now the scanning went through without a problem.
It took a couple of hours, but now, finally I am able to use LMS again, thanks to you.
Best regards
PommesLast edited by Pommes; 2020-12-17 at 23:56. Reason: Adding
-
2020-12-18, 00:52 #9
PicorePlayer LMS Media scanterminated unexpectedly and then rescans randomly
> My library is not giant, it’s monstrous. Over 200,000 tracks, a lot of
> spoken word, loops and samples, though. I did change the performance
> setting from maximum to high, and now the scanning went through without
> a problem.
> It took a couple of hours, but now, finally I am able to use LMS again,
> thanks to you.
Hmm... it's a pity you can't use the max memory option. How large would
your library.db be?
The reason I'm asking is that I did add some logic at some point to
prevent the issue you're facing. But you might somehow be in a gray zone
where that protection does not kick in yet, but still manages to run the
scanner out of memory. This might be one of the cases where a Pi4 with
larger memory might actually have an advantage.
--
Michael
-
2020-12-18, 01:11 #10
- Join Date
- Dec 2017
- Location
- PARIS, Fr
- Posts
- 212
The Earth Has Music For Those Who Listen