5
I upgraded from Firefox 3.6 to Firefox 4 a while back. Overall I have been happy with the new version, but one problem has me stumped: Firefox doesn't save some settings across restarts, e.g. popup blocker site exceptions and file type actions.
This happens in two separate Firefox profiles. Both profiles have "Clear history when Firefox closes" unchecked, and the privacy.sanitize.sanitizeOnShutdown
and privacy.clearOnShutdown.*
settings in about:config
are set to false.
The behaviour doesn't happen on another computer where I have two identical profiles with the exact same configurations; their settings are happily saved across restarts. I use Firefox Sync with both profiles across the two machines.
One difference is that on the problematic machine, my ~/.mozilla
directory is a symlink, while it's not on the machine that works. It saves other settings and history fine though, just not the aforementioned settings, so I doubt the symlink is the root cause.
Here are some other details (the same for both machines):
- Running Ubuntu Lucid
- Using this Firefox package: 4.0+nobinonly-0ubuntu1~mfs~lucid1
privacy.sanitize.migrateFx3Prefs
is set to true- All files under ~/.mozilla/firefox/... are user readable and writable, and all directories are executable
- The problem still happens in Firefox's safe mode
1yup, that was it. @voithos's answer inspired me to investigate, and i found that
permissions.sqlite
had this schema:CREATE TABLE moz_hosts ( id INTEGER PRIMARY KEY,host TEXT,type TEXT,permission INTEGER);
but Firefox was expecting this schema:CREATE TABLE moz_hosts ( id INTEGER PRIMARY KEY,host TEXT,type TEXT,permission INTEGER,expireType INTEGER,expireTime INTEGER);
note the extraexpireTime
column. after i backed up and deletedpermissions.sqlite
, firefox happily recreated and used it. thanks! – ryan – 2011-05-10T17:47:16.953