how to fix "suggest-unexpected" incompatible database version error?
I'm using Ubuntu 24.04 and just reinstalled for unrelated reasons. I'm trying to copy my Firefox profile over from my backup to the new installation.
I used the Ubuntu Snap store to install Firefox and put my old profile in -- this is the one that I was using on my previous Ubuntu 24.04 installation just a couple days ago -- and everything seems fine, but I do see this error message:
[ERROR error_support::handling] suggest-unexpected: Error opening database: Incompatible database version: 18
It gets printed when I type things in the search bar, so it seems related to some sqlite database related to history and autocompletion.
Is there a way to fix this? I'm fine with just deleting it, so long as the other parts of the profile remain.
(This is a strange error, since after all I was using the exact same setup -- Firefox on Ubuntu 24.04, installed via snap -- just a couple days ago, and it was, as far as I know, up-to-date.)
所有回复 (2)
Searching the source code for suggest-unexpected leads to this file.
Search suggestions from Mozilla are stored in a [Remote Settings](https://remote-settings.readthedocs.io/en/latest/) collection. The Suggest component downloads these suggestions from Remote Settings, stores them in a local SQLite database, and makes them available to the Firefox address bar. Because these suggestions are stored and matched locally, Mozilla never sees the user's search queries.
Maybe check this: "How can I control what results the location bar shows me?":
- https://support.mozilla.org/en-US/kb/awesome-bar-search-firefox-bookmarks-history-tabs
- https://support.mozilla.org/en-US/kb/search-suggestions-firefox
Settings -> Search -> Address bar — Firefox Suggest -> Contextual Suggestions
I unchecked all the options in Settings -> Search -> Address bar — Firefox Suggest -> Contextual Suggestions, restarted Firefox, and so far that seems to have fixed the problem. It's not clear what database version is now set to 18, but I'm not seeing the error, and the various suggestions are showing up as expected.