← Back to team overview

ubuntu-phone team mailing list archive

Re: Music app refuses to start

 

Hi Alexander,

This is particularly strange issue. The config files should be created on
the first launch of the
application.
But I'm unsure when the directories are created, as I think this is done by
the platform.


Could you answer the following questions, with relevant outputs or answers.

1. Has the app ever worked before? If so when?

2. Do any other apps not work? Eg media related apps?

3. Which channel and device are you on?
Please post the output of "system-image-cli -i"

4. Have you made the device writeable?

5. What is the output of "ls -al /home/phablet/.config/"

6. What is the output of "ls -al /home/phablet/.cache/upstart/"

7. Are any of the logs to the media stack available?
Note that logs are rotated on reboot, so ensure you have attempted to
launch the app in this session.
Also note that the logs can potentially show what media
(music,photos,videos) you have on the device or have played,
so if you do not want these public, please directly mail me or scrub the
relevant info out.

/home/phablet/.cache/upstart/application-click-com.ubuntu.music_music_2.4.*.log
/home/phablet/.cache/upstart/media-hub.log
/home/phablet/.cache/upstart/mediascanner-2.0.log

8. What is the output of "ps aux | grep media"


Thanks,

Andrew

On 26 June 2016 at 09:15, Alexander <alexanderkinne@xxxxxxxxx> wrote:

