I can't connect Bq Ubuntu to Ubuntu Store

Bug #1442607 reported by Antoni
60
This bug affects 12 people
Affects Status Importance Assigned to Milestone
unity-scope-click (Ubuntu)
Confirmed
High
Unassigned

Bug Description

I had exactly the same issue as described in this thread:
https://lists.launchpad.net/ubuntu-phone/msg11847.html
In ubuntu store scope I have empty page (just the header 'Ubuntu store' and below a blank page -- see the attached photo). Searching does not change anything - still blank page. The same with refreshing the scope (by pulling the top edge).
Other scopes work without problems, and there is no problem with internet connection.
I guess that restarting the phone should resolve the issue, but I haven't done this yet.
I suspect that the problem occurred when the wi-fi connection was switched on/off - I did it several times (I checked which apps does not work offline) and at some point ubuntu store stopped working.
If I can be of some help in debugging the issue please let me know.

My phone:
BQ Aquaris
OS: Ubuntu 14.10 (r20)

Tags: bq
Revision history for this message
Antoni (wynajem-pn) wrote :
Changed in unity-scope-click (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Changed in canonical-devices-system-image:
status: New → Confirmed
importance: Undecided → High
tags: added: bq
Revision history for this message
Alejandro J. Cura (alecu) wrote :

Thanks for reporting this bug.
To help us debug it, please enable extra logging from your store scope with this script: http://pastebin.ubuntu.com/10791616/
If you reboot your phone you'll need to run the script again.
And if you manage to reproduce it, please upload the contents of ~/.cache/upstart/scope-registry.log to this bug.

Revision history for this message
Alejandro J. Cura (alecu) wrote :

Btw, a good way to transfer files from and to the phone is via the "adb push/pull" commands. Please let me know if you need any help doing that.

Revision history for this message
Antoni (wynajem-pn) wrote :

I manage to run the script (although it was not trivial for me - I followed http://askubuntu.com/questions/602760/ubuntuphone-does-not-connect-to-ubuntu-desktop). Unfortunately after running the script the Ubuntu store started working again (as I understand the script restarts some service). I will try to reproduce the bug and if I manage to do this, I will post the result.
By the way, by trying to reproduce the bug I have just hang the phone :) - the main button turned on/off the display, but nothing else worked. And then after a minute or two everything started working again - but this is offtopic here.
Another think I've just noticed is that there are several apps which I installed from the store and which I can not review (there is no review text field) even though I've not reviewed them yet. But again this is probably offtopic here - maybe I should fill another bug.

Revision history for this message
Alejandro J. Cura (alecu) wrote : Re: [Bug 1442607] Re: I can't connect Bq Ubuntu to Ubuntu Store

On Fri, Apr 10, 2015 at 12:41 PM, Antoni <email address hidden> wrote:
> Another think I've just noticed is that there are several apps which I installed from the store and which I can not review (there is no review text field) even though I've not reviewed them yet. But again this is probably offtopic here - maybe I should fill another bug.

Do you still have those apps installed? Right now you can only review
an app while it's still installed.
If so, please open a new bug. Thanks!

Revision history for this message
Antoni (wynajem-pn) wrote :

Ok, so the bug occurred once again. Now I have exactly the same situation as described in the first post - Ubuntu store doesn't work and all other scopes does work.
I think that this time this happened when
- I switched on wi-fi (=means internet on my phone since I have gsm data disabled)
- I lunched Ubuntu store - but I did it before the connection was really established
As requested I attach scope-registry.log.
By the way, it would be nice to have same tutorial how to connect Ubuntu phone to Ubuntu desktop and how to use adb. It is kind of strange that you have Ubuntu phone and you connect it to Ubuntu desktop and nothing happens. You need to apply solutions from various places, like
http://askubuntu.com/questions/602760/ubuntuphone-does-not-connect-to-ubuntu-desktop
http://askubuntu.com/questions/601324/bq-e4-5-adb-fails
 to get them connected.

dobey (dobey)
affects: canonical-devices-system-image → unity-scope-click
no longer affects: unity-scope-click
Revision history for this message
Kavoura (kavoura) wrote :

This also happened to me, only fixed it by rebooting the phone.

Revision history for this message
mdhtr (mdhtr) wrote :

@Alejandro J. Cura (alecu): I had the same problem, and want to help out if it occurs again. Can you give more instructions on running the script? I saved it to Documents on the Phone, with the extension .sh, gave it a chmod +x, but when I try to run it (with or without sudo) it says "Permission denied".

Revision history for this message
Alejandro J. Cura (alecu) wrote :

Hi Madeline, thanks for your help debugging this.

To run the debugging script, I usually connect the phone to my Ubuntu
computer via USB. Developer mode needs to be enabled in System
Settings -> About this Phone -> Developer mode.
As mentioned above, the script is at: http://pastebin.ubuntu.com/10791616/
You can download the script in your computer, and use "adb push
script.sh /home/phablet" to put it on the phone.
Then, use "phablet-shell" or "adb shell" to open a terminal into your
device. The phone needs to be unlocked to allow copying files or
getting a shell.
Finally, run the script with "sh /home/phablet/script.sh"

That will enable extra debugging for the Apps and Ubuntu Store scopes,
which you'll be able to see in ~/.cache/upstart/scope-registry.log
Once you've managed to reproduce the issue, I'd be grateful if you can
attach that file to this bug.
From your computer, you can retrieve it with: "adb pull
/home/phablet/.cache/upstart/scope-registry.log"

cheers,

On Wed, May 20, 2015 at 7:22 AM, Madeline Hatter
<email address hidden> wrote:
> @Alejandro J. Cura (alecu): I had the same problem, and want to help out
> if it occurs again. Can you give more instructions on running the
> script? I saved it to Documents on the Phone, with the extension .sh,
> gave it a chmod +x, but when I try to run it (with or without sudo) it
> says "Permission denied".
>
> --
> You received this bug notification because you are a member of Ubuntu
> One Client Engineering team, which is subscribed to unity-scope-click in
> Ubuntu.
> https://bugs.launchpad.net/bugs/1442607
>
> Title:
> I can't connect Bq Ubuntu to Ubuntu Store
>
> Status in unity-scope-click package in Ubuntu:
> Confirmed
>
> Bug description:
> I had exactly the same issue as described in this thread:
> https://lists.launchpad.net/ubuntu-phone/msg11847.html
> In ubuntu store scope I have empty page (just the header 'Ubuntu store' and below a blank page -- see the attached photo). Searching does not change anything - still blank page. The same with refreshing the scope (by pulling the top edge).
> Other scopes work without problems, and there is no problem with internet connection.
> I guess that restarting the phone should resolve the issue, but I haven't done this yet.
> I suspect that the problem occurred when the wi-fi connection was switched on/off - I did it several times (I checked which apps does not work offline) and at some point ubuntu store stopped working.
> If I can be of some help in debugging the issue please let me know.
>
> My phone:
> BQ Aquaris
> OS: Ubuntu 14.10 (r20)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/unity-scope-click/+bug/1442607/+subscriptions

Revision history for this message
Tomáš Čech (tcech) wrote :

You can see some dbus error messages in my log. Strangely, after switching locale to US and back it started to work and I wasn't able to reproduce it anymore.

Revision history for this message
Bernard Banko (beernarrd) wrote :

This happened to me with OTA5. Was ok before.

Revision history for this message
Enrique (enrique-garcia) wrote :

 I also have the same problem on Aquarius E5 which was last updated 11/8/15. My local is Spanish. However I was able to get a working Ubuntu Store until now.

Revision history for this message
Gunter Genne (ggenne) wrote :

All,

to run the script on the phone:
bash /home/phablet/Documents/script.sh should be run from the terminal(If installed) and with phone in developer mode.
This resets Ubuntu Store and it can connect again.
I was able to reproduce the error while uninstalling the uApp Explorer Scope.

Revision history for this message
Tomáš Čech (tcech) wrote :

Gunter,

I see no script attached to this bug so I don't know how such script can appear in my Documents folder...

Please, think twice before recommending users to run some scripts with uncertain origin and poor description.

Revision history for this message
Mark Anson (mark-anson) wrote :

I have an Aquaris tablet and I want to connect to the Ubuntu One store so I can download the terminal app.

But when I enter the username and [correct] password I just get returned to the previous screen, and the app does not download.

I have four other Aquaris tablets that I have successfully done this process on, but this particular device is not logging in to Ubuntu one.

It really sux that the terminal app is not a part of the initial installation.

I have tried to log in more than 10 times... getting nowhere.

Mark Anson

Revision history for this message
Ralph Wigzell (ralphwigzell) wrote :

I downloaded, pushed and ran the script.sh as detailed above, but I am getting an error

/home/phablet/script.sh: 10:
/home/phablet/script.sh: Syntax error: ")" unexpected.

In fact I had to copy the script into Gedit and I suspect that the syntax is somehow broken, maybe due to formatting?

I have attached the script.sh file

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.