Music app does not start; log tells lookup () called on invalid MediaSTore
-
Hi!
I have yet another problem with the Music App: It does not start anymore, it just tells me that there is no music to be found; the log is flooded with literally hundreds of messages
lookup () called on invalid MediaStore
When trying to play a file from the filemanager choosing the Music-app a message appears telling me that the app is waiting for data, after a few seconds I am asked to wait longer or to quit - waiting leads to a seemingly endless display of the message, but nothing is played.
Is there a way to force the app to reread the data, as it does at first start? Is there some kind of db-file that could be renewed?
Device is a fairphone 3, dev channel 20.04
-
Found at least something: The mediastore.db in ~/.cache/mediascanner-2.0 had the wrong rights, I changed the ownership from root:root to phablet:phablet, so the app starts again.
But I still have not found a way to refresh the database for the Music app to show the new files I have added to ~/Music. I recall that this happened automatically, but it does not - or perhaps not any more? -
@hankschwie there are probably other files in your home folder with the wrong permission. You might want to try recursively setting all files and folders in your home directory to ownership phablet:phablet.
Did you by any chance try to share (parts of) your home folder with the waydroid container?
-
@arubislander Any idea how to find those?
-
@arubislander Yes, I did, and I had to change the rights of the files in /music, too. I opened an Issue (nr 104) on the gitlab page, see
https://gitlab.com/ubports/development/apps/lomiri-music-app/-/issues/104 -
So I gave it a try and set all the ownership in /home/phablet to phablet:phablet, and after a reboot the app actually found some of the new files.
Looks like the app can't handle mpc files properly; or at least can't read the tags - they all end up in one "Unknown album" - but that's a different problem.
-
H hankschwie has marked this topic as solved