NoScript update on Firefox 4 fails and uninstalls itself?
Posted: Wed Sep 22, 2010 10:46 pm
I think a failed NoScript update on Firefox 4.0 beta 6 (on Win7 x64) caused NoScript to be uninstalled. I'm an experienced IT professional and know my way around computers. I didn't quite witness it happen, but here is what I can tell you:
1) Yesterday, NoScript was installed and working
2) Yesterday evening, playing around with FF 4.0b6, I tried the "Update Add-ons Now" command in the new Add-ons Manager. I was curious: Would I get to confirm the updates? Would the updates be otherwise silent?
3) Add-ons Manager said it was updating, and then it prompted me to restart. There was no indication of of what updated, before or after the restart. I tried looking in "View Recent Updates", and I checked the Last Updated field for each add-on. No clue. I thought it was a bug in FF.
4) Today, I noticed NoScript was missing: Its' not in my status bar, it's not listed in Add-ons Manager, and the directory is missing from my profile (I even checked the install.rdf file of every anonymously named directory).
5) I did find the following in my extensions.log file, in my profile:
1) Yesterday, NoScript was installed and working
2) Yesterday evening, playing around with FF 4.0b6, I tried the "Update Add-ons Now" command in the new Add-ons Manager. I was curious: Would I get to confirm the updates? Would the updates be otherwise silent?
3) Add-ons Manager said it was updating, and then it prompted me to restart. There was no indication of of what updated, before or after the restart. I tried looking in "View Recent Updates", and I checked the Last Updated field for each add-on. No clue. I thought it was a bug in FF.
4) Today, I noticed NoScript was missing: Its' not in my status bar, it's not listed in Add-ons Manager, and the directory is missing from my profile (I even checked the install.rdf file of every anonymously named directory).
5) I did find the following in my extensions.log file, in my profile:
The first error recurs going back a year or more; I'm not concerned with it, but it does identify the NoScript install directory ("73a6fe31..."). The second error is included for completeness, in case it later turns out to be relevant. Note the first two are a week old. The third error is from yesterday evening, possibly (I'm not sure) when I ran the update. Note that it refers to NoScript's directory, and indicates an install failure. Again, NoScript has been uninstalled. Coincidence?2010-09-14 11:26:38 - safeInstallOperation: failed to back up file: [profile path here]\extensions\{73a6fe31-595d-460b-a920-fcc0f8843232}\chrome\noscript.jar to: [profile path here]\extensions\{73a6fe31-595d-460b-a920-fcc0f8843232}-trash\chrome ... rolling back file moves and aborting installation.
2010-09-14 11:26:38 - ExtensionManager:_finishOperations - failure, catching exception - lineno: 1596 - file: undefined - [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.moveTo]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///C:/Program%20Files%20(x86)/ff36/components/nsExtensionManager.js :: moveFile :: line 1596" data: no]
2010-09-21 17:02:48 ERROR addons.xpi: Failed to install staged add-on {73a6fe31-595d-460b-a920-fcc0f8843232} in app-profile: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.remove]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/XPIProvider.jsm :: DirInstallLocation_installAddon :: line 5868" data: no]