> Thank you Simplehuman. Unfortunatly this does not yield anything new. The
> com.ubuntu.music.conf file i already created and also tried toggling the
> firstRun switch.
>
> What is funny is that when the app is uninstalled and re-installed this
> file is not created, not even the directory. To find out if this is a bug
> somebody would have to be a bold adventurer and try to replicate my
> situation by remnaming the directories, then re-installing the app and see
> if the folder/file gets created again. =)
>
> Maybe somebody with enough merit could pinch one of the devs for me and
> tell them that i am willing to cooperate in analysing and tracking down
> what has happened here. SSH access to my device while we are on skype or
> whatever is not a problem.
>
> Else I will have to go ahead and just wipe it all. It would be useless to
> open up a bug, because the information as to what is going on on my phone
> will possibly be wiped also. ;-)  I need my phone to be functional and this
> has been going on for too long to justify not unwrapping the big hammer
> soon.
>
> Cheers, Alexander
>
>
> On 25.06.2016 21:02, Simplehuman wrote:
>
>> You can try to download this folder from my MX4:
>>
>> https://www.dropbox.com/s/h7uhdzci0kf9534/com.ubuntu.music.7z?dl=0
>>
>> 25.06.2016 12:18, Alexander пишет:
>>
>>> Thank you so much Konrad! And also thanks again to the other people. You
>>> are brilliant!
>>>
>>> I finally got around to trying out to get it running again with your
>>> help. Unfortunatly trying is what it was.
>>>
>>> One of the things i tried is toggling the firstRun switch. But to no
>>> avail.
>>>
>>> Anybody who has another idea for me to try, before I have to go through
>>> resetting or even re-flashing my phone? I am willing to coperate! =)
>>>
>>> Alexander
>>>
>>> On 23.06.2016 14:00, Konrad Hofer wrote:
>>>
>>>> here it is:
>>>>
>>>> less ~/.config/com.ubuntu.music/com.ubuntu.music.conf
>>>> [PlayerSettings]
>>>> repeat=false
>>>> shuffle=false
>>>>
>>>> [StartupSettings]
>>>> firstRun=false
>>>> queueIndex=5
>>>> tabIndex=2
>>>>
>>>> less
>>>> ~/.local/share/com.ubuntu.music/Databases/2be3974e34f63282a99a37e9e2077ee4.ini
>>>>
>>>>
>>>> [General]
>>>> Description=StorageDatabase
>>>> Driver=QSQLITE
>>>> EstimatedSize=1000000
>>>> Name=music-app-playlists
>>>> Version=1.0
>>>>
>>>> On 23/06/16 13:49, Alexander wrote:
>>>>
>>>>> HELP NEEDED!!!! Please read below where it says ANYBODY, if you are
>>>>> so inclined. Thank you.
>>>>>
>>>>> On 22.06.2016 21:33, Sigvard Lyth wrote:
>>>>>
>>>>>> Hi Alexander.
>>>>>>
>>>>>> Are you using a file manager app to look for them? Because files
>>>>>> beginning with a . are hidden. So you need to turn that on to see
>>>>>> them. I can't find a way to do that right now. :-(
>>>>>>
>>>>>> SSH via Terminal... Using Linux private and professional since 2006.
>>>>> The directories are not there and manually creating the two
>>>>> directories mentioned does NOT do the trick - unfortunately. I need
>>>>> something to put in there perhaps? I don't know how the directories
>>>>> went away but they are gone! It must be a bug but I cant find any
>>>>> relating. Will you help me futher investigate? A phone without being
>>>>> able to listen to music suxx bad - it is what i have been using it
>>>>> for mostly.
>>>>>
>>>>>> But use the Go to function in the right upper menu, and go to
>>>>>> '/home/phablet/.config/' and maneuver regularly from there.
>>>>>>
>>>>>> Thank you for your idea but it does not help me. Can you or ANYBODY
>>>>> send me your files from the "~/.config/com.ubuntu.music/"
>>>>> directory? And perhaps also from "~/.local/share/com.ubuntu.music/" ?
>>>>>
>>>>> Thak you so much! It would help me to move forward.
>>>>>
>>>>> Alexander
>>>>>
>>>>>
>>>>> Good luck!
>>>>>>
>>>>>>
>>>>>> Den ons. 22. jun. 2016, 15.47 skrev Alexander
>>>>>> <alexanderkinne@xxxxxxxxx <mailto:alexanderkinne@xxxxxxxxx>>:
>>>>>>
>>>>>>      The directories you mentioned do not exist on my phone?!? I
>>>>>>      uninstalled the app and installed it again. Same issue and the
>>>>>>      directories still don't exist. Perhaps somehow they went away
>>>>>>      and the app does not check on first run because it comes
>>>>>>      installed as default?
>>>>>>
>>>>>>      How can I manually create those directories and put into them
>>>>>>      what the app expects to be starting? Can somebody with a
>>>>>>      Aquaris 5 just send me the contents of those two directories
>>>>>>      from his phone so i can see what happens? Seems the way
>>>>>>      forward or are there other ideas?
>>>>>>
>>>>>>      Cheers Alexander
>>>>>>
>>>>>>
>>>>>>      On 22.06.2016 14:06, Andrew Hayzen wrote:
>>>>>>
>>>>>>>      Hi Alexander,
>>>>>>>
>>>>>>>      Firstly I'm sorry to hear that you are having this bad
>>>>>>>      experience and hope we can resolve the issue.
>>>>>>>
>>>>>>>      The locations that the music app stores configuration files
>>>>>>>      are as follows:
>>>>>>>      ~/.config/com.ubuntu.music/          (for general settings)
>>>>>>>      ~/.local/share/com.ubuntu.music/   (for databases of your
>>>>>>>      playlists)
>>>>>>>
>>>>>>>      This issue could be due to a stale lock file bug [0], I would
>>>>>>>      be interested to know if there are any files ending .lock in
>>>>>>>      those directories (if there are try deleting just the .lock
>>>>>>>      files and relaunching the app).
>>>>>>>
>>>>>>>      Otherwise try deleting all the files in the directories to
>>>>>>>      see if the app launches correctly (in this case it might be
>>>>>>>      useful to take a copy of the files so we can debug later).
>>>>>>>
>>>>>>>      Let me know if you need additional help removing the relevant
>>>>>>>      files.
>>>>>>>
>>>>>>>      Thanks,
>>>>>>>
>>>>>>>      Andrew
>>>>>>>
>>>>>>>      0 -
>>>>>>>
>>>>>>> https://bugs.launchpad.net/canonical-devices-system-image/+bug/1576989
>>>>>>>
>>>>>>>      On 22 June 2016 at 12:26, Alexander
>>>>>>> <<mailto:alexanderkinne@xxxxxxxxx>alexanderkinne@xxxxxxxxx>
>>>>>>>      wrote:
>>>>>>>
>>>>>>>          Hello folks!
>>>>>>>
>>>>>>>          The Music App refuses to start past the load screen and
>>>>>>>          just shuts down. Aquaris E5, OTA 11.
>>>>>>>
>>>>>>>          I would like to try and delete all its settings and files
>>>>>>>          and have it re-initialise to see if it helps, but I can't
>>>>>>>          seem to find all the files.
>>>>>>>
>>>>>>>          Can somebody please point me in the right direction?
>>>>>>>
>>>>>>>          Cheers,
>>>>>>>
>>>>>>>          Alexander
>>>>>>>
>>>>>>>          --
>>>>>>>          Mailing list: https://launchpad.net/~ubuntu-phone
>>>>>>>          <https://launchpad.net/%7Eubuntu-phone>
>>>>>>>          Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>>>>>>>          <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
>>>>>>>          Unsubscribe : https://launchpad.net/~ubuntu-phone
>>>>>>>          <https://launchpad.net/%7Eubuntu-phone>
>>>>>>>          More help   : https://help.launchpad.net/ListHelp
>>>>>>>
>>>>>>>
>>>>>>>      --
>>>>>>      Mailing list: https://launchpad.net/~ubuntu-phone
>>>>>>      <https://launchpad.net/%7Eubuntu-phone>
>>>>>>      Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>>>>>>      <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
>>>>>>      Unsubscribe : https://launchpad.net/~ubuntu-phone
>>>>>>      <https://launchpad.net/%7Eubuntu-phone>
>>>>>>      More help   : https://help.launchpad.net/ListHelp
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>
>>>
>>
>>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>

References