Closed
Bug 1048684
Opened 12 years ago
Closed 8 years ago
Update URL is cached
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: kgrandon, Unassigned)
Details
After updating the update channel name, the update URL is being cached somewhere.
My update channel clearly says "nightly-b2g32", but I'm seeing the following when I try updating:
I/Gecko ( 6835): *** AUS:SVC Checker:getUpdateURL - update URL: https://aus4.mozilla.org/update/3/B2G/32.0/20140803000201/flame/en-US/aurora/Boot2Gecko%202.0.0.0-prerelease/default/default/update.xml?force=1
E/GeckoConsole( 6835): AUS:SVC Checker:getUpdateURL - update URL: https://aus4.mozilla.org/update/3/B2G/32.0/20140803000201/flame/en-US/aurora/Boot2Gecko%202.0.0.0-prerelease/default/default/update.xml?force=1
I/Gecko ( 6835): *** AUS:SVC Checker:checkForUpdates - sending request to: https://aus4.mozilla.org/update/3/B2G/32.0/20140803000201/flame/en-US/aurora/Boot2Gecko%202.0.0.0-prerelease/default/default/update.xml?force=1
E/GeckoConsole( 6835): AUS:SVC Checker:checkForUpdates - sending request to: https://aus4.mozilla.org/update/3/B2G/32.0/20140803000201/flame/en-US/aurora/Boot2Gecko%202.0.0.0-prerelease/default/default/update.xml?force=1
| Reporter | ||
Comment 1•12 years ago
|
||
Gerry - could you drop some pointers into this bug as to where we would look? It seems like this URL might be cached and we need to invalidate it?
Flags: needinfo?(gchang)
Comment 2•12 years ago
|
||
How did you change the channel name? In the settings app?
Comment 3•12 years ago
|
||
Hi Fabrice,
We use a script to put a file "updates.js" in /system/b2g/defaults/pref and reboot.
The content in updates.js is shown in below.
pref("app.update.channel", "aurora");
Hi Kai-Zhen,
Do you have any ideas for comment #1?
Flags: needinfo?(gchang) → needinfo?(kli)
Comment 4•12 years ago
|
||
In comment 0, the update channel is 'aurora'.
So I think the "updates.js" under /system/b2g/defaults/pref is active.
Can you try to override the 'app.update.url' in update.js and try again?
Flags: needinfo?(kli)
Comment 5•12 years ago
|
||
(In reply to Fabrice Desré [:fabrice] from comment #2)
> How did you change the channel name? In the settings app?
https://github.com/Mozilla-TWQA/B2G-flash-tool/blob/master/change_channel.sh is the script that is often mentioned. That's restarting b2g, curious if restarting the phone makes it pick up the new pref.
Comment 6•8 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•