Startup too slow

Bug #1480265 reported by L D
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu Music App
New
Undecided
Unassigned

Bug Description

I'm using BQ5 and the latest version of Music (2.2.892).

With a 30 GB music collection, startup is over 30 seconds, that's just before the thumbnails appear, it takes a further couple of seconds before music can be played.

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

This sounds potentially like mediascanner is still scanning and blocking the application.

Could you provide the music-app log from ~/.cache/upstart something similar to application-click-com.ubuntu.music_music_2.2.892.log as this may assist in debugging the problem.

Revision history for this message
L D (leoubuntuone) wrote :

I'm afraid you're going to have to tell me how. I'm not very good with the terminal. I've managed to go to the directory and list the files, but can't work out how to scroll up the list to find the file in question.

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

No problem, the easiest way is probably to install the log viewer application [0], find the latest music app log (application-click-com.ubuntu.music_music_2.2.892.log) select it and from the header actions select Pastebin and paste the url here.

Otherwise enable developer mode on your device, plug it into a machine and
$ adb shell
or
$ phablet-shell
to connect to it. (you may need to install the phablet-tools package)

Then cd to the directory
$ cd ~/.cache/upstart
then find the latest music-app log (the bottom will be the latest) by
$ ls -ltr | grep music

then you can either cat the last filename, copy the output to pastebin and paste the link here
$ cat application-click-com.ubuntu.music_music_2.2.892.log
or you can from your desktop machine copy the file over to your home directory and attach the file to this bug
$ adb pull /home/phablet/.cache/upstart/application-click-com.ubuntu.music_music_2.2.892.log ~/music-app.log

Let me know if you need any additional help or guidance.

0 - https://uappexplorer.com/app/com.ubuntu.developer.vtuson.logviewer

Revision history for this message
L D (leoubuntuone) wrote :

OK, thanks for the info. I have been able to access the log files. However, there doesn't seem to be any log for the music player!

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

Sorry for not getting back to you, I lost this bug somehow.

Is this still an issue for you?

If you run
$ ls -l ~/.cache/upstart/ | grep music

It should list the names of the music-app logs, if you pick the latest one and then run the command below where 'application-click-com.ubuntu.music_music_2.2.892.log' is the name listed, you should then have a local copy of the log.

$ adb pull /home/phablet/.cache/upstart/application-click-com.ubuntu.music_music_2.2.892.log ~/music-app.log

Also note that if you have restarted the device they could have been archived and in a file such as log.1.gz. It is probably best to run the app again and take a copy of the latest log file, assuming the startup issue still exists.

Furthermore the mediascanner log maybe useful which is located at ~/.cache/upstart/mediascanner-2.0.log

Please note that both of these logs could hold information about the tracks you have on your device and the mediascanner log about the photos/videos, if you do not want these public then please message them privately to me.

Revision history for this message
Michi Henning (michihenning) wrote :

I'm seeing this too. With a collection of 10000 songs, it takes something like two minutes before the app starts. It just sits there with the spinner showing.

Revision history for this message
Michi Henning (michihenning) wrote :

I had a look with a large song collection, after mediascanner finished indexing them. There is nothing in the mediascanner log when this happens. The music app log also shows nothing while the spinner sits there.

For me, it takes about two minutes for the app to start. To reproduce, drop the attached song collection into the music folder, wait until mediascanner has finished indexing (you can verify with top), and then start the music app.

Revision history for this message
Irio (irio92) wrote :

I have the same problem with a music collection of about 8000 songs.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.