GetArtistsByWhere – out of memory getting listing

Hi!

  • Raspberry Pi 2 (SD has couple of GB free space)
  • LibreELEC (official) – Version: 7.0.2 (ARM; migrated from OpenElec)
  • Kodi: 16.1
  • mp3 files are located on a NFS share and not on Kodi directly

When I try to sync my Yatse Android remote app, I get sync errors. I analyzed this issue and found the culprit within Kodi:

Code:
18:24:14 393.306519 T:1725739936   ERROR: GetArtistsByWhere - out of memory getting listing (got 0)
18:24:14 393.307495 T:1725739936   ERROR: GetArtistsByWhere failed

I already removed MyMusic56.db and rebooted. This did not help 🙁

I noticed that I don’t have a music library although I see the update process running after each boot (as I configured).

When updating manually:

Code:
19:01:37 2636.425781 T:1609331616 WARNING: Process directory 'nfs://192.168.2.42/home/user/mp3/library/The Who/Meaty Beaty Big And Bouncy/' does not exist - skipping scan.
19:01:40 2639.768799 T:1771525024   ERROR: Failed to open(//The Who/Meaty Beaty Big And Bouncy/) opendir call failed with "NFS: Lookup of /The Who/Meaty Beaty Big And Bouncy failed with NFS3ERR_NOENT(-2)"
19:01:40 2639.769043 T:1771525024   ERROR: GetDirectory - Error getting nfs://192.168.2.42/home/user/mp3/library/The Who/Meaty Beaty Big And Bouncy/
19:01:43 2641.998291 T:1609331616  NOTICE: My Music: Scanning for music info using worker thread, operation took 00:5819:01:43 2642.085449 T:1963413504 WARNING: CreateLoader - unsupported protocol(sources) in sources://music.tbn
19:02:04 2663.692383 T:1963413504 WARNING: Previous line repeats 1 times.
19:02:04 2663.692627 T:1963413504   ERROR: SQL: [MyMusic56.db] The database disk image is malformed
                                            Query: select count(idSong) as NumSongs from songview
19:02:04 2663.692871 T:1963413504   ERROR: GetSongsCount() failed
19:02:05 2664.010010 T:1609331616   ERROR: GetRecentlyAddedAlbums failed
19:02:05 2664.144043 T:1609331616   ERROR: SQL: [MyMusic56.db] The database disk image is malformed
                                            Query: SELECT count(1) FROM songview LIMIT 1
19:02:05 2664.144287 T:1609331616   ERROR: GetSingleValue - failed on query 'SELECT count(1) FROM songview LIMIT 1'
19:02:05 2664.324463 T:1609331616   ERROR: SQL: [MyMusic56.db] The database disk image is malformed
                                            Query: SELECT count(distinct strAlbum) FROM songview LIMIT 1
19:02:05 2664.324707 T:1609331616   ERROR: GetSingleValue - failed on query 'SELECT count(distinct strAlbum) FROM songview LIMIT 1'
19:02:05 2664.558594 T:1609331616   ERROR: SQL: [MyMusic56.db] The database disk image is malformed
                                            Query: SELECT count(distinct strArtists) FROM songview LIMIT 1
19:02:05 2664.558838 T:1609331616   ERROR: GetSingleValue - failed on query 'SELECT count(distinct strArtists) FROM songview LIMIT 1'
19:03:21 2740.605225 T:1963413504  NOTICE: NFS is idle. Closing the remaining connections.
19:04:46 2824.827881 T:1963413504 WARNING: CreateLoader - unsupported protocol(sources) in sources://music.tbn

19:05:57 2896.789795 T:1609331616 WARNING: Process directory 'nfs://192.168.2.42/home/user/mp3/library/The Who/Meaty Beaty Big And Bouncy/' does not exist - skipping scan.
19:05:58 2897.347900 T:1771525024   ERROR: Failed to open(//The Who/Meaty Beaty Big And Bouncy/) opendir call failed with "NFS: Lookup of /The Who/Meaty Beaty Big And Bouncy failed with NFS3ERR_NOENT(-2)"
19:05:58 2897.348389 T:1771525024   ERROR: GetDirectory - Error getting nfs://192.168.2.42/home/user/mp3/library/The Who/Meaty Beaty Big And Bouncy/
19:06:00 2899.547363 T:1609331616  NOTICE: My Music: Scanning for music info using worker thread, operation took 00:58
19:06:00 2899.613281 T:1963413504 WARNING: CreateLoader - unsupported protocol(sources) in sources://music.tbn

Although I removed MyMusic56.db and rebooted, I get “The database disk image is malformed” again? Hm, something’s fishy here.

Since I could not find anything via my search engine nor the search of this forum, I need your help to fix my Kodi.