[ERROR] [FIX] Music Player: Not enough space for music db. Del

tokyogtr

Senior Member
Jul 24, 2010
737
10
0
Marlborough
If like me you're constantly trying out new ROMs and KERNELs and LAGFIXs, inevitably you're going to come across a corrupted Music player DB and get the error: Not enough space for music db. Delete some items

For those of you getting the above error, I have fixed it. Seems the database file can get corrupted and you need to remove the DB files and rerun media scanner.

In Root Explorer got to /dbdata/databases/com.android.providers.media and remove all the files in there. There should be 3, 2 are .db files and 1 is a journal file. Then re run media scanner (i use the switch pro widget to run it again) or reboot the phone, which is probably the better option as it will rescan all SD's instead of just the external one.

Then launch media player or video player and everything will be back to normal.

Hope this helps.

PS I have posted this in Q&A also but thought it also belonged in dev, but if i'm wrong then please delete.
 

SKelem

New member
Jan 13, 2011
1
0
0
Los Altos Hills, CA
didn't work for me - no such file

I have a Samsung Vibrant.
I mounted my Vibrant on Linux, and searched the filesystem for anything called com.android.providers.media.
I found
TitaniumBackup/com.android.providers.media-20110103-183123.properties*
TitaniumBackup/com.android.providers.media-20110103-183123.tar.gz*
TitaniumBackup/com.cooliris.media-20110103-182434.properties*
TitaniumBackup/com.cooliris.media-20110103-182434.tar.gz*
TitaniumBackup/com.sdgtl.mediahub.tmo-20110103-183108.properties*
TitaniumBackup/com.sdgtl.mediahub.tmo-20110103-183108.tar.gz*

If the fix for the "not enough space" problem is to delete the .db files, then that's been done, and I shouldn't restore these files.
 

tokyogtr

Senior Member
Jul 24, 2010
737
10
0
Marlborough
I have a Samsung Vibrant.
I mounted my Vibrant on Linux, and searched the filesystem for anything called com.android.providers.media.
I found
TitaniumBackup/com.android.providers.media-20110103-183123.properties*
TitaniumBackup/com.android.providers.media-20110103-183123.tar.gz*
TitaniumBackup/com.cooliris.media-20110103-182434.properties*
TitaniumBackup/com.cooliris.media-20110103-182434.tar.gz*
TitaniumBackup/com.sdgtl.mediahub.tmo-20110103-183108.properties*
TitaniumBackup/com.sdgtl.mediahub.tmo-20110103-183108.tar.gz*

If the fix for the "not enough space" problem is to delete the .db files, then that's been done, and I shouldn't restore these files.
that's your internal sdcard. you need to be rooted i think and do it from /