Closed Bug 1126243 Opened 9 years ago Closed 6 years ago

Marketplace does not update

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mark.knol, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.99 Safari/537.36

Steps to reproduce:

I tried to grab a new update of the Marketplace app, which fails constantly. 
Firefox OS Marketplace app does not update.

To reproduce:
- Wait for marketplace app update
- Tap on icon
- Download starts
- Download keeps hanging
- Pressing cancel and restart process does not make difference.



Actual results:

For some reason it starts to update, but it does never complete. It keeps hanging in "Downloading Marketplace", and after a while it tells "Could not download Marketplace"
I tried several other things, multiple times:

* stop/cancel the download, retry.
* enable/disable Wifi
* enable/disable 3G
* reboot
* remove battery, reboot
* I also tried to find settings that might be related to updating apps, but I cannot find anything.

It seems to be in some kind of routine where it does not allow to download/update that app anymore, but I also cannot open it.



Expected results:

It should update the app so I can continue downloading cool apps.

If anyone has good ideas, I love to hear it. Now I cannot download new apps anymore.
OS: All → Gonk (Firefox OS)
I can also confirm this problem (Flame, v2.0).  It has persisted for over a month (including reboots), with no apps able to update through the marketplace.  

I am still able to download and install new apps through the marketplace without problems.  It appears to be only the update process that is broken.
I confirm this problem (Flame, v2.0). I've tried a hard reset without success. I'm unable to update an app. The only way is 
first to delete the app 
second to install the app as new
I had this problem with the OpenWapp app. In the Debugger for the "Main Process" I get:

Request URL: https://marketplace.firefox.com/downloads/file/269140/openwapp-1.7.4.zip
Request method: GET
Status code: 304 NOT MODIFIED
Request headers:
Host: marketplace.firefox.com
User-Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
If-None-Match: "8899549df336c7b0b705cb51572230e1002847bd1c9f484f537a7380dd433848"
Cookie: lang="en-US\054"
Connection: keep-alive

and it does not continue to the update. It appears, that the 304 is not correctly handled. (An update to the "File Manager" app at the same time was successful)
As workaround I set a breakpoint in the _getRequestChannel Function of Webapps.jsm:2855 and modified the OldApp.packageEtag, resulting in a 200 response and a working update.
Status code: 304 NOT MODIFIED

Why would we update an app that has not changed?
> Why would we update an app that has not changed?
I think the problem is that only the mini-manifest has been modified (not sure if that's possible with the Firefox Marketplace). Modifying only the mini-manifest of a packaged app, I was able to reproduce the error.
Testing with v2.2 it is working with "304 NOT MODIFIED" for the PACKAGE.zip
Hi,

I'm having a similar problem.
I'm running 2.0-prerelease on my ZTE OpenC. A few days ago I was notified that there are 9 app updates available, including an update to Marketplace. Like in the initial bug report, the update never completed but just stalled. The problem is, ever since I started the update, Marketplace does not start up anymore - all I get is a white screen. With this, I can not manually remove/reinstall any aps, and I don't think I can uninstall/reinstall Marketplace at all, or can I?

Any help would be much appreciated!
(In reply to brainslug from comment #7)
> Hi,
> 
> I'm having a similar problem.
> I'm running 2.0-prerelease on my ZTE OpenC. A few days ago I was notified
> that there are 9 app updates available, including an update to Marketplace.
> Like in the initial bug report, the update never completed but just stalled.
> The problem is, ever since I started the update, Marketplace does not start
> up anymore - all I get is a white screen. With this, I can not manually
> remove/reinstall any aps, and I don't think I can uninstall/reinstall
> Marketplace at all, or can I?
> 
> Any help would be much appreciated!

Never mind. This morning when I got off the plane and powered on my phone again I was notified that there is an update available for Marketplace. I was able to install the upgrade and now Marketplace is working again. Not sure what triggered the new update, if it was the phone recognizing that there was a problem, or if I was just lucky and there just happened to be a new version available this morning.

All good. Thanks.
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.